get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 806986,
    "url": "http://patchwork.ozlabs.org/api/patches/806986/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/1503991359-3353-4-git-send-email-wang.yong155@zte.com.cn/",
    "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": "<1503991359-3353-4-git-send-email-wang.yong155@zte.com.cn>",
    "list_archive_url": null,
    "date": "2017-08-29T07:22:39",
    "name": "[PATCHv5,03/03] colo-compare: Update the COLO document to add the IOThread configuration",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "79ff6676cc0e038bc2d8e3d634341eac1668b774",
    "submitter": {
        "id": 71740,
        "url": "http://patchwork.ozlabs.org/api/people/71740/?format=api",
        "name": "Wang yong",
        "email": "wang.yong155@zte.com.cn"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/1503991359-3353-4-git-send-email-wang.yong155@zte.com.cn/mbox/",
    "series": [
        {
            "id": 319,
            "url": "http://patchwork.ozlabs.org/api/series/319/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=319",
            "date": "2017-08-29T07:22:39",
            "name": null,
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/319/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/806986/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/806986/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>)",
        "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 3xhKrM1SVTz9t33\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 29 Aug 2017 17:23:58 +1000 (AEST)",
            "from localhost ([::1]:43198 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 1dmasN-0005Pr-AY\n\tfor incoming@patchwork.ozlabs.org; Tue, 29 Aug 2017 03:23:55 -0400",
            "from eggs.gnu.org ([2001:4830:134:3::10]:48542)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <wang.yong155@zte.com.cn>) id 1dmarr-0005Pc-FI\n\tfor qemu-devel@nongnu.org; Tue, 29 Aug 2017 03:23:25 -0400",
            "from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <wang.yong155@zte.com.cn>) id 1dmarm-0008Km-Ms\n\tfor qemu-devel@nongnu.org; Tue, 29 Aug 2017 03:23:23 -0400",
            "from mxhk.zte.com.cn ([63.217.80.70]:38379)\n\tby eggs.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <wang.yong155@zte.com.cn>) id 1dmarm-0008Hx-BO\n\tfor qemu-devel@nongnu.org; Tue, 29 Aug 2017 03:23:18 -0400",
            "from unknown (HELO mse01.zte.com.cn) (10.30.3.20)\n\tby localhost with (AES256-SHA encrypted) SMTP;\n\t29 Aug 2017 07:22:54 -0000",
            "from notes_smtp.zte.com.cn ([10.30.1.239])\n\tby mse01.zte.com.cn with ESMTP id v7T7Mkua052225;\n\tTue, 29 Aug 2017 15:22:46 +0800 (GMT-8)\n\t(envelope-from wang.yong155@zte.com.cn)",
            "from localhost.localdomain ([10.74.120.79])\n\tby szsmtp06.zte.com.cn (Lotus Domino Release 8.5.3FP6)\n\twith ESMTP id 2017082915224936-1055737 ;\n\tTue, 29 Aug 2017 15:22:49 +0800 "
        ],
        "X-scanvirus": "By SEG_CYREN AntiVirus Engine",
        "X-scanresult": "CLEAN",
        "X-MAILFROM": "<wang.yong155@zte.com.cn>",
        "X-RCPTTO": "<qemu-devel@nongnu.org>",
        "X-FROMIP": "10.30.3.20",
        "X-SEG-Scaned": "1",
        "X-Received": "unknown,10.30.3.20,20170829152254",
        "From": "Wang yong <wang.yong155@zte.com.cn>",
        "To": "pbonzini@redhat.com, stefanha@redhat.com, famz@redhat.com,\n\tjasowang@redhat.com, zhangchen.fnst@cn.fujitsu.com,\n\tzhang.zhanghailiang@huawei.com",
        "Date": "Tue, 29 Aug 2017 15:22:39 +0800",
        "Message-Id": "<1503991359-3353-4-git-send-email-wang.yong155@zte.com.cn>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1503991359-3353-1-git-send-email-wang.yong155@zte.com.cn>",
        "References": "<1503991359-3353-1-git-send-email-wang.yong155@zte.com.cn>",
        "X-MIMETrack": "Itemize by SMTP Server on SZSMTP06/server/zte_ltd(Release\n\t8.5.3FP6|November 21, 2013) at 2017-08-29 15:22:49,\n\tSerialize by Router on notes_smtp/zte_ltd(Release 9.0.1FP7|August 17,\n\t2016) at 2017-08-29 15:22:42,\n\tSerialize complete at 2017-08-29 15:22:42",
        "X-MAIL": "mse01.zte.com.cn v7T7Mkua052225",
        "X-HQIP": "127.0.0.1",
        "X-detected-operating-system": "by eggs.gnu.org: GNU/Linux 3.x [fuzzy]",
        "X-Received-From": "63.217.80.70",
        "Subject": "[Qemu-devel] [PATCHv5 03/03] colo-compare: Update the COLO document\n\tto add the IOThread configuration",
        "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": "qemu-devel@nongnu.org, wang.yong155@zte.com.cn, lizhijian@cn.fujitsu.com,\n\twang.guang55@zte.com.cn",
        "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": "From: Wang Yong <wang.yong155@zte.com.cn>\n\nUpdate colo-proxy.txt,add IOThread configuration.\nLater we have to configure IOThread,if not COLO can not work.\n\nSigned-off-by: Wang Yong <wang.yong155@zte.com.cn>\nSigned-off-by: Wang Guang <wang.guang55@zte.com.cn>\n---\n docs/colo-proxy.txt | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/docs/colo-proxy.txt b/docs/colo-proxy.txt\nindex c4941de..ce3f783 100644\n--- a/docs/colo-proxy.txt\n+++ b/docs/colo-proxy.txt\n@@ -170,10 +170,11 @@ Primary(ip:3.3.3.3):\n -chardev socket,id=compare0-0,host=3.3.3.3,port=9001\n -chardev socket,id=compare_out,host=3.3.3.3,port=9005,server,nowait\n -chardev socket,id=compare_out0,host=3.3.3.3,port=9005\n+-object iothread,id=iothread1\n -object filter-mirror,id=m0,netdev=hn0,queue=tx,outdev=mirror0\n -object filter-redirector,netdev=hn0,id=redire0,queue=rx,indev=compare_out\n -object filter-redirector,netdev=hn0,id=redire1,queue=rx,outdev=compare0\n--object colo-compare,id=comp0,primary_in=compare0-0,secondary_in=compare1,outdev=compare_out0\n+-object colo-compare,id=comp0,primary_in=compare0-0,secondary_in=compare1,outdev=compare_out0,iothread=iothread1\n \n Secondary(ip:3.3.3.8):\n -netdev tap,id=hn0,vhost=off,script=/etc/qemu-ifup,down script=/etc/qemu-ifdown\n",
    "prefixes": [
        "PATCHv5",
        "03/03"
    ]
}