Hi!

I know I can extract all files via the following query:

/curl -i 'http://acs.server:7557/files/'/

but how could I extract only the files corresponding to one /productClass/? Because it is inside the "metadata" header. I've tried things like this (also with /oui/ alone, with some different ways...):
/
//curl -i 'http://acs2.streamnow.ch:7557/files?query=%7B%22*metadata*%22%3A%7B%22*productClass*%22%3A%22*AAAAA-BBBBB-11111*%22%7D%7D'/

which, translating, is like:

/query={"metadata":{"productClass":"AAAAA-BBBBB-11111"}}/

but it doesn't work. It is valid JSON but I doesn't get back the info I want. Do yo know if this functionality is implemented?

Thanks for the help!
Regards.

--
Sergio Fernández
[email protected]
(+34) 687 016 994

_______________________________________________
Users mailing list
[email protected]
http://lists.genieacs.com/mailman/listinfo/users

Reply via email to