{"base_path":"/","components":null,"consumes":"","definitions":{"VersionListV5Res":{"properties":{"result":{"description":"**参数解释**:\n版本信息列表。\n**取值范围**:\n不涉及。","items":{"$ref":"#/definitions/VersionListViewV5"},"type":"array"},"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"},"VersionListViewV5":{"properties":{"build_version":{"description":"**参数解释**:\n发布库版本的名称。\n**取值范围**:\n不涉及。","type":"string"},"category":{"description":"**参数解释**:\n发布库版本的状态。\n**取值范围**:\n- test:测试包。\n- prod:发布包。","type":"string"},"files_count":{"description":"**参数解释**:\n版本下的文件个数。\n**取值范围**:\n不涉及。","format":"int32","type":"integer"}},"type":"object"}},"description":null,"group_id":"12022fbec3164dffbdbcd192875653a8","host":"cloudartifacts-ext.cn-north-4.myhuaweicloud.com","id":"170c5f6ee7e24198b3629a06b33b5811","info_version":"v2","method":"get","name":"ShowVersionList","parameters":{},"paths":{"/v5/{project_id}/versions":{"get":{"description":"当发布库版本众多时,用户可根据项目ID分页查询对应发布库下的版本列表。该接口支持版本名称的模糊搜索。","operationId":"ShowVersionList","parameters":[{"description":"**参数解释**:\n项目ID,可以调用API获取,也可以从控制台获取,获取方式请参考[获取项目ID](CloudArtifact_api_0015.xml)。\n**约束限制**:\n不涉及。\n**取值范围**:\n只能由英文字母、数字组成,且长度为32个字符。\n**默认取值**:\n不涉及。","in":"path","maxLength":32,"minLength":32,"name":"project_id","pattern":"^[a-z0-9]{32,32}$","required":true,"type":"string"},{"description":"**参数解释**:\n表示发布库版本的名称。\n**约束限制**:\n不涉及。\n**取值范围**:\n英文字母、数字、特殊字符支持中划线、下划线和英文句号,长度为1-128个字符。\n**默认取值**:\n不涉及。","in":"query","name":"build_version","required":false,"type":"string"},{"description":"**参数解释**:\n分页查询的起始位置。\n**约束限制**:\n不涉及。\n**取值范围**:\n0-10000000\n**默认取值**:\n0","format":"int32","in":"query","name":"offset","required":false,"type":"integer"},{"description":"**参数解释**:\n分页查询每页的数据量。\n**约束限制**:\n不涉及。\n**取值范围**:\n1-100\n**默认取值**:\n10","format":"int32","in":"query","name":"limit","required":false,"type":"integer"}],"responses":{"200":{"description":"查询发布库版本列表成功。","schema":{"$ref":"#/definitions/VersionListV5Res"}}},"summary":"查询发布库版本列表","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":" ","x-sec-authority-parameter-url":" ","x-sec-privacy-parameter":" ","x-sec-sensitiveinfo":" ","x-sec-upload-download":0,"x-sec-userinput-untrust":" ","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"}