# Alibaba Cloud Container Registry API

> Alibaba Cloud Container Registry API on Apizie: 120 endpoints (Cancels an artifact building task, Cancels a repository building record, Cancels a single replication task, Changes the resource group to which a resource belongs, …) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://zieapi.vercel.app/v1/cloud:aliyun-cr/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `cloud:aliyun-cr`
- Category: Cloud
- Status: byok
- Source: https://api.alibabacloud.com/product/cr
- Page: https://zieapi.vercel.app/api/cloud/aliyun-cr
- OpenAPI: https://zieapi.vercel.app/api/cloud/aliyun-cr/openapi.json

Alibaba Cloud OpenAPI for Container Registry (cr, version 2018-12-01). Calls are signed with ACS3-HMAC-SHA256 using your AccessKey ID and secret.

## Endpoints

### Cancels an artifact building task
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/cancel-artifact-build-task` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the instance |
| BuildTaskId | string | yes | The ID of the artifact building task |

### Cancels a repository building record
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/cancel-repo-build-record` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the instance |
| RepoId | string | yes | The ID of the image repository |
| BuildRecordId | string | yes | The ID of the image building record |

### Cancels a single replication task
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/cancel-repo-sync-task` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| SyncTaskId | string | yes | The ID of the replication task |

### Changes the resource group to which a resource belongs
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/change-resource-group` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| ResourceId | string | yes | The ID of the resource |
| ResourceRegionId | string | yes | The ID of the region |
| ResourceGroupId | string | yes | The ID of the resource group to which you want to move the resource |

### Create image repository acceleration rules for image building
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/create-artifact-build-rule` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| ScopeType | string | yes | The effective range of the rule. Valid values: `REPOSITORY` |
| ScopeId | string | yes | The ID of the effective range of the rule. Set the value to the ID of the image repository |
| ArtifactType | string | yes | The type of the artifact. `ACCELERATED_IMAGE`: accelerated images |
| Parameters | string | no | Additional parameters (JSON-encoded) |

### Creates a lifecycle management rule for artifacts
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/create-artifact-lifecycle-rule` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| Auto | string | no | Specifies whether to automatically execute the rule |
| ScheduleTime | string | no | The execution cycle |
| NamespaceName | string | no | The namespace name |
| RepoName | string | no | The image repository name |
| TagRegexp | string | no | The regular expression used to match image versions to retain |
| RetentionTagCount | integer | no | The number of images to retain |
| EnableDeleteTag | string | no | Specifies whether to enable lifecycle management. Only one of this parameter and EnableDeleteUntaggedManifest can be set to true |
| EnableDeleteUntaggedManifest | string | no | Specifies whether to enable artifact cleanup. Only one of this parameter and EnableDeleteTag can be set to true |
| Scope | string | no | The cleanup scope |
| DryRun | string | no | Specifies whether to enable DryRun mode. If DryRun mode is enabled, only the lifecycle task scan is performed and no actual data cleanup… |

### Creates an artifact subscription rule
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/create-artifact-subscription-rule` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| SourceProvider | string | yes | The source of the artifact. Valid values: DOCKER_HUB: Docker Hub GCR: GCR QUAY: Quay.io |
| SourceNamespaceName | string | no | The source namespace |
| SourceRepoName | string | yes | The source repository |
| NamespaceName | string | yes | The name of the Container Registry namespace |
| RepoName | string | yes | The name of the Container Registry repository |
| TagRegexp | string | yes | The image tag in the subscription source repository. Regular expressions are supported |
| TagCount | integer | yes | The number of subscribed images |
| Override | string | no | Indicates whether the original image is overwritten |
| Accelerate | string | no | Indicates whether an acceleration link is enabled for image subscription. The subscription acceleration feature is in public preview. The… |
| Platform | string | yes | The operating system and architecture. If the source repository contains a multi-arch image, only the specified operating system and… |

### Creates an artifact subscription task
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/create-artifact-subscription-task` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| RuleId | string | yes | The rule ID |

### Creates an image building record based on an existing record
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/create-build-record-by-record` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| RepoId | string | yes | The ID of the image repository |
| BuildRecordId | string | yes | The ID of the image building record |

### Creates an image building record based on a rule
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/create-build-record-by-rule` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the instance |
| RepoId | string | yes | The ID of the image repository |
| BuildRuleId | string | yes | The ID of the image building rule |

### Creates a delivery chain
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/create-chain` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| RepoName | string | no | The repository name |
| RepoNamespaceName | string | no | The namespace name |
| Name | string | yes | The name of the delivery chain |
| Description | string | no | The description of the delivery chain |
| ChainConfig | string | no | The JSON-serialized entity object that describes the delivery chain |
| ScopeExclude | string | no | The collection of repositories excluded from the delivery chain execution (JSON-encoded) |

### Creates a chart namespace in an instance
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/create-chart-namespace` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the instance |
| NamespaceName | string | yes | The name of the namespace |
| AutoCreateRepo | string | no | Specifies whether to automatically create repositories in the namespace. Valid values: -` true `: automatically creates repositories in… |
| DefaultRepoType | string | no | The default repository type. Valid values: `PUBLIC`: a public repository `PRIVATE`: a private repository |

