Cet article n'est pas encore disponible en français ; il est affiché ci-dessous en anglais.
The address behind every QR code. No key, not under /v1, cacheable, and public tier only: restricted Annex XIII points never leave the server on this path.
Personalise the samples. Paste a test key and every snippet uses it — and your own model and passport ids.
/p/{uniqueIdentifier}Resolve a passport
The public tier of a published passport as JSON. Send Accept: application/ld+json to get JSON-LD from the same URL. Responses carry an ETag, so scanners and caches can revalidate cheaply.
Parameters1
uniqueIdentifierstringpathrequiredThe battery’s identifier, e.g.
C-7KQ2M9XHT4R.
Responses
- 200OK — The public passport.
Errors2
- 404
Passport not foundUnknown identifier, or not published. - 410
Passport has ceased (battery recycled)The battery was recycled (Art. 77(8)).
curl "https://dppapi-production.up.railway.app/p/C-7KQ2M9XHT4R"/p/{uniqueIdentifier}.jsonldResolve as JSON-LD
The same public tier as JSON-LD (application/ld+json), including the version reference of the published content.
Parameters1
uniqueIdentifierstringpathrequiredThe battery’s identifier.
Responses
- 200OK —
application/ld+json.
Errors2
- 404
Passport not foundUnknown identifier, or not published. - 410
Passport has ceasedThe battery was recycled.
curl "https://dppapi-production.up.railway.app/p/C-7KQ2M9XHT4R.jsonld"application/ld+json.