Display field missing from serialized rack unit in REST API #5077

Closed
opened 2025-12-29 19:23:52 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Jul 20, 2021).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v2.11.9

Python version

3.7

Steps to Reproduce

  1. Create a rack with 10 units
  2. Note the ID of the created rack
  3. Make a REST API request for the rack's elevation (in JSON format, not SVG):
GET /api/dcim/racks/<ID>/elevation/

Expected Behavior

The serialized representation of each rack unit should include a display field.

Observed Behavior

The display field is not present.

Originally created by @jeremystretch on GitHub (Jul 20, 2021). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v2.11.9 ### Python version 3.7 ### Steps to Reproduce 1. Create a rack with 10 units 2. Note the ID of the created rack 3. Make a REST API request for the rack's elevation (in JSON format, not SVG): ``` GET /api/dcim/racks/<ID>/elevation/ ``` ### Expected Behavior The serialized representation of each rack unit should include a `display` field. ### Observed Behavior The `display` field is not present.
adam added the type: bugstatus: accepted labels 2025-12-29 19:23:52 +01:00
adam closed this issue 2025-12-29 19:23:52 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#5077