huawei-cloud-api-definitions-CodeArtsArtifact 0.1.20260313

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"","definitions":{"RepoUserPrivilegeResult":{"properties":{"list":{"description":"**参数解释**:\n用户列表。\n**取值范围**:\n不涉及。\n","items":{"$ref":"#/definitions/RepoUserPrivilegeV5"},"type":"array"},"total":{"description":"**参数解释**:\n用户数量。\n**取值范围**:\n不涉及。\n","format":"int64","type":"integer"}},"type":"object"},"RepoUserPrivilegeResultRes":{"allOf":[{"$ref":"#/definitions/StandarBaseResponseV5"},{"properties":{"result":{"$ref":"#/definitions/RepoUserPrivilegeResult","description":"**参数解释**:\n用户列表。\n**取值范围**:\n不涉及。\n"}},"type":"object"}]},"RepoUserPrivilegeV5":{"properties":{"domain_id":{"description":"**参数解释**:\n租户id。\n**取值范围**:\n不涉及。\n","type":"string"},"privilege":{"description":"**参数解释**:\n权限信息。\n**取值范围**:\n不涉及。\n","type":"string"},"repo_id":{"description":"**参数解释**:\n仓库id。\n**取值范围**:\n不涉及。\n","type":"string"},"role_id":{"description":"**参数解释**:\n角色id。\n**取值范围**:\n不涉及。\n","type":"string"},"role_name":{"description":"**参数解释**:\n角色名称。\n**取值范围**:\n不涉及。\n","type":"string"},"user_id":{"description":"**参数解释**:\n用户id。\n**取值范围**:\n不涉及。\n","type":"string"},"user_name":{"description":"**参数解释**:\n用户名。\n**取值范围**:\n不涉及。\n","type":"string"}},"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"}},"description":null,"group_id":"12022fbec3164dffbdbcd192875653a8","host":"cloudartifacts-ext.cn-north-4.myhuaweicloud.com","id":"70692a7d71bc4de4ada93ee82704d605","info_version":"v2","method":"get","name":"ListProjectUsers","parameters":{},"paths":{"/cloudartifact/v5/projects/{project_id}/users":{"get":{"description":"当项目中的用户数量较多时,分页查询指定项目下的用户列表,包含用户名和角色等信息。","operationId":"ListProjectUsers","parameters":[{"description":"**参数解释**:\n项目ID,可以从调用API处获取,也可以从控制台获取。获取方式请参考[获取项目ID](CloudArtifact_api_0015.xml)。\n**约束限制**:\n只能由英文字母、数字组成,且长度为32个字符。\n**取值范围**:\n不涉及。\n**默认取值**:\n无。","in":"path","maxLength":32,"minLength":32,"name":"project_id","pattern":"^[a-z0-9]{32,32}$","required":true,"type":"string"},{"description":"**参数解释**:\n仓库id。可在私有库仓库**概览**界面查看。\n**约束限制**:\n不涉及。\n**取值范围**:\n不涉及。\n**默认取值**:\n无。","in":"query","name":"repo_id","required":true,"type":"string"},{"description":"**参数解释**:\nscene。\n**约束限制**:\n不涉及。\n**取值范围**:\n不涉及。\n**默认取值**:\n无。","in":"query","name":"scene","required":false,"type":"string"},{"description":"**参数解释**:\n分页查询的页数。\n**约束限制**:\n不涉及。\n**取值范围**:\n最小值1,最大值2147483647。\n**默认取值**:\n1","format":"int32","in":"query","name":"page_no","required":false,"type":"integer"},{"description":"**参数解释**:\n分页查询的每页数据量。\n**约束限制**:\n不涉及。\n**取值范围**:\n最小值1,最大值100。\n**默认取值**:\n10","format":"int32","in":"query","name":"page_size","required":false,"type":"integer"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/RepoUserPrivilegeResultRes"}}},"security":[{"apig-auth-iam":[]}],"summary":"查询项目下的用户","tags":["用户管理"],"x-api-framework":"RestfulAPI","x-api-highrisk":"N","x-api-position":"Region_ZONE","x-api-type":"open-api","x-api-user":"IAM_User","x-is-registered":"Y","x-open-region-cloud":"hws,hws_hk","x-sec-auditlog":"N","x-sec-authority-parameter-body":"NA","x-sec-authority-parameter-url":"NA","x-sec-privacy-parameter":"NA","x-sec-sensitiveinfo":"NA","x-sec-upload-download":0,"x-sec-userinput-untrust":"NA","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"}