Get a device
GET /projects/:project_id/fleets/:fleet_id/devices/:device_id
Get a device from the fleet of the project.
Path Parameters
- project_id string required
Project ID
- fleet_id string required
Fleet ID
- device_id string required
Device ID
Responses
- 200
- 400
- 401
- 403
Success" {"ok":1,"data":{"device":{"device_id":"<device_id>","device_name":"<device_name>","fleet_id":"<fleet_id>","project_id":"<project_id>","org_id":"<org_id>","current_shadow":"<current_shadow>","created_at":"<created_at>","updated_at":"<updated_at>"}}}
- application/json
- Schema
- Example (from schema)
Schema
{}
Bad Request" {"ok":0,"error":{"code":400,"message":"<error_message>"}}
- application/json
- Schema
- Example (from schema)
Schema
{}
Unauthorized" {"ok":0,"error":{"code":401,"message":"<error_message>"}}
- application/json
- Schema
- Example (from schema)
Schema
{}
Forbidden" {"ok":0,"error":{"code":403,"message":"<error_message>"}}
- application/json
- Schema
- Example (from schema)
Schema
{}
Loading...