Close an open alert as dealt with, saying how
**Required permission:** `supervision.alert:handle`
/supervision/v1/alerts/{id}/resolveRequired permission: supervision.alert:handle
Authorization
oauth2 In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
*/*
*/*
curl -X POST "https://example.com/supervision/v1/alerts/string/resolve" \ -H "Content-Type: application/json" \ -d '{ "reason": "string" }'{ "acknowledge_by": "2019-08-24T14:15:22Z", "acknowledged_at": "2019-08-24T14:15:22Z", "acknowledged_by": "string", "alert_id": "string", "audience": "string", "cause": { "code": "string", "details": { "property1": "string", "property2": "string" } }, "cause_detail": "string", "closed_at": "2019-08-24T14:15:22Z", "closed_by": "string", "closure": "string", "closure_evidence": { "code": "string", "details": { "property1": "string", "property2": "string" } }, "closure_reason": "string", "cycle_review_id": "string", "escalated": true, "escalated_at": "2019-08-24T14:15:22Z", "escalated_to": "string", "escalates_to": "string", "last_occurred_at": "2019-08-24T14:15:22Z", "occurrences": 0, "place": { "code": "string", "details": { "property1": "string", "property2": "string" } }, "raised_at": "2019-08-24T14:15:22Z", "seconds_to_acknowledge": 0, "severity": "string", "state": "string", "trail": [ { "actor": "string", "at": "2019-08-24T14:15:22Z", "detail": "string", "kind": "string", "permission": "string", "reported": { "code": "string", "details": { "property1": "string", "property2": "string" } } } ], "type": "string"}Add a note to an open alert's trail
**Required permission:** `supervision.alert:handle`
Act on a bay from the bay map
Has bay allocation move a departure's bay, free a bay, mark it occupied, settle an autocar that is not the one committed, release a departure's bay for a controlled reason, or correct an arrival, a departure, a coach or a bay decision recorded in error — the wrong entry kept beside the correction, a correction sent only under bay allocation's correction right — and records the command with the operator, the reason and bay allocation's answer: DONE with the record it made, or REFUSED with its code unchanged. The same command id sent again answers what the first send got and acts once; a command still SENT is unresolved. **Required permission:** `supervision.bay-command:issue`