Profiles
Create a Profile
POST /api/profiles
Creates a new profile.
Request
Parameter | Type | Description |
---|---|---|
name | String | Name of the new profile |
channels | Array | Array of channels to associate with the profile |
Each channel object includes
Parameter | Type | Description |
---|---|---|
engines | Array | Array of engine IDs that this channel should use |
name | String | Name of the channel |
type | String | Τhe type of channel: PROGRAM / PREVIEW / NONE |
Request Body
1 2 3 4 5 6 7 8 9 10 11 12 13 |
|
- 201 Created: Profile created successfully.
- 400 Bad Request: Invalid data provided.
- 500 Internal Server Error: Server error occurred while creating the profile.
Get all Profiles
GET /api/profiles
Returns all the Profiles that are currently available in your Erizos Studio environment.
Response
The response is an array of Templates
Get Profile by ID
GET /api/profiles/[ID]
Returns the profile that corresponds to the profile ID.
Request
Parameter | Type | Description |
---|---|---|
ID | ID | Uuid or the name of the Profile |
Response
Profile Object
Update a Profile
PUT /api/profiles/[ID]
Updates the profile.
Request
Parameter | Type | Description |
---|---|---|
ID | ID | Uuid or the name of the Profile |
Request Body
1 2 3 4 5 6 7 8 9 10 11 12 13 |
|
Parameter | Type | Description |
---|---|---|
name | String | Name of the Profile |
channels | Array | Array of Channels |
Delete Profile by ID
DELETE /api/profiles/[ID]
Deletes the profile that corresponds to the profile ID.
Request
Parameter | Type | Description |
---|---|---|
ID | ID | Uuid or the name of the Profile |
Cache Assets per Profile
POST /api/profiles/:profileName/:channelName/:system/cache/assets
Caches the profile that corresponds to the profile ID.
Request
Parameter | Type | Description |
---|---|---|
Profile Name | ID | Uuid or the name of the Profile |
channelName | String | The channel name to perform the operation on |
system | String | The system name to perform the operation on e.g. UE or Vizrt |
Request Body
1 |
|
Example Body
1 2 3 4 |
|
Verify Cache Assets per Profile
POST /api/profiles/:profileName/:channelName/:system/cache/assets?verifyCache=true
Verify Caches of the profile that corresponds to the profile ID, this is used to check if there is a newer version of the asset is received.
Request
Parameter | Type | Description |
---|---|---|
Profile Name | ID | Uuid or the name of the Profile |
channelName | String | The channel name to perform the operation on |
system | String | The system name to perform the operation on e.g. UE or Vizrt |
verifyCache | Boolean | Set to True or 1 to check for newer version of the asset |
Request Body
1 2 3 4 |
|
Example Body
1 2 3 4 |
|
On-Air Actions on a Profile
Take In a saved page
GET /api/profiles/[PROFILE ID]/[CHANNEL]/take/in/[PAGE ID]
Request
Parameter | Type | Description |
---|---|---|
PROFILE ID | ID | Uuid or the name of the Profile |
CHANNEL | String | The channel name to perform the operation on or the default ChannelType wrapped in square brackets e.g. [PROGRAM] |
PAGE ID | Uuid | id of the Page |
Take In a payload
POST /api/profiles/[PROFILE ID]/[CHANNEL]/take/in
Request
Parameter | Type | Description |
---|---|---|
PROFILE ID | ID | Uuid or the name of the Profile |
CHANNEL | String | The channel name to perform the operation on or the default ChannelType wrapped in square brackets e.g. [PROGRAM] |
Request Body
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
|
Take Out a saved page
GET /api/profiles/[PROFILE ID]/[CHANNEL]/take/out/[PAGE ID]
Request
Parameter | Type | Description |
---|---|---|
PROFILE ID | ID | Uuid or the name of the Profile |
CHANNEL | String | The channel name to perform the operation on or the default ChannelType wrapped in square brackets e.g. [PROGRAM] |
PAGE ID | Uuid | id of the Page |
Take out a payload
POST /api/profiles/[PROFILE ID]/[CHANNEL]/take/out
Request
Parameter | Type | Description |
---|---|---|
PROFILE ID | ID | Uuid or the name of the Profile |
CHANNEL | String | The channel name to perform the operation on or the default ChannelType wrapped in square brackets e.g. [PROGRAM] |
Request Body
1 2 3 4 5 6 7 8 9 |
|
Update a saved page
GET /api/profiles/[PROFILE ID]/[CHANNEL]/update/[PAGE ID]
Request
Parameter | Type | Description |
---|---|---|
PROFILE ID | ID | Uuid or the name of the Profile |
CHANNEL | String | The channel name to perform the operation on or the default ChannelType wrapped in square brackets e.g. [PROGRAM] |
PAGE ID | Uuid | id of the Page |
Update a payload
POST /api/profiles/[PROFILE ID]/[CHANNEL]/update
Request
Parameter | Type | Description |
---|---|---|
PROFILE ID | ID | Uuid or the name of the Profile |
CHANNEL | String | The channel name to perform the operation on or the default ChannelType wrapped in square brackets e.g. [PROGRAM] |
Request Body
1 2 3 4 5 6 7 8 9 |
|
Initialize Playlist on Profile
GET /api/profiles/[PROFILE ID]/initialize/[PLAYLIST ID]
Initializes all pages in the playlist provided on the outputs of the profile provided
Request
Parameter | Type | Description |
---|---|---|
PROFILE ID | ID | Uuid or the name of the Profile |
PLAYLIST ID | Uuid | id of the Playlist to initialize |
Cleanup channel in Profile
GET /api/profiles/[PROFILE ID]/[CHANNEL]/cleanup
Performs the cleanup operation on each system.
In the current version of the API, cleanup operations are only available on the program or preview channels
Request
Parameter | Type | Description |
---|---|---|
PROFILE ID | ID | Uuid or the name of the Profile |
CHANNEL | String | The channel name to perform the operation on or the default ChannelType wrapped in square brackets e.g. [PROGRAM] |
Clear channel in Profile
GET /api/profiles/[PROFILE ID]/[CHANNEL]/clear
Performs the clear operation on each system.
In the current version of the API, clear operations are only available on the program or preview channels
Request
Parameter | Type | Description |
---|---|---|
PROFILE ID | ID | Uuid or the name of the Profile |
CHANNEL | String | The channel name to perform the operation on or the default ChannelType wrapped in square brackets e.g. [PROGRAM] |
Take In page by Show and page num
This command will take the page in for a specific show and page number.
GET /api/profiles/[PROFILE ID]/[CHANNEL]/take/in/[SHOW ID]/[PLAYLIST ID]/[PAGE NUM]
Request
Parameter | Type | Description |
---|---|---|
PROFILE ID | ID | Uuid or the name of the Profile |
CHANNEL | String | The channel name to perform the operation on or the default ChannelType wrapped in square brackets e.g. [PROGRAM] |
SHOW ID | ID | Uuid or the name of the Show |
PLAYLIST ID | ID | Uuid or the name of the Playlist |
PAGE NUM | String | 4 digit page Num |
Take In page by page num
This command will take in a page by page number.
GET /api/profiles/[PROFILE ID]/[CHANNEL]/take/in/[PLAYLIST ID]/[PAGE NUM]
Request
Parameter | Type | Description |
---|---|---|
PROFILE ID | ID | Uuid or the name of the Profile |
CHANNEL | String | The channel name to perform the operation on or the default ChannelType wrapped in square brackets e.g. [PROGRAM] |
PLAYLIST ID | ID | Uuid or the name of the Playlist |
PAGE NUM | String | 4 digit page Num |
Take Out page by Show and page num
This command will take out the page for a specific show and page number.
GET /api/profiles/[PROFILE ID]/[CHANNEL]/take/out/[SHOW ID]/[PLAYLIST ID]/[PAGE NUM]
Request
Parameter | Type | Description |
---|---|---|
PROFILE ID | ID | Uuid or the name of the Profile |
CHANNEL | String | The channel name to perform the operation on or the default ChannelType wrapped in square brackets e.g. [PROGRAM] |
SHOW ID | ID | Uuid or the name of the Show |
PLAYLIST ID | ID | Uuid or the name of the Playlist |
PAGE NUM | String | 4 digit page Num |
Take Out page by page num
This command will take out a page by page number.
GET /api/profiles/[PROFILE ID]/[CHANNEL]/take/out/[PLAYLIST ID]/[PAGE NUM]
Request
Parameter | Type | Description |
---|---|---|
PROFILE ID | ID | Uuid or the name of the Profile |
CHANNEL | String | The channel name to perform the operation on or the default ChannelType wrapped in square brackets e.g. [PROGRAM] |
PLAYLIST ID | ID | Uuid or the name of the Playlist |
PAGE NUM | String | 4 digit page Num |
Using Paths and Query Parameters
This section describes how to use advanced path values and query parameters with the take/in
endpoint and similar APIs.
Use encoded names in paths
When a profile name contains spaces or special characters, use URL Encoding:
My Profile
➝My%20Profile
- Full path:
/api/profiles/[PROFILE PATH]/take/in
becomes:
/api/profiles/My%20Profile/take/in
Another example:
Path/To/My Profile
➝Path%2FTo%2FMy%20Profile
- Full path:
/api/profiles/[PROFILE PATH]/take/in
becomes:/api/profiles/Path%2FTo%2FMy%20Profile/take/in
Use nested paths (folders)
If your profile is organized in folders or namespaces, you must encode slashes /
as %2F
:
- Path:
/NY/Studios/A
becomes:/api/profiles/NY%2FStudios%2FA/take/in
This is useful for structured environments with regional or departmental folders.
Using query parameters for paths
All endpoints support passing values either through path segments or using query parameters. Users can choose the preferred method depending on their use case. In particular, parameters can be provided in two ways:
- by using the special path query parameter,
- by specifying the exact parameter name (e.g.,
profile
,engine
,show
, etc.).
This is especially useful when multiple parameters (e.g., multiple IDs or names) need to be passed.
Examples:
GET /api/profiles/BROWSE/take/in?profile=/NY/Studios/A
GET /api/engines/BROWSE/command?engine=/NY/Studios/A
GET /api/shows/BROWSE/templates?show=/NY/Studios/A
GET /api/shows/BROWSE/templates?path=/NY/Studios/A