Couchbase Questions: rest api

Have a Question? Get it answered by our community

notm84's picture
Asked 4 months 3 weeks ago
Latest activity 4 months 3 weeks ago

REST API or SDK?

There is conflicting documentation regarding which method to use for reading/writing data. One says do not use the REST API to read or write data and to use the SDK. And another says to use the REST API to build your own SDK.

What? Can someone clear this up, please? Thanks!

a4xrbj1's picture
Asked 5 months 3 weeks ago
Latest activity 5 months 1 week ago

Key exists error while using ADD (via node.js)

Hi guys,

posted my question already on Stackoverflow.com (http://stackoverflow.com/questions/22611021/key-exists-error-while-using...) but to no avail. Hopefully some expert here can...

esteban.aliverti's picture
Asked 5 months 3 weeks ago
Latest activity 5 months 3 weeks ago

Couchbase Lite: 'not_found' error when doing PUT/POST using REST API

Hi,

I'm currently developing an app using Couchbase Lite Beta2 for Android and Phonegap.
The Phonegap plugin is creating a database (let's say 'dbTest') and inserting some documents using Couchbase Lite java API:

...
igal.dahan's picture
Asked 7 months 2 weeks ago

add spatial view with REST API

HI i would like to add spatial view with REST API, where i have additional views on the same document, so i think i have to correct command, i didnt get error, but still i cannot see that in the web console.
could you help me here?

here is the command :

# curl -X PUT -H'...

gandalf_the_cool's picture
Asked 8 months 4 days ago
Latest activity 8 months 12 hours ago

Cannot retrieve values from memcached bucket, neither from Rest nor Java api

In couchbase buckets, you just need to send a get request like this:

SERVER_IP:8091/couchBase/COUCHBASE_BUCKET_NAME/KEY

and the value is returned.

I have a memcached value, and even though i have the keys, i cannot extract any values. When in "COUCHBASE_BUCKET" i put the...

stelios p's picture
Asked 8 months 1 week ago
Latest activity 7 months 4 weeks ago

How to get a value, from bucket, using the REST API

Can someone provide an example, of how someone using a REST tool, for example Rest console, of postman, could retrieve a value stored in a bucket, by providing key,bucket credentials,or/and server credentials?
thanks in advance

cpage00's picture
Asked 10 months 2 weeks ago
Latest activity 10 months 3 days ago

REST API methods provide different node status

CB team,

I have a 6 node local cluster and one node's data partition filled up. That particular node is in a 'pending' state when viewing the UI '/index.html#sec=servers&serversTab=0'. I checked the '/pools/nodes/' API and the node is in a 'warmup' status:

status: "warmup",...

WooD's picture
Asked 1 year 3 weeks ago
Latest activity 1 year 3 weeks ago

is it possible to use REST to insert data into the bucket

is it possible to use REST to insert data into the bucket? What I found is you can manage the bucket, manage/use the view code by REST.

toori67's picture
Asked 1 year 1 month ago
Latest activity 1 year 1 month ago

Can I use couchbase's rest api to act like flask restful api?

I want to develop apps that might need some rest service.
I need oAuth and simple restful api to get data from database.
When I looked into counchbase's docs, it said it support rest api for admin.

My question is
- Can I service couchbase's rest interface to client?