Skip to content

Files in Bucket​

GET
/mongodb/buckets/{bucketName}/files

Get Files paginated 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
string
Required

Query Parameters

filter

MongoDB filter query, all documents by default

Type
string
Example{}
sort

MongoDB sorting

Type
string
Example{}
projection

MongoDB projection

Type
string
Example{}
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""

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

Samples​

Powered by VitePress OpenAPI

Released under the MIT License.