Get a link to download or view one file of a published dataset

A presigned link to one file of a published, open version. paths
names exactly one file; a folder is refused. Embargoed versions need
signing in (the Downloads API).

purpose: download (the default) saves the file; the link lasts 15
minutes. purpose: view opens it in the browser for a viewer; the
link lasts an hour, and it is recorded as a view, never a download.
A view is served as the type its extension names (a PDF, an image, a
video, CSV), whatever type it was stored with; HTML, SVG, XML and
JavaScript are served as stored.
purpose: handoff is a download for another service to fetch (e.g.
oSPARC): it is saved like a download and counted as one, and the
link lasts as long as the agent's manifest links (3 hours; 1 hour on
external buckets).
Either way the file's size counts against the day's anonymous
allowance.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
int64
required

The published dataset's id.

A version number, or "latest" (the default).

paths
array of strings
length ≤ 1000

Files and folders of the version; [""] is the whole version.

paths
string
enum
Defaults to download
Allowed:
Responses

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json