This page was last edited on May 19, 2017, at 17:15.
Comments or questions about this documentation? Contact us for support!
This operation is part of the Digital User Events API section of the Web Services API.
This request publishes Interaction Server user events.
Request URL | /api/v2/me/multimediaevents |
---|---|
HTTP Method | POST |
Required Features | api-multimedia |
Parameter | Value |
---|---|
operationName | Publish |
topic | String. Name of the topic to be published. |
sendToSelf | Valid values are true or false. The default value is false. If true, the publisher receives a copy of published data when subscribed to the topic. |
content | Key-value data to publish. |
This request involves sending a JSON body as well as adhering to the URL path listed above.
POST api/v2/me/multimediaevents
The following is a possible valid JSON for the request:
{ "operationName": "Publish", "topic": "topic_0", "sendToSelf": "true", "content": { "key":"value" } }
The response consists of an HTTP response. All subscribers will receive CometD responses.
{ "statusCode": 0, }
{ "topic": "topic_0", "content": { "key": "value" }, "actorType": "Agent", "actorId": "a1", "messageType": "MultimediaEventNotificationMessage" }