Open jeremystretch opened 9 months ago
Reclassifying this as a feature request, as the end result will simply be an intentional change to the way in which we present the serialized data.
This is going to be more involved than originally anticipated because each cable instance is pre-populated with its a_terminations
and b_terminations
attributes representing the terminating objects, rather than the CableTermination bindings.
Deployment Type
Self-hosted
NetBox Version
v3.6.7
Python Version
3.10
Steps to Reproduce
/api/dcim/cables/123/
).Expected Behavior
Each termination object represented under the cable's
a_terminations
andb_terminations
attributes should include its own numeric primary key (ID).Observed Behavior
This attribute is missing from the terminations. This is because the
id
field is not included on GenericObjectSerializer.