@eeldivad Cool that you can call the rest api's through there!
I mess about in the web browser, seems to use the cookie that XO web ui uses (ie. logging in to web ui also makes you able to call api in web browser)
my bad for not including a example, namelabel was supposed to hint at displayname of VM
http://[yourXO]/rest/v0/vms?fields=name_label&filter=app
this returns all vm's with "app" in their name_label (displayname)
according to this documentation
filter should be compatible with the search bar in XO, so you can make your query there by selecting pools etc. in GUI and it just seems to work (tested just now )
http://[yourXO]/rest/v0/vms?fields=name_label&filter=power_state:running+tags:/^ansiblegrp_linuxbaseline$/
I created the above query in GUI and just tested "+" between and it seems to work. This returns running vms that are also tagged with "ansiblegrp_linuxbaseline" which i use for my ansible inventory (xen orchestra has a pretty nifty inventory plugin)