stageLayoutsGet method

Future<Map<String, dynamic>> stageLayoutsGet()
inherited

stageLayoutsGet -> /v1/stage/layouts

Requests a list of the configured stage layouts.

RESPONSE 200:

The request was processed successfully.

content-type: application/json

schema:

{
  "type": "array",
  "required": [],
  "example": [
    {
      "id": {
        "name": "Current/Next Stacked - Music",
        "index": 0,
        "uuid": "4D542943-6CF2-4BEE-A625-7C37B79D8EEF"
      }
    },
    {
      "id": {
        "name": "Main Screen Preview",
        "index": 1,
        "uiuid": "D2BAE32A-CDE2-4166-BA5C-2276D51EEFB8"
      }
    }
  ]
}

Implementation

Future<Map<String, dynamic>> stageLayoutsGet() async {
  String url = '/v1/stage/layouts';

  return await call('get', url, httpAccept: 'application/json');
}