v1
latestOpenAPI 3.0.22026-07-174950145.6 KBManage Subscriptions
Create a subscription
Creates a subscription.
post/spaces/{spaceId}/subscriptions
Path parameters
spaceIdstring required
The unique identifier of the space.
Request body
Example request
{
"id": "my-subscription-id",
"status": {
"state": "ACTIVE"
},
"filter": {
"jsonPath": "$[?(@.properties.type == 'building')]"
}
}Response
The subscription
Example response
{
"id": "my-subscription-id",
"status": {
"state": "ACTIVE"
},
"filter": {
"jsonPath": "$[?(@.properties.type == 'building')]"
}
}