get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 810372,
    "url": "http://patchwork.ozlabs.org/api/patches/810372/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1504664087-26473-9-git-send-email-kever.yang@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": "<1504664087-26473-9-git-send-email-kever.yang@rock-chips.com>",
    "list_archive_url": null,
    "date": "2017-09-06T02:14:35",
    "name": "[U-Boot,08/10] rockchip: evb-rk3229: add fit source file for itb",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "5f3ebcf6be9cdaaec3d1cb9a54c999752c3b7b74",
    "submitter": {
        "id": 64532,
        "url": "http://patchwork.ozlabs.org/api/people/64532/?format=api",
        "name": "Kever Yang",
        "email": "kever.yang@rock-chips.com"
    },
    "delegate": {
        "id": 69486,
        "url": "http://patchwork.ozlabs.org/api/users/69486/?format=api",
        "username": "ptomsich",
        "first_name": "Philipp",
        "last_name": "Tomsich",
        "email": "philipp.tomsich@theobroma-systems.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1504664087-26473-9-git-send-email-kever.yang@rock-chips.com/mbox/",
    "series": [
        {
            "id": 1682,
            "url": "http://patchwork.ozlabs.org/api/series/1682/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=1682",
            "date": "2017-09-06T02:14:28",
            "name": "rockchip: add tpl and OPTEE support for rk3229",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/1682/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/810372/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/810372/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\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"viAan1qo\"; dkim-atps=neutral"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xn6kJ1TxBz9t2R\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed,  6 Sep 2017 12:20:24 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid EF671C21DBA; Wed,  6 Sep 2017 02:17:25 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id C5B42C21E98;\n\tWed,  6 Sep 2017 02:16:36 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 68D34C21E13; Wed,  6 Sep 2017 02:15:42 +0000 (UTC)",
            "from mail-pf0-f194.google.com (mail-pf0-f194.google.com\n\t[209.85.192.194])\n\tby lists.denx.de (Postfix) with ESMTPS id A4DBDC21D94\n\tfor <u-boot@lists.denx.de>; Wed,  6 Sep 2017 02:15:38 +0000 (UTC)",
            "by mail-pf0-f194.google.com with SMTP id f84so543575pfj.3\n\tfor <u-boot@lists.denx.de>; Tue, 05 Sep 2017 19:15:38 -0700 (PDT)",
            "from localhost.localdomain ([58.22.7.114])\n\tby smtp.gmail.com with ESMTPSA id\n\tz30sm362126pfg.54.2017.09.05.19.15.35\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tTue, 05 Sep 2017 19:15:36 -0700 (PDT)"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de",
        "X-Spam-Level": "*",
        "X-Spam-Status": "No, score=1.9 required=5.0 tests=RCVD_IN_BL_SPAMCOP_NET,\n\tRCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, RCVD_IN_SORBS_WEB,\n\tT_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=sender:from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=0Mx22jGXsSk7EvbSFTu81x4SFatdnvjOJKfm768Zq5A=;\n\tb=viAan1qoNqU5vewv8Hw63mvvLn/LxVo5qVpAPrYqyFdrxNVADBb7wPQRvRmxhq6b4l\n\twdBJLvDhVIDsWtjy/w05WAErJULerpFVk2Jm4K0oi1SvdelHGKYA0YenvCGFnqv+yTY8\n\tbT7eam2jKSRgyheRYTwSHnE8gCh2L2wikwWV3/fqZyYToiDJsmilv+aAmCjFxr9u5Eqs\n\tvFm+tLjdSufGgATMCsAILpZquli7lLQgkq8po6P5x6SNAlIioNwX5VEbBttfvKGFJw9L\n\tEFVU7DXe2odaSSR29cPSuINRuluqkPK8vy4AiD7cAetF1FucVD8fXQJZ+dQhNJOSGoeu\n\tNREw==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:sender:from:to:cc:subject:date:message-id\n\t:in-reply-to:references;\n\tbh=0Mx22jGXsSk7EvbSFTu81x4SFatdnvjOJKfm768Zq5A=;\n\tb=bTFtxj4ixZWdq3XfCHnYK5StM0e77l6uGLJOuEFD/QklM272Bz0cktsQJYAW7xKKri\n\tjmS4pPKzn4NvWe9qaRf4SQdRgDFCgJS6Rn18i89xTOnkamjpUHr8I9qjcvd5pdFrXT58\n\tg1onaPk0C+o3UkkuU7yM13awkcbaArbVspUXiNRtmZSJBubR0q9sQdM+GHs5/0JZuHfH\n\tgSrDXzqg60kulIhQa4y0R+sq6dcp+NkV0VIgA7gs6ei7e2fKeIvhCAz+hMa9e7+rr1zG\n\tuf7RSvqWONvLQGfGPV6F02RC6i7rZbAZud8kNQ4GgUsQOJ+SaTkhnQRlIrAUZ/PQO37N\n\tkTkQ==",
        "X-Gm-Message-State": "AHPjjUjU2EGS0h62JTtRPVo916e2RqScxwMqFdRGLixp00zeu9ZmnUz3\n\tps48mXuwdWWKHg1W",
        "X-Google-Smtp-Source": "ADKCNb6Op3S3hzVJs/zWF2kPr/JLr62uwsD8/UNmd0SbNGTOb9CLKGDHZEC5GY1ppPgE0Z2CLI7Reg==",
        "X-Received": "by 10.101.77.197 with SMTP id q5mr5977621pgt.108.1504664137145; \n\tTue, 05 Sep 2017 19:15:37 -0700 (PDT)",
        "From": "Kever Yang <kever.yang@rock-chips.com>",
        "To": "u-boot@lists.denx.de",
        "Date": "Wed,  6 Sep 2017 10:14:35 +0800",
        "Message-Id": "<1504664087-26473-9-git-send-email-kever.yang@rock-chips.com>",
        "X-Mailer": "git-send-email 1.9.1",
        "In-Reply-To": "<1504664087-26473-1-git-send-email-kever.yang@rock-chips.com>",
        "References": "<1504664087-26473-1-git-send-email-kever.yang@rock-chips.com>",
        "Cc": "vagrant@debian.org",
        "Subject": "[U-Boot] [PATCH 08/10] rockchip: evb-rk3229: add fit source file\n\tfor itb",
        "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": "We package U-Boot and OP-TEE into one itb file for SPL,\nso that we can support OP-TEE in SPL.\n\nSigned-off-by: Kever Yang <kever.yang@rock-chips.com>\n---\n\n board/rockchip/evb_rk3229/fit_spl_optee.its | 48 +++++++++++++++++++++++++++++\n 1 file changed, 48 insertions(+)\n create mode 100644 board/rockchip/evb_rk3229/fit_spl_optee.its",
    "diff": "diff --git a/board/rockchip/evb_rk3229/fit_spl_optee.its b/board/rockchip/evb_rk3229/fit_spl_optee.its\nnew file mode 100644\nindex 0000000..ed93d44\n--- /dev/null\n+++ b/board/rockchip/evb_rk3229/fit_spl_optee.its\n@@ -0,0 +1,48 @@\n+/*\n+ * Copyright (C) 2017 Rockchip Electronic Co.,Ltd\n+ *\n+ * Simple U-boot fit source file containing U-Boot, dtb and optee\n+ */\n+\n+/dts-v1/;\n+\n+/ {\n+\tdescription = \"Simple image with OP-TEE support\";\n+\t#address-cells = <1>;\n+\n+\timages {\n+\t\tuboot@1 {\n+\t\t\tdescription = \"U-Boot\";\n+\t\t\tdata = /incbin/(\"../../../u-boot-nodtb.bin\");\n+\t\t\ttype = \"standalone\";\n+\t\t\tarch = \"arm\";\n+\t\t\tcompression = \"none\";\n+\t\t\tload = <0x61000000>;\n+\t\t};\n+\t\toptee@1 {\n+\t\t\tdescription = \"ARM Trusted Firmware\";\n+\t\t\tdata = /incbin/(\"../../../tee.bin\");\n+\t\t\ttype = \"firmware\";\n+\t\t\tarch = \"arm\";\n+\t\t\tcompression = \"none\";\n+\t\t\tload = <0x68400000>;\n+\t\t\tentry = <0x68400000>;\n+\t\t};\n+\t\tfdt@1 {\n+\t\t\tdescription = \"rk3229 dtb\";\n+\t\t\tdata = /incbin/(\"../../../u-boot.dtb\");\n+\t\t\ttype = \"flat_dt\";\n+\t\t\tcompression = \"none\";\n+\t\t};\n+\t};\n+\n+\tconfigurations {\n+\t\tdefault = \"conf@1\";\n+\t\tconf@1 {\n+\t\t\tdescription = \"RK3399 evb\";\n+\t\t\tfirmware = \"uboot@1\";\n+\t\t\tloadables = \"optee@1\";\n+\t\t\tfdt = \"fdt@1\";\n+\t\t};\n+\t};\n+};\n",
    "prefixes": [
        "U-Boot",
        "08/10"
    ]
}