couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Davis <paul.joseph.da...@gmail.com>
Subject Re: _id & _rev on request vs. id & id on response
Date Mon, 19 Oct 2009 13:25:26 GMT
On Mon, Oct 19, 2009 at 9:24 AM, Paul Davis <paul.joseph.davis@gmail.com> wrote:
> On Mon, Oct 19, 2009 at 9:14 AM, Vlad GURDIGA <gurdiga@gmail.com> wrote:
>> Hello!
>>
>> I see* we have "_id" and "_rev" in the document we send with the PUT
>> or POST request and in the response we get something like:
>>
>> {"ok":true, "id":"123BAC", "rev":"946B7D1C"}
>>
>> with "id" and "rev" without underscores.
>>
>> Doesn't this sound a little inconsistent?
>>
>>
>> * http://wiki.apache.org/couchdb/HTTP_Document_API
>>
>
> Vlad,
>
> This has come up before. Basically it boils down to "underscores only
> for top level members in docs".
>
> [1] http://markmail.org/message/nbne65yar6azb7ac
> [2] http://markmail.org/message/eaehyioiupw5thot
>
> HTH,
> Paul Davis
>

And just a quick note, I would've used Apache mail archive links but
there appears to be some missing emails towards the end of Dec, 2008.

Paul Davis

Mime
View raw message