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

Bu makale İngilizce olarak mevcuttur.

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.

Çerez tercihleri

Hangi çerezlerin kullanılacağını siz seçersiniz. Tercihinizi istediğiniz zaman alt bilgideki “Çerez ayarları”ndan değiştirebilirsiniz. Gizlilik politikası

Gerekli

Her zaman açık

Sitenin çalışması için gereklidir: açık/koyu tema seçiminiz ve bu çerez tercihiniz tarayıcınızda saklanır. Sizi izlemek için kullanılmazlar.

Analitik

Google Analytics 4, sayfaların nasıl kullanıldığını istatistiklerle ölçer ve siteyi iyileştirmemize yardımcı olur. Kabul ederseniz çerez bırakır ve ziyaretinizi tam olarak ölçer. Reddederseniz çerez bırakmaz, ancak Google yine de görüntülenen sayfa, tarayıcı türü ve IP adresi gibi teknik veriler alabilir.

_ga, _ga_* · en çok 2 yıl · Google