Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D8CC910D84 for ; Sat, 9 Nov 2013 10:18:30 +0000 (UTC) Received: (qmail 66100 invoked by uid 500); 9 Nov 2013 10:18:26 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 65653 invoked by uid 500); 9 Nov 2013 10:18:20 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 65633 invoked by uid 99); 9 Nov 2013 10:18:18 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Nov 2013 10:18:18 +0000 Date: Sat, 9 Nov 2013 10:18:17 +0000 (UTC) From: "Andy Wenk (JIRA)" To: dev@couchdb.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (COUCHDB-1924) Add an example for updating a document with PUT MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/COUCHDB-1924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13818092#comment-13818092 ] Andy Wenk commented on COUCHDB-1924: ------------------------------------ [my comment is a little longer, because I think this is something to be discussed in general for the whole documentation] Yes I know - I have written this in the commit message. I thought it is better to have it next to the definition because as a user of the API documentation I want to find all examples for sending the described request so that I don't have to search or look at another place for examples I always dislike the fact, that something is described in a documentation and the examples do not cover the main possibilities. But I understand the idea with having just one example here and it's ok to have a link to the Update section. But I still believe it's better to have it at one place. Any other thought? If not, I'm gonna change it with removing the new parts and insert a link. > Add an example for updating a document with PUT > ----------------------------------------------- > > Key: COUCHDB-1924 > URL: https://issues.apache.org/jira/browse/COUCHDB-1924 > Project: CouchDB > Issue Type: Documentation > Components: Documentation > Reporter: Andy Wenk > Assignee: Andy Wenk > > An example for updating a document with PUT is missing in the documentation at http://docs.couchdb.org/en/latest/api/document/common.html#put--db-docid . It should be added as a second example. -- This message was sent by Atlassian JIRA (v6.1#6144)