Correct a timeline instant
Restates one boundary of the visit's timeline — boundary 0 is the opening, boundary n is the instant of movement n — beside the instant it supersedes. **Required permission:** `cycle.coach-cycle:write`
/cycle/v1/coach-cycles/{id}/timeline-boundaries/{sequence}/correctionsRestates one boundary of the visit's timeline — boundary 0 is the opening, boundary n is the instant of movement n — beside the instant it supersedes.
Required permission: cycle.coach-cycle:write
Authorization
oauth2 In: header
Path Parameters
int32Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
*/*
*/*
curl -X POST "https://example.com/cycle/v1/coach-cycles/string/timeline-boundaries/0/corrections" \ -H "Content-Type: application/json" \ -d '{ "corrected_at": "2019-08-24T14:15:22Z", "reason": "string" }'{ "boundary_sequence": 0, "corrected_at": "2019-08-24T14:15:22Z", "cycle_id": "string", "id": "string", "previous_at": "2019-08-24T14:15:22Z", "reason": "string", "recorded_at": "2019-08-24T14:15:22Z", "recorded_by": "string"}Issue a temporary access code
Hands a stuck driver a short-lived keypad code for this visit, recording who issued it, why, and how far it reaches. **The code is in this answer and nowhere else** — only a one-way hash is kept, so it cannot be read back and an operator who loses it issues another. How far it reaches is the station's versioned policy, not a choice made here; a station that has authored none issues no code at all. **Required permission:** `cycle.access-code:write`
Record a confirmed exit passage
Stores the reading and, when the coach's record agrees, ends its visit at the passage instant. The coach is named either by the station-exit presentation that identified it or directly by the producer, never both. A reading that closes nothing is still stored, and says why — including one the station could not attribute to any coach. **Required permission:** `cycle.coach-cycle:write`