The published versions of a unit's passport, newest first
Any member. With at, only versions published at or before that instant: the first item is the
version that was valid then (history by date for the portal, with every tier).
apiKeyAuthorizationBearer <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.
batteryId*stringuuidlimit?integerMaximum number of items to return.
1 <= value <= 20050cursor?stringOpaque cursor from a previous page's next_cursor.
1 <= length <= 512at?stringdate-timeA page of versions.
application/json- response
items*array<>next_cursor*|Cursor for the next page, or null when this is the last page.
curl -X GET 'https://example.com/api/v1/batteries/497f6eca-6276-4993-bfeb-53cbbbba6f08/passport/versions'{ "items": [ { "batterypass_v2_issue_count": 0, "batterypass_v2_valid": true, "canonical_hash": "string", "key_id": "string", "public_hash": "string", "published_at": "2019-08-24T14:15:22Z", "published_by": "9ac9eee7-2153-423d-b22d-04e12679154a", "published_by_name": "string", "reason": "string", "registry_version": "string", "valid_until": "2019-08-24T14:15:22Z", "version_no": 1 } ], "next_cursor": "string"}The passport's registration with the EU registry GET
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.
Record an event in the life of a unit POST
Editor and above, or an API key with the `condition` scope (source `api`, ADR-017). `occurred_on` lies between the manufacturing date and today. `evidence_ids` name documents of the evidence library (a diagnostic report, a repair protocol). Events are records: they do not change the unit's data; condition values are reported with `updateCondition`, second life with `createSecondLifeBattery`.