get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 806150,
    "url": "http://patchwork.ozlabs.org/api/patches/806150/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20170826203313.12518-1-xypron.glpk@gmx.de/",
    "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": "<20170826203313.12518-1-xypron.glpk@gmx.de>",
    "list_archive_url": null,
    "date": "2017-08-26T20:33:13",
    "name": "[U-Boot,1/1] efi_disk: efi_disk_rw_blocks is not an API function",
    "commit_ref": "a80a232e965acc08d5323b2acc55da855adcf4f3",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "0c1eda6831a9c98de07450292a88bb8fcf0d21b3",
    "submitter": {
        "id": 61270,
        "url": "http://patchwork.ozlabs.org/api/people/61270/?format=api",
        "name": "Heinrich Schuchardt",
        "email": "xypron.glpk@gmx.de"
    },
    "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/20170826203313.12518-1-xypron.glpk@gmx.de/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/806150/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/806150/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 3xfqVv0VX4z9s7g\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun, 27 Aug 2017 06:33:42 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid A969EC220D1; Sat, 26 Aug 2017 20:33:38 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 30D12C2209C;\n\tSat, 26 Aug 2017 20:33:36 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 1380DC2209C; Sat, 26 Aug 2017 20:33:34 +0000 (UTC)",
            "from mout.gmx.net (mout.gmx.net [212.227.15.19])\n\tby lists.denx.de (Postfix) with ESMTPS id E5844C22086\n\tfor <u-boot@lists.denx.de>; Sat, 26 Aug 2017 20:33:33 +0000 (UTC)",
            "from laptop1.fritz.box ([84.118.154.110]) by mail.gmx.com (mrgmx003\n\t[212.227.17.184]) with ESMTPSA (Nemesis) id 0MA91t-1der5R1Db7-00BJc9;\n\tSat, 26 Aug 2017 22:33:32 +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.7 required=5.0 tests=FREEMAIL_FROM,\n\tRCVD_IN_DNSWL_LOW,\n\tRCVD_IN_MSPIKE_H2 autolearn=unavailable autolearn_force=no\n\tversion=3.4.0",
        "From": "Heinrich Schuchardt <xypron.glpk@gmx.de>",
        "To": "Alexander Graf <agraf@suse.de>",
        "Date": "Sat, 26 Aug 2017 22:33:13 +0200",
        "Message-Id": "<20170826203313.12518-1-xypron.glpk@gmx.de>",
        "X-Mailer": "git-send-email 2.11.0",
        "X-Provags-ID": "V03:K0:oXtrH2YjXsJ1l0XZJDq8Rl0RmMXwCpyjekxVV+RxfNK5WrwyAEL\n\tXcieJx0GXTPNvblIw9R5y6IMzO0FUhGaIF3HPQn4yyXXTrZVbvUqEuVG3aJ5Nk7EvkHlKsl\n\tjXYyUtVlcDfS7tRwuPwal86m/ExSV/20bVRc9JIAkIOiZHzwsNfjq1okHmrIR1up06cEzGr\n\tu9XAPO/WY+TmSN/XZa5rw==",
        "X-UI-Out-Filterresults": "notjunk:1; V01:K0:r8opcYCEXmo=:WNUDi9s8wLtowBqe36DOP8\n\tjP1A3Qcig7jb5e5uoTqB3ZyBez2143mF1oS3kQzQx78aE/kS1ts8OtSUJR3a0FBSZr/HHN6WH\n\tyyPGQLiWxp4shDDQFiqqXs6d4cYcW2zEvic+1crAj233gDI0/3Js0LxpKG3qB+/QxukIk8+Zy\n\teOsM4NZusuSI4j/WR/6fDuoOd7o33iPnsxi4+HB/VmYqfXhfmRzsI+q52/hUIV65Jr9zADz5K\n\ty/6M+fhxt6QTz/Fg0cOxJ4oOrLhvaW9osp4HGydEniXzzlvNoQCDRxxj/4hWy9XQMX8bclOit\n\tEtXYMiH02I047cJqh7B97IeL/IZMg0qQB7bOWjUY7+cVwN3etUyG3A54Ju7txuvFt2jELcqsK\n\tLTou2qPjCh9A8x6QwzSy2AUcQuj+qsHklYpdCcpZxeKq4mSqJmZdCU54LwFrl/vfie2/ap5+H\n\tOZNmtnrDyphZZyITS15fC6/x6l20EDQ3U80pR4NqFl0sQCTV6aXTeweVqxlygr0YQUBX+SFIw\n\ttiBADdlRuXjjgxIcd7QUSDywY3jrq94dwZvI2mp5cHcXVNSwErzpsGgvOL2nes5XfNn0FBSyA\n\tMQz+VqjjtR+r+d/f1b9BN0WgWkh+SvqaV7taB6czySTDEb43b5ZvWBkqVu3+q0g36BPVfgyyF\n\tOUoUkAL3MM6i72LDCznW4iNnmedaoUPyQ0nziTqGmSyTVJ4XcdcOMTj7vYldotidheSgP3RS3\n\tWeom3sFY5Te4J6yvpQzQZenCQEKZnT0OATLxsoSwLM2duTZFjeJWYGE+wltLu9A2WuhGqGtHg\n\t87mGBblFgpcl+8Fz3Dphdbas5q3Sg==",
        "Cc": "u-boot@lists.denx.de, Heinrich Schuchardt <xypron.glpk@gmx.de>",
        "Subject": "[U-Boot] [PATCH 1/1] efi_disk: efi_disk_rw_blocks is not an API\n\tfunction",
        "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": "There is no need to use attribute EFIAPI for\nefi_disk_rw_blocks. It is not an API function.\n\nSigned-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>\n---\n lib/efi_loader/efi_disk.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/lib/efi_loader/efi_disk.c b/lib/efi_loader/efi_disk.c\nindex ed06485e33..4e78ade2ed 100644\n--- a/lib/efi_loader/efi_disk.c\n+++ b/lib/efi_loader/efi_disk.c\n@@ -47,7 +47,7 @@ enum efi_disk_direction {\n \tEFI_DISK_WRITE,\n };\n \n-static efi_status_t EFIAPI efi_disk_rw_blocks(struct efi_block_io *this,\n+static efi_status_t efi_disk_rw_blocks(struct efi_block_io *this,\n \t\t\tu32 media_id, u64 lba, unsigned long buffer_size,\n \t\t\tvoid *buffer, enum efi_disk_direction direction)\n {\n",
    "prefixes": [
        "U-Boot",
        "1/1"
    ]
}