get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 807002,
    "url": "http://patchwork.ozlabs.org/api/patches/807002/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20170829083754.8363-1-judge.packham@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": "<20170829083754.8363-1-judge.packham@gmail.com>",
    "list_archive_url": null,
    "date": "2017-08-29T08:37:54",
    "name": "[U-Boot] ARM: mvebu: add \"spi-flash\" compatible string",
    "commit_ref": "dbc3e64fd1d416395def9b555a9b76e84d6f44f3",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "5b4969ab4bc4fec9704d0feeee8b2b43e59de798",
    "submitter": {
        "id": 6125,
        "url": "http://patchwork.ozlabs.org/api/people/6125/?format=api",
        "name": "Chris Packham",
        "email": "judge.packham@gmail.com"
    },
    "delegate": {
        "id": 1696,
        "url": "http://patchwork.ozlabs.org/api/users/1696/?format=api",
        "username": "stroese",
        "first_name": "Stefan",
        "last_name": "Roese",
        "email": "sr@denx.de"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20170829083754.8363-1-judge.packham@gmail.com/mbox/",
    "series": [
        {
            "id": 326,
            "url": "http://patchwork.ozlabs.org/api/series/326/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=326",
            "date": "2017-08-29T08:37:54",
            "name": "[U-Boot] ARM: mvebu: add \"spi-flash\" compatible string",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/326/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/807002/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/807002/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=\"j6A1wZbz\"; dkim-atps=neutral"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xhMm42RKRz9s4q\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 29 Aug 2017 18:50:28 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 781D6C21D95; Tue, 29 Aug 2017 08:40:41 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 3C17BC21DE5;\n\tTue, 29 Aug 2017 08:40:31 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid AB8FFC21DE5; Tue, 29 Aug 2017 08:38:06 +0000 (UTC)",
            "from mail-pg0-f67.google.com (mail-pg0-f67.google.com\n\t[74.125.83.67])\n\tby lists.denx.de (Postfix) with ESMTPS id 1AFD4C21DE1\n\tfor <u-boot@lists.denx.de>; Tue, 29 Aug 2017 08:38:05 +0000 (UTC)",
            "by mail-pg0-f67.google.com with SMTP id 63so2258599pgc.1\n\tfor <u-boot@lists.denx.de>; Tue, 29 Aug 2017 01:38:05 -0700 (PDT)",
            "from chrisp-dl.ws.atlnz.lc ([2001:df5:b000:22:3a2c:4aff:fe70:2b02])\n\tby smtp.gmail.com with ESMTPSA id\n\tv31sm3742715pgn.9.2017.08.29.01.37.59\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tTue, 29 Aug 2017 01:38:02 -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\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;\n\tbh=CfDyuhEBUVgT8MjoC25kRqSRzuu6aKoJD4dQo5dJauI=;\n\tb=j6A1wZbz1eLHtlVsps2jzO/FopbQ7ad8ExzzGmXqD9ippxnrtuIsupkMj/zsNRhN/1\n\tU8C9gmDEUjH5f8gfNryWNwTBrJ3PX5lpT6FJzsNdw8PS2GDXM0utmv6N5BL1TkkXRIjN\n\tKK1Ipx5hQ3wvEaFkV9apGTBHOn2TWTUG3GebtCb+XSRkbgPBd3RSyV6SzWvAYfMchbpB\n\tEZmB6iNQGwYEjWBQdC7lz5E98z+g3PIvi728Gxj+i95FBdjSoAiQRC2ItFbuPzjKDdH/\n\tkVQnFqWeF/u7aVk9YSYRrH1gjMmtrH9jPZZD+wRlhvXWNIfgcJ+ZhnjsgrKmXvdWFX6K\n\tn64w==",
        "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;\n\tbh=CfDyuhEBUVgT8MjoC25kRqSRzuu6aKoJD4dQo5dJauI=;\n\tb=pvRiGsCmzKZ22ZRsX8p2CPdhPrPbrYOpn6E219j9j0CXwCUu0pKeTsdM8klSILtf9T\n\teVvD6YrT/iCpcBfOz6nYfdapK5C2MjkBYAN2brQNq8P2JgqnsqfZRQ5ITGEgA3iwG9dR\n\tZCNmM1wmiDsOiQPYCcqo78SBqerCnoKj+PJexplw7h4ck5q6adkieR1i9oSQxP5q/LIe\n\tHOS52iy55sI17MjeUiFeBdMqOZQ4C2PZROUoV4QN5gdkVUufQ6FyyUH2FQAp2lTNS/T8\n\tHI6ubnfxwrL8+Vn5Xru7q6Y0jLJSu1CFUfebUVlxrkAi7/lUaZnY5DT7Axhn+bqfQCuX\n\tW8MQ==",
        "X-Gm-Message-State": "AHYfb5hn2fwzRg4ZdcGkAyQBIa7wO230ILi6H9CU+osn6A9RgwGJ07sF\n\tZyeCxDrQHnyQgcRLFpBNbg==",
        "X-Received": "by 10.84.132.13 with SMTP id 13mr182622ple.136.1503995882965;\n\tTue, 29 Aug 2017 01:38:02 -0700 (PDT)",
        "From": "Chris Packham <judge.packham@gmail.com>",
        "To": "u-boot@lists.denx.de",
        "Date": "Tue, 29 Aug 2017 20:37:54 +1200",
        "Message-Id": "<20170829083754.8363-1-judge.packham@gmail.com>",
        "X-Mailer": "git-send-email 2.14.1",
        "Cc": "Albert Aribaud <albert.u.boot@aribaud.net>, Stefan Roese <sr@denx.de>,\n\tChris Packham <judge.packham@gmail.com>",
        "Subject": "[U-Boot] [PATCH] ARM: mvebu: add \"spi-flash\" compatible string",
        "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": "U-boots spi-nor support is currently considered a work in progress. For\nnow to avoid issues it is necessary to add a \"spi-flash\" compatible\nstring. Eventually the \"jedec,spi-nor\" will be sufficient when the core\nU-boot code is updated to support it.\n\nSigned-off-by: Chris Packham <judge.packham@gmail.com>\n---\nThis is an alternative to\nhttps://lists.denx.de/pipermail/u-boot/2017-August/301816.html.  Using\nthe u-boot specific \"spi-flash\" is Jagan's preference while the spi-nor\nsupport is still a WIP and works for getting the db-88f6820-amc working\nfor me so I'm happy.\n\n arch/arm/dts/armada-385-amc.dts | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/arch/arm/dts/armada-385-amc.dts b/arch/arm/dts/armada-385-amc.dts\nindex 4649c910c7b0..5e1588d57438 100644\n--- a/arch/arm/dts/armada-385-amc.dts\n+++ b/arch/arm/dts/armada-385-amc.dts\n@@ -154,7 +154,7 @@\n \t\tu-boot,dm-pre-reloc;\n \t\t#address-cells = <1>;\n \t\t#size-cells = <1>;\n-\t\tcompatible = \"st,m25p128\", \"jedec,spi-nor\";\n+\t\tcompatible = \"st,m25p128\", \"jedec,spi-nor\", \"spi-flash\";\n \t\treg = <0>; /* Chip select 0 */\n \t\tspi-max-frequency = <50000000>;\n \t\tm25p,fast-read;\n",
    "prefixes": [
        "U-Boot"
    ]
}