Appearance
Peripherals
- Frontend:
src/routes/private/peripheral/,src/routes/private/peripheralType/· Backend:Features/Peripherals/
Overview
Peripheral types (e.g. USB stethoscope, camera) and the physical peripheral devices available in an environment are managed here. This is the operator-side counterpart of the device control that clients use during calls (see Api — Notifications & Peripherals).
GraphQL operations
| Operation | Purpose |
|---|---|
createPeripheral / updatePeripheral / deletePeripheral | Peripheral device CRUD |
createPeripheralType / updatePeripheralType / deletePeripheralType | Peripheral type CRUD |
peripherals(environmentId) | List devices for an environment |
peripheralTypes(environmentId) | List types for an environment |
Both resources are scoped per environment (routes take [environmentId]).
Related
- Environments — devices are per-environment.
- Api — Notifications & Peripherals — how clients resolve and control peripherals.