File from Bucket
GET
/mongodb/buckets/{bucketName}/files/{fileId}/file
Get File from given Bucket
Authorizations
httpAuth
Type
HTTP (bearer)
or
httpAuth1
Type
HTTP (basic)
or
apiKeyAuth
Type
API Key (header: X-AUTH-APIKEY)
Parameters
Path Parameters
bucketName*
The name of your MongoDb Collection
Type
Requiredstring
fileId*
FileId to read
Type
Requiredstring
Query Parameters
w
Image variant (2.11.0, declared buckets with variants): one of the declared widths
Type
integer
h
Image variant: one of the declared heights
Type
integer
fit
Image variant: how the image fits w and h (default cover)
Type
string
Valid values
"cover""contain""fill""inside""outside"format
Image variant: one of the declared formats
Type
string
Valid values
"webp""avif""jpeg""png"preset
Image variant: a declared preset (no other variant parameters)
Type
string
Responses
application/octet-stream
