Pages
Get all Pages
GET /api/pages
Returns all the Pages that are currently available in your Erizos Studio environment.
Response
The response is an array of Pages
Create a Page
POST /api/pages
Creates a new page in a show.
Info
This API call will create a new page that can be used in other API requests, but the page will not be visible in Erizos Studio. To make the page availble in Erizos Studio, you will need to use the Create a New Page in Playlist API call.
Request Body
1 2 3 4 5 6 |
|
Parameter | Value | Description |
---|---|---|
show | UUid | The id of the show the page belongs to |
name | String | The name of the page |
template | UUid | The id of the template the page is created from |
summary | String | A description of the page |
Response Body
1 2 3 4 5 6 7 8 9 10 11 |
|
Parameter | Value | Description |
---|---|---|
show | UUid | The id of the show the page belongs to |
name | String | The name of the page |
template | UUid | The id of the template the page is created from |
summary | String | A description of the page |
fields | Array | A list of fields in the page |
createdAt | Date | Date and time the playlist was created |
updatedAt | Date | Date and time the playlist was last updated |
Get Page by ID
GET /api/pages/[ID]
Returns the page that corresponds to the page ID.
Request
Parameter | Type | Description |
---|---|---|
ID | Uuid | id of the Page |
Response
Page Object
Update a Page
PUT /api/pages/[ID]
Updates the page.
Request
Parameter | Type | Description |
---|---|---|
ID | Uuid | id of the Page |
Request Body
1 2 3 4 |
|
Response
The updated Page object.
Delete Page by ID
DELETE /api/pages/[ID]
Deletes the page that corresponds to the page ID.
Request
Parameter | Type | Description |
---|---|---|
ID | Uuid | id of the Page |