Downloads

Download resource

It's used to download a resource

resourceType can be:

  • emailTemplate: for the email templates
  • kb: for kbs
  • template: for document templates
GET/rest/download/resourceType/resourceId
 Query parameters None
 Header
  • auth-token: value of the authentication token, it can be optionally specified in place of the query param
 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/resource/kb/b3aa30f1-2169-4988-ab06-8ec24a30b098?auth-token=183d762a-0a10-41a0-8323-ef9a761ade60' -H 'tenant:default'

Feedback