### Creates a chart repository
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/create-chart-repository` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the instance |
| RepoName | string | yes | The name of the repository |
| RepoNamespaceName | string | yes | The name of the namespace to which the repository belongs |
| RepoType | string | no | The default repository type. Valid values: `PUBLIC`: a public repository. `PRIVATE`: a private repository. You can specify the RepoType or… |
| Summary | string | no | The summary of the repository |

### Creates a custom domain name for an instance
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/create-instance-customized-domain` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| ModuleName | string | yes | The custom module name |
| Domain | string | yes | The custom domain name |
| CertId | string | yes | The ID of the custom domain name certificate |
| CertRegionId | string | no | The region to which the certificate belongs |

### Creates a whitelist policy for an instance access endpoint (public network only)
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/create-instance-endpoint-acl-policy` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| EndpointType | string | yes | The endpoint type. Only Internet is supported |
| Entry | string | no | The IP address range that is allowed to access the instance |
| Comment | string | no | The description |
| ModuleName | string | no | The module for which you want to set the access policy. Valid values: `Registry`: access the image repository `Chart`: access Helm Chart |
| Entries | string | no | The Entries (JSON-encoded) |

### Associates a virtual private cloud (VPC) with a Container Registry instance
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/create-instance-vpc-endpoint-linked-vpc` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| VpcId | string | yes | The VPC ID |
| VswitchId | string | yes | The ID of the vSwitch that is associated with the specified VPC |
| ModuleName | string | no | The name of the module that you want to access. Valid values: `Registry`: image repositories. `Chart`: Helm charts |
| EnableCreateDNSRecordInPvzt | string | no | Specifies whether to automatically create Alibaba Cloud DNS PrivateZone records. Valid values: If you enable automatic creation of… |

### Creates a repository namespace
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/create-namespace` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| NamespaceName | string | yes | The name of the namespace. The name must be 2 to 120 characters long and can contain only lowercase letters, digits, and the following… |
| AutoCreateRepo | string | no | Specifies whether a repository is automatically created when an image is pushed to a repository that does not yet exist in the namespace |
| DefaultRepoType | string | no | The default type of automatically created repositories. Valid values: `PUBLIC`: public `PRIVATE`: private |
| DefaultRepoConfiguration | string | no | The default repository configuration used when automatically creating an image repository in a namespace (JSON-encoded) |

### Creates a build rule for an image repository
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/create-repo-build-rule` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| RepoId | string | yes | The image repository ID |
| DockerfileLocation | string | no | The Dockerfile path |
| DockerfileName | string | no | The Dockerfile name |
| PushType | string | yes | The push type. Valid values: `GIT_TAG`: Triggered by tag. `GIT_BRANCH`: Triggered by branch |
| PushName | string | yes | The trigger name |
| ImageTag | string | yes | The image version |
| BuildArgs | string | no | The build arguments (JSON-encoded) |
| Platforms | string | no | The image architecture. Valid values: `linux/amd64` `linux/arm64` `linux/386` `linux/arm/v7` `linux/arm/v6` Default value: `linux/amd64`… |

### Binds a source code repository to an image repository
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/create-repo-source-code-repo` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the instance |
| RepoId | string | yes | The ID of the image repository |
| CodeRepoType | string | yes | The type of the source code hosting platform. Valid values: `GITHUB`, `GITLAB`, `GITEE`, `CODE`, and `CODEUP` |
| CodeRepoNamespaceName | string | yes | The namespace to which the source code repository belongs |
| CodeRepoName | string | yes | The name of the source code repository |
| AutoBuild | string | no | Specifies whether to trigger image building when source code is committed. Valid values: `true`: triggers image building when source code… |
| OverseaBuild | string | no | Specifies whether to enable Build With Servers Deployed Outside Chinese Mainland. Valid values: `true`: enables Build With Servers… |
| DisableCacheBuild | string | no | Specifies whether to disable building caches. Valid values: `true`: disables building caches. `false`: enables building caches |

### Creates a synchronization rule for an image repository
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/create-repo-sync-rule` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the source instance |
| NamespaceName | string | no | The namespace name of the source instance |
| RepoName | string | no | The repository name of the source instance |
| TargetRegionId | string | yes | The region ID of the target instance |
| TargetInstanceId | string | yes | The ID of the target instance |
| TargetNamespaceName | string | no | The namespace name of the target instance |
| TargetRepoName | string | no | The image repository name of the target instance |
| NamespaceNameFilter | string | no | The instance-level namespace regex filter. This parameter takes effect only when SyncScope is set to `INSTANCE` |
| RepoNameFilter | string | no | The repository filter rule. This parameter takes effect only when SyncScope is set to `INSTANCE` or `NAMESPACE` |
| TagFilter | string | yes | The tag filter rule |
| SyncScope | string | yes | The synchronization type. Valid values: `REPO`: Synchronizes by image repository. `NAMESPACE`: Synchronizes by namespace. `INSTANCE`:… |
| SyncRuleName | string | yes | The name of the synchronization rule |
| SyncTrigger | string | no | The trigger for the synchronization action. Valid values: `INITIATIVE`: Manual trigger. `PASSIVE`: Automatic trigger |
| TargetUserId | string | no | The UID of the account to which the target instance belongs. This parameter is required for cross-account image synchronization |
| LinkId | string | no | The ID of the custom synchronization link |
| Priority | integer | no | The execution priority of the synchronization task. Synchronization tasks are executed in descending order of priority. Tasks with the… |

