Developers · API endpoints

Public resolver

The keyless endpoint behind every QR code: the public tier of a passport as JSON or JSON-LD, 404 and 410 semantics.

Version
v1.0.0
Base URL
https://dppapi-production.up.railway.app/v1
Format
JSON · OpenAPI 3.1
FeedbackLast updated

Dieser Artikel liegt noch nicht auf Deutsch vor und wird unten auf Englisch angezeigt.

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.

GET/p/{uniqueIdentifier}
no key

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

  • uniqueIdentifierstringpathrequired

    The battery’s identifier, e.g. C-7KQ2M9XHT4R.

Responses

  • 200OK — The public passport.

Errors2

GET /p/{uniqueIdentifier}
curl "https://dppapi-production.up.railway.app/p/C-7KQ2M9XHT4R"
200The public passport.
GET/p/{uniqueIdentifier}.jsonld
no key

Resolve as JSON-LD

The same public tier as JSON-LD (application/ld+json), including the version reference of the published content.

Parameters1

  • uniqueIdentifierstringpathrequired

    The battery’s identifier.

Responses

  • 200OK — application/ld+json.

Errors2

GET /p/{uniqueIdentifier}.jsonld
curl "https://dppapi-production.up.railway.app/p/C-7KQ2M9XHT4R.jsonld"
200application/ld+json.

Cookie-Einstellungen

Sie entscheiden, welche Cookies verwendet werden. Ihre Wahl können Sie jederzeit über „Cookie-Einstellungen“ im Footer ändern. Datenschutzerklärung

Notwendig

Immer aktiv

Für den Betrieb der Website erforderlich: Ihr Hell-/Dunkel-Design und diese Cookie-Auswahl werden in Ihrem Browser gespeichert. Sie dienen nicht dem Tracking.

Analyse

Google Analytics 4 misst über Statistiken, wie Seiten genutzt werden, und hilft uns, die Website zu verbessern. Wenn Sie zustimmen, setzt es Cookies und erfasst Ihren Besuch vollständig. Wenn Sie ablehnen, setzt es keine Cookies, doch Google kann weiterhin technische Daten erhalten, etwa die aufgerufene Seite, Ihren Browsertyp und Ihre IP-Adresse.

_ga, _ga_* · bis zu 2 Jahre · Google