Retrying or Stopping a Watermark Embedding Task
Function
This API is used to modify the status of a watermark embedding task. Retrying and stopping a task are supported.
Calling Method
For details, see Calling APIs.
URI
PUT /v1/{project_id}/data-watermark-embed-tasks/{id}/status
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
id |
Yes |
Long |
Task ID. |
|
project_id |
Yes |
String |
Project ID. |
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
action |
Yes |
String |
Operation type, which can be ENABLE, DISABLE, or START. |
Request Parameters
None
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
String |
Task ID. |
|
msg |
String |
Message description. |
|
status |
String |
Status. |
Status code: 201
Task status updated.
Example Requests
None
Example Responses
None
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
Operation succeeded. |
|
201 |
Task status updated. |
|
401 |
Unauthorized. |
|
403 |
Access denied. |
|
404 |
Task not found. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot