{"base_path":"/","components":null,"consumes":"","definitions":{"RepositoryBuildVO":{"properties":{"allowAnonymous":{"description":"**参数解释**:\n是否允许匿名下载。\n**取值范围**:\n不涉及。","type":"boolean"},"autoCleanSnapshot":{"description":"**参数解释**:\n是否自动清理快照版本。\n**取值范围**:\n不涉及。","type":"boolean"},"createdTime":{"description":"**参数解释**:\n创建时间,时间格式:yyyy-MM-dd HH:mm:ss。\n**取值范围**:\n不涉及。","type":"string"},"createdUserId":{"description":"**参数解释**:\n创建人ID。\n**取值范围**:\n不涉及。","type":"string"},"createdUserName":{"description":"**参数解释**:\n创建人名称。\n**取值范围**:\n不涉及。","type":"string"},"defaultDeployRepository":{"description":"**参数解释**:\n默认仓库。\n**取值范围**:\n不涉及。","type":"string"},"deploymentPolicy":{"description":"**参数解释**:\n覆盖策略。\n**取值范围**:\n不涉及。","type":"string"},"description":{"description":"**参数解释**:\n仓库描述。\n**取值范围**:\n不涉及。","type":"string"},"disable":{"description":"**参数解释**:\n是否禁用。\n**取值范围**:\n不涉及。","type":"boolean"},"displayName":{"description":"**参数解释**:\n展示的仓库名称。\n**取值范围**:\n不涉及。","type":"string"},"domainId":{"description":"**参数解释**:\n租户ID。\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\n- huggingfaceml","type":"string"},"includesPattern":{"description":"**参数解释**:\n路径包含规则。\n**取值范围**:\n不涉及。","type":"string"},"maxUniqueSnapshots":{"description":"**参数解释**:\n最大快照数。\n**取值范围**:\n不涉及。","type":"string"},"modifiedTime":{"description":"**参数解释**:\n修改时间,时间格式:yyyy-MM-dd HH:mm:ss。\n**取值范围**:\n不涉及。","type":"string"},"modifiedUserId":{"description":"**参数解释**:\n修改人ID。\n**取值范围**:\n不涉及。","type":"string"},"modifiedUserName":{"description":"**参数解释**:\n修改人名称。\n**取值范围**:\n不涉及。","type":"string"},"name":{"description":"**参数解释**:\n仓库ID。\n**取值范围**:\n不涉及。","type":"string"},"nexuRepo":{"description":"**参数解释**:\n是否nexus仓库。\n**取值范围**:\n不涉及。","type":"boolean"},"npm":{"description":"**参数解释**:\nnpm。\n**取值范围**:\n不涉及。","type":"string"},"packageType":{"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\n- huggingfaceml","type":"string"},"parentRepoName":{"description":"**参数解释**:\n父仓库名。\n**取值范围**:\n不涉及。","type":"string"},"password":{"description":"**参数解释**:\n密码。\n**取值范围**:\n不涉及。","type":"string"},"policy":{"description":"**参数解释**:\n仓库策略。\n**取值范围**:\n- release:正式仓库。\n- snapshot:快照仓库。","type":"string"},"projectId":{"description":"**参数解释**:\n项目id。\n**取值范围**:\n不涉及。","type":"string"},"proxy":{"description":"**参数解释**:\n代理。\n**取值范围**:\n不涉及。","type":"string"},"region":{"description":"**参数解释**:\n区域。\n**取值范围**:\n不涉及。","type":"string"},"release":{"description":"**参数解释**:\nrelease仓库名称,release和snapshot至少二选一。\n**取值范围**:\n不涉及。","type":"string"},"releaseStatus":{"description":"**参数解释**:\n正式仓库状态。\n**取值范围**:\n不涉及。","type":"string"},"remoteType":{"description":"**参数解释**:\n代理仓类型。\n**取值范围**:\n- public:公共代理仓;\n- customize:用户自定义代理仓。","type":"string"},"remoteUrl":{"description":"**参数解释**:\n代理仓地址。\n**取值范围**:\n不涉及。","type":"string"},"repositories":{"description":"**参数解释**:\n仓库列表。\n**取值范围**:\n不涉及。","items":{"type":"string"},"type":"array"},"repositoryIds":{"description":"**参数解释**:\n仓库ID列表。\n**取值范围**:\n不涉及。","items":{"type":"string"},"type":"array"},"repositoryName":{"description":"**参数解释**:\n仓库名称。\n**取值范围**:\n不涉及。","type":"string"},"shareRight":{"description":"**参数解释**:\n共享权限级别。\n**取值范围**:\nPROJECT","type":"string"},"snapshot":{"description":"**参数解释**:\nsnapshot仓库名称,release和snapshot至少二选一。\n**取值范围**:\n不涉及。","type":"string"},"snapshotAliveDays":{"description":"**参数解释**:\n快照版本有效期,单位:天。\n**取值范围**:\n不涉及。","type":"string"},"snapshotStatus":{"description":"**参数解释**:\n快照仓库状态。\n**取值范围**:\n不涉及。","type":"string"},"status":{"description":"**参数解释**:\n仓库状态。\n**取值范围**:\n- active:正常。\n- delete:删除。\n- disabled:无效。\n- view:可浏览。\n- trash:废弃。","type":"string"},"tabId":{"description":"**参数解释**:\n用于标记一对Maven仓库(release、snapshot),相同的tab_id即为一对Maven仓库。\n**取值范围**:\n不涉及。","type":"string"},"type":{"description":"**参数解释**:\n仓库类型。\n**取值范围**:\n- hosted:本地仓库。\n- remote:代理仓库。\n- virtual:虚拟仓库。","type":"string"},"uri":{"description":"**参数解释**:\nuri。\n**取值范围**:\n不涉及。","type":"string"},"url":{"description":"**参数解释**:\n仓库地址。\n**取值范围**:\n不涉及。","type":"string"},"userName":{"description":"**参数解释**:\n用户名。\n**取值范围**:\n不涉及。","type":"string"},"username":{"description":"**参数解释**:\n账号。\n**取值范围**:\n不涉及。","type":"string"}},"type":"object"},"ShowMavenInfoRes":{"allOf":[{"$ref":"#/definitions/StandarBaseResponseV5"},{"properties":{"result":{"description":"**参数解释**:\nMaven仓库列表。\n**取值范围**:\n不涉及。\n","items":{"$ref":"#/definitions/RepositoryBuildVO"},"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"},"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":"6b6fe043c3e6427bae55befa9ae9b037","info_version":"v2","method":"get","name":"ShowMavenInfo","parameters":{},"paths":{"/cloudartifact/v5/maven/info":{"get":{"description":"查询租户Maven仓库列表和账号密码,支持跨租户","operationId":"ShowMavenInfo","parameters":[{"description":"项目id","in":"query","name":"project_id","required":false,"type":"string"},{"description":"snapshot or releases","in":"query","name":"policy","required":false,"type":"string"},{"description":"r or rw","in":"query","name":"access","required":false,"type":"string"},{"description":"是否返回默认仓库 true or false","in":"query","name":"default","required":false,"type":"string"},{"description":"仓库id 多个仓库id用英文逗号间隔","in":"query","name":"ids","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ShowMavenInfoRes"}},"401":{"description":"UNAUTHORIZED","schema":{"$ref":"#/definitions/StandarErrorResponseV5"}}},"security":[{"apig-auth-iam":[]}],"summary":"查询租户Maven仓库列表和账号密码","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-php-exclude":"Y","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"}