Vizenity API (1.0.0)
Vizenity API support: digitalneighborwatch@gmail.com
License: Vizenity
A reference to Vizenity HTTPS restful API
Create a new alarm of specified type
QUERY PARAMETERS
secret
required
string
Your secret key
REQUEST BODY SCHEMA: application/json
type
required
string
Type of alarm. [none, burglare, fire, gas, water]
value
string
State of alarm. [on, off]. Alarm will toggle if not set
Responses
200 Content of posted alarm.
POST /alarms
https://BASE_URL/alarms
Request samples
Payload
application/json
Copy Expand all Collapse all
type: string,
value: string
Response samples
200
application/json
Copy Expand all Collapse all
Update account, Arm/Disarm your system
QUERY PARAMETERS
secret
required
string
Your secret key
REQUEST BODY SCHEMA: application/json
active
boolean
Arm/Disarm your system. [true, false]
Responses
200 Content of updated account.
PUT /accounts
https://BASE_URL/accounts
Request samples
Payload
application/json
Copy Expand all Collapse all
active: true
Response samples
200
application/json
Copy Expand all Collapse all
Create a new alarm of specified type.
QUERY PARAMETERS
secret
required
string
Your secret key
type
required
string
Type of alarm. [none, burglare, fire, gas, water]
value
string
State of alarm. [on, off]. Alarm will toggle if not set
Responses
200 Content of posted alarm.