API Overview
You can query information about organizations, image repositories, and images, and manage organizations, image repositories, and images by using APIs provided by SWR.
Organization Management
API |
Description |
---|---|
Creates an organization. |
|
Deletes an organization. |
|
Lists the organizations. |
|
Queries details about an organization, including its ID, name, creator, and user permissions. |
Image Repository Management
API |
Description |
Creates an image repository in an organization. |
|
Deletes an image repository in an organization. |
|
Updates the brief information on an image repository in an organization, including the category, is_public, and description. |
|
Queries the brief information on an image repository in an organization, including the image's repository ID, organization ID, repository name, description of the repository, the creator and capacity of the repository, and the image pull address. |
|
Lists the image repositories. |
|
Lists shared images. |
|
Lists the image repositories. |
|
Querying the List of Image Repositories of the Shared Edition (V3) |
Lists the image repositories of the Shared Edition. |
Image Tag Management
API |
Description |
Queries all image tags of an image repository. |
|
Deletes the image with a specified tag in an image repository. |
|
Creates an image tag |
|
Queries details about an image with a specified tag in the image repository. |
|
Lists image tags. |
Shared Account Management
API |
Description |
Creates an account used for image sharing. You can share your private images with other users, granting them permissions to pull the images. |
|
Deletes an account used for image sharing. |
|
Updates an account used for image sharing. |
|
Checks whether there is an account used for image sharing. |
|
Lists the accounts used for image sharing. |
API Version
API |
Description |
Queries all available API versions of SWR. |
|
Queries a specific API version of SWR. |
Organization Permission Management
API |
Description |
Grants permissions of an organization to certain users so that they can manage, edit, and read images from the organization. |
|
Deletes the organization operation permissions of certain users. |
|
Updates the organization operation permission types for certain users. |
|
Queries organization permissions. |
Image Permission Management
API |
Description |
Grants permissions of an image to certain users so that they can manage, edit, and read the image. |
|
Deletes the image operation permissions of certain users. |
|
Updates the image operation permission types for certain users. |
|
Queries image permissions. |
Automatic Image Synchronization Task Management
API |
Description |
Querying Details About an Automatic Image Synchronization Task |
Queries details about an image synchronization task. You can use this API to check whether an image synchronization task is successful. |
Queries all automatic image synchronization tasks of a repository. |
|
Creates an automatic image synchronization task. After you configure automatic image synchronization, new and updated images will be automatically synchronized to repositories of other regions. However, images that were pushed before automatic image synchronization was configured will not be automatically synchronized. Existing images must be manually synchronized. For details, see Manually Synchronizing Images. |
|
Deletes a specified automatic image synchronization task based on the target region and organization. |
|
Synchronizes images manually. Existing images must be manually synchronized. Check whether image synchronization succeeded using either of the two ways:
|
Trigger Management
API |
Description |
Creates a trigger. |
|
Queries the trigger list of a specific image repository. |
|
Deletes a trigger. |
|
Queries details about a trigger. |
|
Updates the status of a trigger. |
Image Retention Policy Management
API |
Description |
Creates an image retention policy. |
|
Lists image retention policies. |
|
Deletes an image retention policy. |
|
Queries the records of image retention policies. |
|
Modifies an image retention policy. |
|
Queries image retention records. |
Temporary Login Command
API |
Description |
Generates a temporary login command using the value of X-Swr-Dockerlogin in the response header and the value of host in the response body. |
|
Generates a temporary login command using the value of X-Swr-Dockerlogin in the response header and the value of host in the response body. |
Quota Management
API |
Description |
Queries quota information. |
Other
API |
Description |
Queries the tenant resource overview. |
|
Queries tenant resource statistics. |
|
Queries the service feature status. |
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