Catchbase REST API for inserting / updating a document

I was looking for couchbase REST API to insert / update a document in this bucket, but I could not find it. Does anyone know if such an API exists?

Only the API I can find is updating the project document:

http://docs.couchbase.com/couchbase-manual-2.5/cb-rest-api/#design-documents-rest-api

+4
source share
6 answers

It is not documented (it may not be supported), but you can do it using the same base URL as the couchbase buck API (see table 4 ). Full path:

...hostname:8091/pools/default/buckets/{bucketname}/docs/{docid}

, - couchbase . , REST, - couchbase .

HTTP-. .

: . get sets, REST, SDK couchbase, , HTTP.

+6

Couchbase REST API CRUD. REST, . , Couchbase CRUD- . : https://github.com/couchbaselabs/couchbase-rest-api-rails

+2

REST API /

http://localhost:8092/bucket name/doucmnetId

/JSON

{ json }

POST couchbase, .

PUT, couchbase.

+2

There is a Couchbase Bucket REST API documentation that allows you to control small grains about buckets and buckets in a cluster.

But if you can, using the SDK would be recommended and better for any operations.

0
source

Yes, they exist, see this link, you will find everything you need https://wiki.apache.org/couchdb/HTTP_Document_API

-2
source

All Articles