clearGroupIconGet method
clearGroupIconGet
-> /v1/clear/group/{id}/icon
Requests the image data for the icon 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: image/jpeg
schema:
{
"type": "string",
"required": [],
"format": "binary",
"example": "image data here"
}
Implementation
Future<Uint8List> clearGroupIconGet(String id) async {
String url = '/v1/clear/group/$id/icon';
return await call('get', url, httpAccept: 'image/jpeg');
}