Developers
V1MePassportRecordsIdHistory

Read retained private versions of one record

GET
/v1/me/passport/records/{id}/history
AuthorizationBearer <token>

In: header

Path Parameters

id*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid

Query Parameters

beforeVersion?integer
Range0 <= value <= 9007199254740991
limit?integer
Range1 <= value <= 50
Default20

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/me/passport/records/497f6eca-6276-4993-bfeb-53cbbbba6f08/history"
{  "versions": [    {      "entryId": "09a8b554-45ca-4bab-a638-265db4b3e828",      "version": 0,      "readings": [        {          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",          "entryId": "09a8b554-45ca-4bab-a638-265db4b3e828",          "code": "8480-6",          "valueNum": 0,          "valueText": "string",          "unit": "string",          "effectiveAt": "2019-08-24T14:15:22Z",          "recordedAt": "2019-08-24T14:15:22Z",          "source": "healthkit",          "confidence": 0,          "supersedesId": "688cf67a-2e6c-4e49-8750-5bc8809fcd6f"        }      ],      "meal": {        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "note": "string",        "totalKcal": 0,        "items": [          {            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",            "name": "string",            "grams": 0,            "kcal": 0,            "source": "search",            "confidence": 0          }        ]      }    }  ],  "nextBeforeVersion": 0}