forked from Netflix/Priam
-
Notifications
You must be signed in to change notification settings - Fork 3
REST API
psadhu edited this page Feb 29, 2012
·
31 revisions
REST API Reference
API | Description | Query params |
---|---|---|
/v1/cassconfig/get_seeds | Gets a list of seeds. One per zone/Rac | |
/v1/cassconfig/get_token | Get token for the node | |
/v1/cassconfig/is_replace_token | Returns true if this node is replace another node with the same token |
API | Description | Query params |
---|---|---|
/v1/cassadmin/start | Starts Cassandra process | |
/v1/cassadmin/stop | Stop Cassandra process |
API | Description | Query params |
---|---|---|
/v1/cassadmin/info | ||
/v1/cassadmin/ring | ||
/v1/cassadmin/flush | flushes all keyspaces | |
/v1/cassadmin/compact | ||
/v1/cassadmin/cleanup | ||
/v1/cassadmin/repair | ||
/v1/cassadmin/refresh | keyspaces: Comma seperated list of keyspaces | |
/v1/cassadmin/version | ||
/v1/cassadmin/tpstats | ||
/v1/cassadmin/compactionstats | ||
/v1/cassadmin/disablegossip | ||
/v1/cassadmin/enablegossip | ||
/v1/cassadmin/disablethrift | ||
/v1/cassadmin/enablethrift | ||
/v1/cassadmin/statusthrift | ||
/v1/cassadmin/gossipinfo | ||
/v1/cassadmin/netstats | host (optional) | |
/v1/cassadmin/move | token | |
/v1/cassadmin/scrub | keyspaces,cfnames ((optional) | |
/v1/cassadmin/cfhistograms | keyspaces,cfnames |
API | Description | Query params |
---|---|---|
/v1/backup/do_snapshot | Runs snapshot backup | |
/v1/backup/restore | Runs snapshot backup |
daterange : (optional) Start and end time(“yyyyMMddHHmm”). Default day-1. region (optional): DC or region. Defaults to current region. token (optional): Override current token. |
/v1/backup/list | Returns a json formatted list of files in the backup | daterange, filter |