GraphQL IPAddress asssigned_object #14317
Unanswered
rowco
asked this question in
Help Wanted!
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
NetBox version
v3.6.0
Python version
3.8
Steps to Reproduce
Using a graphql I'd like to be able to fetch the name of the assigned interface, but my only option is '__typename'.
{ device_list { primary_ip4 { class_type assigned_object { __typename } } } }
Expected Behavior
Option to retrieve the name of assigned object.
Observed Behavior
{ "data": { "device_list": [ { "primary_ip4": { "class_type": "IPAddress", "assigned_object": { "__typename": "InterfaceType" } } } ] } }
Beta Was this translation helpful? Give feedback.
All reactions