Skip to content

Provide a base REST API serializer class for plugins #8823

@jeremystretch

Description

@jeremystretch

NetBox version

v3.2-beta1

Feature type

New functionality

Proposed functionality

Introduce and document a REST API serializer class suitable for use by plugins, to enable features like tagging and custom fields. NetBox core models employ the PrimaryModelSerializer class for this; we can probably just rename this to NetBoxModelSerializer and document accordingly.

Use case

Enables plugins to support tag assignment and custom fields on their models via NetBox's REST API.

Database changes

No response

External dependencies

No response

Metadata

Metadata

Assignees

Labels

betaConcerns a bug/feature in a beta releasestatus: acceptedThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions