<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi!<br>
<br>
I know I can extract all files via the following query:<br>
<br>
<i>curl -i '<a class="moz-txt-link-freetext" href="http://acs.server:7557/files/">http://acs.server:7557/files/</a>'</i><br>
</p>
but how could I extract only the files corresponding to one <i>productClass</i>?
Because it is inside the "metadata" header. I've tried things like
this (also with <i>oui</i> alone, with some different ways...):<br>
<i><br>
</i><i>curl -i '<a class="moz-txt-link-freetext" href="http://acs2.streamnow.ch:7557/files?query=%7B%22">http://acs2.streamnow.ch:7557/files?query=%7B%22</a><b>metadata</b>%22%3A%7B%22<b>productClass</b>%22%3A%22<b>AAAAA-BBBBB-11111</b>%22%7D%7D'</i><br>
<br>
which, translating, is like:<br>
<br>
<i>query={"metadata":{"productClass":"AAAAA-BBBBB-11111"}}</i><br>
<br>
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?<br>
<br>
Thanks for the help!<br>
Regards.<br>
<pre class="moz-signature" cols="72">--
Sergio Fernández
<a class="moz-txt-link-abbreviated" href="mailto:sergio1993_1@hotmail.com">sergio1993_1@hotmail.com</a>
(+34) 687 016 994</pre>
</body>
</html>