You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+6-271
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,7 @@ The Client API is a straightforward REST API using JSON and HTTPS.
14
14
***Client** - A unique client/app to the account. A single account may have many client apps. Clients that the Blink servers believe are new will generate an out-of-band PIN OTP workflow. The Client ID is returned in a successful login response.
15
15
***Network** - A single account may have many networks. A network corresponds conceptually to a Blink Synch module. An account could have multiple networks/synch modules - e.g. multiple sites/homes. Network ID's and Synch Module information associated with an account is returned in the homescreen call.
16
16
***Camera** - A network/synch module may have one or more cameras. Camera ID information is returned in the homescreen call.
17
+
***Command** - Some operations reach out from the Blink Servers to your local Blink module. These operations are asynchronous and return a Command ID to be polled for completion via the Command Status call.
17
18
18
19
19
20
### Authentication
@@ -33,22 +34,18 @@ The Client API is a straightforward REST API using JSON and HTTPS.
33
34
34
35
### Network
35
36
36
-
Commands specific to a network generally reach out from the Blink servers to your Blink module to issue the commad and wait for a response - these calls are asynchronous, and clients must poll to wait for a response via the Command Status call.
37
-
38
37
* Command Status : `GET /network/{NetworkID}/command/{CommandID}`
39
38
* Arm System : `POST /api/v1/accounts/{AccountID}/networks/{NetworkID}/state/arm`
40
39
* Disarm System : `POST api/v1/accounts/{AccountID}/networks/{NetworkID}/state/disarm`
41
-
* List Network Programs : `GET /api/v1/networks/{NetworkID}/programs`
* Enable Network Program : `POST /api/v1/networks/{NetworkID}/programs/{ProgramID}/enable`
43
42
* Disable Network Program : `POST /api/v1/networks/{NetworkID}/programs/{ProgramID}/disable`
44
43
45
44
### Cameras
46
45
47
-
As with Network calls, these calls are sent to your Blink module by Blink's servers and are asynchronous - they must be polled for completion with the Command Status call.
JSON response containing information about the arm command request, including the command/request ID
120
-
121
-
**Notes:**
122
-
When this call returns, it does not mean the arm request is complete, the client must gather the request ID from the response and poll for the status of the command.
123
-
124
-
## Disarm
125
-
126
-
Disarm the given network (stop recording/reporting motion events)
JSON response containing information about the disarm command request, including the command/request ID
133
-
134
-
**Notes:**
135
-
When this call returns, it does not mean the disarm request is complete, the client must gather the request ID from the response and poll for the status of the command.
JSON response containing information that the mobile client displays on the home page for the requested sync module, including: status, armed state, links to thumbnails for each camera, etc.
163
-
164
-
**Notes:**
165
-
Not necessary to as part of issuing arm/disarm commands, but contains good summary info.
166
-
167
-
## Events, thumbnails & video captures
168
-
169
-
**Request**
170
-
Get events for a given network (sync module) -- Need network ID from home
*Note*: enabling or disabling motion detection is independent of arming or disarming the system. No motion detection or video recording will take place unless the system is armed.
306
-
307
-
308
-
## Miscellaneous
309
-
310
-
**Request**
311
-
Gets information about devices that have connected to the blink service
Retrieve the JPEG thumbnail picture of the given camera. The URL path is specified in the thumbnail attribute of the camera, for example from the [HomeScreen](../system/homescreen.md) call. Add the .jpg extension to the URL path.
0 commit comments