Zum Inhalt springen
Pässe

The QR code of the unit's GS1 Digital Link

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

Any member. Rendered on demand from gs1_digital_link (error correction M, quiet zone of four modules). Only once the identifiers are locked (409 conflict before).

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

Query-Parameter

format?string
Standard"png"
Wert in"png""svg"
size?integer

Width and height of the PNG in pixels (ignored for SVG, which scales).

Bereich128 <= value <= 2048
Standard512

Antwort-Body

The image.

response?unknown
Beispielanfrage
curl -X GET 'https://example.com/api/v1/batteries/497f6eca-6276-4993-bfeb-53cbbbba6f08/passport/qr'
Beispielantwort
null