Accessing an uploaded document with API

Hi,

Being fairly new to Bonita, I’m stuck trying to retrieve a document.
In the upload form, I’ve created a document variable to store my input document. In another form, I’m trying to use the context information of the document to get a download link for the file.
So far, I have found the “url” field (something like ‘documentDownload?fileName=FILENAME&contentStorageId=13’) but I have no idea how to use this url.

Can somebody please help me ?

Using Bonita 7.0.1

Hi,
you can user a widget and in the url write:
/bonita/API/{{context.YOURDOC.url}}

Regards

Francesco

Thank you for your help, I cannot find any documentation about the API urls.