huawei-cloud-api-definitions-CodeArtsArtifact 0.1.20260313

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"","definitions":{"IDERepositoryPair":{"properties":{"description":{"description":"**参数解释**:\n仓库描述。\n**约束限制**:\n最大长度200。\n**取值范围**:\n不涉及。\n**默认取值**:\n无。","example":"hello","type":"string"},"includes_pattern":{"description":"**参数解释**:\n路径包含规则。\n**约束限制**:\n最大长度512。\n**取值范围**:\n不涉及。\n**默认取值**:\n无。","example":"11/**/*,com/**/*","type":"string"},"project_id":{"description":"**参数解释**:\n项目ID,可以从调用API处获取,也可以从控制台获取。获取方式请参考[获取项目ID](CloudArtifact_api_0015.xml)。\n**约束限制**:\n只能由英文字母、数字组成,且长度为32个字符。\n**取值范围**:\n不涉及。\n**默认取值**:\n无。","example":"035a1e9da3074adfb57acd1da494d736","maxLength":32,"minLength":32,"pattern":"^[a-z0-9]{32,32}$","type":"string"},"release":{"description":"**参数解释**:\nrelease仓库名称。\n**约束限制**:\n长度1-20。\n**取值范围**:\n不涉及。\n**默认取值**:\n无。","example":"yyy","type":"string"},"repo_name":{"description":"**参数解释**:\n仓库名称。\n**约束限制**:\n长度1-20。\n**取值范围**:\n不涉及。\n**默认取值**:\n无。","example":"yyy","type":"string"},"snapshot":{"description":"**参数解释**:\nsnapshot仓库名称。\n**约束限制**:\n长度1-20。\n**取值范围**:\n不涉及。\n**默认取值**:\n无。","example":"yyy","type":"string"}},"required":["repo_name","includes_pattern"],"type":"object"},"MavenTabRepo":{"properties":{"release":{"description":"**参数解释**:\nrelease仓库名称。\n **取值范围**:\n不涉及。","type":"string"},"snapshot":{"description":"**参数解释**:\nsnapshot仓库名称。\n **取值范围**:\n不涉及。","type":"string"}},"type":"object"},"MavenTabRepoRes":{"allOf":[{"$ref":"#/definitions/StandarBaseResponseV5"},{"properties":{"result":{"$ref":"#/definitions/MavenTabRepo","description":"**参数解释**:\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"},"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":"c02d121d03e241879ea654531787d6b2","info_version":"v2","method":"put","name":"ModifyRepository","parameters":{},"paths":{"/cloudartifact/v5/repositories/tab/{tab_id}":{"put":{"description":"编辑仓库","operationId":"ModifyRepository","parameters":[{"description":"tab_id","in":"path","name":"tab_id","required":true,"type":"string"},{"description":"参数","in":"body","name":"ModifyRepositoryRequestBody","required":true,"schema":{"$ref":"#/definitions/IDERepositoryPair"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/MavenTabRepoRes"}},"401":{"description":"UNAUTHORIZED","schema":{"$ref":"#/definitions/StandarErrorResponseV5"}}},"security":[{"apig-auth-iam":[]}],"summary":"编辑仓库","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-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"}