Get a file URL for preview or download

Returns the file metadata and a URL, optionally requesting a custom temporary URL lifetime in minutes.

Authentication

AuthorizationBearer

The signed-in SchoolSet user token sent by the frontend.

Path parameters

idintegerRequired>=1
File manager record identifier.
minutesintegerRequired>=1Defaults to 5

Temporary URL lifetime in minutes; non-positive values fall back to five minutes.

Response

File metadata and resolved storage URL.
statusstring
messagestring
dataobject

Errors

401
Unauthorized Error
404
Not Found Error