huawei-cloud-api-definitions-CodeArtsArtifact 0.1.20260313

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"","definitions":{"PrivilegesResponseV5":{"properties":{"result":{"description":"**参数解释**: \n请求返回的结果,角色及权限信息。\n**取值范围**:\n不涉及。\n","properties":{"area_service_id":{"description":"**参数解释**: \n地域服务ID。\n**取值范围**:\n32位英文、数字随机字符串。\n","type":"string"},"granted_object_path":{"description":"**参数解释**:\n授权对象路径。\n**取值范围**:\n英文、数字、斜线(/)、星号(*)字符串\n","type":"string"},"granted_object_type_id":{"description":"**参数解释**:\n授权对象类型ID。\n**取值范围**:\n32位英文、数字随机字符串。\n","type":"string"},"operations":{"description":"**参数解释**: \n操作权限的列表。\n**取值范围**:\n英文字符串,使用英文逗号分隔。\n","type":"string"},"operations_index":{"description":"**参数解释**: \n操作权限的序列号。\n**取值范围**:\n数字。\n","items":{"type":"integer"},"type":"array"},"project_id":{"description":"**参数解释**: \n项目ID。\n**取值范围**:\n32位英文、数字随机字符串。\n","type":"string"},"role_chinese_name":{"description":"**参数解释**: \n角色的中文名称。\n**取值范围**:\n项目经理,产品经理,测试经理,运维经理,系统工程师,Committer,开发人员,测试人员,参与者,浏览者及自定义角色的中文名称。\n","type":"string"},"role_id":{"description":"**参数解释**: \n角色ID。\n**取值范围**:\n32位英文、数字随机字符串。\n","type":"string"},"role_name":{"description":"**参数解释**: \n角色的英文名称。\n**取值范围**:\n  Project manager,Product manager,Test manager,Operation manager,System engineer,Committer,Developer,Tester,Participant,Viewer及自定义角色的英文名称。\n","type":"string"}},"type":"object"},"status":{"description":"**参数解释**: \n请求成功、请求失败的状态。\n**取值范围**:\nsuccess: 请求成功。\nerror: 请求失败。\n","type":"string"},"trace_id":{"description":"**参数解释**: \n请求ID,当前请求唯一标识。\n**取值范围**:\n数字及中划线(-)组成的字符串。\n","type":"string"}},"type":"object"}},"description":null,"group_id":"12022fbec3164dffbdbcd192875653a8","host":"cloudartifacts-ext.cn-north-4.myhuaweicloud.com","id":"a5d0791cc32848bc99e2b313c89a994c","info_version":"v2","method":"get","name":"ListUserPrivileges","parameters":{},"paths":{"/v5/user/{project_id}/privileges":{"get":{"description":"查询用户在项目下的角色及权限,如创建仓库、编辑仓库、上传、下载、导入和导出等权限。","operationId":"ListUserPrivileges","parameters":[{"description":"**参数解释**:\n项目ID,可以从调用API处获取,也可以从控制台获取。获取方式请参考[获取项目ID](CloudArtifact_api_0015.xml)。\n**约束限制**:\n不涉及。\n**取值范围**:\n只能由英文字母、数字组成,且长度为32个字符。\n**默认取值**:\n不涉及。","in":"path","maxLength":32,"minLength":32,"name":"project_id","pattern":"^[a-z0-9]{32,32}$","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"请求成功。","schema":{"$ref":"#/definitions/PrivilegesResponseV5"}}},"security":[{"apig-auth-iam-used-authn5":[]}],"summary":"查询用户权限","tags":["权限管理"],"x-api-framework":"RestfulAPI","x-api-highrisk":"N","x-api-position":"管理面","x-api-type":"open-api","x-api-user":"IAM普通租户","x-apigateway-cors":true,"x-apigateway-match-mode":"NORMAL","x-apigateway-query-string-encode":"ENABLE","x-apigateway-request-type":"public","x-is-registered":"Y","x-open-region-cloud":"hws,hws_hk","x-sec-auditlog":"N","x-sec-authority-parameter":"project_id","x-sec-data-regulation":"权限","x-sec-privacy-grading":"L3","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"}