Get an Organisation's Devices Summary
Whole-fleet device counts for the console Fleet screen in one call — the
server-side counterpart of the client folds over the full device list
(fleetReal.ts::healthRows / deviceTypeShares / deviceSavingsLeg):
health-tone counts, type-bucket shares, and per-savings-leg device counts to
sit beside GET …/devices/savings?by=device_type. Operational (non-soft-
deleted) devices only.
Available only for “admin” users.
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
The organization ID of the user's organization
Response
OK
Whole-fleet device counts over the org's operational (non-soft-deleted) devices.
health_tones and type_shares each sum to the operational-device total;
savings_leg_counts covers only devices with a savings leg (wallboxes and
devices without a mapped type have none).
