查询元信息

Request

GET /api/meta/header/{tablet_id}?byte_to_base64={bool}

Description

查询tablet元信息

Path parameters

  • tablet_id table的id

Query parameters

  • byte_to_base64 是否按base64编码,选填,默认false

Request body

Response

  1. ```
  2. {
  3. "table_id": 148107,
  4. "partition_id": 148104,
  5. "tablet_id": 148193,
  6. "schema_hash": 2090621954,
  7. "shard_id": 38,
  8. "creation_time": 1673253868,
  9. "cumulative_layer_point": -1,
  10. "tablet_state": "PB_RUNNING",
  11. ...
  12. }
  13. ```

Examples

  1. ```
  2. curl "http://127.0.0.1:8040/api/meta/header/148193&byte_to_base64=true"
  3. ```