Skip to content

Files in Bucket​

POST
/mongodb/buckets/{bucketName}/files

Alternative to GET Route for more complex queries and URL max. Length

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
string
Required

Query Parameters

rowsPerPage

Count elements per page

Type
integer
Example100
Format
"int64"
page

Requested page of the ResultSets

Type
integer
Example1
Format
"int64"
count

How the result is counted: exact (default) or none (no count headers, no count query)

Type
string
Valid values
"exact""none"
Example"exact"
Default
"exact"
after

Cursor paging: the x-pagination-next value of the previous page, empty for the first page. The sort always ends with _id; cannot be combined with page

Type
string
Example""

Request Body​

application/json
JSON
{
  
"filter": {
  
  
"additionalProperties": null
  
},
  
"sort": {
  
  
"additionalProperties": null
  
},
  
"projection": {
  
  
"additionalProperties": null
  
},
  
"expand": [
  
  
"string"
  
]
}

Responses​

application/json
JSON
[
  
{
  
  
"_id": "string",
  
  
"filename": "string",
  
  
"length": 0,
  
  
"chunkSize": 0,
  
  
"uploadDate": "2024-01-01T00:00:00Z",
  
  
"metadata": {
  
  
  
"additionalProperties": null
  
  
}
  
}
]

Playground​

Authorization
Variables
Key
Value
Body

Samples​

Powered by VitePress OpenAPI

Released under the MIT License.