Updating the Brief Information on an Image Repository
Function
Update the brief information on an image repository in an organization, including the category, is_public, and description.
URI
PATCH /v2/manage/namespaces/{namespace}/repos/{repository}
For details about parameters, see Table 1.
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| namespace | Yes | String | Organization name. |
| repository | Yes | String | Name of the image repository. |
| category | No | String | Repository type. The value can be app_server, linux, framework_app, database, lang, other, windows, or arm. |
| description | No | String | Repository description. |
| is_public | No | Boolean | Whether the repository is a public repository. The value can be either true or false. |
Request
Request example
-F "repository=busybox" \ -F "category=linux" \ -F "description=this is a busybox repository" \ -F "is_public=true"
Response
{}
Status Code
For details about status code, see Table 2.
Last Article: Deleting an Image Repository
Next Article: Querying the Brief Information on an Image Repository
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.