Lists an organisation's media library (images, videos, PDFs): name, type, folder, size (and size_bytes), duration, width, height and orientation, codec, checksum (SHA-256, for duplicates: list_duplicate_media), tags and who added it (uploaded_by: a client key sees its own key as This key, its organisation's keys by name, any other key as a DiVision key, its members by name and anyone else as DiVision staff). Filter by folder (id or exact name; a folder includes its sub-folders, "none" for items in no folder), type, tag and a search on the name. Read-only.
With a client key: organisation is optional and always the key's client.
Show parameters and exampleHide parameters and example
organisationstring or nullRequired- Required. The client organisation this is about: its id or exact name (any case). null or "DiVision" reads DiVision's own leftover content (org_id null), but nothing new can be created or uploaded for it. Items of any other organisation are refused, and the result names the organisation it used: check it. (up to 200 characters)
folderstring- A folder id or exact name, or "none". (up to 200 characters)
typestring- (one of all, image, video, pdf, other; default "all")
searchstring- Only items whose name contains this. (up to 200 characters)
tagstring- Only items with this tag (update_media sets tags). (up to 40 characters)
limitinteger- (1 to 500; default 100)
Lists the media folders an organisation can use: its own (linked to it) and shared folders (linked to no organisation, as the console's folders are; a client key has none), with how many of its items each holds. Read-only.
With a client key: organisation is optional and always the key's client.
Show parameters and exampleHide parameters and example
organisationstring or nullRequired- Required. The client organisation this is about: its id or exact name (any case). null or "DiVision" reads DiVision's own leftover content (org_id null), but nothing new can be created or uploaded for it. Items of any other organisation are refused, and the result names the organisation it used: check it. (up to 200 characters)
Creates a media folder linked to a client organisation (as the console's and the portal's folders are). Optionally inside a parent folder. Nothing new can be DiVision's own: organisation null is refused.
With a client key: organisation is optional and always the key's client.
Show parameters and exampleHide parameters and example
organisationstring or nullRequired- Required. The client organisation this is about: its id or exact name (any case). null or "DiVision" reads DiVision's own leftover content (org_id null), but nothing new can be created or uploaded for it. Items of any other organisation are refused, and the result names the organisation it used: check it. (up to 200 characters)
namestringRequired- (up to 120 characters)
parentstring- A parent folder's id or exact name. (up to 200 characters)
request_idstring- Optional. Your own id for this call (letters, digits, . _ : -), such as a UUID. If the same key calls this tool again with the same request_id within 24 hours, the first call's result comes back (marked repeat: true) and nothing is changed again: use it when retrying after a timeout. (up to 200 characters)
Renames a media item (1 to 200 characters). The new name reaches screens only after publish_channel (published content keeps the name it was published with).
With a client key: organisation is optional and always the key's client.
Show parameters and exampleHide parameters and example
organisationstring or nullRequired- Required. The client organisation this is about: its id or exact name (any case). null or "DiVision" reads DiVision's own leftover content (org_id null), but nothing new can be created or uploaded for it. Items of any other organisation are refused, and the result names the organisation it used: check it. (up to 200 characters)
mediastringRequired- The media item's id or exact name. (up to 200 characters)
namestringRequired- (up to 400 characters)
Moves one or more media items into a folder (id or exact name), or out of any folder with folder null. The folder must be the organisation's own or a shared one (a client key: its own). Doesn't change what screens show.
With a client key: organisation is optional and always the key's client.
Show parameters and exampleHide parameters and example
organisationstring or nullRequired- Required. The client organisation this is about: its id or exact name (any case). null or "DiVision" reads DiVision's own leftover content (org_id null), but nothing new can be created or uploaded for it. Items of any other organisation are refused, and the result names the organisation it used: check it. (up to 200 characters)
medialist of stringRequired- Media item ids or exact names.
folderstring or nullRequired- The folder's id or exact name; null for no folder. (up to 200 characters)
request_idstring- Optional. Your own id for this call (letters, digits, . _ : -), such as a UUID. If the same key calls this tool again with the same request_id within 24 hours, the first call's result comes back (marked repeat: true) and nothing is changed again: use it when retrying after a timeout. (up to 200 characters)
Step 1 of uploading a file from your machine: checks the organisation's storage limit, then returns a signed upload address in the media bucket (valid for 2 hours) and the exact curl command to send the file. Step 2: run the command. Step 3: call register_uploaded_media with the returned path, for the same organisation, to add it to the library. Images, videos and PDFs only. An upload that isn't added within 24 hours is removed. For files over 50 MB (large videos) set resumable true: the file goes up in 6 MB chunks (TUS) with a bash script, so a dropped connection loses one chunk, not the whole file. Either way the project's storage upload size limit applies: the storage provider's default is 50 MB per file, which a super admin can raise in the storage settings on a paid plan; a free plan caps every file at 50 MB.
With a client key: organisation is optional and always the key's client.
Show parameters and exampleHide parameters and example
organisationstring or nullRequired- Required. The client organisation this is about: its id or exact name (any case). null or "DiVision" reads DiVision's own leftover content (org_id null), but nothing new can be created or uploaded for it. Items of any other organisation are refused, and the result names the organisation it used: check it. (up to 200 characters)
file_namestringRequired- The file's name, with its extension (for example matchday.png). (up to 200 characters)
size_bytesintegerRequired- The file's size in bytes. (1 to 5368709120)
content_typestring- The file's type, for example image/png. Worked out from the name when left out. (up to 100 characters)
resumableboolean- True also returns a resumable (TUS) upload, in 6 MB chunks, and a bash script for it: use it for files over 50 MB. (default false)
request_idstring- Optional. Your own id for this call (letters, digits, . _ : -), such as a UUID. If the same key calls this tool again with the same request_id within 24 hours, the first call's result comes back (marked repeat: true) and nothing is changed again: use it when retrying after a timeout. (up to 200 characters)
Step 3 of an upload (after create_upload and the curl command): adds the stored file to the organisation's media library as the console's upload dialog does: its type and size from the stored file, its width and height for images, a duration (from duration_seconds, else 15 s for videos and 10 s for images and PDFs) and a thumbnail where possible. The storage limit is checked again; a file it refuses is removed. Then add it to a playlist or zone. Screens show this only after publish_channel publishes each channel that uses it (until then they keep what was last published).
With a client key: organisation is optional and always the key's client.
Show parameters and exampleHide parameters and example
organisationstring or nullRequired- Required. The client organisation this is about: its id or exact name (any case). null or "DiVision" reads DiVision's own leftover content (org_id null), but nothing new can be created or uploaded for it. Items of any other organisation are refused, and the result names the organisation it used: check it. (up to 200 characters)
pathstringRequired- The path create_upload returned. (up to 300 characters)
namestring- The library name. Defaults to the file name given to create_upload. (up to 200 characters)
folderstring- A folder id or exact name. (up to 200 characters)
duration_secondsinteger- How long it plays. For a video, its length. (1 to 86400)
original_file_namestring- The file's original name (used as the library name when name is left out). (up to 200 characters)
request_idstring- Optional. Your own id for this call (letters, digits, . _ : -), such as a UUID. If the same key calls this tool again with the same request_id within 24 hours, the first call's result comes back (marked repeat: true) and nothing is changed again: use it when retrying after a timeout. (up to 200 characters)
Fetches an image, video or PDF from an https address on the server, stores it in the media bucket and adds it to the organisation's library, as an upload would (storage limit checked; type, size, dimensions, duration, codec and SHA-256 checksum set from the file itself). Up to 50 MB it's added at once. A video over 50 MB (up to 2 GB; the address must say its size, answer range requests and send an ETag or Last-Modified header, so a file replaced part-way is caught) is fetched in the background in 6 MB pieces through a resumable upload: the result is a job (state, progress) to follow with get_upload_job, and the item is added when the last piece is in (usually a few minutes; at most 3 at once per organisation; needs migration 0034). Only public internet addresses, every redirect and every piece checked again. Screens show this only after publish_channel publishes each channel that uses it (until then they keep what was last published).
With a client key: organisation is optional and always the key's client.
Show parameters and exampleHide parameters and example
organisationstring or nullRequired- Required. The client organisation this is about: its id or exact name (any case). null or "DiVision" reads DiVision's own leftover content (org_id null), but nothing new can be created or uploaded for it. Items of any other organisation are refused, and the result names the organisation it used: check it. (up to 200 characters)
urlstring (uri)Required- An https:// address of the file. (up to 2000 characters)
namestring- The library name. Defaults to the file's name in the address. (up to 200 characters)
folderstring- A folder id or exact name. (up to 200 characters)
duration_secondsinteger- (1 to 86400)
request_idstring- Optional. Your own id for this call (letters, digits, . _ : -), such as a UUID. If the same key calls this tool again with the same request_id within 24 hours, the first call's result comes back (marked repeat: true) and nothing is changed again: use it when retrying after a timeout. (up to 200 characters)
Deletes a media item as the console does. Without confirm (or confirm false) it only lists where the item is used (playlists, layout zones, playlist fallbacks) and deletes nothing. With confirm true it deletes it in one transaction through the database's delete_media_item: it leaves every playlist and zone, and the item goes, or nothing changes. Screens keep showing it until each channel listed under republish is published again; its file is kept while published content uses it.
With a client key: organisation is optional and always the key's client. Refuses confirm: true while content outside the client uses the item, and counts those uses without naming them.
Show parameters and exampleHide parameters and example
organisationstring or nullRequired- Required. The client organisation this is about: its id or exact name (any case). null or "DiVision" reads DiVision's own leftover content (org_id null), but nothing new can be created or uploaded for it. Items of any other organisation are refused, and the result names the organisation it used: check it. (up to 200 characters)
mediastringRequired- The media item's id or exact name. (up to 200 characters)
confirmboolean- True to delete. Leave out first to see where it's used. (default false)
Lists the widgets playlists and zones can show (clock, ticker, weather, web page, RSS, QR code, countdown, data text and so on), with who owns each: “Shared” (DiVision's library, every client can use it) or the client whose own it is. With organisation, that client's own widgets and the shared ones; a platform key may leave it out to list every widget. A client key sees only its own and the shared ones. Read-only.
With a client key: organisation is optional and always the key's client.
Show parameters and exampleHide parameters and example
organisationstring or null- The client whose widgets to list (with the shared ones). A platform key may leave it out for every widget. (up to 200 characters)
typestring- (one of clock, ticker, weather, youtube, webpage, rss, slideshow, mrss, qr, countdown, data_text, text, image_url)
Example arguments
{
"organisation": "Riverside FC"
}
Creates a widget owned by the organisation (only its own workspace and keys see it), to show in its playlists (add_playlist_item) and zones (set_zone_content). Types: clock, ticker, weather, youtube, webpage, rss, slideshow, mrss, qr, countdown, data_text, text, image_url. Settings (config) by type: qr { text, foreground?, background?, level? (L, M, Q, H), margin?, caption? }; countdown { target "YYYY-MM-DDTHH:MM", timezone? (IANA; else the screen's), label?, format? ("days hh:mm", "days hh:mm:ss", "hh:mm:ss", "hh:mm", "dd:hh:mm:ss", "days"), on_finish? (text, zero, hide), finished_text? }; data_text { url (https JSON or CSV), mode? (text or table), template (text: "{home} {home_score} - {away_score} {away}"), columns (table: [{ label, field }]), path? (where the rows are, such as "table.rows"), refresh_seconds? (30 to 3600, default 60), max_rows?, heading?, missing? }; colour fields are #rrggbb. The other types keep the console's fields, with these options the player honours: clock { format? ("12h" or "24h"), timezone?, show_seconds?, show_date?, date_format? (long, short, numeric, none), font?, size? (% of the zone's height), color?, background?, align? (left, center, right) }; countdown also hide_after_minutes? (1 to 1440: it disappears that long after its target) and font?; text { text, font?, size?, color?, background?, align?, valign? (top, middle, bottom), weight? (100 to 900), italic? }; image_url { url (https PNG, JPEG, GIF or WebP, fetched by the server), refresh_seconds? (60 to 86400, default 300), fit? (contain, cover, fill), background? }; ticker { text, speed?, font?, color?, background? }; rss { feed_url, item_count? (1 to 20), style? (rotate, list, ticker), interval_seconds?, font? }; webpage { url, refresh_seconds? (0 or 30 to 86400), zoom? (25 to 400 %), scroll_x?, scroll_y? (px) }; youtube { url, mute?, loop? (default true) }; data_text also font?. font is a built-in family (Instrument Sans, System sans, Serif, Monospace) or one of the organisation's own (list_fonts, upload_font). Settings are checked first: one problem and nothing is created. Shared widgets are made by a super admin in the console, so organisation null is refused. Screens show this only after publish_channel publishes each channel that uses it (until then they keep what was last published).
With a client key: organisation is optional and always the key's client.
Show parameters and exampleHide parameters and example
organisationstring or nullRequired- Required. The client organisation this is about: its id or exact name (any case). null or "DiVision" reads DiVision's own leftover content (org_id null), but nothing new can be created or uploaded for it. Items of any other organisation are refused, and the result names the organisation it used: check it. (up to 200 characters)
namestringRequired- (up to 200 characters)
typestringRequired- (one of clock, ticker, weather, youtube, webpage, rss, slideshow, mrss, qr, countdown, data_text, text, image_url)
configobject- The widget's settings for its type (see the description).
No parameters.
duration_secondsinteger- How long it shows in a playlist unless the item says otherwise (default 10). (1 to 86400)
request_idstring- Optional. Your own id for this call (letters, digits, . _ : -), such as a UUID. If the same key calls this tool again with the same request_id within 24 hours, the first call's result comes back (marked repeat: true) and nothing is changed again: use it when retrying after a timeout. (up to 200 characters)
Example arguments
{
"organisation": "Riverside FC",
"name": "Kick-off countdown",
"type": "countdown",
"config": {
"target": "2026-11-29T15:00",
"timezone": "Europe/London",
"label": "Kick-off",
"format": "days hh:mm",
"finished_text": "It's kick-off!"
}
}
Changes a widget's name, settings, default duration or on/off. config is merged into its settings (a key set to null is removed); replace_config true replaces them all. The type can't change (create a new widget). Settings (config) by type: qr { text, foreground?, background?, level? (L, M, Q, H), margin?, caption? }; countdown { target "YYYY-MM-DDTHH:MM", timezone? (IANA; else the screen's), label?, format? ("days hh:mm", "days hh:mm:ss", "hh:mm:ss", "hh:mm", "dd:hh:mm:ss", "days"), on_finish? (text, zero, hide), finished_text? }; data_text { url (https JSON or CSV), mode? (text or table), template (text: "{home} {home_score} - {away_score} {away}"), columns (table: [{ label, field }]), path? (where the rows are, such as "table.rows"), refresh_seconds? (30 to 3600, default 60), max_rows?, heading?, missing? }; colour fields are #rrggbb. The other types keep the console's fields, with these options the player honours: clock { format? ("12h" or "24h"), timezone?, show_seconds?, show_date?, date_format? (long, short, numeric, none), font?, size? (% of the zone's height), color?, background?, align? (left, center, right) }; countdown also hide_after_minutes? (1 to 1440: it disappears that long after its target) and font?; text { text, font?, size?, color?, background?, align?, valign? (top, middle, bottom), weight? (100 to 900), italic? }; image_url { url (https PNG, JPEG, GIF or WebP, fetched by the server), refresh_seconds? (60 to 86400, default 300), fit? (contain, cover, fill), background? }; ticker { text, speed?, font?, color?, background? }; rss { feed_url, item_count? (1 to 20), style? (rotate, list, ticker), interval_seconds?, font? }; webpage { url, refresh_seconds? (0 or 30 to 86400), zoom? (25 to 400 %), scroll_x?, scroll_y? (px) }; youtube { url, mute?, loop? (default true) }; data_text also font?. font is a built-in family (Instrument Sans, System sans, Serif, Monospace) or one of the organisation's own (list_fonts, upload_font). Checked first. The organisation's own widgets only: a shared widget changes for every client, so a client key can't change one and a platform key must call with organisation null. Screens show this only after publish_channel publishes each channel that uses it (until then they keep what was last published).
With a client key: organisation is optional and always the key's client.
Show parameters and exampleHide parameters and example
organisationstring or nullRequired- Required. The client organisation this is about: its id or exact name (any case). null or "DiVision" reads DiVision's own leftover content (org_id null), but nothing new can be created or uploaded for it. Items of any other organisation are refused, and the result names the organisation it used: check it. (up to 200 characters)
widgetstringRequired- The widget's id or exact name. (up to 200 characters)
namestring- (up to 200 characters)
configobject- Settings to change, merged into the widget's (null removes one).
No parameters.
replace_configboolean- (default false)
duration_secondsinteger- (1 to 86400)
activeboolean- False switches it off (playlists and zones skip it in the console).
Example arguments
{
"organisation": "Riverside FC",
"widget": "Kick-off countdown",
"config": {
"target": "2026-12-06T15:00"
}
}
Deletes a widget as the console does: through the database's delete_widget, in one transaction, it leaves every playlist and zone that shows it and is deleted, or nothing changes. Without confirm true (or with dry_run) it only says where it's used. The organisation's own widgets only: a client key can't delete a shared widget, and a platform key must call with organisation null for one (it goes for every client). Screens keep showing it until each channel that used it is published again.
With a client key: organisation is optional and always the key's client.
Show parameters and exampleHide parameters and example
organisationstring or nullRequired- Required. The client organisation this is about: its id or exact name (any case). null or "DiVision" reads DiVision's own leftover content (org_id null), but nothing new can be created or uploaded for it. Items of any other organisation are refused, and the result names the organisation it used: check it. (up to 200 characters)
widgetstringRequired- The widget's id or exact name. (up to 200 characters)
confirmboolean- True to delete. (default false)
dry_runboolean- True only says what would happen. (default false)
Example arguments
{
"organisation": "Riverside FC",
"widget": "Kick-off countdown",
"dry_run": true
}
Adds a font file (woff2, woff, TrueType .ttf or OpenType .otf, at most 4 MB; checked by its contents, not its name) to the organisation's fonts, as family (such as Montserrat) with a weight (100 to 900; 400 regular, 700 bold) and style (normal or italic). Then choose it in a widget's font setting (text, clock, countdown, ticker, RSS, data text). Give the file one of three ways: data_base64 (a small file: the whole request is at most 1 MB), url (an https address, fetched by the server with the same address checks as add_media_from_url), or, for any size, first call with file_name and size_bytes to get an upload address and a curl command (as create_upload: under the organisation's folder, for this organisation only, removed after 24 hours), then again with that path. At most 40 fonts per organisation. dry_run checks the file without storing it. Built-in families need no upload: Instrument Sans, System sans, Serif, Monospace. A widget's new font reaches screens after publish_channel. Needs 0029.
With a client key: organisation is optional and always the key's client.
Show parameters and exampleHide parameters and example
organisationstring or nullRequired- Required. The client organisation this is about: its id or exact name (any case). null or "DiVision" reads DiVision's own leftover content (org_id null), but nothing new can be created or uploaded for it. Items of any other organisation are refused, and the result names the organisation it used: check it. (up to 200 characters)
familystring- The family name widgets use, such as Montserrat. (up to 60 characters)
weightinteger- 100, 200 … 900 (default 400, regular; 700 bold). (100 to 900)
stylestring- (one of normal, italic)
data_base64string- The file itself, base64 (small files only). (up to 1000000 characters)
urlstring- An https address the server fetches the file from. (up to 2000 characters)
file_namestring- With size_bytes: get an upload address for a file of any size (ending .woff2, .woff, .ttf or .otf). (up to 200 characters)
size_bytesinteger- (1 to 4194304)
pathstring- The path an earlier upload_font call gave, once the file is uploaded there. (up to 300 characters)
dry_runboolean- True checks the file without storing it. (default false)
request_idstring- Optional. Your own id for this call (letters, digits, . _ : -), such as a UUID. If the same key calls this tool again with the same request_id within 24 hours, the first call's result comes back (marked repeat: true) and nothing is changed again: use it when retrying after a timeout. (up to 200 characters)
Example arguments
{
"organisation": "Riverside FC",
"family": "Montserrat",
"weight": 700,
"url": "https://example.com/fonts/Montserrat-Bold.woff2"
}
The organisation's fonts (family, weight, style, format, size) and the widgets using each family, plus the built-in families every widget can use (Instrument Sans, System sans, Serif, Monospace). Read-only. Needs 0029.
With a client key: organisation is optional and always the key's client.
Show parameters and exampleHide parameters and example
organisationstring or nullRequired- Required. The client organisation this is about: its id or exact name (any case). null or "DiVision" reads DiVision's own leftover content (org_id null), but nothing new can be created or uploaded for it. Items of any other organisation are refused, and the result names the organisation it used: check it. (up to 200 characters)
Example arguments
{
"organisation": "Riverside FC"
}
Deletes one of the organisation's font files (by id, or family with weight and style). Without confirm true (or with dry_run) it only says which widgets use the family. The font can't be used from then on. Widgets that use it fall back to the app's own face once their channels are published again; until then screens keep the published font, so while any channel's publication still loads the file it's kept (file_kept) and removed when the last of them is published again. Needs 0029 (0031 for keeping the file).
With a client key: organisation is optional and always the key's client.
Show parameters and exampleHide parameters and example
organisationstring or nullRequired- Required. The client organisation this is about: its id or exact name (any case). null or "DiVision" reads DiVision's own leftover content (org_id null), but nothing new can be created or uploaded for it. Items of any other organisation are refused, and the result names the organisation it used: check it. (up to 200 characters)
fontstring- The font's id (list_fonts). (up to 100 characters)
familystring- (up to 60 characters)
weightinteger- (100 to 900)
stylestring- (one of normal, italic)
confirmboolean- True to delete. (default false)
dry_runboolean- (default false)
Example arguments
{
"organisation": "Riverside FC",
"family": "Montserrat",
"weight": 700,
"dry_run": true
}
One media item in detail: type, file type, size, dimensions and orientation, duration, codec, SHA-256 checksum (and any other items of the organisation with the same file), tags, notes, who added it (uploaded_by, as list_media shows it), its folder (and the folders it's in), when it was added and last changed, its library dates, and where it's used: playlists (how many items show it), layout zones (and on which page), and channels (those that show it in what they'd publish now, and those whose screens play it from their last publication). A client key sees its own uses named and any others only counted. Read-only.
With a client key: organisation is optional and always the key's client.
Show parameters and exampleHide parameters and example
organisationstring or nullRequired- Required. The client organisation this is about: its id or exact name (any case). null or "DiVision" reads DiVision's own leftover content (org_id null), but nothing new can be created or uploaded for it. Items of any other organisation are refused, and the result names the organisation it used: check it. (up to 200 characters)
mediastringRequired- The media item's id or exact name. (up to 200 characters)
Example arguments
{
"organisation": "Riverside FC",
"media": "Matchday v Hillside"
}
Gives a media item a new file and keeps its id, name, folder and every place it's used, so a graphic updates everywhere at once. The new file is either an upload (path from create_upload, after running its command) or an https address (url, up to 50 MB, fetched by the server as add_media_from_url does). It must be the same kind (image, video or PDF). Its size, type, width and height (read from images; give width and height for a video, which otherwise keeps its own unless its duration or file type changed, when they're cleared) and duration (duration_seconds; else the item keeps its own) are updated. An empty file is refused. The storage limit applies to the difference in size. While a channel's last publication shows the old file, it's kept until that channel is published again (publishing removes it); otherwise it's removed now if nothing uses it. Screens keep playing the old file until each channel listed under republish is published again. dry_run true checks everything and says what would change. Screens show this only after publish_channel publishes each channel that uses it (until then they keep what was last published).
With a client key: organisation is optional and always the key's client.
Show parameters and exampleHide parameters and example
organisationstring or nullRequired- Required. The client organisation this is about: its id or exact name (any case). null or "DiVision" reads DiVision's own leftover content (org_id null), but nothing new can be created or uploaded for it. Items of any other organisation are refused, and the result names the organisation it used: check it. (up to 200 characters)
mediastringRequired- The media item's id or exact name. (up to 200 characters)
pathstring- The path create_upload returned (give path or url). (up to 300 characters)
urlstring (uri)- An https:// address of the new file (give path or url). (up to 2000 characters)
widthinteger- (1 to 32000)
heightinteger- (1 to 32000)
duration_secondsinteger- (1 to 86400)
dry_runboolean- True checks everything and says what would change, without changing it. (default false)
Example arguments
{
"organisation": "Riverside FC",
"media": "Matchday v Hillside",
"path": "c0000000-0000-4000-8000-000000000001/1b2c….png",
"dry_run": true
}
Renames one of the organisation's media folders (1 to 120 characters, different from the other folders beside it). A client key renames only its own folders. Doesn't change what screens show.
With a client key: organisation is optional and always the key's client.
Show parameters and exampleHide parameters and example
organisationstring or nullRequired- Required. The client organisation this is about: its id or exact name (any case). null or "DiVision" reads DiVision's own leftover content (org_id null), but nothing new can be created or uploaded for it. Items of any other organisation are refused, and the result names the organisation it used: check it. (up to 200 characters)
folderstringRequired- The folder's id or exact name. (up to 200 characters)
namestringRequired- (up to 120 characters)
Example arguments
{
"organisation": "Riverside FC",
"folder": "Matchday",
"name": "Matchday graphics"
}
Puts a media folder inside another folder (parent: its id or exact name), or at the top level (parent null). A folder can't go inside itself or one of its own sub-folders, and its name must be different from the folders already there. Both folders must be the organisation's (a client key: its own). The items in it move with it; screens are unaffected.
With a client key: organisation is optional and always the key's client.
Show parameters and exampleHide parameters and example
organisationstring or nullRequired- Required. The client organisation this is about: its id or exact name (any case). null or "DiVision" reads DiVision's own leftover content (org_id null), but nothing new can be created or uploaded for it. Items of any other organisation are refused, and the result names the organisation it used: check it. (up to 200 characters)
folderstringRequired- The folder's id or exact name. (up to 200 characters)
parentstring or nullRequired- The folder to put it in (id or exact name); null for the top level. (up to 200 characters)
Example arguments
{
"organisation": "Riverside FC",
"folder": "Crests",
"parent": "Matchday graphics"
}
Sets a media item's library dates and on/off switch, which every screen honours wherever the item plays (playlists, nested playlists and zones): start_date and end_date (YYYY-MM-DD, both inclusive, read on each screen's own clock; null removes one; expiry_date is the same as end_date) and active (false: it doesn't play anywhere, and the console's pickers leave it out). Also its tags (replaced: a list of words, trimmed and lower-cased, 30 at most; [] removes them; list_media filters by tag) and notes (for the people running the screens, never shown on a screen; null removes them; tags and notes need migration 0033). An item past its end date shows as expired in get_playlist and list_playlist_items. Only fields given change; saved only if nobody changed the item meanwhile; name stays with rename_media. Screens show this only after publish_channel publishes each channel that uses it (until then they keep what was last published).
With a client key: organisation is optional and always the key's client.
Show parameters and exampleHide parameters and example
organisationstring or nullRequired- Required. The client organisation this is about: its id or exact name (any case). null or "DiVision" reads DiVision's own leftover content (org_id null), but nothing new can be created or uploaded for it. Items of any other organisation are refused, and the result names the organisation it used: check it. (up to 200 characters)
mediastringRequired- The media item's id or exact name. (up to 200 characters)
start_datestring (date) or null- First day it plays (YYYY-MM-DD); null for no start.
end_datestring (date) or null- Last day it plays (YYYY-MM-DD); null for no end.
expiry_datestring (date) or null- The same as end_date (the wishlist's name for it). Give one or the other.
activeboolean- False switches it off everywhere.
tagslist of string- Its tags, replacing any it has ([] removes them).
notesstring or null- Notes for operators (never shown on a screen); null removes them. (up to 2000 characters)
Example arguments
{
"organisation": "Riverside FC",
"media": "Matchday v Hillside",
"expiry_date": "2026-11-29",
"tags": [
"matchday",
"hillside"
]
}
What the organisation has that nothing uses, to clean up with delete_orphans: playlists no zone, channel or other playlist uses (zone playlists left behind by layouts, such as “Untitled layout 1 — Main”, and standalone ones), media no playlist, zone, playlist fallback, widget or published channel uses, and folders of its own with nothing in them. Anything a published channel still shows, a nested playlist holds, a schedule's channel plays or a font loads is never listed, nor anything changed in the last hour (min_age_minutes). Read-only.
With a client key: organisation is optional and always the key's client.
Show parameters and exampleHide parameters and example
organisationstring or nullRequired- Required. The client organisation this is about: its id or exact name (any case). null or "DiVision" reads DiVision's own leftover content (org_id null), but nothing new can be created or uploaded for it. Items of any other organisation are refused, and the result names the organisation it used: check it. (up to 200 characters)
kindstring- (one of all, playlist, media, folder; default "all")
min_age_minutesinteger- Leave out anything changed or added within this many minutes (60 by default): it may be about to be used. (0 to 10080; default 60)
Example arguments
{
"organisation": "Riverside FC"
}
Deletes items list_orphans listed, by id: playlists (through the database's delete_playlist), media (through delete_media_item; its file goes when no publication shows it) and empty folders. Each id is checked again right before: anything in use by then, changed in the last hour, another organisation's or unknown is left alone and listed under not_deleted, all with the same words. Without confirm true (or with dry_run) it only says what it would delete. request_id.
With a client key: organisation is optional and always the key's client.
Show parameters and exampleHide parameters and example
organisationstring or nullRequired- Required. The client organisation this is about: its id or exact name (any case). null or "DiVision" reads DiVision's own leftover content (org_id null), but nothing new can be created or uploaded for it. Items of any other organisation are refused, and the result names the organisation it used: check it. (up to 200 characters)
idslist of stringRequired- Ids from list_orphans.
confirmboolean- True (with dry_run false) to make the change. Left out: it only says what it would do. (default false)
dry_runboolean- True: say what would change, change nothing. (default false)
min_age_minutesinteger- Leave out anything changed or added within this many minutes (60 by default): it may be about to be used. (0 to 10080; default 60)
request_idstring- Optional. Your own id for this call (letters, digits, . _ : -), such as a UUID. If the same key calls this tool again with the same request_id within 24 hours, the first call's result comes back (marked repeat: true) and nothing is changed again: use it when retrying after a timeout. (up to 200 characters)
Example arguments
{
"organisation": "Riverside FC",
"ids": [
"<id from list_orphans>"
],
"dry_run": true
}
Media items of the organisation that are the same file (the same SHA-256 checksum, worked out on the server from the file itself), grouped, with where each is in the library and who added it. Items without a checksum yet are counted (older items are hashed in the background a few at a time). media limits it to the copies of one item. Read-only.
With a client key: organisation is optional and always the key's client.
Show parameters and exampleHide parameters and example
organisationstring or nullRequired- Required. The client organisation this is about: its id or exact name (any case). null or "DiVision" reads DiVision's own leftover content (org_id null), but nothing new can be created or uploaded for it. Items of any other organisation are refused, and the result names the organisation it used: check it. (up to 200 characters)
mediastring- Only copies of this item (id or exact name). (up to 200 characters)
Example arguments
{
"organisation": "Riverside FC"
}
A background import that add_media_from_url started for a file over 50 MB: its state (queued, running, done, failed), how much has come in, the last error, and the media item once it's added. Without job, the organisation's recent ones (last 7 days). The server moves each import on about once a minute (6 MB a piece, as many as fit), so this only reads. Read-only.
With a client key: organisation is optional and always the key's client.
Show parameters and exampleHide parameters and example
organisationstring or nullRequired- Required. The client organisation this is about: its id or exact name (any case). null or "DiVision" reads DiVision's own leftover content (org_id null), but nothing new can be created or uploaded for it. Items of any other organisation are refused, and the result names the organisation it used: check it. (up to 200 characters)
jobstring- The job id add_media_from_url gave. (up to 64 characters)
Example arguments
{
"organisation": "Riverside FC",
"job": "<job id from add_media_from_url>"
}