Skip to content

Cognitive Systems App Cloud API

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.

Download OpenAPI description
Languages
Servers
Mock server
https://docs.cognitivesystems.com/_mock/assets/specs/api/app_cloud
https://docs.cognitivesystems.com/api/v1

Overview

Operations

Out of Box

Operations

Logging In

Operations

Geofencing

Operations

Account Management

Operations

Network Settings

Operations

Sounding v2

Operations

Events, History, and Visualizations

Operations

Household Insights

Operations

Zone Priority

Operations

Universal Alerting

Operations

Meta

Operations

Sensor Integration

Operations

Obtain Detections for All Sensors

Request

Generic API to query sensor detections for the network without any filters or selected time ranges.

curl -i -X GET \
  https://docs.cognitivesystems.com/_mock/assets/specs/api/app_cloud/sensors/history

Responses

200 OK

Bodyapplication/json
Response
application/json
{ "network_id": "1", "sensor_detections": [ { … }, { … }, { … }, { … } ] }

Obtain detections for a single Sensor

Request

Generic API to query sensor detections by thingName without any filters or selected time ranges.

Path
THING_NAMEstringrequired

Sensor thingName.

curl -i -X GET \
  'https://docs.cognitivesystems.com/_mock/assets/specs/api/app_cloud/sensors/history/{THING_NAME}'

Responses

200 OK

Bodyapplication/json
Response
application/json
{ "network_id": "1", "sensor_detections": [ { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … } ] }

Obtain Recommended Software Version

Request

Provides you with the recommended software version for your hub.

curl -i -X GET \
  https://docs.cognitivesystems.com/_mock/assets/specs/api/app_cloud/sensors/ota/hub/recommended

Responses

200 OK

Bodyapplication/json
versionstring

The recommended software version for the hub.

Response
application/json
{ "version": "03.00.88.00" }