couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Trivial Update of "HTTP_database_API" by SebastianCohnen
Date Thu, 08 Apr 2010 17:45:35 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The "HTTP_database_API" page has been changed by SebastianCohnen.
The comment on this change is: added syntax-hl.
http://wiki.apache.org/couchdb/HTTP_database_API?action=diff&rev1=20&rev2=21

--------------------------------------------------

  
  The server's response is a JSON object similar to the following:
  
- {{{
+ {{{#!highlight javascript
  {
      "compact_running": false, 
      "db_name": "dj", 
@@ -124, +124 @@

      "purge_seq": 0, 
      "update_seq": 4
  }
- 
  }}}
  
  ==== Meaning of Result Hash ====
@@ -172, +171 @@

  GET /somedatabase/_changes HTTP/1.1
  }}}
  
- {{{
+ {{{#!highlight javascript
  {"results":[
  {"seq":1,"id":"fresh","changes":[{"rev":"1-967a00dff5e02add41819138abb3284d"}]},
  {"seq":3,"id":"updated","changes":[{"rev":"2-7051cbe5c8faecd085a3fa619e6e6337"}]},
@@ -191, +190 @@

  GET /somedatabase/_changes?since=3 HTTP/1.1
  }}}
  
- {{{
+ {{{#!highlight javascript
  {"results":[
  {"seq":5,"id":"deleted","changes":[{"rev":"2-eec205a9d413992850a6e32678485900"}],"deleted":true}
  ],
@@ -218, +217 @@

  GET /somedatabase/_changes?feed=continuous HTTP/1.1
  }}}
  
- {{{
+ {{{#!highlight javascript
  {"seq":1,"id":"fresh","changes":[{"rev":"1-967a00dff5e02add41819138abb3284d"}]}
  {"seq":3,"id":"updated","changes":[{"rev":"2-7051cbe5c8faecd085a3fa619e6e6337"}]}
  {"seq":5,"id":"deleted","changes":[{"rev":"2-eec205a9d413992850a6e32678485900"}],"deleted":true}

Mime
View raw message