storage

Retrieve presigned URL to retrieve the file

Retrieve presigned URL to retrieve the file. Expiration of the URL is determined by bucket configuration

get/files/{id}/presignedurl

Request

  • Base URL
    https://{subdomain}.storage.{region}.nhost.run/v1
  • URL
    https://{subdomain}.storage.{region}.nhost.run/v1/files/{id}/presignedurl
  • Auth
    HTTP bearer

Path parameters

idstring required

Unique identifier of the file

Response

File gathered successfully

urlstring required

The presigned URL for file operations.

expirationinteger required

The time in seconds until the URL expires.

Example response

{
  "url": "https://storage.example.com/files/abc123?signature=xyz",
  "expiration": 3600
}

Changes

No recorded changes to this operation across all 7 revisions of this API.