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
Download OpenAPI description
Languages
Servers
Mock server
https://docs.cognitivesystems.com/_mock/assets/specs/api/app_cloud
https://docs.cognitivesystems.com/api/v1
Request
Removes a sensor or hub. Deleting a Hub also includes the removal and deletion of associated child sensors. This deletion propagates to the Third Reality Cloud and will dispatch DeviceRemoved events for each sensor which will remove the sensors from App Cloud's Devices list. Sensors that are deleted need to be re-paired by being placed into pairing mode using the physical reset button. Removed Hubs will need to also be physically reset and provided userThingName and WiFi ssid / password via Bluetooth.
- Mock serverhttps://docs.cognitivesystems.com/_mock/assets/specs/api/app_cloud/sensors/devices/{THING_NAME}
- https://docs.cognitivesystems.com/api/v1/sensors/devices/{THING_NAME}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://docs.cognitivesystems.com/_mock/assets/specs/api/app_cloud/sensors/devices/{THING_NAME}'- Mock serverhttps://docs.cognitivesystems.com/_mock/assets/specs/api/app_cloud/sensors/history
- https://docs.cognitivesystems.com/api/v1/sensors/history
- 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/sensors/historyResponse
application/json
{ "network_id": "1", "sensor_detections": [ { … }, { … }, { … }, { … } ] }
- Mock serverhttps://docs.cognitivesystems.com/_mock/assets/specs/api/app_cloud/sensors/history/{THING_NAME}
- https://docs.cognitivesystems.com/api/v1/sensors/history/{THING_NAME}
- 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/sensors/history/{THING_NAME}'Response
application/json
{ "network_id": "1", "sensor_detections": [ { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … } ] }