Downloads

Download file

It's used to download a file generated during the consultation, for example with the document extension.

GET/rest/download/{fileId}
 Query parameters None
 Header
  • auth-token: value of the authentication token
 Header/Parameter  tenant
 Body None
Returns It starts the download
Required role USER
Managed errors
  • 404: kb not found
  • 401: insufficient privileges

Example request

curl 'https://localhost:8080/mwp/rest/download/b3aa30f1-2169-4988-ab06-8ec24a30b098' -H 'auth-token:183d762a-0a10-41a0-8323-ef9a761ade60' -H 'tenant:default'