clearGroupGet method
clearGroupGet
-> /v1/clear/group/{id}
Requests the details of the specified clear group.
PARAMETERS
id
(required) :
The ID of the required clear group, either name, index or UUID.
- Example (by_name):
Clear Group
- Example (by_index):
3
- Example (by_uuid):
3C39C433-5C18-4F51-B357-55BB870227C4
RESPONSE 200:
The request was processed successfully.
content-type: application/json
schema:
{
"type": "object",
"required": [
"id",
"layers",
"icon",
"tint",
"stop_timeline_announcements",
"stop_timeline_presentation",
"clear_next_presentation"
]
}
Implementation
Future<Map<String, dynamic>> clearGroupGet(String id) async {
String url = '/v1/clear/group/$id';
return await call('get', url, httpAccept: 'application/json');
}