Skip to content

Latest commit

 

History

History
21 lines (11 loc) · 277 Bytes

File metadata and controls

21 lines (11 loc) · 277 Bytes

#remote

the remote node.js API server

API Documentation

All commands are prefaced with /api/v1.

/device/:device-id/:outlet (POST)

Set the state of an outlet.

{
    state: 1
}
/device/:device-id/:outlet (GET)

Get the state of an outlet.