get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 805819,
    "url": "http://patchwork.ozlabs.org/api/patches/805819/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1503644789-37189-1-git-send-email-wilson.lee@ni.com/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api",
        "name": "U-Boot",
        "link_name": "uboot",
        "list_id": "u-boot.lists.denx.de",
        "list_email": "u-boot@lists.denx.de",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<1503644789-37189-1-git-send-email-wilson.lee@ni.com>",
    "list_archive_url": null,
    "date": "2017-08-25T07:06:29",
    "name": "[U-Boot] common: console: Fix duplicated CONFIG in silent env callback",
    "commit_ref": "5daf6e56d36ccbdb7a3b160f9bd0f0c572c18eaf",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "98c7d9635cb1083778a424dd5514763bce2ca028",
    "submitter": {
        "id": 72217,
        "url": "http://patchwork.ozlabs.org/api/people/72217/?format=api",
        "name": "Wilson Lee",
        "email": "wilson.lee@ni.com"
    },
    "delegate": {
        "id": 3651,
        "url": "http://patchwork.ozlabs.org/api/users/3651/?format=api",
        "username": "trini",
        "first_name": "Tom",
        "last_name": "Rini",
        "email": "trini@ti.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1503644789-37189-1-git-send-email-wilson.lee@ni.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/805819/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/805819/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<u-boot-bounces@lists.denx.de>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Authentication-Results": "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)",
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xdyFB6h8fz9sDB\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 25 Aug 2017 20:33:50 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid A738DC21EE1; Fri, 25 Aug 2017 10:33:21 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 42D7FC21E88;\n\tFri, 25 Aug 2017 10:33:00 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 0B252C21E09; Fri, 25 Aug 2017 07:06:41 +0000 (UTC)",
            "from mx0b-00010702.pphosted.com (mx0b-00010702.pphosted.com\n\t[148.163.158.57])\n\tby lists.denx.de (Postfix) with ESMTPS id 73F3CC21DFE\n\tfor <u-boot@lists.denx.de>; Fri, 25 Aug 2017 07:06:41 +0000 (UTC)",
            "from pps.filterd (m0098779.ppops.net [127.0.0.1])\n\tby mx0b-00010702.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id\n\tv7P76ZWF026385\n\tfor <u-boot@lists.denx.de>; Fri, 25 Aug 2017 02:06:40 -0500",
            "from ni.com (skprod3.natinst.com [130.164.80.24])\n\tby mx0b-00010702.pphosted.com with ESMTP id 2cjf1m83ac-1\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256\n\tverify=NOT)\n\tfor <u-boot@lists.denx.de>; Fri, 25 Aug 2017 02:06:39 -0500",
            "from us-aus-exhub2.ni.corp.natinst.com\n\t(us-aus-exhub2.ni.corp.natinst.com [130.164.68.32])\n\tby us-aus-skprod3.natinst.com (8.16.0.17/8.16.0.17) with ESMTPS id\n\tv7P76dJE013247\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n\tfor <u-boot@lists.denx.de>; Fri, 25 Aug 2017 02:06:39 -0500",
            "from us-aus-exhub1.ni.corp.natinst.com (130.164.68.41) by\n\tus-aus-exhub2.ni.corp.natinst.com (130.164.68.32) with Microsoft SMTP\n\tServer (TLS) id 15.0.1156.6; Fri, 25 Aug 2017 02:06:39 -0500",
            "from ubuntu.apac.corp.natinst.com (130.164.49.7) by\n\tus-aus-exhub1.ni.corp.natinst.com (130.164.68.41) with Microsoft SMTP\n\tServer\n\tid 15.0.1156.6 via Frontend Transport; Fri, 25 Aug 2017 02:06:37 -0500"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW\n\tautolearn=unavailable autolearn_force=no version=3.4.0",
        "From": "Wilson Lee <wilson.lee@ni.com>",
        "To": "<u-boot@lists.denx.de>",
        "Date": "Fri, 25 Aug 2017 00:06:29 -0700",
        "Message-ID": "<1503644789-37189-1-git-send-email-wilson.lee@ni.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "MIME-Version": "1.0",
        "X-Proofpoint-Virus-Version": "vendor=fsecure engine=2.50.10432:, ,\n\tdefinitions=2017-08-25_02:, , signatures=0",
        "X-Proofpoint-Spam-Details": "rule=outbound_policy_notspam\n\tpolicy=outbound_policy score=30\n\tpriorityscore=1501 malwarescore=0 suspectscore=4 phishscore=0\n\tbulkscore=0\n\tspamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0\n\tadultscore=0\n\tclassifier=spam adjust=30 reason=mlx scancount=1\n\tengine=8.0.1-1707230000\n\tdefinitions=main-1708250107",
        "X-Mailman-Approved-At": "Fri, 25 Aug 2017 10:32:58 +0000",
        "Cc": "Joe Hershberger <joe.hershberger@ni.com>,\n\tChen Yee Chew <chen.yee.chew@ni.com>, Wilson Lee <wilson.lee@ni.com>",
        "Subject": "[U-Boot] [PATCH] common: console: Fix duplicated CONFIG in silent\n\tenv callback",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.18",
        "Precedence": "list",
        "List-Id": "U-Boot discussion <u-boot.lists.denx.de>",
        "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>",
        "List-Archive": "<http://lists.denx.de/pipermail/u-boot/>",
        "List-Post": "<mailto:u-boot@lists.denx.de>",
        "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>",
        "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "base64",
        "Errors-To": "u-boot-bounces@lists.denx.de",
        "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>"
    },
    "content": "The silent environment callback function does not update the silent\nflag during silent env set or unset. That is because of duplicated\nCONFIG keyword at preprocessor condition in silent environment\ncallback function and cause silent env callback unable to work.\n\nThis patch is to remove the duplicated CONFIG keywork in silent\nenvironment callback function.\n\nSigned-off-by: Wilson Lee <wilson.lee@ni.com>\nCc: Keng Soon Cheah <keng.soon.cheah@ni.com>\nCc: Chen Yee Chew <chen.yee.chew@ni.com>\nCc: Joe Hershberger <joe.hershberger@ni.com>\n---\n\n common/console.c | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/common/console.c b/common/console.c\nindex 3167921..f83528c 100644\n--- a/common/console.c\n+++ b/common/console.c\n@@ -68,11 +68,11 @@ U_BOOT_ENV_CALLBACK(console, on_console);\n static int on_silent(const char *name, const char *value, enum env_op op,\n \tint flags)\n {\n-#if !CONFIG_IS_ENABLED(CONFIG_SILENT_CONSOLE_UPDATE_ON_SET)\n+#if !CONFIG_IS_ENABLED(SILENT_CONSOLE_UPDATE_ON_SET)\n \tif (flags & H_INTERACTIVE)\n \t\treturn 0;\n #endif\n-#if !CONFIG_IS_ENABLED(CONFIG_SILENT_CONSOLE_UPDATE_ON_RELOC)\n+#if !CONFIG_IS_ENABLED(SILENT_CONSOLE_UPDATE_ON_RELOC)\n \tif ((flags & H_INTERACTIVE) == 0)\n \t\treturn 0;\n #endif\n",
    "prefixes": [
        "U-Boot"
    ]
}