get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 43778,
    "url": "http://patches.dpdk.org/api/patches/43778/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1534503091-31910-3-git-send-email-jia.guo@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": "<1534503091-31910-3-git-send-email-jia.guo@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1534503091-31910-3-git-send-email-jia.guo@intel.com",
    "date": "2018-08-17T10:51:28",
    "name": "[v1,2/5] eal: add a new req event to device event",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "863ae1fd1a220d272faf38194a1811bf50da726b",
    "submitter": {
        "id": 507,
        "url": "http://patches.dpdk.org/api/people/507/?format=api",
        "name": "Guo, Jia",
        "email": "jia.guo@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/1534503091-31910-3-git-send-email-jia.guo@intel.com/mbox/",
    "series": [
        {
            "id": 1010,
            "url": "http://patches.dpdk.org/api/series/1010/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=1010",
            "date": "2018-08-17T10:51:26",
            "name": "Enable hotplug in vfio",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/1010/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/43778/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/43778/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 699AE4CA1;\n\tFri, 17 Aug 2018 12:54:21 +0200 (CEST)",
            "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n\tby dpdk.org (Postfix) with ESMTP id 315D94C95\n\tfor <dev@dpdk.org>; Fri, 17 Aug 2018 12:54:20 +0200 (CEST)",
            "from fmsmga003.fm.intel.com ([10.253.24.29])\n\tby fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t17 Aug 2018 03:54:19 -0700",
            "from jeffguo-z170x-ud5.sh.intel.com (HELO localhost.localdomain)\n\t([10.67.104.10])\n\tby FMSMGA003.fm.intel.com with ESMTP; 17 Aug 2018 03:54:16 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.53,250,1531810800\"; d=\"scan'208\";a=\"73536789\"",
        "From": "Jeff Guo <jia.guo@intel.com>",
        "To": "stephen@networkplumber.org, bruce.richardson@intel.com,\n\tferruh.yigit@intel.com, konstantin.ananyev@intel.com,\n\tgaetan.rivet@6wind.com, jingjing.wu@intel.com, thomas@monjalon.net,\n\tmotih@mellanox.com, matan@mellanox.com, harry.van.haaren@intel.com,\n\tqi.z.zhang@intel.com, shaopeng.he@intel.com,\n\tbernard.iremonger@intel.com, arybchenko@solarflare.com",
        "Cc": "jblunck@infradead.org, shreyansh.jain@nxp.com, dev@dpdk.org,\n\tjia.guo@intel.com, helin.zhang@intel.com",
        "Date": "Fri, 17 Aug 2018 18:51:28 +0800",
        "Message-Id": "<1534503091-31910-3-git-send-email-jia.guo@intel.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1534503091-31910-1-git-send-email-jia.guo@intel.com>",
        "References": "<1534503091-31910-1-git-send-email-jia.guo@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v1 2/5] eal: add a new req event to device event",
        "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": "Add a new req event in eal device event for vfio hotplug. When the req\nrequest send from the vfio kernel module be detected, vfio userpace\ndriver could use this event to notify the app to handler it.\n\nSigned-off-by: Jeff Guo <jia.guo@intel.com>\n---\n lib/librte_eal/common/include/rte_dev.h | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/lib/librte_eal/common/include/rte_dev.h b/lib/librte_eal/common/include/rte_dev.h\nindex ff580a0..0324c84 100644\n--- a/lib/librte_eal/common/include/rte_dev.h\n+++ b/lib/librte_eal/common/include/rte_dev.h\n@@ -30,6 +30,7 @@ extern \"C\" {\n enum rte_dev_event_type {\n \tRTE_DEV_EVENT_ADD,\t/**< device being added */\n \tRTE_DEV_EVENT_REMOVE,\t/**< device being removed */\n+\tRTE_DEV_EVENT_REQ,\t/**< device being removed */\n \tRTE_DEV_EVENT_MAX\t/**< max value of this enum */\n };\n \n",
    "prefixes": [
        "v1",
        "2/5"
    ]
}