Rest api query computers,

hi,
I am not sure why wrong I am doing here while running the rest api query to list computers.

r=requests.get('https://xyz:52311/api/query?relevance=((names of it, ids of it,operating systems of it,ip addresses of it,last report time of it) of bes computer groups whose ( name of it = “Unix Servers All”)) ', verify=False,auth=(‘abc’, ‘xyz’))

The operator “ip addresses” is not defined.

Because computer groups don’t have ip addresses. You probably need members of bes computer groups

1 Like

Thanks Jason. Appreciate your help.

This is what I did.

((names of it, ids of it,operating systems of it,
ip addresses of it) of members of bes computer groups whose ( name of it = " Unix Servers All"))

1 Like

Thanks for the catch, I had left ‘bes’ off of ‘bes computer groups’. I updated my post.