The App Cloud APIs expose the Core API endpoints, but with the addition of adding per user authentication and authorization. For example, you may choose to build with App Cloud APIs when developing for a mobile platform.
Cognitive Systems App Cloud API
- Mock serverhttps://docs.cognitivesystems.com/_mock/assets/specs/api/app_cloud/sounding/clients
- https://docs.cognitivesystems.com/api/v1/sounding/clients
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://docs.cognitivesystems.com/_mock/assets/specs/api/app_cloud/sounding/clients \
-H 'Authorization: YOUR_API_KEY_HERE'{ "devices": [ { … }, { … } ] }
The term Friendly Name, also known as friendly_name, refers to a name that is easy for the end user to understand. For example, if referring to a location, it is easier for an end user to refer to a location as Bedroom rather than the mac address of the device that is located in the bedroom.
Device location name assigned to the Device or Node. Maximum of 256 characters, supporting letters, spaces, digits, with only the following special characters: =, +, -, _, @, !. Supports base64 encoding. Can also be an empty string.
Indicates whether the device is using the global sensitivity setting or is being overridden at the device level.
Below is a chart that provides a description of the different Sensitivity Levels that are available:
| Sensitivity Level | Description | Numerical Representation |
|---|---|---|
| High | Motion levels of all sizes will trigger detection. Provides optimal coverage for most single family / detached dwellings. | 1 |
| Medium | Motion levels that are moderate or greater will trigger detection. Provides optimal coverage for most dwellings that share one or more walls with a neighbor. | 2 |
| Low | Only motion levels that are large to intense will trigger detection. Low and Very Low sensitivity may result in missed motion and are only recommended if too much motion is being reported at a higher setting. | 3 |
| Very Low | Only motion levels that are large to intense will trigger detection. This setting is typically only used in scenarios such as a small accommodation with shared walls. Low and Very Low sensitivity may result in missed motion and are only recommended if too much motion is being reported at a higher setting. | 7 |
Controls if the device can be used for sounding.
- Mock serverhttps://docs.cognitivesystems.com/_mock/assets/specs/api/app_cloud/sounding/clients
- https://docs.cognitivesystems.com/api/v1/sounding/clients
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://docs.cognitivesystems.com/_mock/assets/specs/api/app_cloud/sounding/clients?update=true' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"devices": [
{
"id": 0,
"location": "LocationA"
},
{
"mac": "00:11:22:33:44:55",
"sensitivity": 1,
"sounding_mode": "allow"
}
]
}'{ "status": 0, "success": 0, "details": { "warnings": [], "errors": [] } }