Skip to content

Inconsistency in API for field role/device #6391

Closed
@leahoswald

Description

@leahoswald

NetBox version

v2.9.9

Python version

3.6

Steps to Reproduce

  • Open a VM in the API view: The role field is called role
  • Open a device in the API view: The role field is called device_role

Expected Behavior

I would expect that both fields are called the same (role) because they are linking to the same data.

Observed Behavior

The device field is called device_role and the VM field is called role

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: housekeepingChanges to the application which do not directly impact the end user

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions