Get permission (hierarchy)
GET/roles/permissions/all
Get the full list of all permissions as a hierarchical list, with full details (name, description)
Responses
- 200
- 401
Success
- text/plain
- application/json
- text/json
- Schema
- Example (from schema)
Schema
Array [
]
id stringnullable
name stringnullable
description stringnullable
children undefined[]nullable
childrenIds string[]nullable
isRootOnly boolean
isReadOnlyPermission boolean
[
{
"id": "string",
"name": "string",
"description": "string",
"children": [
null
],
"childrenIds": [
"string"
],
"isRootOnly": true,
"isReadOnlyPermission": true
}
]
- Schema
- Example (from schema)
Schema
Array [
]
id stringnullable
name stringnullable
description stringnullable
children undefined[]nullable
childrenIds string[]nullable
isRootOnly boolean
isReadOnlyPermission boolean
[
{
"id": "string",
"name": "string",
"description": "string",
"children": [
null
],
"childrenIds": [
"string"
],
"isRootOnly": true,
"isReadOnlyPermission": true
}
]
- Schema
- Example (from schema)
Schema
Array [
]
id stringnullable
name stringnullable
description stringnullable
children undefined[]nullable
childrenIds string[]nullable
isRootOnly boolean
isReadOnlyPermission boolean
[
{
"id": "string",
"name": "string",
"description": "string",
"children": [
null
],
"childrenIds": [
"string"
],
"isRootOnly": true,
"isReadOnlyPermission": true
}
]
Unauthorized
Loading...