Download OpenAPI specification:
This is the API specification of the M2A Live Materials.
Register a single playout material with the Live Materials API. The media and any previews must already be in the bucket the url names: each is looked for before the material is registered. The media's file is read with MediaInfo: an overlay is registered only if it is a 32-bit PNG with an alpha channel, and a slate whether or not its picture size is recognised
The fields required in the payload when POSTing
required | object (Metadata in request body) |
| status required | string (status_request) Enum: "available" "unavailable" Whether the playout material is available for use. Material is withdrawn after registration, so it cannot be registered as withdrawn |
| role required | string (role) Enum: "slate" "overlay" |
| url required | string (s3_url) ^s3(ssl)?:// The S3 URL of an object, using the |
object (previews_request) S3 objects to use as previews of the playout material. They must be in the same bucket as the playout material |
{- "metadata": {
- "labels": [
- {
- "key": "m2amedia.tv:name",
- "value": "Half-time slate"
}
], - "organisation-id": "a136776e-f1ea-42bf-865f-e7074c517002",
- "target-account-id": "a136776e-f1ea-42bf-865f-e7074c517001"
}, - "status": "available",
- "role": "slate",
- "url": "s3ssl://my-materials-bucket/slates/half-time.mp4",
- "previews": {
- "image": "s3ssl://my-materials-bucket/slates/half-time.png"
}
}{- "id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
- "metadata": {
- "created": "2026-11-04T09:15:00+00:00",
- "updated": "2026-11-04T09:15:00+00:00",
- "labels": [
- {
- "key": "m2amedia.tv:name",
- "value": "Half-time slate"
}
], - "organisation-id": "a136776e-f1ea-42bf-865f-e7074c517002",
- "target-account-id": "a136776e-f1ea-42bf-865f-e7074c517001"
}, - "status": "available",
- "role": "slate",
- "type": "mp4_h264_aac",
- "media-info": {
- "size-bytes": 38509609,
- "width": 1920,
- "height": 1080,
- "last-modified": "2026-11-04T09:12:41+00:00",
- "probed-at": "2026-11-04T09:15:00+00:00"
}, - "health": {
- "status": "ready",
- "faults": [ ]
}
}Get a page of a target account's playout material. Withdrawn material is left out unless status asks for it. Keep requesting pages with next-page-key until it is null: a page can hold fewer materials than page-size, or none, while more remain.
| organisation-id required | string <uuid> (organisation_id) Example: organisation-id=a136776e-f1ea-42bf-865f-e7074c517002 The ID of the organisation that owns the target account. Required, but not used to narrow the listing |
| target-account-id required | string <uuid> (target_account_id) Example: target-account-id=a136776e-f1ea-42bf-865f-e7074c517001 The ID of the target account whose playout material is listed |
| health | string (health_status) Enum: "ready" "broken" Only list playout material with this health |
| role | string (role) Enum: "slate" "overlay" Only list playout material with this role |
| type | string (media_type) Enum: "mp4_h264_aac" "png_32bit" Only list playout material in this media format |
| status | string (status) Enum: "available" "unavailable" "withdrawn" Whether the playout material is available for use. Withdrawn material is left out unless this parameter asks for it by name |
| page-size | integer [ 2 .. 2000 ] Default: 100 The largest number of playout materials to return on one page |
| next-page-key | string <byte> The |
{- "items": [
- {
- "id": "2e31a1e3-abd2-4bc5-9443-bc0c6acf36d7",
- "metadata": {
- "created": "2026-10-29T08:30:00+00:00",
- "updated": "2026-10-29T08:30:00+00:00",
- "labels": [
- {
- "key": "m2amedia.tv:name",
- "value": "Sponsor bug – top right"
}
], - "organisation-id": "a136776e-f1ea-42bf-865f-e7074c517002",
- "target-account-id": "a136776e-f1ea-42bf-865f-e7074c517001"
}, - "status": "available",
- "role": "overlay",
- "type": "png_32bit",
- "media-info": {
- "size-bytes": 48213,
- "width": 1920,
- "height": 1080,
- "last-modified": "2026-10-29T08:12:03+00:00",
- "probed-at": "2026-10-29T08:30:00+00:00"
}, - "health": {
- "status": "ready",
- "faults": [ ]
}
}, - {
- "id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
- "metadata": {
- "created": "2026-11-04T09:15:00+00:00",
- "updated": "2026-11-04T09:15:00+00:00",
- "labels": [
- {
- "key": "m2amedia.tv:name",
- "value": "Half-time slate"
}
], - "organisation-id": "a136776e-f1ea-42bf-865f-e7074c517002",
- "target-account-id": "a136776e-f1ea-42bf-865f-e7074c517001"
}, - "status": "available",
- "role": "slate",
- "type": "mp4_h264_aac",
- "media-info": null,
- "health": {
- "status": "ready",
- "faults": [ ]
}
}
], - "next-page-key": null
}Get a single playout material with the Live Materials API. Withdrawn material is returned like any other.
| material-id required | string <uuid> (Resource identifier) Example: 2e31a1e3-abd2-4bc5-9443-bc0c6acf36d7 The ID of the playout material |
| previews | string Default: "excluded" Enum: "required" "preferred" "excluded" Whether to include presigned URLs for the playout material's previews. |
| media | string Default: "excluded" Enum: "required" "preferred" "excluded" Whether to include a presigned link to the playout material's own media file, valid for an hour, as |
{- "id": "2e31a1e3-abd2-4bc5-9443-bc0c6acf36d7",
- "metadata": {
- "created": "2026-10-29T08:30:00+00:00",
- "updated": "2026-10-29T08:30:00+00:00",
- "labels": [
- {
- "key": "m2amedia.tv:name",
- "value": "Sponsor bug – top right"
}
], - "organisation-id": "a136776e-f1ea-42bf-865f-e7074c517002",
- "target-account-id": "a136776e-f1ea-42bf-865f-e7074c517001"
}, - "status": "available",
- "role": "overlay",
- "type": "png_32bit",
- "media-info": {
- "size-bytes": 48213,
- "width": 1920,
- "height": 1080,
- "last-modified": "2026-10-29T08:12:03+00:00",
- "probed-at": "2026-10-29T08:30:00+00:00"
}, - "health": {
- "status": "ready",
- "faults": [ ]
}
}Withdraw a playout material so that it is no longer offered when choosing material. The material stays retrievable by its ID, so that work already using it can still report what it is. Overlays already accepted with this material are unaffected and still air as planned.
| material-id required | string <uuid> (Resource identifier) Example: 2e31a1e3-abd2-4bc5-9443-bc0c6acf36d7 The ID of the playout material |
No auth header