get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 937868,
    "url": "http://patchwork.ozlabs.org/api/patches/937868/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20180702123423.55630-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": "<20180702123423.55630-1-manu@freebsd.org>",
    "list_archive_url": null,
    "date": "2018-07-02T12:34:23",
    "name": "[U-Boot] usb: dwc2: Add brcm,bcm2708-usb compatible",
    "commit_ref": "ff5d5cc2331033c8a6987bb644827b52484160d9",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "7b4b7226d100a2ae379a2f8b30a19cf6af3fffa0",
    "submitter": {
        "id": 69285,
        "url": "http://patchwork.ozlabs.org/api/people/69285/?format=api",
        "name": "Emmanuel Vadot",
        "email": "manu@freebsd.org"
    },
    "delegate": {
        "id": 1699,
        "url": "http://patchwork.ozlabs.org/api/users/1699/?format=api",
        "username": "marex",
        "first_name": "Marek",
        "last_name": "Vasut",
        "email": "marek.vasut@gmail.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20180702123423.55630-1-manu@freebsd.org/mbox/",
    "series": [
        {
            "id": 53216,
            "url": "http://patchwork.ozlabs.org/api/series/53216/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=53216",
            "date": "2018-07-02T12:34:23",
            "name": "[U-Boot] usb: dwc2: Add brcm,bcm2708-usb compatible",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/53216/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/937868/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/937868/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 41K6C26Dh6z9s29\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon,  2 Jul 2018 22:34:38 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 86EDBC21D74; Mon,  2 Jul 2018 12:34:36 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 3FF10C21D74;\n\tMon,  2 Jul 2018 12:34:34 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid A8E66C21D74; Mon,  2 Jul 2018 12:34:32 +0000 (UTC)",
            "from mx2.freebsd.org (mx2.freebsd.org [8.8.178.116])\n\tby lists.denx.de (Postfix) with ESMTPS id 41794C21C57\n\tfor <u-boot@lists.denx.de>; Mon,  2 Jul 2018 12:34:32 +0000 (UTC)",
            "from mx1.freebsd.org (mx1.freebsd.org [96.47.72.80])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (Client CN \"mx1.freebsd.org\",\n\tIssuer \"Let's Encrypt Authority X3\" (verified OK))\n\tby mx2.freebsd.org (Postfix) with ESMTPS id E2AE869AD2;\n\tMon,  2 Jul 2018 12:34:30 +0000 (UTC)\n\t(envelope-from manu@freebsd.org)",
            "from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (Client CN \"smtp.freebsd.org\",\n\tIssuer \"Let's Encrypt Authority X3\" (verified OK))\n\tby mx1.freebsd.org (Postfix) with ESMTPS id 2237D85B91;\n\tMon,  2 Jul 2018 12:34:30 +0000 (UTC)\n\t(envelope-from manu@freebsd.org)",
            "from skull.home.blih.net (ip-9.net-89-3-105.rev.numericable.fr\n\t[89.3.105.9])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128\n\tbits))\n\t(Client did not present a certificate) (Authenticated sender: manu)\n\tby smtp.freebsd.org (Postfix) with ESMTPSA id A938CAD84;\n\tMon,  2 Jul 2018 12:34:28 +0000 (UTC)\n\t(envelope-from manu@freebsd.org)"
        ],
        "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=KHOP_BIG_TO_CC\n\tautolearn=unavailable autolearn_force=no version=3.4.0",
        "From": "Emmanuel Vadot <manu@freebsd.org>",
        "To": "marex@denx.de, patrice.chotard@st.com,\n\tphilipp.tomsich@theobroma-systems.com, christophe.kerello@st.com,\n\tAlexey.Brodkin@synopsys.com, yamada.masahiro@socionext.com,\n\tnoltari@gmail.com, daniel.meng@rock-chips.com, agraf@suse.de",
        "Date": "Mon,  2 Jul 2018 14:34:23 +0200",
        "Message-Id": "<20180702123423.55630-1-manu@freebsd.org>",
        "X-Mailer": "git-send-email 2.17.0",
        "Cc": "u-boot@lists.denx.de, Oleksandr Tymoshenko <gonzo@FreeBSD.org>",
        "Subject": "[U-Boot] [PATCH] usb: dwc2: Add brcm,bcm2708-usb compatible",
        "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": "When using CONFIG_OF_BOARD on rpi to use the dtb provided by the\nRaspberryPi Fundation, the compatible string isn't the same, resulting\nin not-functional usb from u-boot.\n\nSigned-off-by: Oleksandr Tymoshenko <gonzo@FreeBSD.org>\nSigned-off-by: Emmanuel Vadot <manu@freebsd.org>\n---\n drivers/usb/host/dwc2.c | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/drivers/usb/host/dwc2.c b/drivers/usb/host/dwc2.c\nindex dd956110fc..cbe065bbaf 100644\n--- a/drivers/usb/host/dwc2.c\n+++ b/drivers/usb/host/dwc2.c\n@@ -1314,6 +1314,7 @@ struct dm_usb_ops dwc2_usb_ops = {\n \n static const struct udevice_id dwc2_usb_ids[] = {\n \t{ .compatible = \"brcm,bcm2835-usb\" },\n+\t{ .compatible = \"brcm,bcm2708-usb\" },\n \t{ .compatible = \"snps,dwc2\" },\n \t{ }\n };\n",
    "prefixes": [
        "U-Boot"
    ]
}