352
edits
(→WebPush: getter) |
(→Camera: json -> unit) |
||
| Line 24: | Line 24: | ||
=== Camera === | === Camera === | ||
* Take a picture with camera | * Take a picture with camera | ||
** PUT http://localhost:3000/api/v1/channels/set {"select": {"id": "setter:snapshot.ae67e622-7a66-465e-bab0-28107b2df980@link.mozilla.org"}, "value": {" | ** PUT http://localhost:3000/api/v1/channels/set {"select": {"id": "setter:snapshot.ae67e622-7a66-465e-bab0-28107b2df980@link.mozilla.org"}, "value": {"Unit": {}}} | ||
* Get list of images taken | * Get list of images taken | ||
** PUT http://localhost:3000/api/v1/channels/get {"id":"getter:image_list.ae67e622-7a66-465e-bab0-28107b2df980@link.mozilla.org"} | ** PUT http://localhost:3000/api/v1/channels/get {"id":"getter:image_list.ae67e622-7a66-465e-bab0-28107b2df980@link.mozilla.org"} | ||
edits