IBX SmartView's subscription API allows users to subscribe to near real-time message feeds for events occurring within an IBX. Users can specify the types of messages to receive for each IBX. Users are able to view all subscriptions within their organization and update any subscription to modify the message feed being received.
Each subscription delivers messages through exactly one channel, set in channel.channelType, with its settings in the matching *ChannelConfiguration object. The channel type determines where the message feed is delivered:
AWS_IOT_CORE: Equinix pushes messages to your Amazon AWS IoT Core endpoint. Provide the endpoint inawsIotCoreChannelConfiguration.url.AZURE: Equinix pushes messages to your Azure Event Hub. Optional delivery tuning (numberOfRetries,numberOfConcurrentCalls,batchSize) is set inazureChannelConfiguration.WEBHOOK: Equinix pushes messages over HTTPS to a webhook collector that you host. Provide the endpoint inwebhookChannelConfiguration.url, and optionally an SSL certificate and delivery tuning options.REST: Equinix hosts the feed and you retrieve it through the Equinix API, so you don't need to run a collector. SetrestChannelConfigurationto an empty object. The ID of the new subscription is returned in theLocationheader of the response, and you use it to consume the real-time feed.
An organization can use only one channel type. After you create a subscription with one channel type, you can't create subscriptions that use a different one. For setup steps and examples, see the Create a Subscription guide.
This endpoint allows users to fetch details for all streaming subscriptions for a given organization.
- Equinix Inchttps://api.equinix.com/smartview/v2/streaming/subscriptions
// No request payloadOK
[ { "id": "string", "status": "PENDING", "messageType": { … }, "channel": { … }, "orgId": "string", "createdBy": "string", "createdDateTime": "2019-08-24T14:15:22Z", "updatedBy": "string", "updatedDateTime": "2019-08-24T14:15:22Z" } ]