Cognitive Systems WiFi Motion AppCloud API (v1-5-x)
The AppCloud APIs are used by mobile applications to communicate with the Cognitive Systems Infrastructure.
Download OpenAPI description
Languages
Servers
Mock server
https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/
https://docs.cognitivesystems.com/api/v1/
- Mock server
https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/network_motion_config
https://docs.cognitivesystems.com/api/v1/network_motion_config
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/network_motion_config \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"network_id": 6,
"cooldown": 300,
"sensitivity_level": "normal"
}'
Response
application/json
{ "cooldown": 300, "sensitivity_level": "low" }
- Mock server
https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/default_locations
https://docs.cognitivesystems.com/api/v1/default_locations
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/default_locations?network_id=0' \
-H 'Authorization: YOUR_API_KEY_HERE'
Response
application/json
[ "Kitchen", "Bedroom", "Living Room", "Entrance", "Primary Bedroom", "Basement" ]
- Mock server
https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/default_locations
https://docs.cognitivesystems.com/api/v1/default_locations
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/default_locations \
-H 'Authorization: YOUR_API_KEY_HERE'