Replies: 1 comment 2 replies
-
How about something like this:
Change it around of what you are looking for. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am trying to write a GraphQL query to return a list of all devices with a matching interface IP address. This is filtered down to a specific site.
The first query below returns a list of ALL devices in a specific site with interfaces and IP address of that interface.
The second query below is my attempt to modify the query to only return devices that have a matching interface IP address. All devices with no interfaces should be excluded.
This returns an error:
"message": "Unknown argument \"address\" on field \"ip_addresses\" of type \"InterfaceType\"."
According to the official docs, the IP address has an argument for
address
, so I'm not sure why this is complaining. And the argument $interface_ip_addresses is a list of IPs.Appreciate any help I can get as I am new to GraphQL.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions