Get file

Get a file.

Optional includes:

  • item_instances: Will include a item_instances field that contains an array of item id's that the file is attached via an attachment field.
  • metadata: Will include a metadata field that contains an array of any metadata that the file contains.
  • uploader: Will include avatar,name & initials fields of the user who uploaded the file.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
📘

File URLs

We provide three different URLs for files:

  • url: This URL can be used to render the file contents in a browser.
  • download_url: This URL will force the file to be downloaded using the original filename.
  • optimised_image_url: This is a version in the file optimized for the web.

Please note: For none Image-based files, all URLs will force a download and the content cannot be rendered in the browser. The current supported renderable images are jpeg, png, gif.

Path Params
integer
required

Project id

string
required

File id

Query Params
include
array

comma separated list of extra includes

include
Allowed:
Responses

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/vnd.gathercontent.v2+json