get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 809830,
    "url": "http://patchwork.ozlabs.org/api/patches/809830/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1504555943-12893-10-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-10-git-send-email-pantelis.antoniou@konsulko.com>",
    "list_archive_url": null,
    "date": "2017-09-04T20:12:18",
    "name": "[U-Boot,v3,09/14] doc: Document how to apply fdt overlays",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "ab8a29ef9109350b59a066232b54ed64c393b5db",
    "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-10-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/809830/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/809830/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=\"CC5YzEt/\"; dkim-atps=neutral"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xmLl33gtcz9t2R\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue,  5 Sep 2017 06:18:23 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 2E9E0C21F1F; Mon,  4 Sep 2017 20:16:11 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id E2FC1C21F2F;\n\tMon,  4 Sep 2017 20:15:20 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid E54F6C21EF7; Mon,  4 Sep 2017 20:13:13 +0000 (UTC)",
            "from mail-wm0-f50.google.com (mail-wm0-f50.google.com\n\t[74.125.82.50])\n\tby lists.denx.de (Postfix) with ESMTPS id 96163C21F55\n\tfor <u-boot@lists.denx.de>; Mon,  4 Sep 2017 20:13:08 +0000 (UTC)",
            "by mail-wm0-f50.google.com with SMTP id i145so10036229wmf.1\n\tfor <u-boot@lists.denx.de>; Mon, 04 Sep 2017 13:13:08 -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.06\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tMon, 04 Sep 2017 13:13:07 -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_H3, RCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID autolearn=unavailable\n\tautolearn_force=no version=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=DrYoOkLaWECmvPnekePqhNyfHsLsGNqw0DfDaJr61q4=;\n\tb=CC5YzEt/A4HWXgtcrJAh9CCMvFAq4dTGe/JkrufoyfcD+u2lp4El4f+oQUquRhYIQV\n\tJYbPleHRb4DdK8z4Xs9jWZ4EMNccqIi6/cH+eXLUmt3i1N9QAvzfAZWX+7WCx2x270Wj\n\tcaoEaHrT56uobJmN8TeZ+8VRtjWgY1tfU8dSQ=",
        "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=DrYoOkLaWECmvPnekePqhNyfHsLsGNqw0DfDaJr61q4=;\n\tb=TG9FXw5QGgy+PQF86tbW2N9mfe0+TL3hdxIX72yPjnhhcxapZ518kBFrShDF/uUSuj\n\tzeeAwLB7PonxbRcy1Wd1sts1RGgtN2pK046ZMO9NfdQDgu/Gf67n7DaCfEZsS5CvlW/k\n\t46dVLFtbapBOlvm/rCZuOQgYWGkn2wCnGFEBW9Wv4GzMaGf1XvP8Z4iQNSFWTSbZsCiD\n\tbaa07KH8Y4Cj/Ry/VNwkDRTqp4Q6jcpn1F5uuz4cwO9g/yY+W4pyyv9BjpB3vGjVXdH5\n\tAdQisajMFVTO+oZgD42+49bbrar/K0th7N0cQbZYw+vhV+eWqJgmVnrnMG/ETOamDjbS\n\trroA==",
        "X-Gm-Message-State": "AHPjjUg+v+vLfJ2Sw0fHPLkJyt+D27D3FPzPjF4STF0Q87bhaXCxNh0y\n\tS+Irt9DSRzvvP2oa",
        "X-Google-Smtp-Source": "ADKCNb63lA5GxoXMNBkbaqQeblJAXJZRlbYzlpAf+3zP7IAKQHDM9VQtliJ3GIoL8TKpyYnOPGydiA==",
        "X-Received": "by 10.28.18.21 with SMTP id 21mr1284612wms.48.1504555988310;\n\tMon, 04 Sep 2017 13:13:08 -0700 (PDT)",
        "From": "Pantelis Antoniou <pantelis.antoniou@konsulko.com>",
        "To": "Tom Rini <trini@konsulko.com>",
        "Date": "Mon,  4 Sep 2017 23:12:18 +0300",
        "Message-Id": "<1504555943-12893-10-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 09/14] doc: Document how to apply fdt overlays",
        "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 have the capability to apply overlays on the command line but\nwe didn't have a document explaining how.\n\nSigned-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>\n---\n doc/README.fdt-overlays | 37 +++++++++++++++++++++++++++++++++++++\n 1 file changed, 37 insertions(+)\n create mode 100644 doc/README.fdt-overlays",
    "diff": "diff --git a/doc/README.fdt-overlays b/doc/README.fdt-overlays\nnew file mode 100644\nindex 0000000..ee868ec\n--- /dev/null\n+++ b/doc/README.fdt-overlays\n@@ -0,0 +1,37 @@\n+U-Boot FDT Overlay usage (without FIT images)\n+=============================================\n+\n+FDT overlays are now available for use even without FIT images.\n+It is not as automagic as with FIT images though and require a few\n+manual steps.\n+\n+1. Figure out where to place both the base device tree blob and the\n+overlay. Make sure you have enough space to grow the base tree without\n+overlapping anything.\n+\n+=> setenv fdtaddr 0x87f00000\n+=> setenv fdtovaddr 0x87fc0000\n+\n+2. Load the base blob and overlay blobs\n+\n+=> load ${devtype} ${bootpart} ${fdtaddr} ${bootdir}/base.dtb\n+=> load ${devtype} ${bootpart} ${fdtovaddr} ${bootdir}/overlay.dtb\n+\n+3. Set it as the working fdt tree.\n+\n+=> fdtaddr $fdtaddr\n+\n+4. Grow it enough so it can 'fit' all the applied overlays\n+\n+=> fdt resize 8192\n+\n+5. You are now ready to apply the overlay.\n+\n+=> fdt apply $fdtovaddr\n+\n+Please note that in case of an error, both the base and overlays are going\n+to be invalidated, so keep copies to avoid reloading.\n+\n+Pantelis Antoniou\n+pantelis.antoniou@konsulko.com\n+11/7/2017\n",
    "prefixes": [
        "U-Boot",
        "v3",
        "09/14"
    ]
}