### Manually creates a synchronization task
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/create-repo-sync-task` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The source instance ID |
| RepoId | string | yes | The ID of the image repository in the source instance |
| Tag | string | yes | The image tag in the source instance |
| TargetRegionId | string | yes | The region ID of the target instance |
| TargetInstanceId | string | yes | The target instance ID |
| TargetNamespace | string | yes | The namespace of the target instance |
| TargetRepoName | string | yes | The name of the image repository in the target instance |
| TargetTag | string | yes | The image tag in the target instance |
| TargetUserId | string | no | The UID of the account to which the target instance belongs |
| Override | string | no | Specifies whether to forcibly overwrite existing images. Valid values: `true`: Forcibly overwrites existing images. `false`: Does not… |
| Priority | integer | no | The execution priority of the synchronization task. Synchronization tasks are executed in descending order of priority. Tasks with the… |

### Creates a synchronization task for an image repository based on a synchronization rule (manual…
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/create-repo-sync-task-by-rule` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| RepoId | string | yes | The image repository ID |
| Tag | string | yes | The image version to be synchronized |
| SyncRuleId | string | yes | The synchronization rule ID |
| Priority | integer | no | The execution priority of the synchronization task. Synchronization tasks are executed in descending order of priority. Synchronization… |

### Creates an image tag based on an existing image tag in an image repository
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/create-repo-tag` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the instance |
| NamespaceName | string | yes | The name of the namespace |
| RepoName | string | yes | The name of the image repository |
| FromTag | string | yes | The source image tag |
| ToTag | string | yes | The image tag that you want to create |

### Creates an image scan task
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/create-repo-tag-scan-task` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| RepoId | string | yes | The image repository ID |
| Tag | string | yes | The image version |
| Digest | string | no | The image digest |
| ScanService | string | no | The scan engine type. Valid values: `SAS_SCAN_SERVICE`: Security Center scan engine (requires paid activation). `ACR_SCAN_SERVICE`: ACR… |
| ScanType | string | no | The image security scan type |

### Creates a trigger for a repository
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/create-repo-trigger` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the instance |
| RepoId | string | yes | The ID of the image repository |
| TriggerName | string | yes | The name of the trigger |
| TriggerUrl | string | yes | The URL of the trigger |
| TriggerType | string | yes | The type of the trigger. Valid values: `ALL`: a trigger that supports both tags and regular expressions. `TAG_LIST`: a tag-based trigger.… |
| TriggerTag | string | no | The image tag based on which the trigger is set. If `TriggerType` is set to `ALL`, `TriggerTag` can be set to a string or an array, for… |

### Creates an image repository
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/create-repository` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the instance |
| RepoName | string | yes | The name of the image repository |
| RepoNamespaceName | string | yes | The name of the namespace to which the image repository belongs |
| RepoType | string | yes | The type of the repository. Valid values: `PUBLIC`: The repository is a public repository. `PRIVATE`: The repository is a private repository |
| Summary | string | yes | The summary about the repository |
| Detail | string | no | The description of the repository |
| TagImmutability | string | no | Specifies whether to enable the feature of image tag immutability. Valid values: `true`: enables the feature of image tag immutability.… |

### Creates a scan or content analysis rule
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/create-scan-rule` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| RuleName | string | yes | The rule name |
| ScanScope | string | yes | The scan scope |
| TriggerType | string | yes | The trigger type |
| Namespaces | string | no | The collection of namespaces. If the scan scope is NAMESPACE, this parameter cannot be empty. If the scan scope is REPO, specify exactly… |
| RepoNames | string | no | The list of repositories. If the scan scope is NAMESPACE, this parameter must be empty. If the scan scope is REPO, this parameter cannot… |
| RepoTagFilterPattern | string | yes | The regular expression used to match tags that trigger a scan |
| ScanType | string | no | The scan type. Valid values: `VUL`: Artifact vulnerability scanning. `SBOM`: Artifact content analysis. Default value: `VUL` |

### Creates an instance store domain name routing rule
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/create-storage-domain-routing-rule` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| Routes | string | yes | The route list (JSON-encoded) |

### Deletes an artifact lifecycle management rule
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/delete-artifact-lifecycle-rule` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the Container Registry instance |
| RuleId | string | yes | The rule ID |

### Deletes an artifact subscription rule
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/delete-artifact-subscription-rule` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| RuleId | string | yes | The rule ID |

### Deletes a delivery chain
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/delete-chain` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| ChainId | string | yes | The delivery chain ID |

### Deletes a chart namespace from an instance
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/delete-chart-namespace` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the instance |
| NamespaceName | string | yes | The name of the chart namespace that you want to delete |

### Deletes a chart version from a chart repository
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/delete-chart-release` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the instance |
| Chart | string | yes | The name of the chart |
| Release | string | yes | The version of the chart that you want to delete |
| RepoName | string | yes | The name of the repository |
| RepoNamespaceName | string | yes | The name of the namespace |

### Deletes a chart repository
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/delete-chart-repository` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| RepoNamespaceName | string | yes | The namespace name |
| RepoName | string | yes | The repository name |

### Deletes an event notification rule
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/delete-event-center-rule` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | no | The ID of the instance |
| RuleId | string | no | The ID of the event notification rule |

### Deletes a custom domain name from an instance
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/delete-instance-customized-domain` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| ModuleName | string | yes | The custom module name |
| Domain | string | yes | The custom domain name |

### Deletes a whitelist policy from the public endpoint of an instance
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/delete-instance-endpoint-acl-policy` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| EndpointType | string | yes | The endpoint type. Only Internet is supported |
| Entry | string | no | The IP CIDR block |
| ModuleName | string | no | The module for which the access policy is configured. Valid values: `Registry`: Access to the image repository. `Chart`: Access to Helm… |
| Entries | string | no | The list of public access whitelist entries to delete for the instance (JSON-encoded) |

### Disassociates a virtual private cloud (VPC) from an instance
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/delete-instance-vpc-endpoint-linked-vpc` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the instance |
| VpcId | string | yes | The ID of the VPC |
| VswitchId | string | yes | The ID of the vSwitch |
| ModuleName | string | no | The name of the module that you want to access. Valid values: `Registry`: the image repository. `Chart`: a Helm chart |

