WS for push subscriptions
Remove subscription to given event.
Example of request:
{"list":[{"eventName":"DraftShared"},{"eventName":"DocumentChanged","parameters":{"documentId":"10"}}]}
media type | data type |
---|---|
application/json | string |
media type | data type | description |
---|---|---|
application/json | object | Response with information, whether the operation has or has not been succeeded. |
Get list of subscriptions.
media type | data type | description |
---|---|---|
application/json | object | JSON Response with list of events
Example of response:
{"list":[{"eventName":"DraftShared","parameters":{}},{"eventName":"DraftUnshared","parameters":{"draftId":"10"}}]}
|
Add subscriptions to given events.
Example of request:
{"list":[{"eventName":"DraftShared"},{"eventName":"DocumentChanged","parameters":{"documentId":"10"}}]}
media type | data type |
---|---|
application/json | string |
media type | data type | description |
---|---|---|
application/json | object | Response with information, whether the operation has or has not been succeeded. |
Remove subscription to given event.
Example of request:
{"list":[{"eventName":"DraftShared"},{"eventName":"DocumentChanged","parameters":{"documentId":"10"}}]}
media type | data type | description |
---|---|---|
application/json | object | Response with information, whether the operation has or has not been succeeded. |