Skip to main content
GET
/
api
/
v1
/
metadata
/
mongodb
/
collections
List MongoDB collections
curl --request GET \
  --url http://localhost:8080/api/v1/metadata/mongodb/collections \
  --header 'x-api-key: <api-key>'
[
  "<string>"
]

Authorizations

x-api-key
string
header
required

Optional API key for authentication (enabled via application.yaml)

Query Parameters

database
string

Database name (optional; omit to list from all databases)

Response

Array of collection names