Time-based automations.
Every call needs the project’s API key in x-header-apikey. See Authentication. Errors use the codes in Error codes.
GET https://openapi.rogo.com.vn/api/v2.0/iot-core/smartschedule/{userId}
| Parameter |
In |
Type |
Required |
Description |
userId |
path |
string |
Yes |
|
curl -X GET "https://openapi.rogo.com.vn/api/v2.0/iot-core/smartschedule/<userId>" \
-H "x-header-apikey: $API_KEY"
GET https://openapi.rogo.com.vn/api/v2.0/iot-core/smartschedule/{userId}/{uuid}
| Parameter |
In |
Type |
Required |
Description |
uuid |
path |
string |
Yes |
|
userId |
path |
string |
Yes |
|
curl -X GET "https://openapi.rogo.com.vn/api/v2.0/iot-core/smartschedule/<userId>/<uuid>" \
-H "x-header-apikey: $API_KEY"