Skip to content

Cognitive Systems App Cloud API

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/api/app_cloud/

https://docs.cognitivesystems.com/api/v1/

Operations
Operations
Operations
Operations
Operations
Operations

Request

Security
Authorization
Bodyapplication/json
network_idinteger or numberrequired
Example: 6
Any of:
integer
cooldowninteger or number
Example: 300
Any of:
integer
sensitivity_levelstring
Enum"very-low""low""normal""high"
Example: "normal"
curl -i -X PUT \
  https://docs.cognitivesystems.com/_mock/assets/specs/api/app_cloud/network_motion_config \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "network_id": 6,
    "cooldown": 300,
    "sensitivity_level": "normal"
  }'

Responses

Bodyapplication/json
cooldowninteger
Example: 300
sensitivity_levelstring
Enum"very-low""low""normal""high"
Example: "low"
Response
application/json
{ "cooldown": 300, "sensitivity_level": "low" }

Request

Security
Authorization
Query
network_idinteger
curl -i -X GET \
  'https://docs.cognitivesystems.com/_mock/assets/specs/api/app_cloud/default_locations?network_id=0' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

A unique harded coded list of locations stored by the cloud, however this list expands as new custom locations are assigned to leafs or nodes

Bodyapplication/jsonArray [
string
]
Response
application/json
[ "Kitchen", "Bedroom", "Living Room", "Entrance", "Primary Bedroom", "Basement" ]

Request

Security
Authorization
curl -i -X POST \
  https://docs.cognitivesystems.com/_mock/assets/specs/api/app_cloud/default_locations \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

DEPRECATED. This endpoint makes no mutation since the locations list is binding to leafs and nodes in Core. It happily returns 204 simply to ensure older WiFi Motion apps are stable

Operations

Events, History, and Visualizations

Operations
Operations
Operations
Operations
Operations
Operations