rbac_permissions_retrieve
GET/rbac/permissions/:id/
Read-only list of all permissions, filterable by model and app
Request
Path Parameters
id integerrequired
A unique integer value identifying this permission.
Responses
- 200
- 400
- 403
- application/json
- Schema
- Example (from schema)
Schema
id integerrequired
name stringrequired
Possible values: <= 255 characters
codename stringrequired
Possible values: <= 100 characters
model Python model class name (string)required
app_label stringrequired
app_label_verbose stringrequired
Human-readable app label
model_verbose stringrequired
Human-readable model name
{
"id": 0,
"name": "string",
"codename": "string",
"model": "string",
"app_label": "string",
"app_label_verbose": "string",
"model_verbose": "string"
}
- application/json
- Schema
- Example (from schema)
Schema
non_field_errors string[]
code string
property name* any
Validation Error
{
"non_field_errors": [
"string"
],
"code": "string"
}
- application/json
- Schema
- Example (from schema)
Schema
detail stringrequired
code string
{
"detail": "string",
"code": "string"
}
Loading...