Cyclers
Record a cycler's open service as done
Record service as done on a cycler.
Two paths behind one endpoint, chosen by whether the cycler is currently out of service:
- Open event (it was taken out first): that event is completed and every channel incident pointing at it is closed in one write, so the cycler cannot end up half returned to service.
- No open event: the common case of "I calibrated this, log it". A single already-completed event is recorded from the request's event_type. Nothing was taken out, so nothing needs returning, and no one has to open an event purely so it can be closed.
Either way a calibration advances last_calibrated_at — the only supported way that field moves — and optionally updates calibration_interval_days.
Addressed by cycler rather than by event id because a cycler has at most one open event: the caller already knows which cycler it serviced, and looking up the event id first would be a round-trip that proves nothing.
post/cyclers/{cycler_id}/service_events/complete
Path parameters
cycler_idstring required
Request body
object required
Response
Successful Response
Changes
No recorded changes to this endpoint across all 1 revision of this API.