Resolve a usable URL for a file

Returns the workspace's public URL when configured, otherwise a short-lived signed download URL. Resolves across storage lanes so a file uploaded before a storage switch still resolves.

get/v1/workspaces/{workspace}/files/file-url

Request

  • Base URL: https://api.uploads.sh
  • URL: https://api.uploads.sh/v1/workspaces/{workspace}/files/file-url
  • Auth: HTTP bearer

Query parameters

keystring required

Response

A usable URL.

urlstring uri required

Changes

No recorded changes to this operation across all 1 revision of this API.