couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Kowalski (JIRA)" <>
Subject [jira] [Commented] (COUCHDB-2645) Mango should return the created design doc
Date Tue, 24 Mar 2015 15:27:53 GMT


Robert Kowalski commented on COUCHDB-2645:

maybe we can also send a Location header, pointing to the new design doc

> Mango should return the created design doc
> ------------------------------------------
>                 Key: COUCHDB-2645
>                 URL:
>             Project: CouchDB
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Database Core
>            Reporter: Robert Kowalski
> Currently mango returns  {"result":"created"}  after a creation of an index.
> It would be cool if it would return at least the id of the created design doc, or the
whole created design doc, because if I want to delete an index, I need the id and name.
> Currently the workaround is listing all indexes, filtering for the one I just created,
grabbing the id and then delete the index.

This message was sent by Atlassian JIRA

View raw message