Passports

List a passport's measurement history (by serial).

Newest first. Filter by fieldKey and a from/to window on measuredAt; page with cursor (the previous page's nextCursor).

get/api/v1/passports/by-serial/{serial}/measurements

Request

  • Base URL: https://app.tracepass.eu
  • URL: https://app.tracepass.eu/api/v1/passports/by-serial/{serial}/measurements
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://app.tracepass.eu/api/oauth/authorize, token URL https://app.tracepass.eu/api/oauth/token, scopes: passports:read)

Query parameters

fieldKeystring
fromstring date-time
tostring date-time
limitinteger
cursorstring

Response

A page of measurements.

hasMoreboolean required
nextCursorstring nullable required

Example response

{
  "data": [
    {
      "_id": "6650a1b2c3d4e5f6a7b8c9d0",
      "passportId": "6650a1b2c3d4e5f6a7b8c9d0"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.