SmartGare
API referenceEndpoints

Get a screen layout

**Required permission:** `siv.screen-layout:read`

GET/siv/v1/screen-layouts/{id}

Required permission: siv.screen-layout:read

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Screen layout id

Response Body

*/*

curl -X GET "https://example.com/siv/v1/screen-layouts/string"
{  "background": "string",  "canvas": {    "height": 0,    "width": 0  },  "id": "string",  "name": "string",  "status": "string",  "updated_at": "2019-08-24T14:15:22Z",  "version": 0,  "widgets": [    {      "align": "START",      "binding": {        "field": "string",        "row": 0,        "source": "string"      },      "columns": [        {          "field": "string",          "share": 0        }      ],      "empty": {        "ar": "string",        "fr": "string"      },      "fallback": {        "ar": "string",        "fr": "string"      },      "fit": "CONTAIN",      "header": true,      "height": 0,      "id": "string",      "image_id": "string",      "rows": 0,      "size": "S",      "source": "string",      "text": {        "ar": "string",        "fr": "string"      },      "tone": "INK",      "total_lines": 0,      "type": "TEXT",      "width": 0,      "x": 0,      "y": 0    }  ]}