Appearance
Device classes
Device classes group devices by product type, firmware channel, or deployment configuration. Use class endpoints to inspect capabilities and rollout context.
Get device class summary
GET /api/device-classes/{hash_id}/summary/Returns summary information for a device class identified by hash_id.
bash
curl -s \
-H "Authorization: ApiKey $ORG_API_KEY" \
"https://gateway.dataplicity.com/api/device-classes/$CLASS_HASH/summary/"Use this when:
- Building product views that show device class capabilities
- Scoping fleet operations to a specific product line
- Checking rollout configuration before pushing firmware or config updates
Device class in fleet responses
Device list objects include a device_class field (read-only) referencing the class associated with each device. Use hash_id from fleet list responses to fetch class summaries.