huawei-cloud-api-definitions-CodeArtsArtifact 0.1.20240116

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"","definitions":{"ReleaseFileVersionDo":{"description":"发布文件版本信息","properties":{"download_url":{"description":"发布库文件的下载链接","maxLength":10000,"minLength":1,"type":"string"},"path":{"description":"发布库文件的路径","maxLength":100,"minLength":0,"type":"string"},"version":{"description":"发布库文件的版本","maxLength":100,"minLength":0,"type":"string"}},"title":"ReleaseFileVersionDo","type":"object"},"StandardError":{"properties":{"error_code":{"description":"错误码","maxLength":1000,"minLength":0,"type":"string"},"error_msg":{"description":"错误信息","maxLength":1000,"minLength":0,"type":"string"}},"title":"Error","type":"object"},"StandardResponse":{"description":"返回结果信息","properties":{"result":{"description":"返回的具体结果信息","properties":{"data":{"description":"符合条件的结果列表","items":{"$ref":"#/definitions/ReleaseFileVersionDo"},"type":"array"},"total_pages":{"description":"符合条件的结果总页数","maximum":10000,"minimum":1,"type":"integer"},"total_records":{"description":"符合条件的结果总数","maximum":1000,"minimum":1,"type":"integer"}},"type":"object"}},"title":"StandardResponse","type":"object"}},"description":null,"group_id":"12022fbec3164dffbdbcd192875653a8","host":"artifact.cn-north-4.myhuaweicloud.com","id":"b4e5676ad68f48e499480b36f69a6988","info_version":"v2","method":"get","name":"ShowProjectReleaseFiles","parameters":{},"paths":{"/v2/{project_id}/release/files":{"get":{"description":"获取项目下文件版本信息列表","operationId":"ShowProjectReleaseFiles","parameters":[{"description":"用户token","in":"header","maxLength":10000,"minLength":1,"name":"x-auth-token","required":true,"type":"string","x-example":"MIIDkgYJKoZIhvIIDgzCCXXXXXX..."},{"description":"文件名称,模糊搜索","in":"query","maxLength":10000,"minLength":1,"name":"file_name","required":true,"type":"string","x-example":"javaMavenDemo"},{"default":10,"description":"每页显示的条目数量","format":"int32","in":"query","maximum":100,"minimum":1,"name":"limit","required":false,"type":"integer","x-example":"10"},{"default":0,"description":"偏移量,表示从此偏移量开始查询, offset大于等于0","format":"int32","in":"query","maximum":10000000,"minimum":0,"name":"offset","required":false,"type":"integer","x-example":"0"},{"description":"项目id","in":"path","maxLength":32,"minLength":0,"name":"project_id","required":true,"type":"string","x-example":"bc6139d224c940b294867faaefd32373"}],"produces":["application/json;charset=UTF-8"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/StandardResponse"}},"403":{"description":"Forbidden","examples":{"application/json":{"error_code":"CR.4102","error_msg":"当前用户没有该项目权限"}},"schema":{"$ref":"#/definitions/StandardError"}},"500":{"description":"Internal Error","examples":{"application/json":{"error_code":"CR.5000","error_msg":"未知服务错误"}},"schema":{"$ref":"#/definitions/StandardError"}}},"summary":"获取项目下文件版本信息列表","tags":["发布库文件查询"],"x-is-registered":"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":"获取项目下文件版本信息列表","tags":"发布库文件查询","uri":null,"version":"2.0"}