-
Notifications
You must be signed in to change notification settings - Fork 8
Vencislav Atanasov edited this page Sep 10, 2016
·
1 revision
Request:
/api/door/status.json
Response:
{
"door": ("open" | "closed"),
"latch": ("locked" | "unlocked")
}
Request:
/api/users/present.json
Response:
[{
"id": 1,
"name": "User 1",
"url": "",
"twitter": "user1",
"username": "user1",
"github": "user1",
"jabber": "[email protected]",
"picture": "http://example.com/picture/1"
}, {
"id": 2,
"name": "User 2",
"url": "http://example.com/user2",
"twitter": "user2",
"username": "user2",
"github": "user2",
"jabber": "[email protected]",
"picture": "http://example.com/picture/6"
}]
Request:
/api/lights/status.json
Response:
{
"status": ("on" | "off"),
"policy": ("auto" | "always_on")
}