### Deletes a namespace
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/delete-namespace` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the instance |
| NamespaceName | string | yes | The name of the namespace |

### Deletes an image building rule of a repository
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/delete-repo-build-rule` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the instance |
| RepoId | string | yes | The ID of the image repository |
| BuildRuleId | string | yes | The ID of the image building rule |

### Deletes an image replication rule of an image repository
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/delete-repo-sync-rule` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the instance |
| SyncRuleId | string | yes | The ID of the synchronization rule |

### Deletes an image tag
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/delete-repo-tag` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the instance |
| RepoId | string | yes | The ID of the image repository |
| Tag | string | yes | The tag of the image |

### Deletes a trigger of an image repository
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/delete-repo-trigger` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the instance |
| RepoId | string | yes | The ID of the image repository |
| TriggerId | string | yes | The ID of the trigger |

### Deletes an image repository
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/delete-repository` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the instance |
| RepoId | string | no | The ID of the image repository |
| RepoName | string | no | The name of the repository |
| RepoNamespaceName | string | no | The name of the namespace to which the repository belongs |

### Deletes a scan rule
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/delete-scan-rule` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | no | The instance ID |
| ScanRuleId | string | no | The rule ID |

### Deletes an instance store domain name routing rule
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/delete-storage-domain-routing-rule` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| RuleId | string | yes | The rule ID |

### Retrieves an artifact build rule
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/get-artifact-build-rule` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| ScopeType | string | no | The scope of the rule. Valid values: `REPOSITORY`: repository level |
| ScopeId | string | no | The ID of the scope in which the rule takes effect. Valid values: ScopeId: the image repository ID |
| ArtifactType | string | no | The type of the accelerated image. Valid values: `ACCELERATED_IMAGE`: generates an accelerated image |
| BuildRuleId | string | no | The build rule ID |

### Retrieves the build task of a cloud native artifact
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/get-artifact-build-task` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| BuildTaskId | string | yes | The ID of the artifact build task |

### Queries the lifecycle management rule of an artifact
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/get-artifact-lifecycle-rule` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| RuleId | string | yes | The rule ID |

### Queries artifact subscription rules
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/get-artifact-subscription-rule` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| RuleId | string | yes | The rule ID |

### Retrieves an artifact subscription task
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/get-artifact-subscription-task` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| TaskId | string | yes | The task ID |

### Lists the details of a subscription task
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/get-artifact-subscription-task-result` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| PageNo | integer | no | The page number |
| PageSize | integer | no | The page size |
| TaskId | string | yes | The task ID |

### Retrieves a temporary username and password for logging on to an instance
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/get-authorization-token` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| ExpiresInHours | integer | no | The validity period of the temporary credential in hours. Valid values: 1 to 24. When you use STS to call this operation, the actual… |
| InstanceId | string | yes | The repository instance ID |

### Retrieves the definition of a delivery chain to understand the node execution order
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/get-chain` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| ChainId | string | yes | The delivery chain ID |

### Queries a chart namespace in an instance
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/get-chart-namespace` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the instance |
| NamespaceName | string | yes | The name of the namespace |

### Queries the repository information of a chart
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/get-chart-repository` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| RepoNamespaceName | string | yes | The namespace name |
| RepoName | string | yes | The repository name |

### Queries instance information
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/get-instance` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |

### Queries the number of instances of a user
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/get-instance-count` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |

### Queries the custom domain name of an instance
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/get-instance-customized-domain` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| ModuleName | string | yes | The custom module name |
| Domain | string | yes | The custom domain name |

### Queries an endpoint of an instance
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/get-instance-endpoint` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the instance |
| EndpointType | string | yes | The type of the endpoint. Set the value to Internet |
| ModuleName | string | no | The name of the module that you want to access. Valid values: `Registry`: the image repository. `Chart`: a Helm chart |

### Queries the quota usage of an instance
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/get-instance-usage` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |

### Queries the endpoints of the virtual private clouds (VPCs) in which a Container Registry instance is deployed
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/get-instance-vpc-endpoint` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the instance |
| ModuleName | string | no | The name of the module that you want to access. Valid values: `Registry`: the image repository. `Chart`: a Helm chart |

### Retrieves information about a namespace
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/get-namespace` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the instance |
| NamespaceName | string | no | The name of the namespace |
| NamespaceId | string | no | The ID of the namespace |

### Queries the build records of a repository
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/get-repo-build-record` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| BuildRecordId | string | yes | The build record ID |

### Queries the status of an image building task
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/get-repo-build-record-status` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the instance |
| RepoId | string | yes | The ID of the image repository |
| BuildRecordId | string | yes | The ID of the image building record |

### Queries the information about the source code repository that is bound to an image repository
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/get-repo-source-code-repo` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the Container Registry instance |
| RepoId | string | yes | The ID of the repository |

### Queries a repository synchronization task
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/get-repo-sync-task` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| SyncTaskId | string | yes | The synchronization task ID |

### Retrieves the tag information of a specific image
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/get-repo-tag` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| RepoId | string | yes | The repository ID |
| Tag | string | yes | The repository tag |

