Function downloadTempFile

  • This endpoint is used to retrieve a temporary content file. It returns a valid (200 OK) in case the file exists and the user is authorized to view the contents. It returns a 410 Gone if the file has expired and 404 Not Found if the criteria is not met.

    Parameters

    • id: string

      The temporary contents ID.

    • query: { inline?: string }

      an object with query parameters

      • Optionalinline?: string

        Set to "1" to download the file in inline mode. Useful for displaying a preview of the file in a browser.

    • Optionaloptions: ApiCallOptions

    Returns Promise<DownloadTempFileHttpResponse>

    DownloadTempFileHttpError