列出集合

列出数据库中的集合。

认证

需要 Api-KeyApi-Secret;当数据库 owner 被允许时,也可以使用 Glue owner token。

HTTP 请求

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

响应

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

评论

发表评论