ReferenceHTTP API
image
The image router: 1 method of the image capability, with tier, scope, input and output.
Capability image · scope device · mode singleton · source packages/types/src/capabilities/image.cap.ts:31.
Every method is called at /trpc/image.<method> — queries with GET, mutations with POST. See How to call and Authorization. Device methods take deviceId in their input.
| Method | Kind | Tier | Token scope | Viewer |
|---|---|---|---|---|
getStatus | query | protected | view | yes |
image.getStatus
- Kind: query —
GET /trpc/image.getStatus(added by the framework) - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilityimage, or categorydevice, or a device grant coveringdeviceId - Viewer: yes
- Try it: open
/system/api-explorer?method=image.getStatuson your hub
Input
{ deviceId: number }Output
ImageStatusSchemaShapes: ImageStatusSchema