get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 802411,
    "url": "http://patchwork.ozlabs.org/api/patches/802411/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1502956550-16638-1-git-send-email-andy.yan@rock-chips.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": "<1502956550-16638-1-git-send-email-andy.yan@rock-chips.com>",
    "list_archive_url": null,
    "date": "2017-08-17T07:55:50",
    "name": "[U-Boot,v2,2/2] armv8: mmu: add space around operator",
    "commit_ref": "347e30e1720ea6c0231f81d278b076a39280a314",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "1a050251f84fd57fd0027ceb9744607e2f4fef85",
    "submitter": {
        "id": 65124,
        "url": "http://patchwork.ozlabs.org/api/people/65124/?format=api",
        "name": "Andy Yan",
        "email": "andy.yan@rock-chips.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/1502956550-16638-1-git-send-email-andy.yan@rock-chips.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/802411/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/802411/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 3xXz9h6mTXz9t3Z\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 17 Aug 2017 17:58:32 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid AF6B3C21E7C; Thu, 17 Aug 2017 07:58:05 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 2587FC21F3A;\n\tThu, 17 Aug 2017 07:58:03 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid DEC6EC21F0B; Thu, 17 Aug 2017 07:56:01 +0000 (UTC)",
            "from regular1.263xmail.com (regular1.263xmail.com [211.150.99.141])\n\tby lists.denx.de (Postfix) with ESMTPS id 1E42BC21F36\n\tfor <u-boot@lists.denx.de>; Thu, 17 Aug 2017 07:56:01 +0000 (UTC)",
            "from andy.yan?rock-chips.com (unknown [192.168.167.163])\n\tby regular1.263xmail.com (Postfix) with ESMTP id B1E6C72;\n\tThu, 17 Aug 2017 15:55:57 +0800 (CST)",
            "from localhost.localdomain (localhost [127.0.0.1])\n\tby smtp.263.net (Postfix) with ESMTPA id 8CAC63CD;\n\tThu, 17 Aug 2017 15:55:55 +0800 (CST)",
            "from localhost.localdomain (unknown [58.22.7.114])\n\tby smtp.263.net (Postfix) whith ESMTP id 1921075VWIR;\n\tThu, 17 Aug 2017 15:55:57 +0800 (CST)"
        ],
        "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\tRCVD_IN_MSPIKE_H2 autolearn=unavailable autolearn_force=no\n\tversion=3.4.0",
        "X-263anti-spam": "KSV:0;",
        "X-MAIL-GRAY": "0",
        "X-MAIL-DELIVERY": "1",
        "X-KSVirus-check": "0",
        "X-ABS-CHECKED": "4",
        "X-RL-SENDER": "andy.yan@rock-chips.com",
        "X-FST-TO": "agraf@suse.de",
        "X-SENDER-IP": "58.22.7.114",
        "X-LOGIN-NAME": "andy.yan@rock-chips.com",
        "X-UNIQUE-TAG": "<809bf7dd324dd2cd686be83a832b070d>",
        "X-ATTACHMENT-NUM": "0",
        "X-SENDER": "yxj@rock-chips.com",
        "X-DNS-TYPE": "0",
        "From": "Andy Yan <andy.yan@rock-chips.com>",
        "To": "agraf@suse.de, andre.przywara@arm.com,\n\tphilipp.tomsich@theobroma-systems.com",
        "Date": "Thu, 17 Aug 2017 15:55:50 +0800",
        "Message-Id": "<1502956550-16638-1-git-send-email-andy.yan@rock-chips.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1502956501-16583-1-git-send-email-andy.yan@rock-chips.com>",
        "References": "<1502956501-16583-1-git-send-email-andy.yan@rock-chips.com>",
        "Cc": "u-boot@lists.denx.de, Andy Yan <andy.yan@rock-chips.com>",
        "Subject": "[U-Boot] [PATCH v2 2/2] armv8: mmu: add space around operator",
        "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>",
        "MIME-Version": "1.0",
        "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": "Add space around operator \"+\", make it\nmatch the coding style.\n\nSigned-off-by: Andy Yan <andy.yan@rock-chips.com>\n---\n\nChanges in v2: None\n\n arch/arm/include/asm/armv8/mmu.h | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/arch/arm/include/asm/armv8/mmu.h b/arch/arm/include/asm/armv8/mmu.h\nindex 7752741..6121aab 100644\n--- a/arch/arm/include/asm/armv8/mmu.h\n+++ b/arch/arm/include/asm/armv8/mmu.h\n@@ -16,7 +16,7 @@\n #undef  PAGE_SIZE\n #define PAGE_SHIFT\t\t12\n #define PAGE_SIZE\t\t(1 << PAGE_SHIFT)\n-#define PAGE_MASK\t\t(~(PAGE_SIZE-1))\n+#define PAGE_MASK\t\t(~(PAGE_SIZE - 1))\n \n /***************************************************************/\n \n",
    "prefixes": [
        "U-Boot",
        "v2",
        "2/2"
    ]
}