huawei-cloud-api-definitions-CodeArtsArtifact 0.1.20260313

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"","definitions":{"ShowProjectListResponseBody":{"allOf":[{"$ref":"#/definitions/StandarBaseResponseV5"},{"properties":{"result":{"description":"**参数解释**:\n仓库列表。\n**取值范围**:\n不涉及。\n","items":{"$ref":"#/definitions/ShowProjectListResult"},"type":"array"}},"type":"object"}]},"ShowProjectListResult":{"properties":{"createdTime":{"description":"**参数解释**:\n创建时间,时间格式:yyyy-MM-dd HH:mm:ss。\n**取值范围**:\n不涉及。\n","type":"string"},"createdUserId":{"description":"**参数解释**:\n创建人ID。\n**取值范围**:\n不涉及。\n","type":"string"},"createdUserName":{"description":"**参数解释**:\n创建人名称。\n**取值范围**:\n不涉及。\n","type":"string"},"deploymentPolicy":{"description":"**参数解释**:\n覆盖策略。\n**取值范围**:\n不涉及。\n","type":"string"},"description":{"description":"**参数解释**:\n仓库描述。\n**取值范围**:\n不涉及。\n","type":"string"},"disable":{"description":"**参数解释**:\n仓库是否禁用。\n**取值范围**:\n- true:是。\n- false:否。\n","type":"boolean"},"displayName":{"description":"**参数解释**:\n仓库展示名称。\n**取值范围**:\n不涉及。\n","type":"string"},"domainId":{"description":"**参数解释**:\n租户ID。\n**取值范围**:\n不涉及。\n","type":"string"},"excludesPattern":{"description":"**参数解释**:\n路径排除规则。\n**取值范围**:\n不涉及。\n","type":"string"},"format":{"description":"**参数解释**:\n制品类型。\n**取值范围**:\nmaven2|docker|npm|go|pypi|rpm|composer|debian|conan|nuget|docker2|cocoapods|ohpm|generic。\n","type":"string"},"id":{"description":"**参数解释**:\n序号。\n**取值范围**:\n不涉及。\n","type":"string"},"includesPattern":{"description":"**参数解释**:\n路径包含规则。\n**取值范围**:\n不涉及。\n","type":"string"},"modifiedTime":{"description":"**参数解释**:\n修改时间,时间格式:yyyy-MM-dd HH:mm:ss。\n**取值范围**:\n不涉及。\n","type":"string"},"modifiedUserId":{"description":"**参数解释**:\n修改人ID。\n**取值范围**:\n不涉及。\n","type":"string"},"modifiedUserName":{"description":"**参数解释**:\n修改人名称。\n**取值范围**:\n不涉及。\n","type":"string"},"name":{"description":"**参数解释**:\n仓库ID。\n**取值范围**:\n不涉及。\n","type":"string"},"packageType":{"description":"**参数解释**:\n制品类型。\n**取值范围**:\n不涉及。\n","type":"string"},"policy":{"description":"**参数解释**:\n仓库策略。\n**取值范围**:\n- release:正式仓库。\n- snapshot:快照仓库。\n","type":"string"},"projectId":{"description":"**参数解释**:\n项目id。\n**取值范围**:\n不涉及。\n","type":"string"},"region":{"description":"**参数解释**:\n区域。\n**取值范围**:\n不涉及。\n","type":"string"},"repoType":{"description":"**参数解释**:\n仓库类型。\n**取值范围**:\n- hosted:本地仓库。\n- remote:代理仓库。\n- virtual:虚拟仓库。\n","type":"string"},"repositoryName":{"description":"**参数解释**:\n仓库名称。\n**取值范围**:\n不涉及。\n","type":"string"},"shareRight":{"description":"**参数解释**:\n共享权限级别。\n**取值范围**:\nPROJECT。\n","type":"string"},"status":{"description":"**参数解释**:\n仓库状态。\n**取值范围**:\n- active:正常。\n- delete:删除。\n- disabled:无效。\n- view:可浏览。\n- trash:废弃。\n","type":"string"},"storageSummaryInfo":{"description":"**参数解释**:\nstorageSummaryInfo。\n**取值范围**:\n不涉及。\n","type":"string"},"tabId":{"description":"**参数解释**:\n用于标记一对Maven仓库(release、snapshot),相同的tab_id即为一对Maven仓库。\n**取值范围**:\n不涉及。\n","type":"string"},"uri":{"description":"**参数解释**:\nURI。\n**取值范围**:\n不涉及。\n","type":"string"},"url":{"description":"**参数解释**:\n仓库地址。\n**取值范围**:\n不涉及。\n","type":"string"}},"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"},"StandarErrorResponseV5":{"properties":{"error_code":{"description":"错误代码","type":"string"},"error_msg":{"description":"错误信息","type":"string"},"status":{"description":"结果状态","type":"string"},"trace_id":{"description":"请求id","type":"string"}},"type":"object"}},"description":null,"group_id":"12022fbec3164dffbdbcd192875653a8","host":"cloudartifacts-ext.cn-north-4.myhuaweicloud.com","id":"b6bb52c4086042feb8135fa591392c78","info_version":"v2","method":"get","name":"ShowProjectList","parameters":{},"paths":{"/cloudartifact/v5/maven/repository/list":{"get":{"description":"查询项目管理关联仓库","operationId":"ShowProjectList","parameters":[{"description":"项目id","in":"query","name":"project_id","pattern":"^[a-z0-9]{32}$","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ShowProjectListResponseBody"}},"401":{"description":"UNAUTHORIZED","schema":{"$ref":"#/definitions/StandarErrorResponseV5"}}},"security":[{"apig-auth-iam":[]}],"summary":"查询项目管理关联仓库","tags":["仓库关联项目"],"x-api-framework":"RestfulAPI","x-api-position":"管理面","x-api-type":"open-api","x-api-user":"IAM普通租户","x-is-registered":"Y","x-open-region-cloud":"hws,hws_hk","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":"查询项目管理关联仓库","tags":"仓库关联项目","uri":null,"version":"2.0"}