API Overview

You can query information about organizations, image repositories, and images, and manage organizations, image repositories, and images by using interfaces provided by the container image service.

Table 1 API description

API

Description

Creating an Organization

Create an organization.

Deleting an Organization

Delete an organization.

Querying the List of Organizations

Query the list of organizations.

Querying the Details of an Organization

Query the details of an organization, including its ID, name, creator, and user permissions.

Creating an Image Repository

Create an image repository in an organization.

Deleting an Image Repository

Delete an image repository in an organization.

Updating the Brief Information on an Image Repository

Update the brief information on an image in an organization of the account, including the category, is_public, and description.

Querying the Brief Information on an Image Repository

Query brief information on an image in an organization of the account, 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.

Querying the List of Images

Query the list of images.

Querying the List of Image Tags

Query the list of image tags.

Deleting the Image with a Specified Tag

Delete the image with a specified tag in an image repository.

Generating a Temporary Login Command

Generate a temporary login command using the value of X-Swr-Dockerlogin in the response header and the value of host in the response body.

Creating an Account Used for Image Sharing

Create an account used for image sharing. You can share your private images with other users, granting them permissions to pull the images.

Deleting an Account Used for Image Sharing

Delete an account used for image sharing.

Updating an Account Used for Image Sharing

Update an account used for image sharing.

Checking the Existence of an Account Used for Image Sharing

Check whether an account used for image sharing exists.

Obtaining the List of Accounts Used for Image Sharing

Obtain the list of accounts used for image sharing.

Viewing the List of Shared Images

View the list of shared images.

Querying All API Versions

Query all available API versions of SWR.

Querying a Specific API Version

Query a specific API version of SWR.

Creating Organization Permissions

Create organization permissions.

Deleting Organization Permissions

Delete organization permissions.

Updating Organization Permissions

Update organization permissions.

Querying Organization Permissions

Query organization permissions.

Creating Image Permissions

Create image permissions.

Deleting Image Permissions

Delete image permissions.

Updating Image Permissions

Update image permissions.

Querying Image Permissions

Query image permissions.

Obtaining Information About an Image Synchronization Task

Obtain information about an image synchronization task.

Obtaining the List of Automatic Image Synchronization Tasks

Obtain the list of automatic image synchronization tasks.

Creating an Automatic Image Synchronization Task

Create an automatic image synchronization task.

Deleting an Automatic Image Synchronization Task

Delete an automatic image synchronization task.

Manually Synchronizing an Image

Manually synchronize an image.

Creating a Trigger

Create a trigger.

Obtaining the Trigger List of a Specific Image Repository

Obtain the trigger list of a specific image repository.

Deleting a Trigger

Delete a trigger.

Obtaining Information About a Trigger

Obtain information about a trigger.

Updating Trigger Settings

Update trigger settings.

Adding an Image Retention Policy

Add an image retention policy.

Obtaining the List of Image Retention Policies

Obtain the list of image retention policies.

Deleting an Image Retention Policy

Delete an image retention policy.

Obtaining an Image Retention Policy Record

Obtain the records of image retention policies.

Modifying an Image Retention Policy

Modify an image retention policy.

Obtaining Image Retention Records

Obtain image retention records.