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 |