get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/808870/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 808870,
    "url": "http://patchwork.ozlabs.org/api/patches/808870/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20170901180340.30009-3-eblake@redhat.com/",
    "project": {
        "id": 14,
        "url": "http://patchwork.ozlabs.org/api/projects/14/?format=api",
        "name": "QEMU Development",
        "link_name": "qemu-devel",
        "list_id": "qemu-devel.nongnu.org",
        "list_email": "qemu-devel@nongnu.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20170901180340.30009-3-eblake@redhat.com>",
    "list_archive_url": null,
    "date": "2017-09-01T18:03:13",
    "name": "[v6,02/29] tests: Sort .gitignore",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "377d98b16dca69602fbdb015ae1aef636aefdca6",
    "submitter": {
        "id": 6591,
        "url": "http://patchwork.ozlabs.org/api/people/6591/?format=api",
        "name": "Eric Blake",
        "email": "eblake@redhat.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20170901180340.30009-3-eblake@redhat.com/mbox/",
    "series": [
        {
            "id": 1089,
            "url": "http://patchwork.ozlabs.org/api/series/1089/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=1089",
            "date": "2017-09-01T18:03:12",
            "name": "Preliminary libqtest cleanups",
            "version": 6,
            "mbox": "http://patchwork.ozlabs.org/series/1089/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/808870/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/808870/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=nongnu.org\n\t(client-ip=2001:4830:134:3::11; helo=lists.gnu.org;\n\tenvelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n\treceiver=<UNKNOWN>)",
            "ext-mx01.extmail.prod.ext.phx2.redhat.com;\n\tdmarc=none (p=none dis=none) header.from=redhat.com",
            "ext-mx01.extmail.prod.ext.phx2.redhat.com;\n\tspf=fail smtp.mailfrom=eblake@redhat.com"
        ],
        "Received": [
            "from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11])\n\t(using TLSv1 with cipher AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xkRw80hsxz9t2x\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat,  2 Sep 2017 04:04:40 +1000 (AEST)",
            "from localhost ([::1]:53076 helo=lists.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.71) (envelope-from\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>)\n\tid 1dnqJ4-00070K-3O\n\tfor incoming@patchwork.ozlabs.org; Fri, 01 Sep 2017 14:04:38 -0400",
            "from eggs.gnu.org ([2001:4830:134:3::10]:55599)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <eblake@redhat.com>) id 1dnqII-0006yf-S0\n\tfor qemu-devel@nongnu.org; Fri, 01 Sep 2017 14:03:51 -0400",
            "from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <eblake@redhat.com>) id 1dnqIG-0001Ry-LC\n\tfor qemu-devel@nongnu.org; Fri, 01 Sep 2017 14:03:50 -0400",
            "from mx1.redhat.com ([209.132.183.28]:52622)\n\tby eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)\n\t(Exim 4.71) (envelope-from <eblake@redhat.com>) id 1dnqIG-0001RU-Fr\n\tfor qemu-devel@nongnu.org; Fri, 01 Sep 2017 14:03:48 -0400",
            "from smtp.corp.redhat.com\n\t(int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby mx1.redhat.com (Postfix) with ESMTPS id 864B781E1D\n\tfor <qemu-devel@nongnu.org>; Fri,  1 Sep 2017 18:03:47 +0000 (UTC)",
            "from red.redhat.com (ovpn-121-149.rdu2.redhat.com [10.10.121.149])\n\tby smtp.corp.redhat.com (Postfix) with ESMTP id E6E4562929;\n\tFri,  1 Sep 2017 18:03:46 +0000 (UTC)"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.3.2 mx1.redhat.com 864B781E1D",
        "From": "Eric Blake <eblake@redhat.com>",
        "To": "qemu-devel@nongnu.org",
        "Date": "Fri,  1 Sep 2017 13:03:13 -0500",
        "Message-Id": "<20170901180340.30009-3-eblake@redhat.com>",
        "In-Reply-To": "<20170901180340.30009-1-eblake@redhat.com>",
        "References": "<20170901180340.30009-1-eblake@redhat.com>",
        "X-Scanned-By": "MIMEDefang 2.79 on 10.5.11.15",
        "X-Greylist": "Sender IP whitelisted, not delayed by milter-greylist-4.5.16\n\t(mx1.redhat.com [10.5.110.25]);\n\tFri, 01 Sep 2017 18:03:47 +0000 (UTC)",
        "X-detected-operating-system": "by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]\n\t[fuzzy]",
        "X-Received-From": "209.132.183.28",
        "Subject": "[Qemu-devel] [PATCH v6 02/29] tests: Sort .gitignore",
        "X-BeenThere": "qemu-devel@nongnu.org",
        "X-Mailman-Version": "2.1.21",
        "Precedence": "list",
        "List-Id": "<qemu-devel.nongnu.org>",
        "List-Unsubscribe": "<https://lists.nongnu.org/mailman/options/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.nongnu.org/archive/html/qemu-devel/>",
        "List-Post": "<mailto:qemu-devel@nongnu.org>",
        "List-Help": "<mailto:qemu-devel-request@nongnu.org?subject=help>",
        "List-Subscribe": "<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=subscribe>",
        "Cc": "pbonzini@redhat.com, armbru@redhat.com",
        "Errors-To": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org",
        "Sender": "\"Qemu-devel\"\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>"
    },
    "content": "It doesn't matter if things are unsorted, but finding stuff in a list\nis easier when it is sorted.  (Sorted under LC_ALL=C rules, rather than\nen_US.UTF-8).\n\nSigned-off-by: Eric Blake <eblake@redhat.com>\n---\n tests/.gitignore | 30 +++++++++++++++---------------\n 1 file changed, 15 insertions(+), 15 deletions(-)",
    "diff": "diff --git a/tests/.gitignore b/tests/.gitignore\nindex 64ecd6683b..8d35a58751 100644\n--- a/tests/.gitignore\n+++ b/tests/.gitignore\n@@ -1,25 +1,27 @@\n+*-test\n atomic_add-bench\n benchmark-crypto-cipher\n benchmark-crypto-hash\n benchmark-crypto-hmac\n check-qdict\n-check-qnum\n check-qjson\n check-qlist\n check-qnull\n-check-qstring\n+check-qnum\n check-qom-interface\n check-qom-proplist\n-multiboot/test.out\n+check-qstring\n multiboot/*.elf\n+multiboot/test.out\n+qapi-schema/*.test.*\n qht-bench\n rcutorture\n test-aio\n test-aio-multithread\n test-arm-mptimer\n test-base64\n-test-bitops\n test-bitcnt\n+test-bitops\n test-blockjob\n test-blockjob-txn\n test-bufferiszero\n@@ -35,18 +37,19 @@ test-crypto-ivgen\n test-crypto-pbkdf\n test-crypto-secret\n test-crypto-tlscredsx509\n-test-crypto-tlscredsx509-work/\n test-crypto-tlscredsx509-certs/\n+test-crypto-tlscredsx509-work/\n test-crypto-tlssession\n-test-crypto-tlssession-work/\n test-crypto-tlssession-client/\n test-crypto-tlssession-server/\n+test-crypto-tlssession-work/\n test-crypto-xts\n test-cutils\n+test-filter-mirror\n+test-filter-redirector\n test-hbitmap\n test-hmp\n test-int128\n-test-iov\n test-io-channel-buffer\n test-io-channel-command\n test-io-channel-command.fifo\n@@ -55,27 +58,29 @@ test-io-channel-file.txt\n test-io-channel-socket\n test-io-channel-tls\n test-io-task\n+test-iov\n test-keyval\n test-logging\n test-mul64\n+test-netfilter\n test-opts-visitor\n test-qapi-event.[ch]\n test-qapi-types.[ch]\n test-qapi-util\n test-qapi-visit.[ch]\n test-qdev-global-props\n-test-qemu-opts\n test-qdist\n+test-qemu-opts\n test-qga\n test-qht\n test-qht-par\n test-qmp-commands\n test-qmp-commands.h\n test-qmp-event\n-test-qobject-input-strict\n-test-qobject-input-visitor\n test-qmp-introspect.[ch]\n test-qmp-marshal.c\n+test-qobject-input-strict\n+test-qobject-input-visitor\n test-qobject-output-visitor\n test-rcu-list\n test-replication\n@@ -92,8 +97,3 @@ test-write-threshold\n test-x86-cpuid\n test-x86-cpuid-compat\n test-xbzrle\n-test-netfilter\n-test-filter-mirror\n-test-filter-redirector\n-*-test\n-qapi-schema/*.test.*\n",
    "prefixes": [
        "v6",
        "02/29"
    ]
}