Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 93E17200C19 for ; Sun, 12 Feb 2017 16:19:48 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 925A4160B6B; Sun, 12 Feb 2017 15:19:48 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id DB4D6160B45 for ; Sun, 12 Feb 2017 16:19:47 +0100 (CET) Received: (qmail 62702 invoked by uid 500); 12 Feb 2017 15:19:46 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 62689 invoked by uid 99); 12 Feb 2017 15:19:46 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Feb 2017 15:19:46 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id EA85D180684 for ; Sun, 12 Feb 2017 15:19:45 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.629 X-Spam-Level: ** X-Spam-Status: No, score=2.629 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, KAM_LOTSOFHASH=0.25, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id RQ2R24BGMIPN for ; Sun, 12 Feb 2017 15:19:45 +0000 (UTC) Received: from mail-oi0-f53.google.com (mail-oi0-f53.google.com [209.85.218.53]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 4985B5FBB6 for ; Sun, 12 Feb 2017 15:19:44 +0000 (UTC) Received: by mail-oi0-f53.google.com with SMTP id j15so40187272oih.2 for ; Sun, 12 Feb 2017 07:19:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=+DkoAEEzEPOJ6mp4XN1cA+sKsqQVf3DoRuI0/hJ79R8=; b=c3nFd0RqNR+w2pcndr075KcUUB2GPXzHHKP5zRkvthc1nen/IGf2boPfqusICIbDWs t273fTBHw2JFYPtCUIenckfn5j99jAfWeuCPxpuYX5UP2GMD1RNlHIalNrr9fsfHxu45 l0Ah6pmOyOXLSHaseUD2QJ3Ul9gm5gBqno+tvLzqXNu/7wJAfqx+8lJusrEvluX+lRal /xF3fU82M/XedOjP4oAOSUwbDUBCImuLcse8on7JBOAL70nn+jXOE0k61W+SiUPAOYMH sDDn5QqcUpnh3x4GoqZsDQeK78rO7H69/b70pZ80p/FuJOSyiExQl3wFPZSSYnZOPvQZ fidA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=+DkoAEEzEPOJ6mp4XN1cA+sKsqQVf3DoRuI0/hJ79R8=; b=SDbUsZhvxVlq36M3CIlTtaNQUdqMd18EoZ5bamR0waJRm8n5YsBlLOp8oXK+lE/+Pv HzE6Gv3PSEA9td5IE0oy++nI/xR0/p/PlJnNBjq/oIx9+o/1CefBv/ZxRc8zW9JkW4IH 4r9YunRuz80aZoAsaWp8gD0oMP8ZjcGYimCSRG52nm88T5Y4EcjbT7RZNXMwS94AN9oe l4fX8di4zBwDymfZ0gCaoz6esWkNaC3qQnFyJiWFmAPd5BYpZdB6RCgDmynbk4/YoXRQ Mgv3ufUl9pDrNZ1L/Ac5greh9Z9w3lbmCns64t3FJB6WL6gob5Ou02s/8i7Us3SYXU1G Etdg== X-Gm-Message-State: AMke39nQWet23aoM34f88t4Nt1Uw6LRmPOtvjo8Z1Je5GWBsYG9S8Er5G++wg61TrsK+nPFMwh3bbYfSTrwcWA== X-Received: by 10.202.241.70 with SMTP id p67mr8647990oih.67.1486912783048; Sun, 12 Feb 2017 07:19:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.182.245.131 with HTTP; Sun, 12 Feb 2017 07:19:42 -0800 (PST) From: John Le Brasseur Date: Sun, 12 Feb 2017 17:19:42 +0200 Message-ID: Subject: Getting, editing and (re-)Posting docs to update them: To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=94eb2c0950823ee806054856dc96 archived-at: Sun, 12 Feb 2017 15:19:48 -0000 --94eb2c0950823ee806054856dc96 Content-Type: text/plain; charset=UTF-8 Hi. I am getting(GET) all the docs from my database in order to try and update certain data in all of them and then POST the edited docs to update the database. However, the documents contain extra data which looks like this: "id": "d8d006c66c0e4555bf12e5d086003010", "key": "d8d006c66c0e4555bf12e5d086003010", "value": { "rev": "28-38526f3787b1fcedc82624419709c347" }, "doc": { .... This is followed by the actual document: "_id": "d8d006c66c0e4555bf12e5d086003010", "_rev": "28-38526f3787b1fcedc82624419709c347", ...........etc. Is there a way to get output without this data added? If not I presume one must remove this manually every time one wishes to edit documents. Many thanks. John --94eb2c0950823ee806054856dc96--