Cluster count missing from tenant api output #5903

Closed
opened 2025-12-29 19:34:03 +01:00 by adam · 1 comment
Owner

Originally created by @jasonyates on GitHub (Jan 7, 2022).

Originally assigned to: @jasonyates on GitHub.

NetBox version

3.1.5

Python version

3.9

Steps to Reproduce

Assign a Cluster to a Tenant.
Retrieve Tenant details via API i.e. /api/tenancy/tenants/5/

Expected Behavior

cluster_count is returned as part of the API response

Observed Behavior

cluster_count is missing from the API response

Originally created by @jasonyates on GitHub (Jan 7, 2022). Originally assigned to: @jasonyates on GitHub. ### NetBox version 3.1.5 ### Python version 3.9 ### Steps to Reproduce Assign a Cluster to a Tenant. Retrieve Tenant details via API i.e. /api/tenancy/tenants/5/ ### Expected Behavior cluster_count is returned as part of the API response ### Observed Behavior cluster_count is missing from the API response
adam added the type: bugstatus: accepted labels 2025-12-29 19:34:03 +01:00
adam closed this issue 2025-12-29 19:34:04 +01:00
Author
Owner

@jeremystretch commented on GitHub (Jan 10, 2022):

This is a bug. The field is declared on the serializer but its value is not being populated by the view.

@jeremystretch commented on GitHub (Jan 10, 2022): This is a bug. The field is declared on the serializer but its value is not being populated by the view.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#5903