huawei-cloud-api-definitions-CodeArtsArtifact 0.1.20260313

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"","definitions":{"BasicDOV5":{"properties":{"created_time":{"description":"**参数解释**:\n创建时间,时间格式:yyyy-MM-dd HH:mm:ss。\n**取值范围**:\n不涉及。","type":"string"},"created_user_id":{"description":"**参数解释**:\n创建人id。\n**取值范围**:\n不涉及。","type":"string"},"created_user_name":{"description":"**参数解释**:\n创建人。\n**取值范围**:\n不涉及。","type":"string"},"domain_id":{"description":"**参数解释**:\n租户id。\n**取值范围**:\n不涉及。","type":"string"},"modified_time":{"description":"**参数解释**:\n修改时间,时间格式:yyyy-MM-dd HH:mm:ss。\n**取值范围**:\n不涉及。","type":"string"},"modified_user_id":{"description":"**参数解释**:\n修改人id。\n**取值范围**:\n不涉及。","type":"string"},"modified_user_name":{"description":"**参数解释**:\n修改人。\n**取值范围**:\n不涉及。","type":"string"},"region":{"description":"**参数解释**:\n区域。\n**取值范围**:\n不涉及。","type":"string"},"status":{"description":"**参数解释**:\n仓库状态。\n**取值范围**:\nactive:正常。\ndelete:删除。\ndisabled:无效。\nview:私有库浏览者。\ntrash:废弃。\n","type":"string"}},"type":"object"},"RepositoryDOV5":{"allOf":[{"$ref":"#/definitions/BasicDOV5"},{"properties":{"default_deploy_repository":{"description":"**参数解释**:\n虚仓的默认仓库。\n**取值范围**:\n不涉及。","type":"string"},"deployment_policy":{"description":"**参数解释**:\n覆盖策略。\n**取值范围**:\n不涉及。\n","type":"string"},"description":{"description":"**参数解释**:\n仓库描述。\n**取值范围**:\n不涉及。","type":"string"},"disable":{"description":"**参数解释**:\n是否禁用。\n**取值范围**:\n不涉及。","type":"boolean"},"display_name":{"description":"**参数解释**:\n展示的仓库名称。\n**取值范围**:\n不涉及。","type":"string"},"excludes_pattern":{"description":"**参数解释**:\n路径排除规则。\n**取值范围**:\n不涉及。","type":"string"},"format":{"description":"**参数解释**:\n制品类型。\n**取值范围**:\n- maven\n- maven2\n- npm\n- go\n- pypi\n- rpm\n- composer\n- debian\n- conan\n- nuget\n- docker2\n- cocoapods\n- ohpm\n- generic\n- helm\n- conda","type":"string"},"includes_pattern":{"description":"**参数解释**:\n路径包含规则。\n**取值范围**:\n不涉及。","example":"**/*","type":"string"},"migrate_flag":{"description":"**参数解释**:\n迁移标识。\n**取值范围**:\n不涉及。","format":"int32","type":"integer"},"name":{"description":"**参数解释**:\n仓库id。\n**取值范围**:\n不涉及。","type":"string"},"nexu_repo":{"description":"**参数解释**:\n是否nexu仓库。\n**取值范围**:\n不涉及。","type":"boolean"},"npm":{"description":"**参数解释**:\nnpm。\n**取值范围**:\n不涉及。","type":"string"},"package_type":{"description":"**参数解释**:\n制品类型。\n**取值范围**:\n不涉及。","type":"string"},"parent_repo_name":{"description":"**参数解释**:\n父仓库名。\n**取值范围**:\n不涉及。","type":"string"},"password":{"description":"**参数解释**:\n密码。\n**取值范围**:\n不涉及。","type":"string"},"policy":{"description":"**参数解释**:\n仓库策略。\n**取值范围**:\nrelease或snapshot。","type":"string"},"project_id":{"description":"**参数解释**:\n项目ID。\n**取值范围**:\n不涉及。","type":"string"},"proxy":{"description":"**参数解释**:\n代理。\n**取值范围**:\n不涉及。","type":"string"},"pypi_registry_url":{"description":"**参数解释**:\npypi索引代理地址。\n**取值范围**:\n不涉及。","type":"string"},"release":{"description":"**参数解释**:\nrelease仓库名称,release和snapshot至少二选一。\n**取值范围**:\n不涉及。","type":"string"},"release_status":{"description":"**参数解释**:\n发布仓状态。\n**取值范围**:\n不涉及。","type":"string"},"remote_auth":{"description":"**参数解释**:\n代理仓认证。\n**取值范围**:\n不涉及。","type":"string"},"remote_url":{"description":"**参数解释**:\n代理仓地址。\n**取值范围**:\n不涉及。","type":"string"},"repositories":{"description":"**参数解释**:\nrepositories。\n**取值范围**:\n不涉及。","type":"string"},"repository_ids":{"description":"**参数解释**:\n仓库id列表。\n**取值范围**:\n不涉及。","type":"string"},"repository_name":{"description":"**参数解释**:\n仓库名称。\n**取值范围**:\n不涉及。","type":"string"},"scope":{"description":"**参数解释**:\n范围。\n**取值范围**:\n不涉及。","format":"int32","type":"integer"},"share_right":{"description":"**参数解释**:\n共享权限级别。\n**取值范围**:\nPROJECT。","type":"string"},"snapshot":{"description":"**参数解释**:\nsnapshot仓库名称,release和snapshot至少二选一。\n**取值范围**:\n不涉及。","type":"string"},"snapshot_status":{"description":"**参数解释**:\n快照仓状态。\n**取值范围**:\n不涉及。","type":"string"},"tab_id":{"description":"**参数解释**:\n用于标记一对maven仓库(release、snapshot),相同的tab_id即为一对maven仓库。\n**取值范围**:\n不涉及。\n","type":"string"},"type":{"description":"**参数解释**:\n仓库类型。\n**取值范围**:\nhosted:本地仓库。\nremote:代理仓库。\nvirtual:聚合仓库。\n","type":"string"},"uri":{"description":"**参数解释**:\nuri。\n**取值范围**:\n不涉及。","type":"string"},"url":{"description":"**参数解释**:\n地址。\n**取值范围**:\n不涉及。","type":"string"},"user_name":{"description":"**参数解释**:\n账号。\n**取值范围**:\n不涉及。","type":"string"}},"type":"object"}]},"RepositoryDOV5ListRes":{"allOf":[{"$ref":"#/definitions/StandarBaseResponseV5"},{"properties":{"result":{"description":"**参数解释**:\n仓库列表。\n**取值范围**:\n不涉及。","items":{"$ref":"#/definitions/RepositoryDOV5"},"type":"array"}},"type":"object"}]},"StandarBaseResponseV5":{"properties":{"status":{"description":"**参数解释**:\n请求成功或失败状态。\n**取值范围**:\n- success:请求成功。\n- error:请求失败。","enum":["success","error"],"example":"success","type":"string"},"trace_id":{"description":"**参数解释**:\n请求ID,当前请求唯一标识。\n**取值范围**:\n数字及中划线(-)组成的字符串。","type":"string"}},"type":"object"}},"description":null,"group_id":"12022fbec3164dffbdbcd192875653a8","host":"cloudartifacts-ext.cn-north-4.myhuaweicloud.com","id":"bd0d581d28054719af809bc3362ed230","info_version":"v2","method":"get","name":"ListMavenList","parameters":{},"paths":{"/cloudartifact/v5/maven/list":{"get":{"description":"查询Maven仓库列表,包含仓库状态、类型、地址和访问路径白名单等信息。支持根据项目ID和仓库ID等参数进行过滤。","operationId":"ListMavenList","parameters":[{"description":"**参数解释**:\n项目ID,可以从调用API处获取,也可以从控制台获取。获取方式请参考[获取项目ID](CloudArtifact_api_0015.xml)。\n**约束限制**:\n只能由英文字母、数字组成,且长度为32个字符。\n**取值范围**:\n不涉及。\n**默认取值**:\n无。","in":"query","maxLength":32,"minLength":32,"name":"project_id","pattern":"^[a-z0-9]{32,32}$","required":false,"type":"string"},{"description":"**参数解释**:\n是否返回默认仓库。\n**约束限制**:\n不涉及。\n**取值范围**:\ntrue or false。\n**默认取值**:\nfalse。","in":"query","name":"default","required":false,"type":"boolean"},{"description":"**参数解释**:\n仓库类型:snapshot 或 release。\n**约束限制**:\n不涉及。\n**取值范围**:\nsnapshot or releases。\n**默认取值**:\n不涉及。","in":"query","name":"policy","required":false,"type":"string"},{"description":"**参数解释**:\n仓库id,多个仓库id用英文逗号间隔。仓库id格式为{region}_{domainId}_{format}_{sequence}。可以从私有依赖库首页->仓库概览->仓库地址 url 中获取,最后两个\"/\"中间的字符串即为仓库id。\n**约束限制**:\n不涉及。\n**取值范围**:\n最大长度512。\n**默认取值**:\n不涉及。","in":"query","name":"repo_ids","required":false,"type":"string"},{"description":"**参数解释**:\n权限过滤设置,允许过滤读(r)和读写(rw)权限。\n**约束限制**:\n不涉及。\n**取值范围**:\nr or rw。\n**默认取值**:\nr。","in":"query","name":"access","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/RepositoryDOV5ListRes"}}},"security":[{"apig-auth-iam":[]}],"summary":"查询Maven仓库列表","tags":["仓库管理"],"x-api-framework":"RestfulAPI","x-api-highrisk":"N","x-api-position":"Region_ZONE","x-api-type":"open-api","x-api-user":"IAM_User","x-is-registered":"Y","x-open-region-cloud":"hws,hws_hk","x-sec-auditlog":"N","x-sec-authority-parameter-body":"NA","x-sec-authority-parameter-url":"NA","x-sec-privacy-parameter":"NA","x-sec-sensitiveinfo":"NA","x-sec-upload-download":0,"x-sec-userinput-untrust":"NA","x-support-sdk":"Y"}}},"product_short":"CodeArtsArtifact","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":{"apig-auth-app":{"in":"header","name":"Authorization","type":"apiKey","x-apigateway-auth-type":"AppSigv1"},"apig-auth-app-optional":{"in":"header","name":"Authorization","type":"apiKey","x-apigateway-auth-opt":{"access-auth-type":"optional"},"x-apigateway-auth-type":"AppSigv1"},"apig-auth-iam":{"in":"header","name":"unused","type":"apiKey","x-apigateway-auth-type":"IAM"},"apig-auth-iam-new":{"in":"header","name":"Authorization","type":"apiKey","x-apigateway-auth-type":"IAM_NEW"},"apig-auth-iam-none":{"in":"header","name":"unused","type":"apiKey","x-apigateway-auth-type":"IAM_NONE"},"apig-auth-iam-none-used-authn5":{"in":"header","name":"unused","type":"apiKey","x-apigateway-auth-opt":{"inner-auth-type":"iam_auth_n5"},"x-apigateway-auth-type":"IAM_NONE"},"apig-auth-iam-used-authn5":{"in":"header","name":"unused","type":"apiKey","x-apigateway-auth-opt":{"inner-auth-type":"iam_auth_n5"},"x-apigateway-auth-type":"IAM"}},"summary":"查询Maven仓库列表","tags":"仓库管理","uri":null,"version":"2.0"}