Aerovy Platform logo

Create an integration

POSThttps://spectra.api.aerovy.com/v2/integrations

Creates a new integration. Requires an API key with the write action.

Loading code example
Loading code example

Authorizations

apiKeystringheaderrequired

API key passed in the header.

Body

The integration to create.

integrationNamestringrequired

Human-readable name for the integration.

Length: >= 1, <= 200
integrationDirectionstringrequired

Direction of data flow: `INGRESS` or `EGRESS`.

integrationTypestringrequired

The integration type (valid values depend on direction; see GET /v2/integrations/mapping).

resourcesarray<object>

The resource paths this integration applies to (e.g. things or places).

resources.pathstring
resources.metadataobject
propertiesobject

Type-specific configuration properties (multi-valued).

secretPropertiesobject

Sensitive properties persisted to the cloud secrets manager rather than stored inline. Immutable after creation — to change them, delete and recreate the integration.

metaDataobject

Arbitrary user-defined key/value metadata.

Response

application/json

Created.