Thanks Adam,

No, but now you point it out to me it is obvious! <g>


-----Original Message----- From: Adam Kocoloski
Sent: Thursday, November 10, 2016 00:54
To: [email protected]
Subject: Re: 2.0 _changes request returning all changes

Hi Geoff, did you add ?filter=_doc_ids to the query string parameters?

http://docs.couchdb.org/en/2.0.0/api/database/changes.html#post--db-_changes <http://docs.couchdb.org/en/2.0.0/api/database/changes.html#post--db-_changes>

Cheers, Adam

On Nov 9, 2016, at 12:19 AM, Geoff Bomford <[email protected]> wrote:

I’m using couchdb 2.0 and trying to get a list of revision ids for a batch of documents so I can purge them.

When I submit a POST to /db/_changes...

{
   "doc_ids": [
       "NEW712064",
       "NTG00002192"
   ]
}

...the response returns all changes, for all document ids.

Am I doing something wrong?


Reply via email to