ModelInfo โ
Overview โ
A serializer for providing metadata about models, including fields, actions, and permissions.
This is a read-only serializer.
Effectively, this is a custom model serializer for content types.
Properties โ
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| id | integer | yes | ||
| app_label | string | yes | ||
| model | string | yes | ||
| verbose_name | string | yes | ||
| verbose_name_plural | string | yes | ||
| workflow_enabled | boolean | yes | Whether the model enables class Vueda.Workflow, so a client may offer workflow controls. This describes the interface, not what the viewer may do. The workflow endpoints still decide which transitions a user may see and take. | |
| model_permissions | ModelInfoPermission[] | no | Present when the e query parameter names it. | |
| model_fields | map<string, ModelInfoField> | no | Present when the e query parameter names it. | |
| model_actions | ModelInfoAction[] | no | Present when the e query parameter names it. | |
| model_expands | ModelInfoExpand[] | no | Present when the e query parameter names it. | |
| model_ordering | ModelInfoOrdering | no | Present when the e query parameter names it. | |
| model_filtering | map<string, ModelInfoFilter> | no | Present when the e query parameter names it. | |
| model_column_totals | ModelInfoColumnTotals | no | Present when the e query parameter names it. |