Files

Download a file

get/public/files/{id}/download

Request

  • Base URL: https://api.johnsessentials.com/api/v1
  • URL: https://api.johnsessentials.com/api/v1/public/files/{id}/download
  • Auth: HTTP bearer

Path parameters

idstring required

Query parameters

disposition'inline' | 'attachment'

inline asks the browser to show the file in place (for example a PDF in an iframe) instead of saving it. attachment, the default, sends it as a download.

Response

Raw file bytes.

Changes

No recorded changes to this operation across all 1 revision of this API.