GET
/
files
/
{id}
/
presignedurl
/
contents
curl --request GET \
  --url https://local.storage.nhost.run/v1/files/{id}/presignedurl/contents \
  --header 'Authorization: Bearer <token>'
This response does not have an example.

Authorizations

Authorization
string
headerrequired

JSON Web Token to authorize requests.

Headers

if-match
string

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Match

if-none-match
string

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-None-Match

if-modified-since
string

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Modified-Since

if-unmodified-since
string

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Unmodified-Since

Path Parameters

id
string
required

Query Parameters

X-Amz-Algorithm
string
required

Use presignedurl endpoint to generate this automatically

X-Amz-Credential
string
required

Use presignedurl endpoint to generate this automatically

X-Amz-Date
string
required

Use presignedurl endpoint to generate this automatically

X-Amz-Expires
string
required

Use presignedurl endpoint to generate this automatically

X-Amz-Signature
string
required

Use presignedurl endpoint to generate this automatically

X-Amz-SignedHeaders
string
required

Use presignedurl endpoint to generate this automatically

q
number

Quality of the image. Only applies to jpeg, webp and png files

h
number

Resize image up to h maintaining aspect ratio. Only applies to jpeg, webp and png files

w
number

Resize image up to w maintaining aspect ratio. Only applies to jpeg, webp and png files

b
number

Blur the image according to this sigma value. Only applies to jpeg, webp and png files

Response

200 - application/octet-stream

The response is of type file.