Settle an unconfirmed barrier order
Records what the barrier did with an order nobody could confirm, who said so, when and why, beside the answer the order got. **Required permission:** `cycle.barrier-order:settle`
/cycle/v1/barrier-orders/{id}/resolutionRecords what the barrier did with an order nobody could confirm, who said so, when and why, beside the answer the order got.
Required permission: cycle.barrier-order:settle
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/cycle/v1/barrier-orders/string/resolution" \ -H "Content-Type: application/json" \ -d '{ "finding": "OPENED", "reason": "string" }'{ "order": { "access_attempt_id": "string", "actor": "string", "answered_at": "2019-08-24T14:15:22Z", "bridge_address": "string", "checkpoint_id": "string", "detail": "string", "id": "string", "outcome": "PENDING", "reason": "string", "requested_at": "2019-08-24T14:15:22Z", "settled_as": "string", "settled_at": "2019-08-24T14:15:22Z", "settled_by": "string", "settled_reason": "string", "settled_report_id": "string", "settled_source": "string", "vehicle_cycle_id": "string", "verdicts": [ "string" ] }}List barrier orders
Returns every order the station gave a lane's barrier to open, newest first: the lane, when, for which visit and presentation, which decision and who presented the evidence, and what became of it with the bridge's verdict on each try. An order still pending was recorded and not answered. An order the barrier took says nothing about whether the coach went through. An order whose outcome is unknown says how it was settled, once: by its barrier reporting itself open, or by a person with a reason. **Required permission:** `cycle.coach-cycle:read`
List lane barriers
Returns every barrier the station has heard from, by checkpoint: up or down, and since when. A barrier goes up when it takes an order to open or reports itself open, and down only when it reports itself closed. **Required permission:** `cycle.coach-cycle:read`