Creating a Docker Repository
Function
Create a Docker repository.
URI
POST /cloudartifact/v5/repositories
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
format |
Yes |
String |
Repository format. |
display_name |
Yes |
String |
Repository display name. |
description |
No |
String |
Repository description. |
type |
Yes |
String |
Repository type. |
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
Example request for creating a Docker repository.
/v5/repositories { "format" : "docker", "display_name" : "string", "description" : "string", "type" : "Hosted" }
Example Responses
Status code: 200
OK
{ "status" : "success", "trace_id" : "143002-1701175561381-82", "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