catalog

List battery components

Every components record with type = "battery", sorted by name. A PocketBase failure also answers 200 with [].

get/api/components/batteries

Request

  • Base URL: https://voltplan.app
  • URL: https://voltplan.app/api/components/batteries
  • Auth: none declared

Response

Matching components, sorted by name.

idstring required

Id of the components record.

namestring required

Product name.

wattnumber required

Rated power in W; 0 when unset.

voltage_innumber required

Input voltage in V; 0 when unset.

voltage_in_type'ac' | 'dc' | '' required

Input current type; '' when unset.

voltage_outnumber required

Output voltage in V; 0 when unset.

voltage_out_type'ac' | 'dc' | '' required

Output current type; '' when unset.

iconstring required

Icon file name in the PocketBase components collection; '' when none.

type'battery' required
brand_namestring

Name of the expanded brand relation; omitted when the component has no brand.

Changes

No recorded changes to this operation across all 1 revision of this API.