{"base_path":"/","components":null,"consumes":"","definitions":{"ProjectRolePermissionDo":{"properties":{"create_time":{"description":"**参数解释**:\n创建时间。\n**取值范围**:\n不涉及。","format":"int64","type":"integer"},"devuc_role_id":{"description":"**参数解释**:\nDEVUC角色ID。\n**取值范围**:\n不涉及。","type":"string"},"id":{"description":"**参数解释**:\nID。\n**取值范围**:\n不涉及。","type":"string"},"is_change_pkg_status":{"description":"**参数解释**:\n能否更改软件包状态。\n**取值范围**:\n- true:能够更改软件包状态。\n- false:不能更改软件包状态。","type":"boolean"},"is_delete_restore_prod_pkg":{"description":"**参数解释**:\n能否删除和还原生产状态的软件包。\n**取值范围**:\n- true:能够删除和还原生产状态的软件包。\n- false:不能删除和还原生产状态的软件包。","type":"boolean"},"is_delete_restore_test_pkg":{"description":"**参数解释**:\n能否删除和还原测试状态的软件包。\n**取值范围**:\n- true:能够删除和还原测试状态的软件包。\n- false:不能删除和还原测试状态的软件包。","type":"boolean"},"is_download":{"description":"**参数解释**:\n能否进行下载。\n**取值范围**:\n- true:能够下载。\n- false:不能下载。","type":"boolean"},"is_edit_test_pkg":{"description":"**参数解释**:\n能否编辑测试状态的软件包。\n**取值范围**:\n- true:能够编辑测试状态的软件包。\n- false:不能编辑测试状态的软件包。","type":"boolean"},"is_empty":{"description":"**参数解释**:\n能否清空回收站。\n**取值范围**:\n- true:能够清空回收站。\n- false:不能清空回收站。","type":"boolean"},"is_mkdir":{"description":"**参数解释**:\n能否创建文件夹。\n**取值范围**:\n- true:能够创建目录。\n- false:不能创建目录。","type":"boolean"},"is_permission_config":{"description":"**参数解释**:\n是否具有权限配置能力。\n**取值范围**:\n- true:能够配置权限。\n- false:不能配置权限。","type":"boolean"},"is_restore_all":{"description":"**参数解释**:\n能否还原回收站。\n**取值范围**:\n- true:能够在回收站还原所有。\n- false:不能在回收站还原所有。","type":"boolean"},"is_upload":{"description":"**参数解释**:\n能否进行上传。\n**取值范围**:\n- true:能够进行上传。\n- false:不能上传。","type":"boolean"},"migrated_630":{"description":"**参数解释**:\n权限迁移状态。\n**取值范围**:\n不涉及。","format":"int32","type":"integer"},"project_id":{"description":"**参数解释**:\n项目ID。\n**取值范围**:\n不涉及。","type":"string"},"region":{"description":"**参数解释**:\n区域。\n**取值范围**:\n不涉及。","type":"string"},"role_id":{"description":"**参数解释**:\n角色ID。\n**取值范围**:\n不涉及。","format":"int32","type":"integer"},"roles":{"description":"**参数解释**:\n角色。\n**取值范围**:\n不涉及。","type":"string"},"update_time":{"description":"**参数解释**:\n更新时间。\n**取值范围**:\n不涉及。","format":"int64","type":"integer"},"user_id":{"description":"**参数解释**:\n用户id。\n**取值范围**:\n不涉及。","type":"string"}},"type":"object"},"ProjectRolePermissionDoListRes":{"allOf":[{"$ref":"#/definitions/StandarBaseResponseV5"},{"properties":{"result":{"description":"**参数解释**:\n权限列表。\n**取值范围**:\n不涉及。\n","items":{"$ref":"#/definitions/ProjectRolePermissionDo"},"type":"array"}},"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":"72ba1c0421704010956f89e173435107","info_version":"v2","method":"get","name":"ListProjectRolePermissions","parameters":{},"paths":{"/devreposerver/v5/project-role/permissions":{"get":{"description":"查看项目的角色权限设置,包含上传下载、创建文件夹、清空或者还原回收站和更改软件包状态等设置。","operationId":"ListProjectRolePermissions","parameters":[{"description":"**参数解释**:\n项目ID,对应\"需求管理 CodeArts Req\"项目唯一标识,私有依赖库首页地址栏url https://{host}/cloudartifact/project/{project_id}/repository中project_id变量的值。\n**约束限制**:\n字符串长度32。\n**取值范围**:\n不涉及。\n**默认取值**:\n不涉及。","in":"query","name":"project_id","pattern":"^[a-z0-9]{32}$","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ProjectRolePermissionDoListRes"}}},"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-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"}