Modify task information
HTTP Request URL: http(s)://api.thingboot.com/{AppID}/task/modify/?sign={sign}&ts={ts}
About the sign and ts definition
Or
MQTT Publish Topic: api/{AppID}/task/modify
The returned results are also received on the same topic.
Request parameters
| Name | Required | Type | Description |
|---|---|---|---|
| task | Yes | int | Task ID, integer type. Only one task can be modified per call. |
| Other parameters | Yes | string | Please refer to the parameters of the task creation interface.
Please note that when modifying a task, you only need to provide the task parameters that require changes, and there is no need to specify all parameters.
Additionally, be aware that when modifying a task, if the "times" parameter is included, it will reset the task's counter (the count will be reset to 0). |
Return results
| Name | Type | Description |
|---|---|---|
| code | string | Return the status value: 200 indicates success, for other errors please refer to the "Global Error Codes" section on the API homepage. |
| data | string | None |
| msg | string | Return status information |