Assign content to screens
set_screen_contentSet what screens play by default until it is changed again.
When to use:
Putting a playlist, schedule, app, media file or creative on one screen, a list, or every screen under a location.
When NOT to use:
A takeover that ends by itself: use start_takeover.
Changing what a playlist contains: use update_items (every screen playing it follows).
What to know:
Screens update within seconds. In a bulk call, screens the content is not shared to or whose location needs approval for it are skipped and counted (notShared, needsApproval); the rest change. Needs screen.cast.
Parameters:
screenId, screenIds and nodeId (every screen at and under it, up to 1000): give at least one; they combine into one set.
contentKind: playlist, schedule, app, media or creative. null clears what plays and needs exactly one screen and no nodeId.
contentId: the playlist, schedule, app, media or creative id from list_items; omit only with contentKind null.
Example: {nodeId:"on_ca", contentKind:"playlist", contentId:"pl_spring"}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | No | Location id. | |
| screenId | No | Screen id. | |
| contentId | No | Content id. | |
| screenIds | No | Screen ids. | |
| contentKind | Yes | Content kind. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Single-screen call: the screen as it is now. | |
| changed | No | Screen ids whose content changed. | |
| notShared | No | Screens skipped because the content is not shared to their location. | |
| needsApproval | No | Screens skipped because their location needs approval for this content. |