查询tablet信息

Request

GET /tablets_json?limit={int}

Description

获取特定BE节点上指定数量的tablet的tablet id和schema hash信息

Query parameters

  • limit 返回的tablet数量,选填,默认1000个,可填all返回全部tablet。

Request body

无

Response

1. ```
2. {
3. msg: "OK",
4. code: 0,
5. data: {
6. host: "10.38.157.107",
7. tablets: [
8. {
9. tablet_id: 11119,
10. schema_hash: 714349777
11. },

13. ...

15. {
16. tablet_id: 11063,
17. schema_hash: 714349777
18. }
19. ]
20. },
21. count: 30
22. }
23. ```

Examples

1. ```
2. curl http://127.0.0.1:8040/api/tablets_json?limit=123

4. ```