- What's new
- Function Overview
- Service Overview
- Getting Started
-
User Guide
- Introduction
- Permissions Management
- Basics of the Container Engine
-
Image Management
- Uploading an Image Through a Container Engine Client (Recommended)
- Obtaining a Long-Term Valid Login Command
- Uploading an Image Through SWR Console
- Pulling an Image
- Setting Image Attributes
- Sharing a Private Image
- Adding a Trigger
- Adding an Image Retention Policy
- Configuring Automatic Image Synchronization Between Regions
- Image Center
- Organization Management
- User Permissions
- Auditing
- Change History
- Best Practices
-
API Reference
- Before You Start
- Calling APIs
- API Overview
-
API
- Organization Management
- Managing Image Repositories
- Image Tag Management
- Shared Account Management
- API Version
- Organization Permission Management
- Image Permission Management
- Image Synchronization Management
- Trigger Management
- Image Retention Policy Management
- Temporary Login Command
- Quota Management
- Other
- Example Applications
- Appendixes
- SDK Reference
-
FAQs
- General FAQs
- Login Issues
- Synchronizing Images
- Pushing an Image
- Pulling an Image
-
Troubleshooting
- Why Does the Login Command Fail to Be Executed?
- Why Does an Image Fail to Be Pushed Through a Container Engine Client?
- Why Does an Image Fail to Be Uploaded Through SWR Console?
- Why Does the docker pull Command Fail to Be Executed?
- What Should I Do If Images Cannot Be Downloaded from Private Networks?
- What Do I Do If an Error Occurs When I Call an API?
-
Other FAQs
- Why Does a CCE Workload Cannot Pull an Image from SWR and a Message "Not Logged In" Is Displayed?
- How Many Tenants Can I Share an SWR Private Image With?
- Why Is an Image Pushed Using a Container Engine Client to SWR Different in Size From One Uploaded Through the SWR Console?
- Can I Pull Images on the SWR Console to a Local PC?
- Videos
- Glossary
-
More Documents
- User Guide
- API Reference
- User Guide (Paris Regions)
- API Reference (Paris Regions)
- User Guide (Kuala Lumpur Region)
- API Reference (Kuala Lumpur Region)
-
User Guide (Ankara Region)
- Service Overview
- Overview
- Permissions Management
- Basics of Docker
-
Image Management
- Pushing an Image Through a Container Engine Client
- Obtaining a Long-Term Valid Docker Login Command
- Obtaining a Long-Term Valid containerd Pull/Push Command
- Uploading an Image Through the SWR Console
- Pulling an Image
- Setting Image Attributes
- Sharing Private Images
- Adding a Trigger
- Adding an Image Retention Policy
- Organization Management
- User Permissions
- FAQs
-
API Reference (Ankara Region)
- Before You Start
- API Overview
- Calling APIs
- API
- Appendixes
- Permissions and Supported Actions
- General Reference
- Organization Management
- Image Repository Management
- Image Tag Management
- Shared Account Management
- API Version
- Organization Permission Management
- Image Permission Management
- Automatic Image Synchronization Task Management
- Trigger Management
- Image Retention Policy Management
- Temporary Login Command
- Quota Management
Show all
Copied.
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. |
|
Queries the list of 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. |
|
Queries the image repository list. |
|
Views the list of shared images. |
Image Tag Management
API |
Description |
Queries all image tags of an image repository. |
|
Deletes the image with a specified tag in an image repository. |
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. |
|
Check whether an account used for image sharing exists. |
|
Queries the list of accounts used for image sharing. |
API Version
API |
Description |
Queries all available API versions of SWR. |
|
Query 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. New images and image updates can be automatically synchronized between regions. 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. |
|
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. |
|
Queries the list of 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. |
Quota Management
API |
Description |
Queries quota information. |
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