文档
测试

获取角色权限列表(内测中)

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

接口描述

- 获取当前角色的所有权限列表 - 内测中,不稳定,请勿对接

请求参数

参数名
类型
描述
必填
id
string
角色id,必填项
必填
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)
可选
resolve
string
需解析的引用字段,选填项,目前支持"resources", "company", "organization", "client"
可选

响应参数

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