Alexander Shorin created COUCHDB-2894:
-----------------------------------------

             Summary: Use /db/_design_docs API
                 Key: COUCHDB-2894
                 URL: https://issues.apache.org/jira/browse/COUCHDB-2894
             Project: CouchDB
          Issue Type: Improvement
          Components: Fauxton
            Reporter: Alexander Shorin


Currently, Fauxton uses old way to get all the design documents:
{code}
/db/_all_docs?startkey="_design/"&endkey="_design0"&include_docs=true&limit=501
{code}

CouchDB 2.0 provides new nicer API to do the same thing:
{code}
/db/_design_docs?include_docs=true&limit=501
{code}

Since compatibility with 1.x doesn't matter anymore (AFAIK), it would be nice 
to move away from old tricks to better ones.

Fauxton v1.0.6



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to