Skip to main content

Get file content

GET 

/file/:id

File Access

Retrieve a file. The file can be returned inline (e.g., displayed in the browser) or as an attachment for download (e.g., prompting a save dialog), based on the disposition parameter. The API can serve the file directly or redirect to the location of the file.

Request

Responses

Returns the requested file content or { "location": "http://location/of/file" }

Response Headers
    Accept-Ranges

    Indicates that the server supports range requests for this file

    Content-Length

    The size of the returned content in bytes

    Content-Type

    The MIME type of the returned file

    Last-Modified

    The date and time the file was last modified

    ETag

    Entity tag for cache validation