Zum Inhalt springen
Pässe

The BatteryPass v2.0 export of a version (all tiers)

Scope: readSiehe auch:Authentifizierung ·Fehler ·Paginierung ·Ratenlimits
GET
/batteries/{batteryId}/passport/versions/{versionNo}/batterypass-v2

Any member. The stored export, including restricted data; sent as an attachment. Its schema report is in getPassportVersion (advisory, ADR-012).

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
versionNo*integer
Bereich1 <= value

Antwort-Body

The export.

application/json
  1. response

A JSON document whose shape is described elsewhere (snapshot, BatteryPass v2.0 export).

[key: string]?any
Beispielanfrage
curl -X GET 'https://example.com/api/v1/batteries/497f6eca-6276-4993-bfeb-53cbbbba6f08/passport/versions/1/batterypass-v2'
Beispielantwort
{}