List Collections

Lists collections within a database.

Authentication

Requires Api-Key and Api-Secret, or a Glue owner token where the database owner is allowed.

Path Parameters

Parameter Type Description
databaseId uuid The unique identifier of the database

HTTP Request

1GET /v1/databases/a1b2c3d4-e5f6-7890-abcd-ef1234567890/collections HTTP/1.1
2Host: api.hola.cloud
3Api-Key: 1abbe476-6ad6-4b97-9cca-6deb6ab2901d
4Api-Secret: 4bda6d52-762b-4e5d-bed7-85614c13b8bf

Response

 1[
 2  {
 3    "name": "users",
 4    "total": 5400,
 5    "indexes": 2,
 6    "defaults": {
 7      "id": "uuid()"
 8    }
 9  }
10]

Comments

Leave a comment