Problem with API PHP script
I try to download with script B5bis.php. The answers is always : $answer is not set
I have no problem with others scripst. For example, I can list document with B1 script.
I want to download a pdf file. Is this instruction is good ?
$answer = $session->NewRequest("Blob.Get")->Set('input', 'doc: ' . $path)->SendRequest();
Sorry, Which script are you referencing here ?
we found the solution : It's OK with the uid of the document :
$answer = $nuxeoSession->newRequest("Document.Query")->set('params', 'query', 'SELECT * FROM Document WHERE ecm:uuid=\''.$uid.'\' AND ('.$filter.')')->sendRequest();