get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 809826,
    "url": "http://patchwork.ozlabs.org/api/patches/809826/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1504555943-12893-12-git-send-email-pantelis.antoniou@konsulko.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": "<1504555943-12893-12-git-send-email-pantelis.antoniou@konsulko.com>",
    "list_archive_url": null,
    "date": "2017-09-04T20:12:20",
    "name": "[U-Boot,v3,11/14] dtbo: make dtbos special",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "0dc894731d7fe15c7a70aa51170420045c9040a1",
    "submitter": {
        "id": 64098,
        "url": "http://patchwork.ozlabs.org/api/people/64098/?format=api",
        "name": "Pantelis Antoniou",
        "email": "pantelis.antoniou@konsulko.com"
    },
    "delegate": {
        "id": 3184,
        "url": "http://patchwork.ozlabs.org/api/users/3184/?format=api",
        "username": "sjg",
        "first_name": "Simon",
        "last_name": "Glass",
        "email": "sjg@chromium.org"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1504555943-12893-12-git-send-email-pantelis.antoniou@konsulko.com/mbox/",
    "series": [
        {
            "id": 1453,
            "url": "http://patchwork.ozlabs.org/api/series/1453/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=1453",
            "date": "2017-09-04T20:12:09",
            "name": "uboot overlays, FIT image & unittest",
            "version": 3,
            "mbox": "http://patchwork.ozlabs.org/series/1453/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/809826/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/809826/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\" (1024-bit key;\n\tunprotected) header.d=konsulko.com header.i=@konsulko.com\n\theader.b=\"HfsKykA4\"; dkim-atps=neutral"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xmLhX2v60z9t2R\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue,  5 Sep 2017 06:16:12 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 22A67C21F1F; Mon,  4 Sep 2017 20:15:43 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 6604CC21F67;\n\tMon,  4 Sep 2017 20:14:34 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid D0394C21F02; Mon,  4 Sep 2017 20:13:16 +0000 (UTC)",
            "from mail-wr0-f179.google.com (mail-wr0-f179.google.com\n\t[209.85.128.179])\n\tby lists.denx.de (Postfix) with ESMTPS id 164BAC21F67\n\tfor <u-boot@lists.denx.de>; Mon,  4 Sep 2017 20:13:12 +0000 (UTC)",
            "by mail-wr0-f179.google.com with SMTP id n33so4059188wrn.4\n\tfor <u-boot@lists.denx.de>; Mon, 04 Sep 2017 13:13:12 -0700 (PDT)",
            "from localhost.localdomain ([195.97.110.117])\n\tby smtp.gmail.com with ESMTPSA id\n\tu8sm3720435wrc.92.2017.09.04.13.13.10\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tMon, 04 Sep 2017 13:13:11 -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=RCVD_IN_DNSWL_NONE,\n\tRCVD_IN_MSPIKE_H2,\n\tT_DKIM_INVALID autolearn=unavailable autolearn_force=no\n\tversion=3.4.0",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com;\n\ts=google; \n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=BfPrsXstcrD3KdUftfviQXjDy7saKHUA6kqkummKJuw=;\n\tb=HfsKykA4T1h/FtNV4u8J2VxacDxSId6aGIkAMzAbvDCiew5bQkIAmzgocl/CBweZcD\n\tYXZYhv8H+FZlaBOQlu44xaQn2uFozzlgbhTpZsdy9m8sTpjAJKTJX8t+/rKR9KizBKmY\n\tVREePBVE+941RGyoW+wI9sgjbzybliDicb6UY=",
        "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=BfPrsXstcrD3KdUftfviQXjDy7saKHUA6kqkummKJuw=;\n\tb=VoJxS+jOKF/s5KyuLICG97fluPRYhve45WnPxh4/3syQyutudzjzKhAKycLP/GVCA5\n\tZQuFQwaY6uXYsUXVpFj2rU7dNlhniCi9lrcSQUNIKSBn/5+igiCodeXDlDswQp87VHm8\n\tDs56EmqegIi2WyVa+ICiRHlHhMR3gfPet3XW0AUDDT3CJCNcwOBh+Ll1DZue+GAZ9zRq\n\tXe8256iXwuGXCl2AjIV+Ys6pKarlTFrHBxQ1KA1P5swwfef5CNWUdswjWyw9Dueia/GV\n\ty3ki0q23XIR7G6viReqqWhnBBfH3nfn7pcCScTT22gomIhJ3NktYzu78ArU+F21Zt+bN\n\tkQdA==",
        "X-Gm-Message-State": "AHPjjUi5Hwotsn4oFrZso/piwIbRnq4iN6GdppCO+FpEYAXNMVM987QY\n\tZHFPG3J6KCmxqiaA",
        "X-Google-Smtp-Source": "ADKCNb6mf5pyaUV9e7zL8nwT0HxEZ7uM7pygY5KvyONxXQcW2oDigRcQ3AbsmL6gvfz+ZvNLfbM+TQ==",
        "X-Received": "by 10.223.168.110 with SMTP id\n\tl101mr1084026wrc.215.1504555991804; \n\tMon, 04 Sep 2017 13:13:11 -0700 (PDT)",
        "From": "Pantelis Antoniou <pantelis.antoniou@konsulko.com>",
        "To": "Tom Rini <trini@konsulko.com>",
        "Date": "Mon,  4 Sep 2017 23:12:20 +0300",
        "Message-Id": "<1504555943-12893-12-git-send-email-pantelis.antoniou@konsulko.com>",
        "X-Mailer": "git-send-email 2.1.4",
        "In-Reply-To": "<1504555943-12893-1-git-send-email-pantelis.antoniou@konsulko.com>",
        "References": "<1504555943-12893-1-git-send-email-pantelis.antoniou@konsulko.com>",
        "Cc": "Marek Vasut <marex@denx.de>,\n\tPantelis Antoniou <pantelis.antoniou@konsulko.com>,\n\tTero Kristo <t-kristo@ti.com>, u-boot@lists.denx.de,\n\tMaxime Ripard <maxime.ripard@free-electrons.com>,\n\tStefan Roese <sr@denx.de>, Alan Ott <alan@signal11.us>",
        "Subject": "[U-Boot] [PATCH v3 11/14] dtbo: make dtbos special",
        "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": "Special rule for dtbo generation\n\nSigned-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>\n---\n scripts/Makefile.lib | 17 +++++++++++++++++\n 1 file changed, 17 insertions(+)",
    "diff": "diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib\nindex 9ce47b4..2a7ed70 100644\n--- a/scripts/Makefile.lib\n+++ b/scripts/Makefile.lib\n@@ -321,6 +321,23 @@ $(obj)/%.dtb: $(src)/%.dts FORCE\n \n dtc-tmp = $(subst $(comma),_,$(dot-target).dts.tmp)\n \n+# DTCO\n+# ---------------------------------------------------------------------------\n+\n+quiet_cmd_dtco = DTCO    $@\n+# Rule for objects only; does not put specific u-boot include at the end\n+# No generation of assembly file either\n+# Modified for U-Boot\n+cmd_dtco = mkdir -p $(dir ${dtc-tmp}) ; \\\n+\t$(CPP) $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) - ; \\\n+\t$(DTC) -@ -O dtb -o $@ -b 0 \\\n+\t\t-i $(dir $<) $(DTC_FLAGS) \\\n+\t\t-d $(depfile).dtc.tmp $(dtc-tmp) ; \\\n+\tcat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile)\n+\n+$(obj)/%.dtbo: $(src)/%.dts FORCE\n+\t$(call if_changed_dep,dtco)\n+\n # Fonts\n # ---------------------------------------------------------------------------\n \n",
    "prefixes": [
        "U-Boot",
        "v3",
        "11/14"
    ]
}