Manage Subscriptions
Get list of subscriptions
Changed onGets a list of all subscription for a space.
get/spaces/{spaceId}/subscriptions
Request
- Base URL/hub (relative, and the document was published on a file host, not at the API’s origin)
- URL/hub/spaces/{spaceId}/subscriptions
- Auth
- API key in query parameter access_token
- or HTTP bearer
Path parameters
spaceIdstring required
The unique identifier of the space.
Response
The list of subscriptions
Example response
[
{
"id": "my-subscription-id",
"status": {
"state": "ACTIVE"
},
"filter": {
"jsonPath": "$[?(@.properties.type == 'building')]"
}
}
]Changes
- warning
removed the optional property
//from the response with the status - info
added the optional property
//to the response with the status
- warning
- info
added the optional property
/to the response with the status
- info