GET
/
integration
/
subscriptions
/
v1
curl --request GET \
  --url https://api.mottostreaming.com/integration/subscriptions/v1 \
  --header 'Authorization: Bearer <token>'
{
  "subscriptions": [
    {
      "id": "<string>",
      "project_id": "<string>",
      "name": "<string>",
      "topic_id": "<string>",
      "filter": "<string>",
      "https_url": "<string>",
      "delete_after_use": true
    }
  ],
  "next_page_token": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

page_size
integer

Maximum number of records to return

project_id
string
filter
string

Filter the result-set by properties using a subset of the Kibana Query Language. This currently supports queries based on topic, e.g. topic:CMS_Events

page_token
string

The pagination token in the List request.

Response

200
application/json
OK
subscriptions
object[]

Subscription is used to define which events of the relevant topics should be sent to the callback URL. Limitations:

  1. This is only forward-looking, meaning that only events that occur after the subscription is created will be sent to the target.
  2. There may only be two (2) subscriptions per topic, unless the subscription filter specifies a specific id field OR delete_after_use is set to true.
  3. Delivery is not guaranteed; message delivery will be retried when encountering a non-2xx response, but if there are multiple subscriptions for the same topic and one subscription successfully received the message, it will not be redelivered to the others.
next_page_token
string

The pagination token that should be used to get next subscription results. An empty value means no more results