Replies: 1 comment
-
|
the "trick" on list columns is to use the |
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 would like to query the Thruk API for all services related to a specific service group. I'm able to query on other fields but cannot query on the "groups" field. It appears it is a "list" field so I think that is the issue. Does anyone know how to query a "list" field. My example query is this. (masking my hostnamne with xxxxx.com)
I am querying the /services endpoint
http://xxxxx.com:3000/api/datasources/proxy/uid/fdke20tq8nvnkc/r/v1/services?limit=&q=groups="test_group"
I just get back []
If I run this query on a different "string" type field I get data as expected.
http://xxxxx.com:3000/api/datasources/proxy/uid/fdke20tq8nvnkc/r/v1/services?limit=&q=display_name="test service"
If anyone has an example of querying a list field please let me know. THank you!
Beta Was this translation helpful? Give feedback.
All reactions