Skip to content

DatabaseApi ​

All URIs are relative to http://localhost

MethodHTTP requestDescription
databaseInfosGET /mongodb/databases/infosList of Database Infos
deleteDatabaseDELETE /mongodb/databases/Delete Database
getDatabaseInfoGET /mongodb/databases/Database Infos of selected Database
listCollectionsByDatabaseGET /mongodb/databases/{databaseName}/collectionsList of Collections
listDatabasesGET /mongodb/databasesList of Databases

databaseInfos ​

List databaseInfos()

List of Database Infos

List of all Databases Infos

Parameters ​

This endpoint does not need any parameter.

Return type ​

List

Authorization ​

httpAuth1, httpAuth, apiKeyAuth

HTTP request headers ​

  • Content-Type: Not defined
  • Accept: application/json

deleteDatabase ​

JsonValue_Boolean deleteDatabase(databaseName)

Delete Database

Delete given Database

Parameters ​

NameTypeDescriptionNotes
databaseNameStringName of your Database[default to null]

Return type ​

JsonValue_Boolean

Authorization ​

httpAuth1, httpAuth, apiKeyAuth

HTTP request headers ​

  • Content-Type: Not defined
  • Accept: application/json

getDatabaseInfo ​

DatabaseInfo getDatabaseInfo(databaseName)

Database Infos of selected Database

All Information about given Database

Parameters ​

NameTypeDescriptionNotes
databaseNameStringName of your Database[default to null]

Return type ​

DatabaseInfo

Authorization ​

httpAuth1, httpAuth, apiKeyAuth

HTTP request headers ​

  • Content-Type: Not defined
  • Accept: application/json

listCollectionsByDatabase ​

List listCollectionsByDatabase(databaseName)

List of Collections

List of all Collections of the given database

Parameters ​

NameTypeDescriptionNotes
databaseNameStringName of your Database[default to null]

Return type ​

List

Authorization ​

httpAuth1, httpAuth, apiKeyAuth

HTTP request headers ​

  • Content-Type: Not defined
  • Accept: application/json

listDatabases ​

List listDatabases()

List of Databases

List of all Databases

Parameters ​

This endpoint does not need any parameter.

Return type ​

List

Authorization ​

httpAuth1, httpAuth, apiKeyAuth

HTTP request headers ​

  • Content-Type: Not defined
  • Accept: application/json

Released under the Apache License 2.0.