-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Netbox api call /dcim/devices/ virtual chassis does not have "member_count" #9329
Comments
You need to query the virtual chassis, not the device. |
Thank you for opening a bug report. It seems that the described functionality is intended behavior. If you meant to open a feature request instead, please close this issue and open a new one using the feature request template. Otherwise, please revise your post above to elaborate on why you believe the observed behavior is flawed. |
The example value from /dcim/devices/ has the member_count in it. You can check the documentation yourself.
|
You are correct, it is on the serializer. I am currently looking into this as it may be related to the field not being annotated when the query resolves. |
This isn't a bug. The
|
In that case, the API documentation of /dcim/devices/ should be changed. Because it still states that there should be a |
Should I create another Issue for the wrong API documentation? |
NetBox version
v3.2.2
Python version
3.8
Steps to Reproduce
Expected Behavior
According to the documentation, the "virtual_chassis" of each of the created devices should have a field "member_count".
Observed Behavior
There is no "member_count".
The text was updated successfully, but these errors were encountered: