Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

API Overview

Updated on 2024-12-12 GMT+08:00

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

Creating an Organization

Creates an organization.

Deleting an Organization

Deletes an organization.

Querying Organizations

Queries the list of organizations.

Querying Details About an Organization

Queries details about an organization, including its ID, name, creator, and user permissions.

Image Repository Management

API

Description

Creating an Image Repository in an Organization

Creates an image repository in an organization.

Deleting an Image Repository from an Organization

Deletes an image repository in an organization.

Updating the Brief Information on an Image Repository

Updates the brief information on an image repository in an organization, including the category, is_public, and description.

Querying the Brief Information on an Image Repository

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.

Querying Image Repositories

Queries the image repository list.

Viewing Shared Images

Views the list of shared images.

Image Tag Management

API

Description

Querying Image Tags

Queries all image tags of an image repository.

Deleting an Image with a Specified Tag

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

Shared Account Management

API

Description

Creating an Account Used for Image Sharing

Creates 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

Deletes an account used for image sharing.

Updating an Account Used for Image Sharing

Updates 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.

Querying Accounts Used for Image Sharing

Queries the list of accounts used for image sharing.

API Version

API

Description

Querying All API Versions

Queries all available API versions of SWR.

Querying a Specific API Version

Query a specific API version of SWR.

Organization Permission Management

API

Description

Creating Organization Permissions

Grants permissions of an organization to certain users so that they can manage, edit, and read images from the organization.

Deleting Organization Permissions

Deletes the organization operation permissions of certain users.

Updating Organization Permissions

Updates the organization operation permission types for certain users.

Querying Organization Permissions

Queries organization permissions.

Image Permission Management

API

Description

Creating Image Permissions

Grants permissions of an image to certain users so that they can manage, edit, and read the image.

Deleting Image Permissions

Deletes the image operation permissions of certain users.

Updating Image Permissions

Updates the image operation permission types for certain users.

Querying Image Permissions

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.

Querying Automatic Image Synchronization Tasks

Queries all automatic image synchronization tasks of a repository.

Creating an Automatic Image Synchronization Task

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.

Deleting an Automatic Image Synchronization Task

Deletes a specified automatic image synchronization task based on the target region and organization.

Manually Synchronizing Images

Existing images must be manually synchronized. Check whether image synchronization succeeded using either of the two ways:

  • If the response status code is 200 and no errors are reported, the image synchronization succeeded.
  • Use the SWR console or call the Querying the Brief Information on an Image Repository API. If the synchronized image tag exists in the target organization of the target region, the image synchronization succeeded.

Trigger Management

API

Description

Creating a Trigger

Creates a trigger.

Querying Triggers of a Specific Image Repository

Queries the trigger list of a specific image repository.

Deleting a Trigger

Deletes a trigger.

Querying Details About a Trigger

Queries details about a trigger.

Updating the Status of a Trigger

Updates the status of a trigger.

Image Retention Policy Management

API

Description

Creating an Image Retention Policy

Creates an image retention policy.

Querying Image Retention Policies

Queries the list of image retention policies.

Deleting an Image Retention Policy

Deletes an image retention policy.

Querying Image Retention Policy Records

Queries the records of image retention policies.

Modifying an Image Retention Policy

Modifies an image retention policy.

Querying Image Retention Records

Queries image retention records.

Temporary Login Command

API

Description

Generating a Temporary Login Command

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

Querying Quotas

Queries quota information.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback