View Tablet Info

Request

GET /tablets_json?limit={int}

Description

View Tablet Info, including ID and schema hash.

Query parameters

  • limit Number of tablets output,Optional with default 1000. Take all to output all tablets.

Request body

None

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. },
  12. ...
  13. {
  14. tablet_id: 11063,
  15. schema_hash: 714349777
  16. }
  17. ]
  18. },
  19. count: 30
  20. }
  21. ```

Examples

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