paul
paul

Reputation: 13471

Couchbase Delete document with Rest API

I´ve been checking the Rest API and I cannot find an API to delete a particular document, or all documents of one particular view. Just the delete of the bucket or view. Anyone know if is that possible?

Upvotes: 2

Views: 557

Answers (2)

Simon Baslé
Simon Baslé

Reputation: 28301

generally speaking the (official, supported) REST API will deal with the cluster and buckets, whereas key/value operations are handled through the memcached binary protocol, and the SDKs are here to give you a facade over all this (including k/v) in your language of choice, idiomatically.

tl:dr no at least not in a supported stable way, you should use one of the SDKs

Upvotes: 5

FuzzyAmi
FuzzyAmi

Reputation: 8119

I can't find it either. Of course you could easily roll your own front-end wrapping a Couchbase client. Here's an example in ruby this.

Upvotes: 0

Related Questions