couchdb-dev mailing list archives

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

    [ https://issues.apache.org/jira/browse/COUCHDB-2645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14378022#comment-14378022
] 

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: https://issues.apache.org/jira/browse/COUCHDB-2645
>             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
(v6.3.4#6332)

Mime
View raw message