Catalog
A battery model
GET
Any member.
apiKeyheader
AuthorizationBearer <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.
modelId*stringFormat
uuidThe battery model.
application/json- response
archived_at*|Format
date-timecategory*BatteryCategoryBattery category per Regulation (EU) 2023/1542; drives registry requirements.
Value in
"ev""lmt""industrial""stationary""industrial_without_bms"created_at*stringFormat
date-timegtin*|GTIN-14 (normalised, check digit valid).
Match
^[0-9]{14}$id*stringFormat
uuidname*stringLength
1 <= length <= 120row_version*RowVersionOptimistic-concurrency version; send it back as If-Match when updating.
Format
int64Range
1 <= valuesku*|Length
length <= 100updated_at*stringFormat
date-timeExample Request
curl -X GET 'https://example.com/api/v1/battery-models/497f6eca-6276-4993-bfeb-53cbbbba6f08'Example Response
{ "archived_at": "2019-08-24T14:15:22Z", "category": "ev", "created_at": "2019-08-24T14:15:22Z", "gtin": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "row_version": 1, "sku": "string", "updated_at": "2019-08-24T14:15:22Z"}The units as a spreadsheet with the import's columns GET
Any member. The units matching the filters (at most 10 000) with the columns of an import: model, version, the unit's fields and every unit-level field with a value, so the file can be edited and imported again (`docs/architecture.md` §7). XLSX by default.
A unit GET
Any member.