You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Scott Stubbs <se...@gmail.com> on 2008/10/12 05:16:16 UTC

Retrieve a list of unused document IDs?

Greetings, I'm reading the HttpDocumentApi on the wiki and noticed a way to
POST /_uuids?count=100 to retrieve a list of unused document IDs.  So far
I'm not having any success.  I get the following response using curl and
couchdb 0.8.1:

$  curl -X POST http://localhost:5984/_uuids?count=1 -H "Content-Type:
> application/json"
>

> {"error":"not_found","reason":"unknown_private_path"}
>

What am I missing?

Regards,

Scott S.

Re: Retrieve a list of unused document IDs?

Posted by Chris Anderson <jc...@apache.org>.
I added a note about following svn trunk to the Installation section
on http://wiki.apache.org/couchdb/FrontPage

On Sat, Oct 11, 2008 at 8:42 PM, Scott Stubbs <se...@gmail.com> wrote:
> Thank you kindly.  I'll upgrade to trunk.
> Scott S.
>
> On Sat, Oct 11, 2008 at 10:18 PM, Paul Davis <pa...@gmail.com>wrote:
>
>> Scott,
>>
>> That's a relatively new feature, if you're using 0.8.x you should
>> upgrade to trunk.
>>
>> Paul
>>
>> On Sat, Oct 11, 2008 at 11:16 PM, Scott Stubbs <se...@gmail.com> wrote:
>> > Greetings, I'm reading the HttpDocumentApi on the wiki and noticed a way
>> to
>> > POST /_uuids?count=100 to retrieve a list of unused document IDs.  So far
>> > I'm not having any success.  I get the following response using curl and
>> > couchdb 0.8.1:
>> > $  curl -X POST http://localhost:5984/_uuids?count=1 -H "Content-Type:
>> >> application/json"
>> >>
>> >
>> >> {"error":"not_found","reason":"unknown_private_path"}
>> >>
>> >
>> > What am I missing?
>> >
>> > Regards,
>> >
>> > Scott S.
>> >
>>
>



-- 
Chris Anderson
http://jchris.mfdz.com

Re: Retrieve a list of unused document IDs?

Posted by Scott Stubbs <se...@gmail.com>.
Thank you kindly.  I'll upgrade to trunk.
Scott S.

On Sat, Oct 11, 2008 at 10:18 PM, Paul Davis <pa...@gmail.com>wrote:

> Scott,
>
> That's a relatively new feature, if you're using 0.8.x you should
> upgrade to trunk.
>
> Paul
>
> On Sat, Oct 11, 2008 at 11:16 PM, Scott Stubbs <se...@gmail.com> wrote:
> > Greetings, I'm reading the HttpDocumentApi on the wiki and noticed a way
> to
> > POST /_uuids?count=100 to retrieve a list of unused document IDs.  So far
> > I'm not having any success.  I get the following response using curl and
> > couchdb 0.8.1:
> > $  curl -X POST http://localhost:5984/_uuids?count=1 -H "Content-Type:
> >> application/json"
> >>
> >
> >> {"error":"not_found","reason":"unknown_private_path"}
> >>
> >
> > What am I missing?
> >
> > Regards,
> >
> > Scott S.
> >
>

Re: Retrieve a list of unused document IDs?

Posted by Paul Davis <pa...@gmail.com>.
Scott,

That's a relatively new feature, if you're using 0.8.x you should
upgrade to trunk.

Paul

On Sat, Oct 11, 2008 at 11:16 PM, Scott Stubbs <se...@gmail.com> wrote:
> Greetings, I'm reading the HttpDocumentApi on the wiki and noticed a way to
> POST /_uuids?count=100 to retrieve a list of unused document IDs.  So far
> I'm not having any success.  I get the following response using curl and
> couchdb 0.8.1:
> $  curl -X POST http://localhost:5984/_uuids?count=1 -H "Content-Type:
>> application/json"
>>
>
>> {"error":"not_found","reason":"unknown_private_path"}
>>
>
> What am I missing?
>
> Regards,
>
> Scott S.
>