lookGet method
lookGet
-> /v1/look/{id}
Requests the details of the specified audience look. NOTE: The currently live look is not found by this endpoint. To get the live look use GET /v1/look/current.
PARAMETERS
id
(required) :
The ID of the audience look, either UUID, name, or index.
- Example (by_uuid):
3C39C433-5C18-4F51-B357-55BB870227C4
- Example (by_name):
Look
- Example (by_index):
3
RESPONSE 200:
The request was processed successfully.
content-type: application/json
schema:
{
"type": "object",
"required": [
"uuid",
"index",
"name",
"screens"
],
"example": {
"id": {
"uuid": "42C3FC3-C4B2-44F7-A55D-4CC913BB8A5C",
"name": "Look",
"index": 0
},
"screens": [
{
"video_input": true,
"media": true,
"slide": true,
"announcements": true,
"props": true,
"messages": true,
"presentation": "42C3FC3-C4B2-44F7-A55D-4CC913BB8A5D",
"mask": "42C3FC3-C4B2-44F7-A55D-4CC913BB8A5E"
},
{
"video_input": true,
"media": true,
"slide": true,
"announcements": true,
"props": true,
"messages": true,
"presentation": "42C3FC3-C4B2-44F7-A55D-4CC913BB8A5D",
"mask": null
},
{
"video_input": false,
"media": false,
"slide": false,
"announcements": true,
"props": false,
"messages": false,
"presentation": null,
"mask": null
}
]
}
}
Implementation
Future<Map<String, dynamic>> lookGet(String id) async {
String url = '/v1/look/$id';
return await call('get', url, httpAccept: 'application/json');
}