Cisco Cisco MediaSense Release 9.0(1) Developer's Guide
Example 2
The client is
; but now, it wants to
currently subscribed to RECORDING_EVENTS & CLEANUP_EVENTS
unsubscribe ONLY from
and wants to continue to maintain subscription to
:
CLEANUP_EVENTS
RECORDING_EVENTS
HTTP POST:
https://10.194.118.1:8440/ora/eventService/event/unsubscribeFromEvents
Headers:
Content-Type: application/json
JSESSIONID: <the jsessionId received from a signIn request>
Body:
{
requestParameters: {
:
,
"subscriptionId"
"sN7DASoAArHmDfI1"
:[CLEANUP_EVENTS]
"subscriptionFilters"
}
}
Response: //This will tell the client the filters it is now subscribed to, after unsubscribing from CLEANUP_EVENTS.
{
:
,
"responseMessage"
"Success: Your request was successfully completed."
: 2000,
"responseCode"
: {
"responseBody"
: [
"subscriptionFilters"
,
"SESSION_STARTED_EVENT"
,
"SESSION_UPDATED_EVENT"
"SESSION_ENDED_EVENT"
]
}
}
unsubscribeRecordingEvent (deprecated)
unsubscribeRecordingEvent
(deprecated)
Description:
Use this API to stop receiving recording events.
API URI:
https://<
>:<
>/ora/eventService/event/unsubscribeRecordingEvent
host
port
Supported Response Formats:
JSON
HTTP Method:
POST
Request Parameters:
{
: {
"requestParameters"
:
"subscriptionId"
"<
is a string>"
this
}
}
51