Many methods in the API that download or generate files, do not send back the file immediately. Instead they return a "token". The present method permits to fetch the actual file for the token.
NOTE: The HTTP response is configured so that a browser would download the file with a file name. See also: media/get/{token}/stream
(GET) /api/media/get/{token}
token | The reference token of file. |
The file as an attachment, see below.
The HTTP response header includes:
If you want to have a browser show the file inline, use this method instead: media/get/{token}/stream