I am using cloudant for my Project. Every time i update a document and fetch a document, the result JSON comes with { _rev_info : [...] } (contains 500+ rev history). how i restrict & fetch data without _rev_info in cloudant??

{ name: "test",
  _revs_info: [
          { rev: '510-454.....',
            status: 'available' }, 

_revs_info is only be returned if you explicitly request it by passing revs_info=true in the query string. If you don't require the revision history, just exclude that parameter.

  • Thank you @Will. its working after change revs_info:false. – Gopi Sep 11 '15 at 10:34

Your Answer

