Add occupied boolean to units within API representation of a rack elevation #3931

Closed
opened 2025-12-29 18:32:09 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Aug 3, 2020).

Originally assigned to: @jeremystretch on GitHub.

Environment

  • Python version: 3.6.9
  • NetBox version: 2.9-beta1

Proposed Functionality

Add a new boolean field named occupied to the unit representation within a rack elevation returned by the REST API (e.g. GET /api/dcim/racks/123/elevation/).

Use Case

#4921 identified a need to convey that a particular rack unit is occupied without revealing the specific device occupying it. Adding a boolean field to indicate this status is the simplest way to achieve this.

Database Changes

None

External Dependencies

None

Originally created by @jeremystretch on GitHub (Aug 3, 2020). Originally assigned to: @jeremystretch on GitHub. ### Environment * Python version: 3.6.9 * NetBox version: 2.9-beta1 ### Proposed Functionality Add a new boolean field named `occupied` to the unit representation within a rack elevation returned by the REST API (e.g. `GET /api/dcim/racks/123/elevation/`). ### Use Case #4921 identified a need to convey that a particular rack unit is occupied without revealing the specific device occupying it. Adding a boolean field to indicate this status is the simplest way to achieve this. ### Database Changes None ### External Dependencies None
adam added the type: featurebeta labels 2025-12-29 18:32:09 +01:00
adam closed this issue 2025-12-29 18:32:09 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#3931