Zum Inhalt springen
Pässe

The passport's registration with the EU registry

Scope: readSiehe auch:Authentifizierung ·Fehler ·Paginierung ·Ratenlimits
GET
/batteries/{batteryId}/passport/registration

Any member. The EU digital product passport registry has no interface for economic operators yet (docs/regulatory-reference.md), so the registration is not_available and nothing is submitted. A passport is never shown as registered without the registry's confirmation.

Autorisierung

apiKey
headerAutorisierungBearer <Token>

Organisation API key sent as Authorization: Bearer bp_live_… (ADR-017). Accepted only by the operations that list this scheme, with the scope in their x-api-key-scope.

Pfad-Parameter

batteryId*string
Formatuuid

Antwort-Body

The registration status.

application/json
  1. response
attempts?integer
available*boolean

Whether the platform can submit to the registry at all.

detail?string

Why the registration is not available or failed (English).

external_id?string
last_attempt_at?string
Formatdate-time
passport_version?integer

The version the latest submission concerns.

registry*"eu_dpp"
Wert in"eu_dpp"
state*RegistrySubmissionState

not_available: the registry has no interface yet, nothing is submitted. The other states belong to a registry adapter that does not exist yet: not_submitted (available, nothing sent for this passport), pending (queued), submitted (sent, no answer), confirmed (the registry confirmed receipt), failed.

Wert in"not_available""not_submitted""pending""submitted""confirmed""failed"
Beispielanfrage
curl -X GET 'https://example.com/api/v1/batteries/497f6eca-6276-4993-bfeb-53cbbbba6f08/passport/registration'
Beispielantwort
{  "attempts": 0,  "available": true,  "detail": "string",  "external_id": "string",  "last_attempt_at": "2019-08-24T14:15:22Z",  "passport_version": 0,  "registry": "eu_dpp",  "state": "not_available"}