API referenceEndpoints
Replace a draft screen layout's content, stating when it was read
**Required permission:** `siv.screen-layout:write`
PUT
/siv/v1/screen-layouts/{id}Required permission: siv.screen-layout:write
Authorization
oauth2 AuthorizationBearer <token>
In: header
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
body*ReviseScreenLayoutRequest
Response Body
*/*
curl -X PUT "https://example.com/siv/v1/screen-layouts/string" \ -H "Content-Type: application/json" \ -d '{ "background": "LIGHT", "name": "string", "updated_at": "2019-08-24T14:15:22Z", "widgets": [ {} ] }'{ "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 } ]}