Placement Driver API API documentation version v1
http://{pdAddr}/pd/api/{version}
- pdAddr: required (string)
The PD server address, formatted as 'host:port'.
- version: required (v1)
/cluster/status
Cluster status.
/members
The PD servers in the cluster.
A specific PD server.
Remove a PD server from the cluster.
Set leader priority of a PD member.
/leader
The leader PD server of the cluster.
/config
PD cluster configuration.
Schedule configuration.
Get schedule config.
Update a schedule config item.
Replication configuration.
Get replication config.
Update a replication config item.
The config of a namespace.
Get configuration of a namespace.
Update a namespace config item.
Delete a namespace config.
The label property configuration.
Get label property config.
Update label property config item.
/store/{storeId}
A specific store.
Get a store's information.
Take down a store from the cluster.
The specific store's weight.
Set the store's leader/region weight.
/labels
The store label values in the cluster.
/region
A specific region in the cluster.
/regions
The regions in the cluster.
/schedulers
Running schedulers.
/operators
Pending operators.
A specific Region's pending operator.
Get a Region's pending operator.
Cancel a Region's pending operator.
/hotspot
The hot spots status in the cluster.
/stats
Statistics of the cluster.
/trend
/admin
/classifier
The namespace classifier. Methods depend on current classifier.