GET /api/tablets_distribution?group_by={enum}&partition_id={int}
Get the distribution of tablets under each partition between different disks on BE node
group_by only supports partition
partition_id ID of the specified partition,Optional with default all partition。
None
```
{
msg: "OK",
code: 0,
data: {
host: "***",
tablets_distribution: [
{
partition_id:***,
disks:[
{
disk_path:"***",
tablets_num:***,
tablets:[
{
tablet_id:***,
schema_hash:***,
tablet_size:***
},
...
]
},
...
]
}
]
},
count: ***
}
```
``` curl "http://127.0.0.1:8040/api/tablets_distribution?group_by=partition&partition_id=123" ```