文档
测试

获取组织权限(内测中)

GET
/api/v1/organizations/{id}/permissions

接口描述

- 获取当前组织的所有权限列表 - 指定service参数将返回对应服务的所有可用权限 - 指定origin参数可按来源筛选权限(all: 所有, owned: 自有, granted: 其他组织授权),默认为all - 内测中,不稳定,请勿对接

请求参数

参数名
类型
描述
必填
id
string
组织id
必填
service
string
服务id
可选
origin
string
Permission source
可选
skip
string
Number of skipped results.This is an optional slot to fill in with default value of 0
可选
limit
string
Total number of returned results. This is an optional slot to fill in with default value of 50
可选
filter
string
Rich query conditions, optional
可选
sort
string
Sorting according to query conditions, optional. Sorting methods include ascending (asc) and descending (desc)
可选

响应参数

参数名
类型
描述
必填
root
object
Succeed
必填