查询制品仓库实例。
参数名 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | ListArtifactRegistries | 接口名称。当前 API 的名称为ListArtifactRegistries 。 |
Version | String | 是 | 2025-01-01 | 接口版本,当前 API 的版本为2025-01-01 。 |
Filter | Object RegistryFilter | 否 | - | 查询制品仓库实例的过滤条件。 |
PageSize | Integer | 否 | 10 | 单页展示的仓库实例数量,整数形式:
|
PageNumber | Integer | 否 | 1 | 当前页数,整数形式:
|
POST https://open.volcengineapi.com/?Action=ListArtifactRegistries&Version=2025-01-01 Content-Type: application/json { "Filter": { "Names": ["tt1", "jt*tt", "*test", "li*"], "Formats": ["Maven"], "Modes": ["Hosted"] } }
参数名 | 类型 | 示例 | 描述 |
---|---|---|---|
TotalCount | Integer | 1 | 查询获得的仓库实例数量。 |
Items | Array of Registry | - | 制品仓库实例列表。 |
PageSize | Integer | 10 | 单页展示的仓库实例数量。整数形式,默认为 10 个,取值范围为 1~100。 |
PageNumber | Integer | 1 | 当前页数。整数形式,从 1 开始,默认为 1。取值范围为 1~2147483647。 |
HTTP/1.1: 200 OK Content-Type: application/json { "ResponseMetadata": { "RequestId": "20250604110420****100232280022D31", "Action": "ListArtifactRegistries", "Version": "2025-01-01", "Service": "artifacts", "Region": "cn-north-1" }, "Result": { "TotalCount": 1, "Item": [ { "Endpoint": "https://artifacts-cn-beijing/repository/***", "Registry": "artifact-demo", "Format": "Maven", "Mode": "Hosted", "Public": "true", "Description": "this is a artifactes", "WritePolicy": "Allow", "Status": { "Phase": "Running", "Conditions": ["Ok"] }, "MavenRegistryConfig": { "VersionPolicy": "Release", "LayoutPolicy": "Strict" }, "CreateTime": "2025-01-01T00:00:00Z", "UpdateTime": "2025-01-01T00:00:00Z" } ] } }