### Retrieves the scan status of an image version
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/get-repo-tag-scan-status` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| RepoId | string | no | The image repository ID |
| Tag | string | no | The image tag |
| ScanTaskId | string | no | The image scan task ID |
| Digest | string | no | The image digest |
| ScanType | string | no | The image security scan type |

### Obtain the number of scan results for an image version
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/get-repo-tag-scan-summary` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the image repository |
| RepoId | string | no | The name of the image tag |
| Tag | string | no | The ID of the security scan task |
| ScanTaskId | string | no | The digest of the image |
| Digest | string | no | The number of unknown-severity vulnerabilities |

### Queries repository information
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/get-repository` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| RepoId | string | no | The repository ID. This API supports querying by RepoId, or by RepoNamespaceName and RepoName together |
| RepoNamespaceName | string | no | The repository namespace name. This API supports querying by RepoId, or by RepoNamespaceName and RepoName together |
| RepoName | string | no | The repository name. This API supports querying by RepoId, or by RepoNamespaceName and RepoName together |

### Retrieves a scan rule
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/get-scan-rule` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| ScanRuleId | string | yes | The scan rule ID |

### Retrieves the list of instance storage domain name routes
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/get-storage-domain-routing-rule` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| RuleId | string | no | The rule ID |

### Queries the log entries of an artifact building task
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/list-artifact-build-task-log` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the Container Registry instance |
| BuildTaskId | string | yes | The ID of the artifact build task |
| Page | integer | yes | The number of the page to return |
| PageSize | integer | yes | The number of entries per page. Maximum value: 100. If you specify a value greater than 100 for this parameter, the system reports a… |

### Lists artifact lifecycle management rules
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/list-artifact-lifecycle-rule` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the Enterprise instance |
| PageNo | integer | no | The page number |
| PageSize | integer | no | The number of entries per page. Maximum value: 100. If the specified value exceeds 100, the system returns a parameter error or uses 100… |
| EnableDeleteTag | string | no | Specifies whether lifecycle management is enabled |

### Lists artifact subscription rules
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/list-artifact-subscription-rule` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| PageNo | integer | no | The current page number |
| PageSize | integer | no | The number of entries to return per page. The maximum value is 100. If the specified value exceeds 100, the system returns a parameter… |

### Lists artifact subscription tasks
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/list-artifact-subscription-task` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| PageNo | integer | no | The page number |
| PageSize | integer | no | The number of entries per page |

### Queries delivery chains
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/list-chain` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the instance |
| PageNo | integer | no | The number of the page to return |
| PageSize | integer | no | The number of entries to return on each page |
| RepoNamespaceName | string | no | The name of the namespace |
| RepoName | string | no | The name of the image repository |

### Queries the execution records of a delivery chain
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/list-chain-instance` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| PageNo | integer | no | The page number |
| PageSize | integer | no | The page size |
| RepoNamespaceName | string | no | The namespace name |
| RepoName | string | no | The image repository name |

### Queries the chart namespaces of a Container Registry instance
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/list-chart-namespace` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the instance |
| NamespaceStatus | string | no | The status of the namespace. Valid values: `NORMAL`: The namespace is normal. `DELETING`: The namespace is being deleted |
| NamespaceName | string | no | The name of the namespace |
| PageNo | integer | no | The number of the page to return |
| PageSize | integer | no | The number of entries to return on each page |

### Queries the list of chart versions
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/list-chart-release` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| RepoName | string | yes | The repository name |
| RepoNamespaceName | string | yes | The namespace name |
| PageNo | integer | no | The page number |
| PageSize | integer | no | The number of entries per page |
| Chart | string | no | The version prefix |

### Queries a list of repositories
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/list-chart-repository` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| RepoStatus | string | no | The status of the chart repository. Valid values: `NORMAL`: The chart repository is in the Normal state. `DELETING`: The chart repository… |
| RepoName | string | no | The repository name |
| RepoNamespaceName | string | no | The namespace |
| PageNo | integer | no | The page number |
| PageSize | integer | no | The number of entries per page |

### Retrieves the event history of an event rule
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/list-event-center-record` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| EventType | string | no | The event type. Valid values: `cr:Artifact:DeliveryChainCompleted`: Delivery chain processing completed.… |
| RuleId | string | no | The event rule ID |
| RepoNamespaceName | string | no | The repository namespace name |
| RepoName | string | no | The repository name |
| PageNo | integer | no | The page number |
| PageSize | integer | no | The page size |

### Queries the name of an event rule
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/list-event-center-rule-name` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the instance |

### Queries the list of instances
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/list-instance` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceName | string | no | The instance name |
| InstanceStatus | string | no | The instance status. Valid values: `PENDING`: Initializing. `INIT_ERROR`: Initialization failed. `STARTING`: Starting. `RUNNING`: Running.… |
| PageNo | integer | no | The page number |
| PageSize | integer | no | The page size |
| ResourceGroupId | string | no | The resource group ID |

### Queries the endpoints of a Container Registry instance
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/list-instance-endpoint` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the instance |
| ModuleName | string | no | The name of the module that you want to access. Valid values: `Registry`: image repositories. `Chart`: Helm charts |
| Summary | string | no | Specify whether to return endpoints in simple mode. If yes, no access control information about the endpoint is returned |

### Queries regions in which you can create Container Registry instances
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/list-instance-region` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| Lang | string | no | The language used for response parameters. Set this parameter to `zh-CN` |

### Lists namespaces
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/list-namespace` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the Container Registry (ACR) instance |
| NamespaceStatus | string | no | The status of the namespace. Valid values: `NORMAL`: The namespace is normal. `DELETING`: The namespace is being deleted |
| NamespaceName | string | no | The name of the namespace |
| PageNo | integer | no | The page number |
| PageSize | integer | no | The number of entries to return on each page |

