Generated from the live OpenAPI document — 2026-10-19.This group has no curated guide page.All routes require Authorization: Bearer atamaia_… and return ApiEnvelope<T>({ ok, requestId, data, error, errorCode, count, hint }); the schemas below show thedata payload. * marks required properties.
Operations
| Method | Path | Summary / body | Responses |
|---|
| GET |
/api/permissions |
|
200 PermissionDto[] |
| GET |
/api/roles |
|
200 PagedResultOfRoleDto |
| POST |
/api/roles |
|
200 RoleDetailDto |
| DELETE |
/api/roles/{id} |
|
200 |
| GET |
/api/roles/{id} |
|
200 RoleDetailDto |
| PATCH |
/api/roles/{id} |
|
200 RoleDetailDto |
| PUT |
/api/roles/{id} |
|
200 RoleDetailDto |
| PUT |
/api/roles/{id}/permissions |
|
200 RoleDetailDto |
Schemas
Request and response shapes referenced by the operations above. Nested types named here are also defined under their own group or inthe group index.
PagedResultOfRoleDto
| Property | Type | Description |
| items* |
RoleDto[] |
|
| totalCount |
int32 |
|
| page |
int32 |
|
| pageSize |
int32 |
|
| hasTotal |
boolean |
|
| moreAvailable |
null,boolean |
|
| totalPages |
int32 |
|
| hasNextPage |
boolean |
|
| hasPreviousPage |
boolean |
|
RoleDetailDto
| Property | Type | Description |
| permissions |
Permission[] |
|
| id |
int64 |
|
| guid |
uuid |
|
| name |
string |
|
| description |
null,string |
|
| isSystem |
boolean |
|
| weight |
int32 |
|
| memberCount |
int32 |
|
| createdAtUtc |
date-time |
|