Extract only certain files via API
Sergio
sergio.fernandez at electronicamartinez.com
Sat Nov 19 13:33:26 EST 2016
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
sergio1993_1 at hotmail.com
(+34) 687 016 994
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20161119/1f02adff/attachment.html>
More information about the Users
mailing list