- 页面
- 用户
- 角色和权限
- 上传文件和图片
- 支付
- 搜索
- 帮助中心
- 模板
- 后台接口
查询站群下所有的权限设置
GET
/permission/getPathPermissionByGroupId
请求参数
Body 参数application/json
groupId
string
必需
示例
{
"groupId": "d32a609b-462f-48ed-9fbd-0eae4117535e"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://47.92.1.39:8005/permission/getPathPermissionByGroupId' \
--header 'Content-Type: application/json' \
--data-raw '{
"groupId": "d32a609b-462f-48ed-9fbd-0eae4117535e"
}'
返回响应
🟢200成功样例
application/json
Body
success
boolean
必需
errCode
null
必需
errMessage
null
必需
data
array [object {4}]
必需
groupId
string
可选
path
string
可选
userOrRole
string
可选
permission
string
可选
示例
{
"success": true,
"errCode": null,
"errMessage": null,
"data": [
{
"groupId": "6afdf2f8-7058-47d6-9972-78a81d6fc29b",
"path": "6afdf2f8-7058-47d6-9972-78a81d6fc29b/test",
"userOrRole": "admin",
"permission": "read"
}
]
}
🟢200成功样例
修改于 2023-03-06 11:55:14