get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 35241,
    "url": "http://patches.dpdk.org/api/patches/35241/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1519112078-20113-3-git-send-email-arybchenko@solarflare.com/",
    "project": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/projects/1/?format=api",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<1519112078-20113-3-git-send-email-arybchenko@solarflare.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1519112078-20113-3-git-send-email-arybchenko@solarflare.com",
    "date": "2018-02-20T07:33:20",
    "name": "[dpdk-dev,02/80] net/sfc/base: regenerate files with genfwdef after ID update",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "00a698c804211ef849dcdaf143d9d5984a04574b",
    "submitter": {
        "id": 607,
        "url": "http://patches.dpdk.org/api/people/607/?format=api",
        "name": "Andrew Rybchenko",
        "email": "arybchenko@solarflare.com"
    },
    "delegate": {
        "id": 319,
        "url": "http://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1519112078-20113-3-git-send-email-arybchenko@solarflare.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/35241/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/35241/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id A88411B2F5;\n\tTue, 20 Feb 2018 08:35:40 +0100 (CET)",
            "from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com\n\t[67.231.154.164]) by dpdk.org (Postfix) with ESMTP id D66731B1AF\n\tfor <dev@dpdk.org>; Tue, 20 Feb 2018 08:35:20 +0100 (CET)",
            "from webmail.solarflare.com (webmail.solarflare.com\n\t[12.187.104.26])\n\t(using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby mx1-us3.ppe-hosted.com (Proofpoint Essentials ESMTP Server) with\n\tESMTPS id\n\tEA8C16C0053 for <dev@dpdk.org>; Tue, 20 Feb 2018 07:35:19 +0000 (UTC)",
            "from sfocexch01r.SolarFlarecom.com (10.20.40.34) by\n\tocex03.SolarFlarecom.com (10.20.40.36) with Microsoft SMTP Server\n\t(TLS) id 15.0.1044.25; Mon, 19 Feb 2018 23:35:15 -0800",
            "from ocex03.SolarFlarecom.com (10.20.40.36) by\n\tsfocexch01r.SolarFlarecom.com (10.20.40.34) with Microsoft SMTP\n\tServer (TLS) id 15.0.1044.25; Mon, 19 Feb 2018 23:35:13 -0800",
            "from opal.uk.solarflarecom.com (10.17.10.1) by\n\tocex03.SolarFlarecom.com (10.20.40.36) with Microsoft SMTP Server\n\t(TLS) id\n\t15.0.1044.25 via Frontend Transport; Mon, 19 Feb 2018 23:35:12 -0800",
            "from uklogin.uk.solarflarecom.com (uklogin.uk.solarflarecom.com\n\t[10.17.10.10])\n\tby opal.uk.solarflarecom.com (8.13.8/8.13.8) with ESMTP id\n\tw1K7ZCtK024837; Tue, 20 Feb 2018 07:35:12 GMT",
            "from uklogin.uk.solarflarecom.com (localhost.localdomain\n\t[127.0.0.1])\n\tby uklogin.uk.solarflarecom.com (8.13.8/8.13.8) with ESMTP id\n\tw1K7ZBtE020529; Tue, 20 Feb 2018 07:35:11 GMT"
        ],
        "X-Virus-Scanned": "Proofpoint Essentials engine",
        "From": "Andrew Rybchenko <arybchenko@solarflare.com>",
        "To": "<dev@dpdk.org>",
        "CC": "Andrew Jackson <ajackson@solarflare.com>",
        "Date": "Tue, 20 Feb 2018 07:33:20 +0000",
        "Message-ID": "<1519112078-20113-3-git-send-email-arybchenko@solarflare.com>",
        "X-Mailer": "git-send-email 1.8.2.3",
        "In-Reply-To": "<1519112078-20113-1-git-send-email-arybchenko@solarflare.com>",
        "References": "<1519112078-20113-1-git-send-email-arybchenko@solarflare.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-MDID": "1519112120-dhRKYPY7Idso",
        "Subject": "[dpdk-dev] [PATCH 02/80] net/sfc/base: regenerate files with\n\tgenfwdef after ID update",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "From: Andrew Jackson <ajackson@solarflare.com>\n\nAdd security level to image boot header.\n\nSigned-off-by: Andrew Jackson <ajackson@solarflare.com>\nSigned-off-by: Andrew Rybchenko <arybchenko@solarflare.com>\n---\n drivers/net/sfc/base/siena_flash.h | 9 ++++++++-\n 1 file changed, 8 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/sfc/base/siena_flash.h b/drivers/net/sfc/base/siena_flash.h\nindex 91a9fe0..74bb949 100644\n--- a/drivers/net/sfc/base/siena_flash.h\n+++ b/drivers/net/sfc/base/siena_flash.h\n@@ -103,7 +103,14 @@ typedef struct siena_mc_boot_hdr_s {\t\t/* GENERATED BY scripts/genfwdef */\n \t\t\t\t\t\t/* the key, or 0xffff if unsigned. (Otherwise set to 0) */\n \tefx_byte_t\tmumfw_subtype;\t\t/* MUM & SUC images: subtype. (Otherwise set to 0) */\n \tefx_byte_t\treserved_b[3];\t\t/* (set to 0) */\n-\tefx_dword_t\treserved_c[6];\t\t/* (set to 0) */\n+\tefx_dword_t\tsecurity_level;\t\t/* This number increases every time a serious security flaw */\n+\t\t\t\t\t\t/* is fixed. A secure NIC may not downgrade to any image */\n+\t\t\t\t\t\t/* with a lower security level than the current image. */\n+\t\t\t\t\t\t/* Note: The number in this header should only be used for */\n+\t\t\t\t\t\t/* determining the level of new images, not to determine */\n+\t\t\t\t\t\t/* the level of the current image as this header is not */\n+\t\t\t\t\t\t/* protected by a CMAC. */\n+\tefx_dword_t\treserved_c[5];\t\t/* (set to 0) */\n } siena_mc_boot_hdr_t;\n \n #define\tSIENA_MC_BOOT_HDR_PADDING \\\n",
    "prefixes": [
        "dpdk-dev",
        "02/80"
    ]
}