Link
A download link for a file, with the method and headers to fetch it with and when it stops working.
A download link for one file, from space.fs.url(). Anyone holding it can download the file until expiresAt, 15 minutes after it was made.
{
"method": "GET",
"url": "https://files.digitospace.com/s/…/0001.pdf",
"headers": {},
"expiresAt": "2026-09-26T10:15:00Z"
}Fields
methodstringThe HTTP method to fetch
urlwith, such asGET.urlstringThe address of the file’s contents. Treat it as a secret until it expires.
headersRecord<string, string>Headers to send with the request, often none. Send every one of them, or the download may be refused.
expiresAtstringWhen the link stops working, as an ISO 8601 date and time. Get a new link after that.
Returned by
Last updated