Restoring Components in the Recycle Bin in Batches
Function
Restore components in the recycle bin in batches.
URI
PUT /cloudartifact/v5/trashes
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
[items] |
Yes |
Array of IDETrashArtifactModel objects |
Parameters. |
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
status |
String |
Result status. |
trace_id |
String |
Request ID. |
result |
String |
Returned result of the request. The return value varies according to the API. |
Example Requests
Restore components in the recycle bin in batches.
/v5/trashes [ { "id" : "cn-north-7_5a775fdcb14f4431b6c0015618140bc3_go_4", "format" : "go", "uri" : "cn-north-7_5a775fdcb14f4431b6c0015618140bc3_go_4/", "status" : "active" }, { "id" : "cn-north-7_5a775fdcb14f4431b6c0015618140bc3_maven_2_23", "format" : "maven2", "uri" : "cn-north-7_5a775fdcb14f4431b6c0015618140bc3_maven_2_23/", "status" : "active" } ]
Example Responses
Status code: 200
OK
{ "status" : "success", "trace_id" : "143002-1701173929284-59", "result" : "success" }
Status Codes
Status Code |
Description |
---|---|
200 |
OK |
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