database

List database collections

List every collection with its document count and storage size.

Required permission: database.view.

get/v1/projects/{project_id}/database/{environment_id}/collections

Request

  • Base URL
    https://api.connic.co
  • Auth
    HTTP bearer

Path parameters

project_id, string uuid required

ID of the project the API key belongs to.

environment_id, string uuid required

Environment ID from GET /environments.

Response

Successful Response

DatabaseCollectionsResponse required
collections, DatabaseCollection[] required

Collections sorted by name.

total, integer required

Number of collections.

Changes

No recorded changes to this operation across all 17 revisions of this API.