get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 906571,
    "url": "http://patchwork.ozlabs.org/api/patches/906571/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20180430083423.72500-1-manu@freebsd.org/",
    "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": "<20180430083423.72500-1-manu@freebsd.org>",
    "list_archive_url": null,
    "date": "2018-04-30T08:34:23",
    "name": "[U-Boot,1/5] arch: Add SYS_HAVE_DCACHE_MAINTENANCE and SYS_HAVE_ICACHE_MAINTENANCE",
    "commit_ref": null,
    "pull_url": null,
    "state": "deferred",
    "archived": false,
    "hash": "b282a5981f4287451a149ebad5b7491d11f93d85",
    "submitter": {
        "id": 69285,
        "url": "http://patchwork.ozlabs.org/api/people/69285/?format=api",
        "name": "Emmanuel Vadot",
        "email": "manu@freebsd.org"
    },
    "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/20180430083423.72500-1-manu@freebsd.org/mbox/",
    "series": [
        {
            "id": 41741,
            "url": "http://patchwork.ozlabs.org/api/series/41741/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=41741",
            "date": "2018-04-30T08:34:23",
            "name": "[U-Boot,1/5] arch: Add SYS_HAVE_DCACHE_MAINTENANCE and SYS_HAVE_ICACHE_MAINTENANCE",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/41741/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/906571/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/906571/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>)",
            "ozlabs.org;\n\tdmarc=none (p=none dis=none) header.from=freebsd.org"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 40ZJF90lLjz9s0W\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 30 Apr 2018 18:51:57 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid A5127C21E90; Mon, 30 Apr 2018 08:42:14 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 40527C21F4A;\n\tMon, 30 Apr 2018 08:35:30 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid AF2B4C21F0B; Mon, 30 Apr 2018 08:34:31 +0000 (UTC)",
            "from mail.blih.net (mail.blih.net [212.83.177.182])\n\tby lists.denx.de (Postfix) with ESMTPS id 75113C21F51\n\tfor <u-boot@lists.denx.de>; Mon, 30 Apr 2018 08:34:25 +0000 (UTC)",
            "from mail.blih.net (mail.blih.net [212.83.177.182])\n\tby mail.blih.net (OpenSMTPD) with ESMTP id 1eb14bb2\n\tfor <u-boot@lists.denx.de>; Mon, 30 Apr 2018 10:34:25 +0200 (CEST)",
            "from wopr.blih.net (62-210-199-19.rev.poneytelecom.eu\n\t[62.210.199.19])\n\tby mail.blih.net (OpenSMTPD) with ESMTPSA id f64baf42\n\tTLS version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO\n\tfor <u-boot@lists.denx.de>; Mon, 30 Apr 2018 10:34:24 +0200 (CEST)",
            "from elbarto (uid 1001) (envelope-from manu@bidouilliste.com)\n\tid 7c990 by wopr.blih.net (DragonFly Mail Agent v0.11);\n\tMon, 30 Apr 2018 10:34:24 +0200"
        ],
        "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=UNPARSEABLE_RELAY\n\tautolearn=unavailable autolearn_force=no version=3.4.0",
        "From": "Emmanuel Vadot <manu@freebsd.org>",
        "To": "sjg@chromium.org, bmeng.cn@gmail.com, andriy.shevchenko@linux.intel.com, \n\trick@andestech.com, philipp.tomsich@theobroma-systems.com,\n\talbert.u.boot@aribaud.net, xypron.glpk@gmx.de",
        "Date": "Mon, 30 Apr 2018 10:34:23 +0200",
        "Message-Id": "<20180430083423.72500-1-manu@freebsd.org>",
        "X-Mailer": "git-send-email 2.16.3",
        "Cc": "u-boot@lists.denx.de",
        "Subject": "[U-Boot] [PATCH 1/5] arch: Add SYS_HAVE_DCACHE_MAINTENANCE and\n\tSYS_HAVE_ICACHE_MAINTENANCE",
        "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 some Kconfig option to notify that the arch implementation have\nsome cache maintenance function available.\n\nSigned-off-by: Emmanuel Vadot <manu@freebsd.org>\n---\n arch/Kconfig | 12 ++++++++++++\n 1 file changed, 12 insertions(+)",
    "diff": "diff --git a/arch/Kconfig b/arch/Kconfig\nindex e599e7a39c..a9fd13aa25 100644\n--- a/arch/Kconfig\n+++ b/arch/Kconfig\n@@ -191,6 +191,18 @@ config SYS_CONFIG_NAME\n \t  The header file include/configs/<CONFIG_SYS_CONFIG_NAME>.h\n \t  should be included from include/config.h.\n \n+config SYS_HAVE_DCACHE_MAINTENANCE\n+\tbool\n+\thelp\n+\t  This option should be enabled if the arch have data cache\n+\t  maintenance routines.\n+\n+config SYS_HAVE_ICACHE_MAINTENANCE\n+\tbool\n+\thelp\n+\t  This option should be enabled if the arch have intruction cache\n+\t  maintenance routines.\n+\n source \"arch/arc/Kconfig\"\n source \"arch/arm/Kconfig\"\n source \"arch/m68k/Kconfig\"\n",
    "prefixes": [
        "U-Boot",
        "1/5"
    ]
}