get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 812113,
    "url": "http://patchwork.ozlabs.org/api/patches/812113/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20170910112149.21358-26-robdclark@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": "<20170910112149.21358-26-robdclark@gmail.com>",
    "list_archive_url": null,
    "date": "2017-09-10T11:21:42",
    "name": "[U-Boot,v2,16/21] efi_loader: file_path should be variable length",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "ea3b966debee84730f90c630bbe902d64d5b4c17",
    "submitter": {
        "id": 18760,
        "url": "http://patchwork.ozlabs.org/api/people/18760/?format=api",
        "name": "Rob Clark",
        "email": "robdclark@gmail.com"
    },
    "delegate": {
        "id": 3400,
        "url": "http://patchwork.ozlabs.org/api/users/3400/?format=api",
        "username": "agraf",
        "first_name": "Alexander",
        "last_name": "Graf",
        "email": "agraf@suse.de"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20170910112149.21358-26-robdclark@gmail.com/mbox/",
    "series": [
        {
            "id": 2383,
            "url": "http://patchwork.ozlabs.org/api/series/2383/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=2383",
            "date": "2017-09-10T11:21:17",
            "name": "efi_loader: enough UEFI for standard distro boot",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/2383/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/812113/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/812113/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=\"rhJlTUUc\"; dkim-atps=neutral"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xqpsm5z1Jz9sDB\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun, 10 Sep 2017 21:36:12 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 92C46C21EFC; Sun, 10 Sep 2017 11:29:06 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id A5B5FC21EA7;\n\tSun, 10 Sep 2017 11:25:44 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 314B8C21F0B; Sun, 10 Sep 2017 11:24:01 +0000 (UTC)",
            "from mail-qk0-f193.google.com (mail-qk0-f193.google.com\n\t[209.85.220.193])\n\tby lists.denx.de (Postfix) with ESMTPS id 3FDAFC21E99\n\tfor <u-boot@lists.denx.de>; Sun, 10 Sep 2017 11:23:52 +0000 (UTC)",
            "by mail-qk0-f193.google.com with SMTP id o77so3977747qke.2\n\tfor <u-boot@lists.denx.de>; Sun, 10 Sep 2017 04:23:52 -0700 (PDT)",
            "from localhost ([2601:184:4780:aac0:25f8:dd96:a084:785a])\n\tby smtp.gmail.com with ESMTPSA id\n\te18sm4452286qtc.59.2017.09.10.04.23.49\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tSun, 10 Sep 2017 04:23:49 -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:in-reply-to:references;\n\tbh=aVs62jdusCV4U13TNa5Z8JR5qecfUqasBVP2m7gcUPM=;\n\tb=rhJlTUUc/92H6MYqFK0fIFG2Mshp8B0U/RfMDuXYCEgzS67FOXu1oX85SOio5jjmpi\n\tdpEHzre+xqDfcaOwxLvP8wFDpTBSLJkRv/35rFdiX6ENbrT8pgAxSUqNFUBWvTk/Z5yG\n\tvRbkeXsWqofaBBuRYZaGX9D5/7yQjK9UBfDSGnfi9H/HRg9jYFAERLL4gtN/i8xvB08/\n\t8Uep9WRMGCpX80ylm+171R6B9kG4abcOHQw8DbWnUXu4gcuP3Enc2NMofw+/AkV/Yqa7\n\tYHqBD3HwPth9bXkmO0pgLjir8QLxFIdJB4mhKcb3JSMA5PiDdKJrjGU5ncUPIVdlNkR0\n\tPlFQ==",
        "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=aVs62jdusCV4U13TNa5Z8JR5qecfUqasBVP2m7gcUPM=;\n\tb=tKImFhrGoz4V15x31imJsBi1dvO+WX/FuKwMjn8z5Y6IfBwe/XlPWqr352F9816zN1\n\tsDgz+Q6lPb429askD6/kTEEnnMIx8BlG52Vydt8U1ZOkLG9NF6Q3E0vERaHJXUqul/VT\n\tWBxIq6Q8tVYlHlVgUpxVMSh3ZauVbZkI/tayA60bAMPY4So+FMlptFiQBMYme9ecGre7\n\tCIofhSFyGHPmts/bj1Lcm4mStrAiqo8bmyLhAUNE9ldHZ4Pw3IECNUYqb2SGMSvFvRey\n\tTToANId0gW+TTa/IU4EuK7ZKXXVOkClPO1SacgrgwMMTUy7duq/bJAItxkjNBp0ZqRrV\n\tsrNw==",
        "X-Gm-Message-State": "AHPjjUhvzqItr2/aFs5mXCRMjR1lc+bhwqaWuxpapsC0RTmAqsIEc4a7\n\tshClu4BhTmCoWLVS6yQ=",
        "X-Google-Smtp-Source": "AOwi7QA+0eSDBGe9CFpUMDuXbeFYqgiw82VIB/CN8C5u8mhjKIyyrQsjBP0w13rNBi31ZUbsvWXZcA==",
        "X-Received": "by 10.233.230.1 with SMTP id z1mr10607588qkf.198.1505042631036; \n\tSun, 10 Sep 2017 04:23:51 -0700 (PDT)",
        "From": "Rob Clark <robdclark@gmail.com>",
        "To": "U-Boot Mailing List <u-boot@lists.denx.de>",
        "Date": "Sun, 10 Sep 2017 07:21:42 -0400",
        "Message-Id": "<20170910112149.21358-26-robdclark@gmail.com>",
        "X-Mailer": "git-send-email 2.13.5",
        "In-Reply-To": "<20170910112149.21358-1-robdclark@gmail.com>",
        "References": "<20170910112149.21358-1-robdclark@gmail.com>",
        "Cc": "Heinrich Schuchardt <xypron.glpk@gmx.de>, Peter Jones <pjones@redhat.com>",
        "Subject": "[U-Boot] [PATCH v2 16/21] efi_loader: file_path should be variable\n\tlength",
        "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": "After \"efi_loader: refactor boot device and loaded_image handling\" we\ncan drop this hack.\n\nSigned-off-by: Rob Clark <robdclark@gmail.com>\n---\n include/efi_api.h | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/include/efi_api.h b/include/efi_api.h\nindex d0aefa8221..604c5b7ec4 100644\n--- a/include/efi_api.h\n+++ b/include/efi_api.h\n@@ -373,7 +373,7 @@ struct efi_device_path_cdrom_path {\n \n struct efi_device_path_file_path {\n \tstruct efi_device_path dp;\n-\tu16 str[32];\n+\tu16 str[];\n } __packed;\n \n #define BLOCK_IO_GUID \\\n",
    "prefixes": [
        "U-Boot",
        "v2",
        "16/21"
    ]
}