get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 87338,
    "url": "https://patches.dpdk.org/api/patches/87338/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20210126141857.1029916-2-bruce.richardson@intel.com/",
    "project": {
        "id": 1,
        "url": "https://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": "<20210126141857.1029916-2-bruce.richardson@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210126141857.1029916-2-bruce.richardson@intel.com",
    "date": "2021-01-26T14:18:50",
    "name": "[v4,1/7] eal: add missing include to mcslock",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "e658ee62e029e632d6abdd2af951be61c34ae9b2",
    "submitter": {
        "id": 20,
        "url": "https://patches.dpdk.org/api/people/20/?format=api",
        "name": "Bruce Richardson",
        "email": "bruce.richardson@intel.com"
    },
    "delegate": {
        "id": 24651,
        "url": "https://patches.dpdk.org/api/users/24651/?format=api",
        "username": "dmarchand",
        "first_name": "David",
        "last_name": "Marchand",
        "email": "david.marchand@redhat.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20210126141857.1029916-2-bruce.richardson@intel.com/mbox/",
    "series": [
        {
            "id": 14953,
            "url": "https://patches.dpdk.org/api/series/14953/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=14953",
            "date": "2021-01-26T14:18:49",
            "name": "add checking of header includes",
            "version": 4,
            "mbox": "https://patches.dpdk.org/series/14953/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/87338/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/87338/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id EAE0AA052A;\n\tTue, 26 Jan 2021 15:19:20 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id DDCB6140DE7;\n\tTue, 26 Jan 2021 15:19:17 +0100 (CET)",
            "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n by mails.dpdk.org (Postfix) with ESMTP id 4F335140D29;\n Tue, 26 Jan 2021 15:19:14 +0100 (CET)",
            "from fmsmga008.fm.intel.com ([10.253.24.58])\n by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 26 Jan 2021 06:19:13 -0800",
            "from silpixa00399126.ir.intel.com ([10.237.222.4])\n by fmsmga008.fm.intel.com with ESMTP; 26 Jan 2021 06:19:12 -0800"
        ],
        "IronPort-SDR": [
            "\n xgDZSV+ahgutNQsrZ8M4DGswbLHhgg2GdrC3ZnGi+MdTjMczjxHQmLLjOrKJXCAAuHpleRIU3i\n B6nesCdEgpGg==",
            "\n tqrrHZ7UNm+hP1BWdkPROeb8xoj2o9o6SJ43Ilgy4vDSZCRmdpmMAzZ7ZML10yXyGfuVcXAweu\n 64M7Aam+0yWg=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9875\"; a=\"179986221\"",
            "E=Sophos;i=\"5.79,375,1602572400\"; d=\"scan'208\";a=\"179986221\"",
            "E=Sophos;i=\"5.79,375,1602572400\"; d=\"scan'208\";a=\"361995424\""
        ],
        "X-ExtLoop1": "1",
        "From": "Bruce Richardson <bruce.richardson@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "david.marchand@redhat.com, Bruce Richardson <bruce.richardson@intel.com>,\n stable@dpdk.org, Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>,\n Gavin Hu <gavin.hu@arm.com>, Steve Capper <steve.capper@arm.com>,\n Phil Yang <phil.yang@arm.com>",
        "Date": "Tue, 26 Jan 2021 14:18:50 +0000",
        "Message-Id": "<20210126141857.1029916-2-bruce.richardson@intel.com>",
        "X-Mailer": "git-send-email 2.27.0",
        "In-Reply-To": "<20210126141857.1029916-1-bruce.richardson@intel.com>",
        "References": "<20210114110606.21142-1-bruce.richardson@intel.com>\n <20210126141857.1029916-1-bruce.richardson@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v4 1/7] eal: add missing include to mcslock",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <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 <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Include 'rte_branch_prediction.h' to get the likely/unlikely macro\ndefinitions.\n\nFixes: 2173f3333b61 (\"mcslock: add MCS queued lock implementation\")\nCc: stable@dpdk.org\n\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n lib/librte_eal/include/generic/rte_mcslock.h | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/lib/librte_eal/include/generic/rte_mcslock.h b/lib/librte_eal/include/generic/rte_mcslock.h\nindex d370bef17a..9f323bd2a2 100644\n--- a/lib/librte_eal/include/generic/rte_mcslock.h\n+++ b/lib/librte_eal/include/generic/rte_mcslock.h\n@@ -22,6 +22,7 @@\n #include <rte_lcore.h>\n #include <rte_common.h>\n #include <rte_pause.h>\n+#include <rte_branch_prediction.h>\n \n /**\n  * The rte_mcslock_t type.\n",
    "prefixes": [
        "v4",
        "1/7"
    ]
}