API referenceEndpoints
Let an emergency message cover its panels whole until a moment
Only where the station's emergency-takeover rule in force permits it, and never by the message's author. Records who approved, until when and under which rule version. **Required permission:** `siv.operator-message:approve-takeover`
POST
/siv/v1/operator-messages/{id}/takeoverOnly where the station's emergency-takeover rule in force permits it, and never by the message's author. Records who approved, until when and under which rule version.
Required permission: siv.operator-message:approve-takeover
Authorization
oauth2 AuthorizationBearer <token>
In: header
Path Parameters
id*string
Operator message id
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
body*ApproveEmergencyTakeoverRequest
Response Body
*/*
*/*
*/*
curl -X POST "https://example.com/siv/v1/operator-messages/string/takeover" \ -H "Content-Type: application/json" \ -d '{ "until": "2019-08-24T14:15:22Z" }'{ "id": "string", "takeover": { "approved_at": "2019-08-24T14:15:22Z", "approved_by": "string", "ends_at": "2019-08-24T14:15:22Z", "rule_version_id": "string", "rule_version_number": 0, "withdrawn_at": "2019-08-24T14:15:22Z", "withdrawn_by": "string" }}