get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 48145,
    "url": "http://patches.dpdk.org/api/patches/48145/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1542326031-5263-4-git-send-email-konstantin.ananyev@intel.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": "<1542326031-5263-4-git-send-email-konstantin.ananyev@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1542326031-5263-4-git-send-email-konstantin.ananyev@intel.com",
    "date": "2018-11-15T23:53:45",
    "name": "[3/9] net: add ESP trailer structure definition",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "328c876738d8f219a4d747ce445fcb6ea5ae2f63",
    "submitter": {
        "id": 33,
        "url": "http://patches.dpdk.org/api/people/33/?format=api",
        "name": "Ananyev, Konstantin",
        "email": "konstantin.ananyev@intel.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1542326031-5263-4-git-send-email-konstantin.ananyev@intel.com/mbox/",
    "series": [
        {
            "id": 2453,
            "url": "http://patches.dpdk.org/api/series/2453/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=2453",
            "date": "2018-11-15T23:53:45",
            "name": null,
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/2453/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/48145/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/48145/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 03C1F4CC3;\n\tFri, 16 Nov 2018 00:54:09 +0100 (CET)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n\tby dpdk.org (Postfix) with ESMTP id 449134C92\n\tfor <dev@dpdk.org>; Fri, 16 Nov 2018 00:54:04 +0100 (CET)",
            "from orsmga007.jf.intel.com ([10.7.209.58])\n\tby orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t15 Nov 2018 15:54:03 -0800",
            "from sivswdev08.ir.intel.com (HELO localhost.localdomain)\n\t([10.237.217.47])\n\tby orsmga007.jf.intel.com with ESMTP; 15 Nov 2018 15:54:02 -0800"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.56,238,1539673200\"; d=\"scan'208\";a=\"89697361\"",
        "From": "Konstantin Ananyev <konstantin.ananyev@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "Konstantin Ananyev <konstantin.ananyev@intel.com>",
        "Date": "Thu, 15 Nov 2018 23:53:45 +0000",
        "Message-Id": "<1542326031-5263-4-git-send-email-konstantin.ananyev@intel.com>",
        "X-Mailer": "git-send-email 1.7.0.7",
        "In-Reply-To": "<1535129598-27301-1-git-send-email-konstantin.ananyev@intel.com>",
        "References": "<1535129598-27301-1-git-send-email-konstantin.ananyev@intel.com>",
        "Subject": "[dpdk-dev] [PATCH 3/9] net: add ESP trailer structure definition",
        "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://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>\n---\n lib/librte_net/rte_esp.h | 10 +++++++++-\n 1 file changed, 9 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/lib/librte_net/rte_esp.h b/lib/librte_net/rte_esp.h\nindex f77ec2eb2..8e1b3d2dd 100644\n--- a/lib/librte_net/rte_esp.h\n+++ b/lib/librte_net/rte_esp.h\n@@ -11,7 +11,7 @@\n  * ESP-related defines\n  */\n \n-#include <stdint.h>\n+#include <rte_byteorder.h>\n \n #ifdef __cplusplus\n extern \"C\" {\n@@ -25,6 +25,14 @@ struct esp_hdr {\n \trte_be32_t seq;  /**< packet sequence number */\n } __attribute__((__packed__));\n \n+/**\n+ * ESP Trailer\n+ */\n+struct esp_tail {\n+\tuint8_t pad_len;     /**< number of pad bytes (0-255) */\n+\tuint8_t next_proto;  /**< IPv4 or IPv6 or next layer header */\n+} __attribute__((__packed__));\n+\n #ifdef __cplusplus\n }\n #endif\n",
    "prefixes": [
        "3/9"
    ]
}