get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 807019,
    "url": "http://patchwork.ozlabs.org/api/patches/807019/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1504000047-20072-1-git-send-email-philipp.tomsich@theobroma-systems.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": "<1504000047-20072-1-git-send-email-philipp.tomsich@theobroma-systems.com>",
    "list_archive_url": null,
    "date": "2017-08-29T09:47:16",
    "name": "[U-Boot] gitignore: add intermediates from libfdt build",
    "commit_ref": "34e2c285da287b08a6c8d0e0cfde73e2fa127380",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "f450e2811003f6c046d108405d91988a3207fb0c",
    "submitter": {
        "id": 53488,
        "url": "http://patchwork.ozlabs.org/api/people/53488/?format=api",
        "name": "Philipp Tomsich",
        "email": "philipp.tomsich@theobroma-systems.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/1504000047-20072-1-git-send-email-philipp.tomsich@theobroma-systems.com/mbox/",
    "series": [
        {
            "id": 336,
            "url": "http://patchwork.ozlabs.org/api/series/336/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=336",
            "date": "2017-08-29T09:47:16",
            "name": "[U-Boot] gitignore: add intermediates from libfdt build",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/336/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/807019/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/807019/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>)",
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xhP3X6y6sz9t3F\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 29 Aug 2017 19:48:55 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 0A12AC21FC5; Tue, 29 Aug 2017 09:48:03 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id B8087C21D9E;\n\tTue, 29 Aug 2017 09:47:58 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid D47AAC21C39; Tue, 29 Aug 2017 09:47:56 +0000 (UTC)",
            "from mail.theobroma-systems.com (vegas.theobroma-systems.com\n\t[144.76.126.164])\n\tby lists.denx.de (Postfix) with ESMTPS id C4D82C21C39\n\tfor <u-boot@lists.denx.de>; Tue, 29 Aug 2017 09:47:55 +0000 (UTC)",
            "from [86.59.122.178] (port=51940 helo=android.lan)\n\tby mail.theobroma-systems.com with esmtpsa\n\t(TLS1.2:RSA_AES_128_CBC_SHA256:128)\n\t(Exim 4.80) (envelope-from <philipp.tomsich@theobroma-systems.com>)\n\tid 1dmd7h-0003Qs-JN; Tue, 29 Aug 2017 11:47:53 +0200"
        ],
        "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=none autolearn=unavailable\n\tautolearn_force=no version=3.4.0",
        "From": "Philipp Tomsich <philipp.tomsich@theobroma-systems.com>",
        "To": "u-boot@lists.denx.de",
        "Date": "Tue, 29 Aug 2017 11:47:16 +0200",
        "Message-Id": "<1504000047-20072-1-git-send-email-philipp.tomsich@theobroma-systems.com>",
        "X-Mailer": "git-send-email 2.1.4",
        "Cc": "Klaus Goger <klaus.goger@theobroma-systems.com>,\n\t\"Franklin\\\"\" <fcooper@ti.com>",
        "Subject": "[U-Boot] [PATCH] gitignore: add intermediates from libfdt build",
        "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": "Since ee95d10 (fdt: Build the new python libfdt module), a number of\nadditional files are auto-generated/installed into the tools directory.\nList these in .gitignore to suppress having them listed as untracked.\n\nSigned-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>\nReferences: ee95d10 (fdt: Build the new python libfdt module)\n\n---\n\n .gitignore | 8 ++++++++\n 1 file changed, 8 insertions(+)",
    "diff": "diff --git a/.gitignore b/.gitignore\nindex 29757aa..f6f5dae 100644\n--- a/.gitignore\n+++ b/.gitignore\n@@ -57,6 +57,14 @@ fit-dtb.blob\n /include/config/\n /include/generated/\n \n+# Since \"ee95d10 fdt: Build the new python libfdt module\", a number of\n+# build artifacts and intermediated from the python libfdt module are\n+# installed into the /tools directory.\n+/tools/_libfdt.so\n+/tools/libfdt.py\n+/tools/libfdt.pyc\n+/tools/libfdt_wrap.c\n+\n # stgit generated dirs\n patches-*\n .stgit-edit.txt\n",
    "prefixes": [
        "U-Boot"
    ]
}