Skip to content

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 โ€‹

NameTypeRequiredDefaultDescription
idintegeryes
app_labelstringyes
modelstringyes
verbose_namestringyes
verbose_name_pluralstringyes
workflow_enabledbooleanyesWhether 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_permissionsModelInfoPermission[]noPresent when the e query parameter names it.
model_fieldsmap<string, ModelInfoField>noPresent when the e query parameter names it.
model_actionsModelInfoAction[]noPresent when the e query parameter names it.
model_expandsModelInfoExpand[]noPresent when the e query parameter names it.
model_orderingModelInfoOrderingnoPresent when the e query parameter names it.
model_filteringmap<string, ModelInfoFilter>noPresent when the e query parameter names it.
model_column_totalsModelInfoColumnTotalsnoPresent when the e query parameter names it.