Overview
The ia:queue-watcher resource represents a watcher object and provides links to manage it.
Properties
The ia:queue-watcher resource has the following properties:
id |
The id of the watcher. |
---|---|
events |
The list of events to listen and notify. Acceptable events:
|
Link Relations
This link relation is deprecated, use ia:unsubscribe-from-queue-notifications instead. Remove a queue watcher object and unsubscribe the user from notifications. |
|
Link to the queue. |
Description
The ia:queue-watcher resource represents a watcher object and provides links to manage it.
Examples
Example: ia:queue-watcher
{
"id": 8612,
"events": ["QUEUE_CHANGED", "ON_AIR_STORY_CHANGED"],
"_links": {
"curies": [
{
"name": "ia",
"href": "http://services.avid.com/apis/inews/assets/{rel}",
"templated": true
}
],
"ia:delete-queue-watcher": {
"href": "https://host/.."
},
"ia:queue": {
"href": "https://host/.."
},
"self": {
"href": "https://host/.."
}
}
}