Get all design documents in CouchDB

user89021 picture user89021 · May 11, 2010 · Viewed 9k times · Source

How can I get a list of all design documents in CouchDB? Using a http query, not futon.

Answer

mikeal picture mikeal · May 12, 2010

This is the exact query Futon does internally:

GET /dbname/_all_docs?startkey="_design/"&endkey="_design0"&include_docs=true