Get list of devices from GraphQL that have two specific tags #19695
Unanswered
M-Ahall
asked this question in
Help Wanted!
Replies: 1 comment
-
I wonder if the old one really did what I wanted, but it would be nice to have it correct for our future use of the queries. |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
I'm trying to use GraphQL to retrieve a list of devices, with the requirement that, possibly among other, at least tag FOO and tag BAR is added to the returned devices.
This is on Netbox v4.3.2 with the new filtering system.
I have tried with:
but the AND seems to be applied to the same tag for both tags-filters, so it works if the AND expression would be
name: "FOO-name-whatever"
and match against the actual name for FOO tags, but nothing gets returned with the query above.Previously I hade something like:
but I'm not managing to find an equivalent way with the new filters.
Any ideas?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions