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

Este artículo aún no está disponible en español; se muestra a continuación en inglés.

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.

Preferencias de cookies

Tú decides qué cookies se usan. Puedes cambiar tu elección en cualquier momento desde «Configuración de cookies» en el pie de página. Política de privacidad

Necesarias

Siempre activas

Imprescindibles para que el sitio funcione: tu tema claro/oscuro y esta elección de cookies se guardan en tu navegador. No sirven para rastrearte.

Analítica

Google Analytics 4 mide cómo se usan las páginas mediante estadísticas, lo que nos ayuda a mejorar el sitio. Si aceptas, instala cookies y mide tu visita por completo. Si rechazas, no instala cookies, pero Google aún puede recibir datos técnicos como la página vista, el tipo de navegador y la dirección IP.

_ga, _ga_* · hasta 2 años · Google