### Queries the list of build records for an image repository
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/list-repo-build-record` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| RepoId | string | yes | The repository ID |
| PageNo | integer | no | The page number |
| PageSize | integer | no | The page size |

### Queries the log of an image building record
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/list-repo-build-record-log` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the instance |
| RepoId | string | no | The ID of the image repository |
| BuildRecordId | string | yes | The ID of the image building record |
| Offset | integer | no | The offset of log lines |

### Queries the build rules of an image repository
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/list-repo-build-rule` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| RepoId | string | yes | The image repository ID |
| PageNo | integer | no | The page number |
| PageSize | integer | no | The page size |

### Queries the repository synchronization rules
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/list-repo-sync-rule` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| PageNo | integer | no | The page number |
| PageSize | integer | no | The page size |
| NamespaceName | string | no | The namespace name |
| RepoName | string | no | The repository name |
| TargetInstanceId | string | no | The target instance ID |
| TargetRegionId | string | no | The target region ID |

### Queries the list of repository synchronization tasks
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/list-repo-sync-task` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| RepoNamespaceName | string | no | The name of the namespace to which the repository belongs |
| RepoName | string | no | The repository name |
| Tag | string | no | The image version |
| PageNo | integer | no | The page number |
| PageSize | integer | no | The page size |
| SyncRecordId | string | no | The synchronization task record ID, which corresponds to the SyncBatchTaskId (batch synchronization task ID for images) in the response.… |

### Queries the list of image versions (tags)
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/list-repo-tag` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| RepoId | string | yes | The repository ID |
| PageNo | integer | no | The page number |
| PageSize | integer | no | The page size. The maximum number of entries per page is 100 |
| NextToken | string | no | The pagination token. If a next page exists, the service returns a NextToken value, which you can include in the subsequent request. Use… |
| MaxResults | integer | no | The maximum number of results to return. Use this parameter together with the NextToken parameter. This parameter takes precedence over… |

### Queries the results of a security scan that is created for an image tag
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/list-repo-tag-scan-result` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the instance |
| RepoId | string | no | The ID of the image repository |
| Tag | string | no | The name of the image tag |
| ScanTaskId | string | no | The ID of the security scan task |
| PageNo | integer | no | The number of the page to return |
| PageSize | integer | no | The number of entries to return on each page |
| Severity | string | no | The severity of the vulnerability. Valid values: `High` `Medium` `Low` `Unknown` |
| Digest | string | no | The digest of the image |
| ScanType | string | no | The type of the vulnerability. Valid values: `cve`: image system vulnerability `sca`: image application vulnerability |
| VulQueryKey | string | no | The keyword for fuzzy search used in scanning. The value can be a CVE name |
| FilterValue | string | no | The parameter whose value that you want to query. Fox example, if the value is `FixCmd`, only the `FixCmd` parameter is returned |

### Queries the triggers of a repository
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/list-repo-trigger` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the instance |
| RepoId | string | yes | The ID of the repository |

### Queries image repositories
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/list-repository` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID. You can call the ListInstance operation to query existing Enterprise instances |
| RepoStatus | string | no | The repository status. Valid values: `NORMAL`: Normal. `DELETING`: Deleting. `DELETED`: Deleted. `ALL`: All repository statuses |
| RepoName | string | no | The repository name |
| RepoNamespaceName | string | no | The name of the repository namespace |
| PageNo | integer | no | The page number |
| PageSize | integer | no | The number of entries per page. Maximum value: 100. If the specified value exceeds 100, the system returns a parameter error or uses 100… |
| NextToken | string | no | The token for the next page. If a next page exists, the service returns a NextToken value, which you can pass in the next request. Use… |
| MaxResults | integer | no | The maximum number of returned results. Use this parameter together with the NextToken parameter. This parameter takes precedence over… |

### Queries baseline vulnerabilities of a cloud security scan task by paging
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/list-scan-baseline-by-task` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | no | The instance ID |
| PageNo | integer | no | The page number |
| PageSize | integer | no | The page size |
| Level | string | no | The level |
| RepoId | string | no | The repository ID |
| Tag | string | no | The image version |
| Digest | string | no | The image digest value |
| ScanTaskId | string | no | The image scan task ID |

### Queries the malicious files of a scan task by page
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/list-scan-malicious-file-by-task` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | no | The instance ID |
| PageNo | integer | no | The page number |
| PageSize | integer | no | The number of entries per page. Maximum value: 100. If you specify a value greater than 100 for this parameter, the system reports a… |
| Level | string | no | The severity of the malicious file |
| RepoId | string | no | The image repository ID |
| Tag | string | no | The image tag |
| Digest | string | no | The image digest |
| ScanTaskId | string | no | The ID of the image scan task |

### Lists scan rules
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/list-scan-rule` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | no | The instance ID |
| PageNo | integer | no | The page number |
| PageSize | integer | no | The page size |
| ScanType | string | no | The vulnerability type. Valid values: `VUL`: artifact vulnerability scanning. `SBOM`: artifact content analysis. Default value: `VUL` |

