get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 818534,
    "url": "http://patchwork.ozlabs.org/api/patches/818534/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/150642385177.3900.1958854094941574053.stgit@Misha-PC.lan02.inno/",
    "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": "<150642385177.3900.1958854094941574053.stgit@Misha-PC.lan02.inno>",
    "list_archive_url": null,
    "date": "2017-09-26T11:04:11",
    "name": "[01/43] windbg: added empty windbgstub files",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "28f765222396f5612704ac0185b81f19c4887526",
    "submitter": {
        "id": 71645,
        "url": "http://patchwork.ozlabs.org/api/people/71645/?format=api",
        "name": "Mikhail Abakumov",
        "email": "mikhail.abakumov@ispras.ru"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/150642385177.3900.1958854094941574053.stgit@Misha-PC.lan02.inno/mbox/",
    "series": [
        {
            "id": 5104,
            "url": "http://patchwork.ozlabs.org/api/series/5104/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=5104",
            "date": "2017-09-26T11:04:06",
            "name": "Windbg supporting",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/5104/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/818534/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/818534/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 3y1dSy6SbDz9t3Z\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 26 Sep 2017 21:07:14 +1000 (AEST)",
            "from localhost ([::1]:46698 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 1dwnhp-0004pL-06\n\tfor incoming@patchwork.ozlabs.org; Tue, 26 Sep 2017 07:07:13 -0400",
            "from eggs.gnu.org ([2001:4830:134:3::10]:58653)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <mikhail.abakumov@ispras.ru>) id 1dwnf2-0002yZ-Im\n\tfor qemu-devel@nongnu.org; Tue, 26 Sep 2017 07:04:26 -0400",
            "from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <mikhail.abakumov@ispras.ru>) id 1dwnew-00088Z-OQ\n\tfor qemu-devel@nongnu.org; Tue, 26 Sep 2017 07:04:20 -0400",
            "from mail.ispras.ru ([83.149.199.45]:51600)\n\tby eggs.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <mikhail.abakumov@ispras.ru>) id 1dwnew-00088E-8H\n\tfor qemu-devel@nongnu.org; Tue, 26 Sep 2017 07:04:14 -0400",
            "from Misha-PC.lan02.inno (unknown [85.142.117.226])\n\tby mail.ispras.ru (Postfix) with ESMTPSA id 4B84D54006D;\n\tTue, 26 Sep 2017 14:04:13 +0300 (MSK)"
        ],
        "From": "Mihail Abakumov <mikhail.abakumov@ispras.ru>",
        "To": "qemu-devel@nongnu.org",
        "Date": "Tue, 26 Sep 2017 14:04:11 +0300",
        "Message-ID": "<150642385177.3900.1958854094941574053.stgit@Misha-PC.lan02.inno>",
        "In-Reply-To": "<150642384156.3900.3326424823772221077.stgit@Misha-PC.lan02.inno>",
        "References": "<150642384156.3900.3326424823772221077.stgit@Misha-PC.lan02.inno>",
        "User-Agent": "StGit/0.17.1-dirty",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "7bit",
        "X-detected-operating-system": "by eggs.gnu.org: GNU/Linux 3.x [fuzzy]",
        "X-Received-From": "83.149.199.45",
        "Subject": "[Qemu-devel] [PATCH 01/43] windbg: added empty windbgstub files",
        "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": "sw@weilnetz.de, lprosek@redhat.com, dovgaluk@ispras.ru,\n\trkagan@virtuozzo.com, pbonzini@redhat.com, den@openvz.org",
        "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": "Signed-off-by: Mihail Abakumov <mikhail.abakumov@ispras.ru>\nSigned-off-by: Pavel Dovgalyuk <dovgaluk@ispras.ru>\nSigned-off-by: Dmitriy Koltunov <koltunov@ispras.ru>\n---\n Makefile.target                 |    5 +++++\n include/exec/windbgstub-utils.h |   18 ++++++++++++++++++\n include/exec/windbgstub.h       |   17 +++++++++++++++++\n windbgstub-utils.c              |   12 ++++++++++++\n windbgstub.c                    |   18 ++++++++++++++++++\n 5 files changed, 70 insertions(+)\n create mode 100755 include/exec/windbgstub-utils.h\n create mode 100755 include/exec/windbgstub.h\n create mode 100755 windbgstub-utils.c\n create mode 100755 windbgstub.c",
    "diff": "diff --git a/Makefile.target b/Makefile.target\nindex 7f42c45db8..0272b5e0ab 100644\n--- a/Makefile.target\n+++ b/Makefile.target\n@@ -148,6 +148,11 @@ obj-y += dump.o\n obj-y += migration/ram.o\n LIBS := $(libs_softmmu) $(LIBS)\n \n+# WinDbg support\n+ifeq ($(TARGET_NAME), i386)\n+obj-y += windbgstub.o windbgstub-utils.o\n+endif\n+\n # Hardware support\n ifeq ($(TARGET_NAME), sparc64)\n obj-y += hw/sparc64/\ndiff --git a/include/exec/windbgstub-utils.h b/include/exec/windbgstub-utils.h\nnew file mode 100755\nindex 0000000000..67d190bf6c\n--- /dev/null\n+++ b/include/exec/windbgstub-utils.h\n@@ -0,0 +1,18 @@\n+/*\n+ * windbgstub-utils.h\n+ *\n+ * Copyright (c) 2010-2017 Institute for System Programming\n+ *                         of the Russian Academy of Sciences.\n+ *\n+ * This work is licensed under the terms of the GNU GPL, version 2 or later.\n+ * See the COPYING file in the top-level directory.\n+ *\n+ */\n+\n+#ifndef WINDBGSTUB_UTILS_H\n+#define WINDBGSTUB_UTILS_H\n+\n+#include \"qemu/osdep.h\"\n+#include \"exec/windbgstub.h\"\n+\n+#endif\ndiff --git a/include/exec/windbgstub.h b/include/exec/windbgstub.h\nnew file mode 100755\nindex 0000000000..1a6e1cc6e5\n--- /dev/null\n+++ b/include/exec/windbgstub.h\n@@ -0,0 +1,17 @@\n+/*\n+ * windbgstub.h\n+ *\n+ * Copyright (c) 2010-2017 Institute for System Programming\n+ *                         of the Russian Academy of Sciences.\n+ *\n+ * This work is licensed under the terms of the GNU GPL, version 2 or later.\n+ * See the COPYING file in the top-level directory.\n+ *\n+ */\n+\n+#ifndef WINDBGSTUB_H\n+#define WINDBGSTUB_H\n+\n+int windbg_server_start(const char *device);\n+\n+#endif\ndiff --git a/windbgstub-utils.c b/windbgstub-utils.c\nnew file mode 100755\nindex 0000000000..dc5e505c63\n--- /dev/null\n+++ b/windbgstub-utils.c\n@@ -0,0 +1,12 @@\n+/*\n+ * windbgstub-utils.c\n+ *\n+ * Copyright (c) 2010-2017 Institute for System Programming\n+ *                         of the Russian Academy of Sciences.\n+ *\n+ * This work is licensed under the terms of the GNU GPL, version 2 or later.\n+ * See the COPYING file in the top-level directory.\n+ *\n+ */\n+\n+#include \"exec/windbgstub-utils.h\"\ndiff --git a/windbgstub.c b/windbgstub.c\nnew file mode 100755\nindex 0000000000..4951f59203\n--- /dev/null\n+++ b/windbgstub.c\n@@ -0,0 +1,18 @@\n+/*\n+ * windbgstub.c\n+ *\n+ * Copyright (c) 2010-2017 Institute for System Programming\n+ *                         of the Russian Academy of Sciences.\n+ *\n+ * This work is licensed under the terms of the GNU GPL, version 2 or later.\n+ * See the COPYING file in the top-level directory.\n+ *\n+ */\n+\n+#include \"qemu/osdep.h\"\n+#include \"exec/windbgstub.h\"\n+\n+int windbg_server_start(const char *device)\n+{\n+    return 0;\n+}\n",
    "prefixes": [
        "01/43"
    ]
}