View Meta

Request

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

Description

View meta of a tablet

Path parameters

  • tablet_id ID of the tablet

Query parameters

  • byte_to_base64 Whether to encode by base64. Optional with default false.

Request body

None

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. ```