Cognitive Systems WiFi Motion AppCloud API (v1-5-x)
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/app-cloud/v1-5-x/
https://docs.cognitivesystems.com/api/v1/
- Mock server
https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/sessions/sso/apple
https://docs.cognitivesystems.com/api/v1/sessions/sso/apple
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/sessions/sso/apple \
-H 'Content-Type: application/json' \
-d '{
"user": {
"name": {
"firstName": "John",
"lastName": "Smith"
},
"email": "user@cognitivesystems.com"
},
"access_token": "NEW.APPLE.AUTH.TOKEN"
}'
Response
application/json
{ "refresh_token": "string", "token": "string", "user": { "id": 0, "username": "string", "email": "string", "first_name": "string", "last_name": "string", "created_at": "string", "updated_at": "string", "confirmed_at": "string", "sub": "string", "valid_from": 0 } }
- Mock server
https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/sessions/sso/google
https://docs.cognitivesystems.com/api/v1/sessions/sso/google
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/sessions/sso/google \
-H 'Content-Type: application/json' \
-d '{
"access_token": "NEW.GOOGLE.AUTH.TOKEN",
"client_id": "NEW.GOOGLE.CLIENT.ID"
}'
Response
application/json
{ "refresh_token": "string", "token": "string", "user": { "id": 0, "username": "string", "email": "string", "first_name": "string", "last_name": "string", "created_at": "string", "updated_at": "string", "confirmed_at": "string", "sub": "string", "valid_from": 0 } }
- Mock server
https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/sessions/sso/cognito
https://docs.cognitivesystems.com/api/v1/sessions/sso/cognito
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/sessions/sso/cognito \
-H 'Content-Type: application/json' \
-d '{
"access_token": "NEW.COGNITO.AUTH.TOKEN"
}'
Response
application/json
{ "refresh_token": "JWT TOKEN", "token": "JWT TOKEN", "user": { "id": 601, "email": "user@cognitivesystems.com", "first_name": "John", "last_name": "Smith", "created_at": "2020-01-04T22:05:38.793Z", "updated_at": "2020-01-04T22:06:02.059Z", "confirmed_at": "2020-01-04T22:06:02.056Z" } }