Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Wuwan, Qi <wuwanqi1@noreply.gitea.eco.tsi-dev.otc-service.com> Co-committed-by: Wuwan, Qi <wuwanqi1@noreply.gitea.eco.tsi-dev.otc-service.com>
5.9 KiB
Updating a Processing Task
Function
This API is used to update a processing task, including feature analysis tasks and data processing tasks. Only the description of tasks can be updated. You can specify the task_id parameter to update a specific task.
Debugging
You can debug this API through automatic authentication in or use the SDK sample code generated by API Explorer.
URI
PUT /v2/{project_id}/processor-tasks/{task_id}
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID. For details about how to obtain a project ID, see Obtaining a Project ID and Name. |
task_id |
Yes |
String |
ID of a data processing task. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
description |
No |
String |
Description of a data processing task. The description contains 0 to 256 characters and does not support the following special characters: ^!<>=&"' |
Response Parameters
None
Example Requests
Updating a Data Processing Task
{ "description" : "test" }
Example Responses
Status code: 200
OK
{ }
Status Codes
Status Code |
Description |
---|---|
200 |
OK |
401 |
Unauthorized |
403 |
Forbidden |
404 |
Not Found |
Error Codes
See Error Codes.