get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 42877,
    "url": "http://patches.dpdk.org/api/patches/42877/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1531318450-3942-4-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": "<1531318450-3942-4-git-send-email-arybchenko@solarflare.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1531318450-3942-4-git-send-email-arybchenko@solarflare.com",
    "date": "2018-07-11T14:14:10",
    "name": "[3/3] eal: deprecate device attach and detach functions",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "3df17854ac07721142ac62291f8f8b987970d99d",
    "submitter": {
        "id": 607,
        "url": "http://patches.dpdk.org/api/people/607/?format=api",
        "name": "Andrew Rybchenko",
        "email": "arybchenko@solarflare.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/1531318450-3942-4-git-send-email-arybchenko@solarflare.com/mbox/",
    "series": [
        {
            "id": 525,
            "url": "http://patches.dpdk.org/api/series/525/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=525",
            "date": "2018-07-11T14:14:10",
            "name": "deprecate attach and detach functions",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/525/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/42877/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/42877/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 E60071B5B0;\n\tWed, 11 Jul 2018 16:14:29 +0200 (CEST)",
            "from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com\n\t[148.163.129.52]) by dpdk.org (Postfix) with ESMTP id BA5811B5B2\n\tfor <dev@dpdk.org>; Wed, 11 Jul 2018 16:14:27 +0200 (CEST)",
            "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 B1F66600067; Wed, 11 Jul 2018 14:14:26 +0000 (UTC)",
            "from ocex03.SolarFlarecom.com (10.20.40.36) by\n\tocex03.SolarFlarecom.com (10.20.40.36) with Microsoft SMTP Server\n\t(TLS) id 15.0.1044.25; Wed, 11 Jul 2018 07:14:24 -0700",
            "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; Wed, 11 Jul 2018 07:14:23 -0700",
            "from ukv-loginhost.uk.solarflarecom.com\n\t(ukv-loginhost.uk.solarflarecom.com [10.17.10.39])\n\tby opal.uk.solarflarecom.com (8.13.8/8.13.8) with ESMTP id\n\tw6BEEM7D021507; Wed, 11 Jul 2018 15:14:22 +0100",
            "from ukv-loginhost.uk.solarflarecom.com (localhost [127.0.0.1])\n\tby ukv-loginhost.uk.solarflarecom.com (Postfix) with ESMTP id\n\t858C816546D; Wed, 11 Jul 2018 15:14:22 +0100 (BST)"
        ],
        "X-Virus-Scanned": "Proofpoint Essentials engine",
        "From": "Andrew Rybchenko <arybchenko@solarflare.com>",
        "To": "<dev@dpdk.org>",
        "CC": "Thomas Monjalon <thomas@monjalon.net>",
        "Date": "Wed, 11 Jul 2018 15:14:10 +0100",
        "Message-ID": "<1531318450-3942-4-git-send-email-arybchenko@solarflare.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1531318450-3942-1-git-send-email-arybchenko@solarflare.com>",
        "References": "<1531318450-3942-1-git-send-email-arybchenko@solarflare.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-MDID": "1531318467-IzlJAniQqA0D",
        "Subject": "[dpdk-dev] [PATCH 3/3] eal: deprecate device attach and detach\n\tfunctions",
        "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": "Hotplug functions should be used directly to add and remove devices.\n\nSigned-off-by: Andrew Rybchenko <arybchenko@solarflare.com>\n---\n doc/guides/rel_notes/deprecation.rst    | 5 +++++\n lib/librte_eal/common/include/rte_dev.h | 2 ++\n 2 files changed, 7 insertions(+)",
    "diff": "diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst\nindex fc3bf1a0b..2d8f03472 100644\n--- a/doc/guides/rel_notes/deprecation.rst\n+++ b/doc/guides/rel_notes/deprecation.rst\n@@ -79,6 +79,11 @@ Deprecation Notices\n   Function ``rte_eth_dev_get_port_by_name()`` may be used to find\n   identifier of the added port.\n \n+* eal: In v18.11 ``rte_eal_dev_attach()`` and ``rte_eal_dev_detach()``\n+  will be removed.\n+  Hotplug functions ``rte_eal_hotplug_add()`` and ``rte_eal_hotplug_remove()``\n+  should be used directly.\n+\n * pdump: As we changed to use generic IPC, some changes in APIs and structure\n   are expected in subsequent release.\n \ndiff --git a/lib/librte_eal/common/include/rte_dev.h b/lib/librte_eal/common/include/rte_dev.h\nindex ba6e445fc..a51f296e6 100644\n--- a/lib/librte_eal/common/include/rte_dev.h\n+++ b/lib/librte_eal/common/include/rte_dev.h\n@@ -175,6 +175,7 @@ struct rte_device {\n  * @return\n  *   0 on success, negative on error.\n  */\n+__rte_deprecated\n int rte_eal_dev_attach(const char *name, const char *devargs);\n \n /**\n@@ -185,6 +186,7 @@ int rte_eal_dev_attach(const char *name, const char *devargs);\n  * @return\n  *   0 on success, negative on error.\n  */\n+__rte_deprecated\n int rte_eal_dev_detach(struct rte_device *dev);\n \n /**\n",
    "prefixes": [
        "3/3"
    ]
}