Details
Description
http://docs.couchbase.com/couchbase-manual-2.2/#creating-and-editing-data-buckets
If you click on the REST API section and Create/Edit bucket link, it redirects to the Web-Console way of doing so.
Expected command for create bucket info can be referred on previous documentation or here
- Create Bucket
ake a new bucket request to the REST endpoint for buckets and provide the new bucket settings as request parameters:
shell> curl -u Administrator:password \
-d name=newBucket -d ramQuotaMB=100 -d authType=none \
-d replicaNumber=1 -d proxyPort=11215 http://localhost:8091/pools/default/buckets
You can check your new bucket exists and is running by making a request REST request to the new bucket:
curl http://localhost:8091/pools/default/buckets/newBucket
Reference link : http://www.couchbase.com/docs/couchbase-devguide-2.0/creating-a-bucket.html