{"base_path":"/","components":null,"consumes":"","definitions":{"StandarErrorResponseV5":{"properties":{"error_code":{"description":"错误代码","type":"string"},"error_msg":{"description":"错误信息","type":"string"},"status":{"description":"结果状态","type":"string"},"trace_id":{"description":"请求id","type":"string"}},"type":"object"},"StandarSuccessResponseV5":{"example":{"result":"delete file success!","status":"success","trace_id":"143006-1700618253925-55"},"properties":{"result":{"description":"请求返回结果,接口不同,返回不同","type":"object"},"status":{"description":"结果状态","type":"string"},"trace_id":{"description":"请求id","type":"string"}},"type":"object"},"UpdateNotMavenRepoDO":{"properties":{"allow_anonymous":{"description":"**参数解释**:\n是否允许匿名。\n**约束限制**:\n不涉及。\n**取值范围**:\n不涉及。\n**默认取值**:\n不涉及。\n","type":"boolean"},"auto_clean_snapshot":{"description":"**参数解释**:\n自动清理快照。\n**约束限制**:\n不涉及。\n**取值范围**:\n不涉及。\n**默认取值**:\n无。\n","type":"boolean"},"deployment_policy":{"description":"**参数解释**:\n覆盖策略。\n**约束限制**:\n不涉及。\n**取值范围**:\nallowRedeploy:允许覆盖\ndisableRedeploy:禁止覆盖\nreadOnly:只读。\n**默认取值**:\n无。\n","type":"string"},"description":{"description":"**参数解释**:\n仓库描述。\n**约束限制**:\n最大长度200。\n**取值范围**:\n不涉及。\n**默认取值**:\n无。\n","type":"string"},"format":{"description":"**参数解释**:\n制品类型。\n**约束限制**:\n不涉及。\n**取值范围**:\ndocker|npm|go|pypi|rpm|composer|debian|conan|nuget|docker2|cocoapods|ohpm|generic。\n**默认取值**:\n无。","type":"string"},"includes_pattern":{"description":"**参数解释**:\n路径包含规则。\n**约束限制**:\n最大长度512。\n**取值范围**:\n不涉及。\n**默认取值**:\n无。\n","type":"string"},"max_unique_snapshots":{"description":"**参数解释**:\n最大不同快照个数。\n**约束限制**:\n不涉及。\n**取值范围**:\n不涉及。\n**默认取值**:\n无。\n","type":"string"},"project_id":{"description":"**参数解释**:\n项目ID,可以从调用API处获取,也可以从控制台获取。获取方式请参考[获取项目ID](CloudArtifact_api_0015.xml)。\n**约束限制**:\n只能由英文字母、数字组成,且长度为32个字符。\n**取值范围**:\n不涉及。\n**默认取值**:\n无。","maxLength":32,"minLength":32,"pattern":"^[a-z0-9]{32,32}$","type":"string"},"repo_name":{"description":"**参数解释**:\n仓库名称。\n**约束限制**:\n长度1-20。\n**取值范围**:\n不涉及。\n**默认取值**:\n无。\n","type":"string"},"repository_ids":{"description":"**参数解释**:\n仓库id列表。仓库id,格式为{region}_{domainId}_{format}_{sequence}。可以从私有依赖库首页->仓库概览->仓库地址 url 中获取,最后两个\"/\"中间的字符串即为仓库id。\n**约束限制**:\n根据仓库id格式中region, domainId需要为有效值,format有效值为:npm|go|pypi|rpm|composer|maven|debian|conan|nuget|docker2|cocoapods|ohpm, sequence取值根据套餐不同有不同上限值。\n**取值范围**:\n不涉及。\n**默认取值**:\n无。\n","items":{"type":"string"},"type":"array"},"snapshot_alive_days":{"description":"**参数解释**:\n快照保存时间长度。\n**约束限制**:\n不涉及。\n**取值范围**:\n不涉及。\n**默认取值**:\n无。\n","type":"string"}},"required":["repo_name","format","repository_ids","includes_pattern"],"type":"object"}},"description":null,"group_id":"12022fbec3164dffbdbcd192875653a8","host":"cloudartifacts-ext.cn-north-4.myhuaweicloud.com","id":"9edd5b855f754894999cbfeabba398cb","info_version":"v2","method":"put","name":"UpdateArtifactory","parameters":{},"paths":{"/cloudartifact/v5/artifact/":{"put":{"description":"编辑非maven仓库信息","operationId":"UpdateArtifactory","parameters":[{"description":"更新非maven仓库请求体","in":"body","name":"UpdateArtifactoryRequestBody","required":true,"schema":{"$ref":"#/definitions/UpdateNotMavenRepoDO"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/StandarSuccessResponseV5"}},"401":{"description":"UNAUTHORIZED","schema":{"$ref":"#/definitions/StandarErrorResponseV5"}}},"summary":"编辑非maven仓库信息","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-request-examples-1":{"allow_anonymous":true,"auto_clean_snapshot":true,"deployment_policy":"string","description":"string","format":"string","includes_pattern":"string","max_unique_snapshots":"string","repo_name":"string","repository_ids":["string"],"snapshot_alive_days":"string"},"x-request-examples-description-1":"更新非maven仓库请求体示例","x-request-examples-text-1":{"allow_anonymous":true,"auto_clean_snapshot":true,"deployment_policy":"string","description":"string","format":"string","includes_pattern":"string","max_unique_snapshots":"string","repo_name":"string","repository_ids":["string"],"snapshot_alive_days":"string"},"x-request-examples-url-1":"/v5/artifact/","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":"编辑非maven仓库信息","tags":"仓库管理","uri":null,"version":"2.0"}