The Core APIs facilitate the creation, configuration, and management of WiFi Motion networks via RESTful APIs. It offers interfaces for accessing topologies, events, motion data, and more.
Cognitive Systems App Core API
Application configuration object that needs to be created
The sleep settings enabled or disabled.
true Sleep settings are enabled
false Sleep settings are not enabled
Provides rough guidance to the WiFi Motion network as to the hour of day when the household initiates their sleeping pattern.
Provides rough guidance to the WiFi Motion network as to the minute within the hour when the household initiates their sleeping pattern.
Provides rough guidance to the WiFi Motion network as to the hour of day when the household ends their sleeping pattern.
- Mock serverhttps://docs.cognitivesystems.com/_mock/assets/specs/api/core/network/{network_id}/application/settings
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.cognitivesystems.com/_mock/assets/specs/api/core/network/{network_id}/application/settings' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"network_id": 0,
"timezone": "string",
"enabled": true,
"sleep_hour": 23,
"sleep_minute": 59,
"wake_hour": 23,
"wake_minute": 59
}'{ "message": "Configuration created successfully", "data": { "network_id": 123, "timezone": "America/New_York", "enabled": true, "sleep_hour": 22, "sleep_minute": 30, "wake_hour": 6, "wake_minute": 30, "created_at": "2025-06-17T18:44:01.674Z", "updated_at": "2025-06-17T18:44:01.674Z", "enabled_at": "2025-06-17T18:44:01.674Z" } }
Application configuration fields to update
The sleep settings enabled or disabled.
true Sleep settings are enabled
false Sleep settings are not enabled
Provides rough guidance to the WiFi Motion network as to the hour of day when the household initiates their sleeping pattern.
Provides rough guidance to the WiFi Motion network as to the minute within the hour when the household initiates their sleeping pattern.
Provides rough guidance to the WiFi Motion network as to the hour of day when the household ends their sleeping pattern.
- Mock serverhttps://docs.cognitivesystems.com/_mock/assets/specs/api/core/network/{network_id}/application/settings
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://docs.cognitivesystems.com/_mock/assets/specs/api/core/network/{network_id}/application/settings' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"network_id": 0,
"timezone": "string",
"enabled": true,
"sleep_hour": 23,
"sleep_minute": 59,
"wake_hour": 23,
"wake_minute": 59
}'{ "message": "Configuration updated successfully", "data": { "network_id": 369, "timezone": "America/New_York", "enabled": true, "sleep_hour": 22, "sleep_minute": 30, "wake_hour": 6, "wake_minute": 30, "created_at": "2025-06-17T18:51:22.140Z", "updated_at": "2025-06-17T19:02:23.869Z", "enabled_at": "2025-06-17T19:02:23.869Z" } }
- Mock serverhttps://docs.cognitivesystems.com/_mock/assets/specs/api/core/network/{network_id}/application/settings
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://docs.cognitivesystems.com/_mock/assets/specs/api/core/network/{network_id}/application/settings' \
-H 'Authorization: YOUR_API_KEY_HERE'{ "message": "Configuration deleted successfully" }