-
Notifications
You must be signed in to change notification settings - Fork 7
Devices endpoints
Tim Bart edited this page Feb 2, 2015
·
3 revisions
Request
- Authentication Required: YES
- Scope: DEVICE_INFORMATION_READ
GET /v1/devices
Response
[
{
"device_id" : "123",
"type" : "SENSE",
"state" : "NORMAL"
},
{
"device_id" : "321",
"type" : "PILL",
"state" : "NORMAL"
}
]
Request
- Authentication Required: YES
- Scope: ADMINISTRATION_WRITE
POST /v1/devices/pill
{
"pill_id" : "123456"
}
Response
204
- Authentication required: yes
- Scope: DEVICE_INFORMATION_READ
response:
{
"sense_id": "F8A21FD2CDAF2E74",
"paired_accounts": 2
}