Created
December 14, 2012 09:05
-
-
Save vincentmac/4283858 to your computer and use it in GitHub Desktop.
riak commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -v -X HEAD -d '{"username":"vincent"}' -H "Content-Type: application/json" http://127.0.0.1:5000/api/users/search | |
curl -v -d '{"username":"vincent"}' -H "Content-Type: application/json" http://127.0.0.1:5000/api/users/search | |
Search for all users | |
http://127.0.0.1:8091/riak/users?keys=true # List all keys, old format | |
http://127.0.0.1:8091/buckets/users/keys?keys=true # List all keys, new format | |
http://127.0.0.1:8091/solr/users/select?q=username%3Atestuser&rows=10000&wt=json | |
Search for all accounts | |
http://127.0.0.1:8091/riak/accounts?keys=true # List all keys, old format | |
http://127.0.0.1:8091/buckets/accounts/keys?keys=true # List all keys, new format | |
GET /riak/bucket?keys=true # List all keys, old format | |
GET /buckets/bucket/keys?keys=true # List all keys, new format | |
http://127.0.0.1:8091/stats # cluster/node stats |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment