/o/db?dbs=:db&collection=:collection

View databases and collections

List specified amount of documents for provided database and collection.
Returns output with:

  • limit - current set limit how many documents to show
  • start - index from which document to start displaying (1 is the beginning)
  • end - index of the last document, so next paginated request should request skip with this end index
  • total - amount of total documents for this filter/query
  • pages - amount of total pages for this filter/query with provided limit setting
  • curPage - current page displayed
  • collections - array of documents for provided collection, these documents are raw data as they are stored in database
Query Params
string

API_KEY of user, with permission to access this app

string

Database name

string

Collection name

int32
Defaults to 20

Amount of documents to show

int32
Defaults to 0

Amount of documents to skip for offset/paging

string

JSON encoded mongodb query which collections to select

string

JSON encoded mongodb projection to specify which fields to return

Response

Language
Response
Choose an example:
application/json