get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 809128,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/809128/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-gpio/patch/1504373178-1022-1-git-send-email-yamada.masahiro@socionext.com/",
    "project": {
        "id": 42,
        "url": "http://patchwork.ozlabs.org/api/1.2/projects/42/?format=api",
        "name": "Linux GPIO development",
        "link_name": "linux-gpio",
        "list_id": "linux-gpio.vger.kernel.org",
        "list_email": "linux-gpio@vger.kernel.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<1504373178-1022-1-git-send-email-yamada.masahiro@socionext.com>",
    "list_archive_url": null,
    "date": "2017-09-02T17:26:18",
    "name": "pinctrl: uniphier: include <linux/build_bug.h> instead of <linux/bug.h>",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "4111c0e09921d3350d8f02c2db4842791565428f",
    "submitter": {
        "id": 65882,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/65882/?format=api",
        "name": "Masahiro Yamada",
        "email": "yamada.masahiro@socionext.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-gpio/patch/1504373178-1022-1-git-send-email-yamada.masahiro@socionext.com/mbox/",
    "series": [
        {
            "id": 1169,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/1169/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-gpio/list/?series=1169",
            "date": "2017-09-02T17:26:18",
            "name": "pinctrl: uniphier: include <linux/build_bug.h> instead of <linux/bug.h>",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/1169/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/809128/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/809128/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<linux-gpio-owner@vger.kernel.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=linux-gpio-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=nifty.com header.i=@nifty.com\n\theader.b=\"MDzBHfPa\"; dkim-atps=neutral"
        ],
        "Received": [
            "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xl32d3qS4z9s7M\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun,  3 Sep 2017 03:27:21 +1000 (AEST)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751596AbdIBR1T (ORCPT <rfc822;incoming@patchwork.ozlabs.org>);\n\tSat, 2 Sep 2017 13:27:19 -0400",
            "from conuserg-09.nifty.com ([210.131.2.76]:47476 \"EHLO\n\tconuserg-09.nifty.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1751436AbdIBR1S (ORCPT\n\t<rfc822; linux-gpio@vger.kernel.org>); Sat, 2 Sep 2017 13:27:18 -0400",
            "from grover.sesame (FL1-122-131-185-176.osk.mesh.ad.jp\n\t[122.131.185.176]) (authenticated)\n\tby conuserg-09.nifty.com with ESMTP id v82HQMLS004952;\n\tSun, 3 Sep 2017 02:26:22 +0900"
        ],
        "DKIM-Filter": "OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v82HQMLS004952",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com;\n\ts=dec2015msa; t=1504373182;\n\tbh=H6Ps/SsPj8+OJoVSOxqP7M+c8TCtqDBHwCiPNSDU/QM=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=MDzBHfPaVH5MqrsDUYZdUUkCwtZespW9GII5AR9vrcgdTapDoP+1+R05R+Pstm306\n\tZje23224MZdzU4LgCr81MviEYXlUHhy0/7xmotsCCzIyckVhYVRzQlmvAfczVtedBD\n\tzQwfJNKhg/5xRb6ZLnZxuHWuCYwiL1Rml5zeMUdWFrRtXMZf24dw8m14fQ8hBLjit8\n\tNeehiCgU/IozPTJhKi3VcMHkRkh9RAwufQlRPHEyba2/zbqOaitmcpivWIF+Q63h/n\n\tllhOxWUzPrxzz8N/nracdJeRRvLyamb0zeQPdSQ5uXHqzlzsLuVafcCkxcyYwRmeYM\n\tskr/O955Ulgwg==",
        "X-Nifty-SrcIP": "[122.131.185.176]",
        "From": "Masahiro Yamada <yamada.masahiro@socionext.com>",
        "To": "linux-gpio@vger.kernel.org",
        "Cc": "Masahiro Yamada <yamada.masahiro@socionext.com>,\n\tLinus Walleij <linus.walleij@linaro.org>,\n\tlinux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org",
        "Subject": "[PATCH] pinctrl: uniphier: include <linux/build_bug.h> instead of\n\t<linux/bug.h>",
        "Date": "Sun,  3 Sep 2017 02:26:18 +0900",
        "Message-Id": "<1504373178-1022-1-git-send-email-yamada.masahiro@socionext.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "Sender": "linux-gpio-owner@vger.kernel.org",
        "Precedence": "bulk",
        "List-ID": "<linux-gpio.vger.kernel.org>",
        "X-Mailing-List": "linux-gpio@vger.kernel.org"
    },
    "content": "The #includes <linux/bug.h> is here to use BUILD_BUG_ON_ZERO().\n\nThanks to commit bc6245e5efd7 (\"bug: split BUILD_BUG stuff out into\n<linux/build_bug.h>\"), it is now possible to reduce the number of\nheaders pulled in.\n\nSigned-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>\n---\n\n drivers/pinctrl/uniphier/pinctrl-uniphier.h | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/pinctrl/uniphier/pinctrl-uniphier.h b/drivers/pinctrl/uniphier/pinctrl-uniphier.h\nindex c075ecb8e5db..0a3d2ac27503 100644\n--- a/drivers/pinctrl/uniphier/pinctrl-uniphier.h\n+++ b/drivers/pinctrl/uniphier/pinctrl-uniphier.h\n@@ -17,7 +17,7 @@\n #define __PINCTRL_UNIPHIER_H__\n \n #include <linux/bitops.h>\n-#include <linux/bug.h>\n+#include <linux/build_bug.h>\n #include <linux/kernel.h>\n #include <linux/types.h>\n \n",
    "prefixes": []
}