### Queries the list of tags that are bound to resources. Currently, Instance resources are supported
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/list-tag-resources` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| ResourceType | string | yes | The resource type. Currently, Instance resources are supported |
| ResourceId | string | no | The resource ID. You can specify up to 20 resources (JSON-encoded) |
| RegionId | string | yes | The region ID of the resource |
| Tag | string | no | The list of tags (JSON-encoded) |
| NextToken | string | no | The token for the next query. You do not need to specify this parameter for the first query or if no more results exist. If a next query… |

### Resets the logon password of a Container Registry instance
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/reset-login-password` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the instance |
| Password | string | yes | The new password that you specify to log on to the instance. The password must be 8 to 32 bits in length, and must contain at least two of… |

### Tags resources. Currently supports Instance resources
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/tag-resources` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| ResourceType | string | yes | The resource type. Currently supports Instance resources |
| ResourceId | string | yes | The resource IDs. You can specify up to 20 resources (JSON-encoded) |
| RegionId | string | yes | The region ID |
| Tag | string | yes | The tags (JSON-encoded) |

### Deletes resource tags. Currently, Instance resources are supported
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/untag-resources` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| ResourceType | string | yes | The resource type. Currently, Instance resources are supported |
| ResourceId | string | no | The resource ID. You can specify up to 20 resources (JSON-encoded) |
| RegionId | string | yes | The region ID |
| TagKey | string | no | The tag key. Valid values of N: 1 to 20 (JSON-encoded) |
| All | string | no | Specifies whether to unbind all tags from the resource. Valid values: true: Unbinds all tags from the resource. false: Does not unbind all… |

### Updates an artifact lifecycle management rule
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/update-artifact-lifecycle-rule` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| Auto | string | no | Specifies whether to automatically execute the rule |
| ScheduleTime | string | no | The execution cycle |
| NamespaceName | string | no | The namespace name |
| RepoName | string | no | The image repository name |
| TagRegexp | string | no | The regular expression used to retain image versions |
| RetentionTagCount | integer | no | The number of images to retain |
| EnableDeleteTag | string | no | Specifies whether to enable lifecycle management. Only one of this parameter and EnableDeleteUntaggedManifest can be set to true |
| RuleId | string | yes | The rule ID |
| EnableDeleteUntaggedManifest | string | no | Specifies whether to enable artifact cleanup. Only one of this parameter and EnableDeleteTag can be set to true |
| Scope | string | no | The cleanup scope |
| DryRun | string | no | Specifies whether to enable DryRun mode. If DryRun mode is enabled, only the lifecycle task scan is performed and no actual data cleanup… |

### Updates an artifact subscription rule
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/update-artifact-subscription-rule` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| RuleId | string | yes | The rule ID |
| SourceProvider | string | no | The source of the artifacts. Valid values: DOCKER_HUB: Docker Hub GCR: GCR QUAY: Quay.io |
| SourceNamespaceName | string | no | The name of the source namespace |
| SourceRepoName | string | no | The source repository |
| NamespaceName | string | no | The name of the Container Registry namespace |
| RepoName | string | no | The name of the Container Registry repository |
| TagRegexp | string | no | The image tags in the subscription source repository. Regular expressions are supported |
| TagCount | integer | no | The number of subscribed images |
| Override | string | no | Specifies whether to overwrite the original image |
| Accelerate | string | no | Specifies whether to enable an acceleration link for image subscription. The subscription acceleration feature is in public preview. The… |
| Platform | string | no | The operating system and architecture. If the source repository contains multi-arch images, only the images with the specified operating… |

### Updates the information about a delivery chain, such as the node execution sequence of the delivery chain
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/update-chain` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the instance |
| ChainId | string | yes | The ID of the delivery chain |
| Name | string | yes | The name of the delivery chain |
| Description | string | no | The description of the delivery chain |
| ChainConfig | string | yes | The configuration of the delivery chain in the JSON format |
| ScopeExclude | string | no | Repositories in which the delivery chain does not take effect (JSON-encoded) |

### Updates a chart namespace
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/update-chart-namespace` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the instance |
| NamespaceName | string | yes | The name of the namespace to which the repository belongs |
| AutoCreateRepo | string | no | Specifies whether to automatically create repositories in the namespace. Valid values: `true`: automatically creates repositories in the… |
| DefaultRepoType | string | no | The default type of the repository. Valid values: `PUBLIC`: a public repository `PRIVATE`: a private repository |

### Updates a chart repository of a Container Registry instance
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/update-chart-repository` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the instance |
| RepoType | string | no | The type of the repository. Valid values: `PUBLIC`: a public repository. `PRIVATE`: a private repository |
| Summary | string | no | The summary of the repository |
| RepoNamespaceName | string | yes | The name of the namespace to which the repository belongs |
| RepoName | string | yes | The name of the repository |

### Updates an event rule
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/update-event-center-rule` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the instance |
| RuleId | string | yes | The ID of the event notification rule |
| RuleName | string | no | The name of the event notification rule |
| EventChannel | string | no | The event notification channel |
| EventType | string | no | The type of the event. Valid values: `cr:Artifact:DeliveryChainCompleted`: The delivery chain is processed.… |
| EventScope | string | no | The event scope. Valid values: `INSTANCE` `NAMESPACE` `REPO` Default value: `INSTANCE` |
| Namespaces | string | no | The namespaces to which the event notification rule applies (JSON-encoded) |
| RepoNames | string | no | The names of the repositories to which the event notification rule applies (JSON-encoded) |
| RepoTagFilterPattern | string | no | The regular expression for image tags |
| EventConfig | string | no | The event configuration |

