couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Candler <B.Cand...@pobox.com>
Subject Re: [Couchdb Wiki] Update of "Breaking changes" by SvenHelmberger
Date Sun, 22 Mar 2009 21:44:08 GMT
On Sat, Mar 21, 2009 at 05:04:14PM +0100, Sven Helmberger wrote:
>>> + === Response to Bulk Creation/Updates ===
>>> +
>>> + The response to a bulk creation / update now looks like this
>>> +
>>> + {{{
>>> + [
>>> +     {"id": "0", "rev": "3682408536"},
>>> +     {"id": "1", "rev": "3206753266"},
>>> +     {"id": "2", "error": "conflict", "reason": "Document update  
>>> conflict."}
>>> + ]
>>> + }}}
>>>
>>> === Database File Format ===
>>
>> I'm not sure this change is intentional. Damien, Chris?
>>
>> I'd opt for a full JSON object. Not all client libs like parsing JSON  
>> partials.
>>
>> Cheers
>> Jan
>> -- 
>>
>
> This behaviour is also documented as such on  
> http://wiki.apache.org/couchdb/HTTP_Document_API

I made that Wiki change, but only based on observed behaviour.

It's perfectly valid JSON (it's only CouchDB which insists on documents
being JSON *objects*).

Mime
View raw message