huawei-cloud-api-definitions-CodeArtsArtifact 0.1.20260313

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"","definitions":{"PrivilegesResponse":{"properties":{"result":{"description":"**参数解释**: \n请求返回结果,接口不同,返回不同。\n**取值范围**:\n根据不同接口有不同范围。\n","properties":{"area_service_id":{"description":"**参数解释**: \n服务。\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"},"operationsIndex":{"description":"**参数解释**: \n操作序列号。\n**取值范围**:\n数字。\n","items":{"type":"integer"},"type":"array"},"project_id":{"description":"项目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,Testter,Participant,Viever及自定义角色。\n","type":"string"}},"type":"object"},"status":{"description":"**参数解释**: \n请求成功、失败状态。\n**取值范围**:\nsuccess: 请求成功。\nerror: 请求失败。\n","type":"string"},"traceId":{"description":"**参数解释**: \n请求id,当前请求唯一标识。\n**取值范围**:\n数字及中划线(-)组成的字符串。\n","type":"string"}},"type":"object"}},"description":null,"group_id":"12022fbec3164dffbdbcd192875653a8","host":"cloudartifacts-ext.cn-north-4.myhuaweicloud.com","id":"f0d8676bcb0a4f50b1296e83a71a5f04","info_version":"v2","method":"get","name":"ShowUserPrivileges","parameters":{},"paths":{"/cloudartifact/v3/user/{project_id}/privileges":{"get":{"description":"查询用户在项目下的权限","operationId":"ShowUserPrivileges","parameters":[{"description":"**参数解释**:\n项目id,对应\"需求管理 CodeArts Req\"项目唯一标识,私有依赖库首页地址栏url https://{host}/cloudartifact/project/{project_id}/repository中project_id变量的值。\n**约束限制**:\n不涉及。\n**取值范围**:\n只能使用小写英文字符及数字,字符串长度为32位。\n**默认取值**:\n不涉及。\n","in":"path","name":"project_id","pattern":"^[a-z0-9]{32}$","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/PrivilegesResponse"}}},"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"}