### Updates the custom domain name of an instance
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/update-instance-customized-domain` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| ModuleName | string | yes | The modified domain name |
| Domain | string | yes | The custom domain name |
| CertId | string | yes | The certificate ID |
| CertRegionId | string | no | The region where the certificate resides |

### Updates the status of an instance endpoint
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/update-instance-endpoint-status` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the instance |
| EndpointType | string | yes | The type of the endpoint. Set the value to Internet |
| Enable | string | yes | Specifies whether to enable the instance endpoint. Valid values: `true`: enables the instance endpoint. `false`: disables the instance… |
| ModuleName | string | no | The name of the module that you want to access. Valid values: `Registry`: the image repository. `Chart`: a Helm chart |

### Updates a namespace
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/update-namespace` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| NamespaceName | string | yes | The namespace name |
| AutoCreateRepo | string | no | Specifies whether to allow automatic creation of a repository upon push |
| DefaultRepoType | string | no | The default repository type. Valid values: `PUBLIC`: public repository `PRIVATE`: private repository |
| DefaultRepoConfiguration | string | no | The default repository configuration (JSON-encoded) |

### Updates an image building rule for a repository
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/update-repo-build-rule` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the instance |
| RepoId | string | yes | The ID of the image repository |
| DockerfileLocation | string | no | The path of the Dockerfile |
| DockerfileName | string | no | The name of the Dockerfile |
| PushType | string | no | The type of the push that triggers the building rule. Valid values: `GIT_TAG`: tag push `GIT_BRANCH`: branch push |
| PushName | string | no | The name of the push that triggers the building rule |
| ImageTag | string | no | The tag of the image |
| BuildRuleId | string | yes | The ID of the building rule |
| BuildArgs | string | no | Building arguments (JSON-encoded) |
| Platforms | string | no | Architecture for image building. Valid values: `linux/amd64` `linux/arm64` `linux/386` `linux/arm/v7` `linux/arm/v6` Default value:… |

### Updates the URL of the source code repository that is bound to an image repository
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/update-repo-source-code-repo` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the Container Registry Enterprise Edition instance |
| RepoId | string | yes | The ID of the image repository |
| CodeRepoType | string | yes | The type of the source code hosting platform. Valid values: GITHUB, GITLAB, GITEE, CODE, and CODEUP |
| CodeRepoNamespaceName | string | yes | The namespace to which the source code repository belongs |
| CodeRepoName | string | yes | The name of the source code repository |
| AutoBuild | string | no | Specifies whether to enable automatic image building when code is committed. Valid values: `true`: enables automatic image building when… |
| OverseaBuild | string | no | Specifies whether to enable Build With Servers Deployed Outside Chinese Mainland. Valid values: `true`: enables Build With Servers… |
| DisableCacheBuild | string | no | Specifies whether to disable building caches. Valid values: `true`: disables building caches. `false`: enables building caches |
| CodeRepoId | string | no | The ID of the source code repository |

### Updates a trigger of an image repository
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/update-repo-trigger` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the instance |
| RepoId | string | yes | The ID of the image repository |
| TriggerName | string | no | The name of the trigger. You can specify the TriggerName or TriggerUrl parameter. The TriggerName parameter is optional |
| TriggerUrl | string | no | The URL of the trigger |
| TriggerType | string | no | The type of the trigger. Valid values: `ALL`: a trigger that supports both tags and regular expressions. `TAG_LISTTAG`: a tag-based… |
| TriggerTag | string | no | The image tag based on which the trigger is set |
| TriggerId | string | yes | The ID of the trigger |

### Updates repository information
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/update-repository` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| RepoId | string | no | The repository ID |
| RepoType | string | yes | The repository type. Valid values: `PUBLIC`: public repository `PRIVATE`: private repository |
| Summary | string | yes | The summary |
| Detail | string | no | The repository description |
| TagImmutability | string | no | Specifies whether image tag immutability is enabled. Valid values: `true`: enabled `false`: disabled |
| RepoNamespaceName | string | no | The name of the repository namespace |
| RepoName | string | no | The repository name |

### Updates a scan rule
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/update-scan-rule` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| ScanRuleId | string | yes | The rule ID |
| RuleName | string | yes | The rule name |
| ScanScope | string | yes | The scan scope |
| TriggerType | string | yes | The trigger type |
| Namespaces | string | no | The collection of namespaces. When the scan scope is NAMESPACE, this parameter cannot be empty. When the scan scope is REPO, this… |
| RepoNames | string | no | The list of repositories. When the scan scope is NAMESPACE, this parameter must be empty. When the scan scope is REPO, this parameter… |
| RepoTagFilterPattern | string | yes | The tag filtering rule |

### Updates a routing rule for an instance store domain name
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/update-storage-domain-routing-rule` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The instance ID |
| Routes | string | yes | The route list (JSON-encoded) |
| RuleId | string | yes | The rule ID |

### version
`POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/version` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://cr.ap-southeast-1.aliyuncs.com |

## Example
```
curl "https://zieapi.vercel.app/v1/cloud:aliyun-cr/cancel-artifact-build-task" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Alibaba Cloud Container Registry API?
Create a free Apizie key, then send POST https://zieapi.vercel.app/v1/cloud:aliyun-cr/cancel-artifact-build-task with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Alibaba Cloud Container Registry API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. Alibaba Cloud Container Registry itself also needs your own key from aliyuncs.com.

### Can AI agents use the Alibaba Cloud Container Registry API?
Yes. Add the Apizie MCP server (https://zieapi.vercel.app/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key cloud:aliyun-cr.

### What is the status of the Alibaba Cloud Container Registry API?
Needs your own provider key (bring your own key)
