get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 814359,
    "url": "http://patchwork.ozlabs.org/api/patches/814359/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20170915183554.11531-1-paul.burton@imgtec.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": "<20170915183554.11531-1-paul.burton@imgtec.com>",
    "list_archive_url": null,
    "date": "2017-09-15T18:35:54",
    "name": "[U-Boot] MIPS: Drop unused PTR_COUNT_SHIFT from u-boot.lds",
    "commit_ref": "73780b012e2794246046a81ef7d2122454bf249f",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "0802be8cf0a727b0dcfd85d140e6d9b49255118f",
    "submitter": {
        "id": 33698,
        "url": "http://patchwork.ozlabs.org/api/people/33698/?format=api",
        "name": "Paul Burton",
        "email": "paul.burton@imgtec.com"
    },
    "delegate": {
        "id": 4307,
        "url": "http://patchwork.ozlabs.org/api/users/4307/?format=api",
        "username": "danielschwierzeck",
        "first_name": "Daniel",
        "last_name": "Schwierzeck",
        "email": "daniel.schwierzeck@googlemail.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20170915183554.11531-1-paul.burton@imgtec.com/mbox/",
    "series": [
        {
            "id": 3353,
            "url": "http://patchwork.ozlabs.org/api/series/3353/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=3353",
            "date": "2017-09-15T18:35:54",
            "name": "[U-Boot] MIPS: Drop unused PTR_COUNT_SHIFT from u-boot.lds",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/3353/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/814359/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/814359/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 3xv3yY2P7yz9sxR\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 16 Sep 2017 04:36:37 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid E010AC21D7D; Fri, 15 Sep 2017 18:36:27 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 70E78C21C72;\n\tFri, 15 Sep 2017 18:36:25 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 330A0C21C72; Fri, 15 Sep 2017 18:36:24 +0000 (UTC)",
            "from mailapp01.imgtec.com (mailapp01.imgtec.com [195.59.15.196])\n\tby lists.denx.de (Postfix) with ESMTP id E32E4C21C3C\n\tfor <u-boot@lists.denx.de>; Fri, 15 Sep 2017 18:36:23 +0000 (UTC)",
            "from hhmail02.hh.imgtec.org (unknown [10.100.10.20])\n\tby Forcepoint Email with ESMTPS id 2BC43AC02D422;\n\tFri, 15 Sep 2017 19:36:19 +0100 (IST)",
            "from localhost (10.20.1.88) by hhmail02.hh.imgtec.org\n\t(10.100.10.21) with Microsoft SMTP Server (TLS) id 14.3.294.0;\n\tFri, 15 Sep 2017 19:36:22 +0100"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE\n\tautolearn=unavailable autolearn_force=no version=3.4.0",
        "From": "Paul Burton <paul.burton@imgtec.com>",
        "To": "<u-boot@lists.denx.de>",
        "Date": "Fri, 15 Sep 2017 11:35:54 -0700",
        "Message-ID": "<20170915183554.11531-1-paul.burton@imgtec.com>",
        "X-Mailer": "git-send-email 2.14.1",
        "MIME-Version": "1.0",
        "X-Originating-IP": "[10.20.1.88]",
        "Subject": "[U-Boot] [PATCH] MIPS: Drop unused PTR_COUNT_SHIFT from u-boot.lds",
        "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 u-boot.lds linker script for MIPS defines a PTR_COUNT_SHIFT macro to\n2 or 3 for 32 bit or 64 bit builds respectively. This macro is never\nactually used though, so remove the dead code.\n\nSigned-off-by: Paul Burton <paul.burton@imgtec.com>\nCc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>\n---\n\n arch/mips/cpu/u-boot.lds | 6 ------\n 1 file changed, 6 deletions(-)",
    "diff": "diff --git a/arch/mips/cpu/u-boot.lds b/arch/mips/cpu/u-boot.lds\nindex bd5536f013..fc943af923 100644\n--- a/arch/mips/cpu/u-boot.lds\n+++ b/arch/mips/cpu/u-boot.lds\n@@ -5,12 +5,6 @@\n  * SPDX-License-Identifier:\tGPL-2.0+\n  */\n \n-#if defined(CONFIG_64BIT)\n-#define PTR_COUNT_SHIFT\t3\n-#else\n-#define PTR_COUNT_SHIFT\t2\n-#endif\n-\n OUTPUT_ARCH(mips)\n ENTRY(_start)\n SECTIONS\n",
    "prefixes": [
        "U-Boot"
    ]
}