Search lines
Returns lines matching optional code text and status filters. **Required permission:** `referential.line:read`
/referential/v1/linesReturns lines matching optional code text and status filters.
Required permission: referential.line:read
Authorization
oauth2 In: header
Query Parameters
Matches part of a line code.
Line lifecycle status.
Value in
- "ACTIVE"
- "SUSPENDED"
Result ordering.
Value in
- "codeAsc"
- "codeDesc"
- "newest"
- "oldest"
Zero-based page index.
int320 <= valuePage size, at most 200.
int320 <= value <= 200Response Body
*/*
curl -X GET "https://example.com/referential/v1/lines"{ "data": [ { "code": "string", "created_at": "2019-08-24T14:15:22Z", "id": "string", "name": "string", "retired_at": "2019-08-24T14:15:22Z", "status": "string", "suspension_reason": "string", "updated_at": "2019-08-24T14:15:22Z" } ], "page": 0, "size": 0, "total": 0}Read a reader's last reading
Reads, once, what the station's hardware bridge still keeps of the reader at the address — a plate camera, a UHF tag reader or a badge reader — and answers the last plate or tag read with when it was read: READ, NONE_HELD when the bridge holds none within the window it keeps, or BRIDGE_UNREACHABLE when no bridge is configured or it gave no usable answer in time. Nothing is recorded, and the bridge never fails this read. **Required permission:** `referential.last-reading:read`
Declare a line
**Required permission:** `referential.line:write`