get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 806417,
    "url": "http://patchwork.ozlabs.org/api/patches/806417/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1503905040-17618-4-git-send-email-eddie.cai.linux@gmail.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": "<1503905040-17618-4-git-send-email-eddie.cai.linux@gmail.com>",
    "list_archive_url": null,
    "date": "2017-08-28T07:23:59",
    "name": "[U-Boot,V8,3/4] rockchip:usb: add a simple readme for rockusb",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "5ecb5967a8e38daacdedf1d01e53af8f8549a28b",
    "submitter": {
        "id": 70800,
        "url": "http://patchwork.ozlabs.org/api/people/70800/?format=api",
        "name": "Eddie Cai",
        "email": "eddie.cai.linux@gmail.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/1503905040-17618-4-git-send-email-eddie.cai.linux@gmail.com/mbox/",
    "series": [
        {
            "id": 93,
            "url": "http://patchwork.ozlabs.org/api/series/93/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=93",
            "date": "2017-08-28T07:23:56",
            "name": "introduce Rockchip rockusb",
            "version": 8,
            "mbox": "http://patchwork.ozlabs.org/series/93/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/806417/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/806417/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=\"W9dJxp0S\"; dkim-atps=neutral"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xgk414WG6z9sNq\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 28 Aug 2017 17:32:00 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 1058CC22460; Mon, 28 Aug 2017 07:30:45 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 664DEC22448;\n\tMon, 28 Aug 2017 07:25:27 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 81295C21D65; Mon, 28 Aug 2017 07:25:00 +0000 (UTC)",
            "from mail-pg0-f68.google.com (mail-pg0-f68.google.com\n\t[74.125.83.68])\n\tby lists.denx.de (Postfix) with ESMTPS id 601F1C22450\n\tfor <u-boot@lists.denx.de>; Mon, 28 Aug 2017 07:24:57 +0000 (UTC)",
            "by mail-pg0-f68.google.com with SMTP id 83so5726118pgb.3\n\tfor <u-boot@lists.denx.de>; Mon, 28 Aug 2017 00:24:57 -0700 (PDT)",
            "from localhost.localdomain ([103.29.142.67])\n\tby smtp.gmail.com with ESMTPSA id\n\tf16sm22860100pfd.55.2017.08.28.00.24.51\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tMon, 28 Aug 2017 00:24:54 -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=-0.0 required=5.0 tests=FREEMAIL_FROM,\n\tKHOP_BIG_TO_CC, \n\tRCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID\n\tautolearn=unavailable autolearn_force=no version=3.4.0",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=Kz0tQLVIzVspUjCx9qPn7p8tzXp506u66FkxFJ8B6MY=;\n\tb=W9dJxp0SFZj7nDjv+vad9xGm4NJURy0lCyPuFhpGZM0/eHIvRRwoTzZpynQ2Wf5ubO\n\tDJVs35u1PLEBwvWnr9/Ssg1sn5UXrLUOHYUb/1IfuYnCVTuOe10wRoI1syMnfAE6qGMH\n\tJst1f/LrOglpJOYv+uWSjOFwab5fquuYtA2bkbXT3Ifwlsg97LwKk4m4rtAnd93oxXld\n\tYJ/J+E2uO46zoWTztj0Kg6KBEDHuSKaNQEh4Xz6fZTdugQA7K2j8VgksYYjyI9xjbwK9\n\tv+xkN/Wr1UkPAqZ+V4ClmjYRwxOUJwPlOhylf1Gd9AsuiCds64e5kSGOb6OYsm6J6Zjv\n\t+pjQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=Kz0tQLVIzVspUjCx9qPn7p8tzXp506u66FkxFJ8B6MY=;\n\tb=ku3sjn8SURQiRWOOzXx8Oqu+ZDdkK0e+UMmLfVzIVJZKYYjMHEdyLZT/aHyc5diFlh\n\ttmXL2VR2KNFUACGNe/onhEv6apI3k1OylniR3FaZVRllvIDeSEt5ulbx2f0XJ4irixLW\n\tHjEY1Lz7a5yGJCPFmO7BjnpEVB1yp6KYLV4Bo36VSydHXPrLEiDSllTBlOBrCX0PiKUG\n\tGsWSmmZ8dUlClWsaFlbz6FQVihJjDW6i3iY9MnlXA/FxJ+dmB3jy38S3+H0mvwaqtS8d\n\toxTRLucaEng/sHT5+YR9154FkAN9KNiZOnu064j9MEdNeCB/8lRprroh2oLS2s6SUWfS\n\tEqJQ==",
        "X-Gm-Message-State": "AHYfb5ipQIneZSNMHkC2Zbbx/QHgWlZeIKMYn/2GBwj9NNniGtXFalBu\n\tr0un+ets/WbrNg==",
        "X-Received": "by 10.99.138.68 with SMTP id y65mr2883013pgd.61.1503905096084;\n\tMon, 28 Aug 2017 00:24:56 -0700 (PDT)",
        "From": "Eddie Cai <eddie.cai.linux@gmail.com>",
        "To": "lukma@denx.de, sjg@chromium.org, marex@denx.de, trini@konsulko.com,\n\twilliam.wu@rock-chips.com, yamada.masahiro@socionext.com,\n\tmaxime.ripard@free-electrons.com, agraf@suse.de, bmeng.cn@gmail.com, \n\tyanmiaobest@gmail.com, dinguyen@kernel.org,\n\tboris.brezillon@free-electrons.com, sr@denx.de,\n\turi.mashiach@compulab.co.il, michal.simek@xilinx.com",
        "Date": "Mon, 28 Aug 2017 15:23:59 +0800",
        "Message-Id": "<1503905040-17618-4-git-send-email-eddie.cai.linux@gmail.com>",
        "X-Mailer": "git-send-email 1.9.1",
        "In-Reply-To": "<1503905040-17618-1-git-send-email-eddie.cai.linux@gmail.com>",
        "References": "<1503905040-17618-1-git-send-email-eddie.cai.linux@gmail.com>",
        "Cc": "u-boot@lists.denx.de",
        "Subject": "[U-Boot] [PATCH V8 3/4] rockchip:usb: add a simple readme for\n\trockusb",
        "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 a simple readme to introduce rockusb and tell people how to use it\n\nSigned-off-by: Eddie Cai <eddie.cai.linux@gmail.com>\nReviewed-by: Simon Glass <sjg@chromium.org>\n\nChanges in v8:                                                                  \n-none\n\nChanges in v7:\n-none\n\nChanges in v6:\n-none\n\nChanges in v5:\n-none\n\nChanges in v4:\n-add some blank line to make it look better\n\nChanges in v3:\n-fix checkpatch error\n\n---\n doc/README.rockusb | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++\n 1 file changed, 51 insertions(+)\n create mode 100644 doc/README.rockusb",
    "diff": "diff --git a/doc/README.rockusb b/doc/README.rockusb\nnew file mode 100644\nindex 0000000..5405dc4\n--- /dev/null\n+++ b/doc/README.rockusb\n@@ -0,0 +1,51 @@\n+Rockusb (Rockchip USB protocol)\n+=====================================================\n+\n+Overview\n+--------\n+\n+Rockusb protocol is widely used by Rockchip SoC based devices. It can\n+read/write info, image to/from devices. This document briefly describes how to\n+use Rockusb for upgrading firmware (e.g. kernel, u-boot, rootfs, etc.).\n+\n+Tools\n+--------\n+There are many tools can support Rockusb protocol. rkdeveloptool\n+(https://github.com/rockchip-linux/rkdeveloptool) is open source,\n+It is maintained by Rockchip. People don't want to build from source\n+can download from here\n+(https://github.com/rockchip-linux/rkbin/blob/master/tools/rkdeveloptool)\n+\n+Usage\n+--------\n+The Usage of Rockusb command is:\n+\n+rockusb <USB_controller> <devtype> <dev[:part]>\n+\n+e.g. rockusb 0 mmc 0\n+\n+On your U-Boot console, type this command to enter rockusb mode.\n+On your host PC. use lsusb command. you should see a usb device\n+using 0x2207 as its USB verdor id.\n+\n+for more detail about the rkdeveloptool. please read the usage.\n+\n+rkdeveloptool -h\n+\n+use rkdeveloptool wl command to write lba. BeginSec is the lba on device\n+you want to write.\n+\n+sudo rkdeveloptool wl  <BeginSec> <File>\n+\n+to flash U-Boot image use below command. U-Boot binary is made by mkimage.\n+see doc/README.rockchip for more detail about how to get U-Boot binary.\n+\n+sudo rkdeveloptool wl  64 <U-Boot binary>\n+\n+There are plenty of Rockusb command. but wl(write lba) and\n+rd(reboot) command. These two command can let people flash\n+image to device.\n+\n+To do\n+-----\n+* Fully support Rockusb protocol\n",
    "prefixes": [
        "U-Boot",
        "V8",
        "3/4"
    ]
}