API to get a command request
Security
apiKey
- Mock serverhttps://develop-api.esper.io/_mock/openapi/commands/v0/commands/{id}/
- https://develop-api.esper.cloud/apihttps://develop-api.esper.cloud/api/commands/v0/commands/{id}/
curl -i -X GET \
'https://develop-api.esper.io/_mock/openapi/commands/v0/commands/{id}/' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
{ "code": 0, "message": "string", "content": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "command_type": "DEVICE", "devices": [ … ], "groups": [ … ], "device_type": "active", "command": "ADD_TO_WHITELIST", "command_args": { … }, "schedule": "IMMEDIATE", "schedule_args": { … }, "reason": "string", "created_by": "string", "created_at": "2019-08-24T14:15:22Z" } }