Skip to content

Component template missing module_type API field #9330

@ghost

Description

NetBox version

v3.2.1

Python version

3.9

Steps to Reproduce

  1. Create a new module and module components (interface, console port, etc)
  2. Find the ID if said component and navigate to the API endpoint (for example GET /api/dcim/interface-templates/76/)
  3. The device_type is set to null and there's no module_type field

Expected Behavior

A module_type field should be present with similar information to the device_type field.

Observed Behavior

The module_type field isn't returned on API GET calls.
it should be added under the relevant component templates' fields variable

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions