Last Updated on : 2023-07-06 08:28:12download
Query a list of cities supported by automation and tap-to-run. Currently, only cities in China can be returned.
GET: /v2.0/iot-03/automations/cities
Parameter name | Type | Description |
---|---|---|
result | List | The returned result. |
Description of result
Parameter name | Type | Description |
---|---|---|
id | String | The ID of a specified province. |
name | String | The name of a province or state. |
cities | List | The list of cities under the province. |
Description of cities
Parameter name | Type | Description |
---|---|---|
id | String | The ID of a specified city. |
name | String | The name of a specified city. |
GET: /v2.0/iot-03/automations/cities
{
"result": [
{
"cities": [
{
"name": "Fuzhou City",
"id": "79340954706575****"
}
],
"name": "Fujian Province",
"id": "79341683851932****"
}
],
"t": 1631869578413,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback