API referenceEndpoints
Allow a panel to be dark until a time, with a reason
While it stands, the panel's screen switched off reads intentionally dark and raises no failure alert; from its end, a dark screen alerts again. Replaces the standing one. **Required permission:** `siv.panel-dark:allow`
POST
/siv/v1/display-points/{id}/dark-permissionWhile it stands, the panel's screen switched off reads intentionally dark and raises no failure alert; from its end, a dark screen alerts again. Replaces the standing one.
Required permission: siv.panel-dark:allow
Authorization
oauth2 AuthorizationBearer <token>
In: header
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
body*AllowPanelDarkRequest
Response Body
*/*
*/*
*/*
*/*
curl -X POST "https://example.com/siv/v1/display-points/string/dark-permission" \ -H "Content-Type: application/json" \ -d '{ "reason": "string", "until": "2019-08-24T14:15:22Z" }'{ "allowed_at": "2019-08-24T14:15:22Z", "allowed_by": "string", "display_point_id": "string", "reason": "string", "until": "2019-08-24T14:15:22Z"}