{"base_path":"/","components":null,"consumes":"","definitions":{"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"},"VersionViewVoV5":{"properties":{"file_id":{"description":"**参数解释**:\n文件id。\n**取值范围**:\n不涉及。\n","type":"string"},"id":{"description":"**参数解释**:\nid。\n**取值范围**:\n不涉及。\n","type":"string"},"name":{"description":"**参数解释**:\n文件名。\n**取值范围**:\n不涉及。\n","type":"string"},"path":{"description":"**参数解释**:\n文件路径。\n**取值范围**:\n不涉及。\n","type":"string"},"project_id":{"description":"**参数解释**:\n项目id。\n**取值范围**:\n不涉及。\n","type":"string"}},"type":"object"},"VersionViewVoV5Res":{"allOf":[{"$ref":"#/definitions/StandarBaseResponseV5"},{"properties":{"result":{"description":"**参数解释**:\n最新版本列表。\n**取值范围**:\n不涉及。\n","items":{"$ref":"#/definitions/VersionViewVoV5"},"type":"array"}},"type":"object"}]}},"description":null,"group_id":"12022fbec3164dffbdbcd192875653a8","host":"cloudartifacts-ext.cn-north-4.myhuaweicloud.com","id":"68cc7c76dcb14a70a230b5b0d9b46aa0","info_version":"v2","method":"get","name":"ListLatestVersionFiles","parameters":{},"paths":{"/devreposerver/v5/{project_id}/files/version":{"get":{"description":"当项目文件数量庞大时,通过该接口可以分页查询项目下所有文件的最新版本,包含文件名、文件大小、文件状态和发布状态等信息。","operationId":"ListLatestVersionFiles","parameters":[{"description":"**参数解释**:\n项目ID,对应\"需求管理 CodeArts Req\"项目唯一标识,私有依赖库首页地址栏url https://{host}/cloudartifact/project/{project_id}/repository中project_id变量的值。\n**约束限制**:\n字符串长度32。\n**取值范围**:\n不涉及。\n**默认取值**:\n不涉及。","in":"path","name":"project_id","pattern":"^[a-z0-9]{32}$","required":true,"type":"string"},{"description":"**参数解释**:\nname。\n**约束限制**:\n不涉及。\n**取值范围**:\n不涉及。\n**默认取值**:\n不涉及。","in":"query","name":"name","required":false,"type":"string"},{"description":"**参数解释**:\nsort_by。\n**约束限制**:\n不涉及。\n**取值范围**:\n不涉及。\n**默认取值**:\n不涉及。","in":"query","name":"sort_by","required":false,"type":"string"},{"description":"**参数解释**:\nsort_dir。\n**约束限制**:\n不涉及。\n**取值范围**:\n不涉及。\n**默认取值**:\n不涉及。","in":"query","name":"sort_dir","required":false,"type":"string"},{"description":"**参数解释**:\noffset。\n**约束限制**:\n不涉及。\n**取值范围**:\n不涉及。\n**默认取值**:\n不涉及。","format":"int32","in":"query","name":"offset","required":false,"type":"integer"},{"description":"**参数解释**:\nlimit。\n**约束限制**:\n不涉及。\n**取值范围**:\n不涉及。\n**默认取值**:\n不涉及。","format":"int32","in":"query","name":"limit","required":false,"type":"integer"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/VersionViewVoV5Res"}}},"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-upload-download":0,"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"}