RoleApi
getRoles
Get all roles.
Endpoint | /app/rest/roles |
Produces |
|
Parameters |
|
Response |
createRole
Create a new role.
deleteRole
Delete a role matching the id.
Endpoint | /app/rest/roles/id:{id} |
Parameters |
|
getRole
Get a role with specified id.
Endpoint | /app/rest/roles/id:{id} |
Produces |
|
Parameters |
|
Response |
removeIncludedRole
Remove an included role.
Endpoint | /app/rest/roles/id:{roleId}/included/{includedId} |
Produces |
|
Parameters |
|
Response |
addIncludedRole
Add an included role.
Endpoint | /app/rest/roles/id:{roleId}/included/{includedId} |
Produces |
|
Parameters |
|
Response |
removePermission
Remove a permission from a role.
Endpoint | /app/rest/roles/id:{roleId}/permissions/{permissionId} |
Produces |
|
Parameters |
|
Response |
addPermission
Add a permission to a role.
Endpoint | /app/rest/roles/id:{roleId}/permissions/{permissionId} |
Produces |
|
Parameters |
|
Response |