Create a resource mapping
POST
Creates an integration resource mapping. Requires an API key with the write
action.
Loading code example
Loading code example
Authorizations
apiKeystringheaderrequired
API key passed in the header.
Body
The resource mapping to create.
integrationIdstringrequiredThe integration this mapping belongs to.
directionstringrequiredDirection of the integration: `INGRESS` or `EGRESS`.
integrationTypestringrequiredThe integration type.
thirdPartyIdstringThe third-party's id for the integration/account.
resourceThirdPartyIdstringThe third-party's id for the mapped resource.
resourceBaseTypestringThe Spectra resource base type (e.g. THING, PLACE).
resourceTypestringThe Spectra resource sub-type.
resourceIdstringThe Spectra resource id being mapped.
metaDataobjectArbitrary user-defined key/value metadata for the mapping.
Response
application/json
Created.