huawei-cloud-api-definitions-CodeArtsArtifact 0.1.20240402

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"","definitions":{"CreateNotMavenRepoDO":{"properties":{"description":{"description":"仓库描述","type":"string"},"format":{"description":"仓库格式","type":"string"},"includes_pattern":{"description":"路径白名单","type":"string"},"project_id":{"description":"项目id","type":"string"},"repository_name":{"description":"仓库名称","type":"string"},"share_right":{"description":"共享策略","type":"string"},"type":{"description":"仓库类型","type":"string"}},"required":["format","type","repository_name","includes_pattern"],"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"},"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"}},"description":null,"group_id":"12022fbec3164dffbdbcd192875653a8","host":"artifact.cn-north-4.myhuaweicloud.com","id":"2d0d7b07ce3a4677aa6a439c36114009","info_version":"v2","method":"post","name":"CreateArtifactory","parameters":{},"paths":{"/cloudartifact/v5/artifact/":{"post":{"description":"创建非maven仓库","operationId":"CreateArtifactory","parameters":[{"description":"创建非maven仓库对象","in":"body","name":"CreateArtifactoryRequestBody","required":true,"schema":{"$ref":"#/definitions/CreateNotMavenRepoDO"}}],"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","x-request-examples-1":{"description":"string","format":"string","includes_pattern":"string","project_id":"string","repository_name":"string","share_right":"string","type":"string"},"x-request-examples-description-1":"创建非maven仓库","x-request-examples-text-1":{"description":"string","format":"string","includes_pattern":"string","project_id":"string","repository_name":"string","share_right":"string","type":"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"}