Shows
Get All Shows
GET /api/shows
Returns any array of all the Shows that are currently available in your Erizos Studio environment.
Response Body
1 2 3 4 5 6 7 | |
| Parameter | Value | Description |
|---|---|---|
| _id | Uuid | The id of the show |
| name | String | The name of the show |
| path | String | The path to the show in the Show Manager |
| createdAt | Date | Date and time the show was created |
| updatedAt | Date | Date and time the show was last updated |
Get Show by ID
GET /api/shows/[ID]
Returns the show that corresponds to the show ID.
Request
| Parameter | Type | Description |
|---|---|---|
| ID | ID | Uuid or the name of the Show |
Response
Show Object
Create Show
POST /api/shows
Creates a new Show and a playlist for the show.
Request Body
1 2 3 | |
| Parameter | Type | Description |
|---|---|---|
| name | String | The name of the show |
Response Body
1 2 3 4 5 6 | |
| Parameter | Value | Description |
|---|---|---|
| _id | Uuid | The id of the show |
| name | String | The name of the show |
| createdAt | Date | Date and time the show was created |
| updatedAt | Date | Date and time the show was last updated |
Rename Show
PUT /api/shows/[ID]
Updates the Show Name
Request
| Parameter | Type | Description |
|---|---|---|
| ID | ID | Uuid or the name of the Show |
Request Body
1 2 3 | |
Response
The updated Show object.
Delete Show by ID
DELETE /api/shows/[ID]
Deletes the show that corresponds to the show ID.
Request
| Parameter | Type | Description |
|---|---|---|
| ID | ID | Uuid or the name of the Show |
Get Playlists of Show
GET /api/shows/[ID]/playlists
Returns the Playlists for the show that corresponds to the show ID.
Request
| Parameter | Type | Description |
|---|---|---|
| ID | ID | Uuid or the name of the Show |
Response
The response is an array of Playlists.
Get Templates of Show
GET /api/shows/[ID]/templates
Returns the Templates for the show that corresponds to the show ID.
Request
| Parameter | Type | Description |
|---|---|---|
| ID | ID | Uuid or the name of the Show |
Response
The response is an array of Templates
Get Pages of Show
GET /api/shows/[ID]/pages
Returns the Pages for the show that corresponds to the show ID.
Request
| Parameter | Type | Description |
|---|---|---|
| ID | ID | Uuid or the name of the Show |
Response
The response is an array of Pages