huawei-cloud-api-definitions-CodeArtsArtifact 0.1.20260313

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"","definitions":{"RepoFileDOV5":{"properties":{"category":{"description":"**参数解释**:\n发布包状态 test为测试包 prod为发布包。\n**取值范围**:\n不涉及。\n","type":"string"},"download_url":{"description":"**参数解释**:\n下载地址。\n**取值范围**:\n不涉及。\n","type":"string"},"download_url_with_id":{"description":"**参数解释**:\n带有id的下载地址。\n**取值范围**:\n不涉及。\n","type":"string"},"extension":{"description":"**参数解释**:\n文件扩展名。\n**取值范围**:\n不涉及。\n","type":"string"},"file_id":{"description":"**参数解释**:\n文件id。\n**取值范围**:\n不涉及。\n","type":"string"},"file_name":{"description":"**参数解释**:\n文件名。\n**取值范围**:\n不涉及。\n","type":"string"},"full_path":{"description":"**参数解释**:\n文件路径(含项目)。\n**取值范围**:\n不涉及。\n","type":"string"},"id":{"description":"**参数解释**:\nid。\n**取值范围**:\n不涉及。\n","type":"string"},"md5":{"description":"**参数解释**:\nmd5校验和。\n**取值范围**:\n不涉及。\n","type":"string"},"migrated_state":{"description":"**参数解释**:\nmigrated_state。\n**取值范围**:\n该参数为内部数据改造参数,无业务含义,请忽略。\n","format":"int32","type":"integer"},"name":{"description":"**参数解释**:\n文件名。\n**取值范围**:\n不涉及。\n","type":"string"},"parent_id":{"description":"**参数解释**:\n父级目录ID。\n**取值范围**:\n不涉及。\n","type":"string"},"path":{"description":"**参数解释**:\n文件路径。\n**取值范围**:\n不涉及。\n","type":"string"},"project_name":{"description":"**参数解释**:\n项目名称。\n**取值范围**:\n不涉及。\n","type":"string"},"repo_name":{"description":"**参数解释**:\n仓库id。\n**取值范围**:\n不涉及。\n","type":"string"},"sha256":{"description":"**参数解释**:\nsha256校验和。\n**取值范围**:\n不涉及。\n","type":"string"},"size":{"description":"**参数解释**:\n文件大小,单位为byte。\n**取值范围**:\n不涉及。\n","format":"int64","type":"integer"},"type":{"description":"**参数解释**:\n文件类型, folder代表是目录,file代表文件。\n**取值范围**:\n不涉及。\n","type":"string"},"upload_id":{"description":"**参数解释**:\n该参数无返回值,请忽略。\n**取值范围**:\n不涉及。\n","type":"string"},"version_enable":{"description":"**参数解释**:\n判断当前文件或文件夹父目录是否为版本路径,即仓库下第一层子目录。\n**取值范围**:\n- true:父目录是版本路径。\n- false:父目录不是版本路径。\n","type":"boolean"},"web_url":{"description":"**参数解释**:\n历史版本遗留字段,请忽略。\n**取值范围**:\n不涉及。\n","type":"string"}},"type":"object"},"RepoFileDOV5Res":{"allOf":[{"$ref":"#/definitions/StandarBaseResponseV5"},{"properties":{"result":{"$ref":"#/definitions/RepoFileDOV5","description":"**参数解释**:\n文件信息。\n**取值范围**:\n不涉及。\n"}},"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"}},"description":null,"group_id":"12022fbec3164dffbdbcd192875653a8","host":"cloudartifacts-ext.cn-north-4.myhuaweicloud.com","id":"ffb74db5e5c24e7b9ab6b7139b38b749","info_version":"v2","method":"get","name":"ShowFileDetailByFullName","parameters":{},"paths":{"/devreposerver/v5/files/info":{"get":{"description":"在日常数据管理工作中,根据文件完整路径查询指定文件详情,包含文件名、文件大小、下载地址、校验和、文件状态和发布状态等信息。","operationId":"ShowFileDetailByFullName","parameters":[{"description":"**参数解释**:\n文件名。\n**约束限制**:\n不涉及。\n**取值范围**:\n不涉及。\n**默认取值**:\n不涉及。","in":"query","name":"file_name","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/RepoFileDOV5Res"}}},"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"}