get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 27930,
    "url": "http://patches.dpdk.org/api/patches/27930/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/36281be08ed942f7aa7de33e4fef0288d0927ec1.1503651392.git.gaetan.rivet@6wind.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": "<36281be08ed942f7aa7de33e4fef0288d0927ec1.1503651392.git.gaetan.rivet@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/36281be08ed942f7aa7de33e4fef0288d0927ec1.1503651392.git.gaetan.rivet@6wind.com",
    "date": "2017-08-25T09:04:31",
    "name": "[dpdk-dev,09/13] lib: include rte_bus_pci",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "af8fc22d2506865f8030dcb75629a0149902a938",
    "submitter": {
        "id": 269,
        "url": "http://patches.dpdk.org/api/people/269/?format=api",
        "name": "Gaëtan Rivet",
        "email": "gaetan.rivet@6wind.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/36281be08ed942f7aa7de33e4fef0288d0927ec1.1503651392.git.gaetan.rivet@6wind.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/27930/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/27930/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 [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id C9DC79105;\n\tFri, 25 Aug 2017 11:05:11 +0200 (CEST)",
            "from mail-wm0-f49.google.com (mail-wm0-f49.google.com\n\t[74.125.82.49]) by dpdk.org (Postfix) with ESMTP id B4B297D8A\n\tfor <dev@dpdk.org>; Fri, 25 Aug 2017 11:05:01 +0200 (CEST)",
            "by mail-wm0-f49.google.com with SMTP id b189so6986096wmd.0\n\tfor <dev@dpdk.org>; Fri, 25 Aug 2017 02:05:01 -0700 (PDT)",
            "from bidouze.dev.6wind.com (host.78.145.23.62.rev.coltfrance.com.\n\t[62.23.145.78]) by smtp.gmail.com with ESMTPSA id\n\tq141sm782350wmb.11.2017.08.25.02.04.59\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tFri, 25 Aug 2017 02:05:00 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=6wind-com.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:in-reply-to:references;\n\tbh=XGEwkAbQG06J+JDfaFXommMcjsSQJrhovIPwlf5nYSM=;\n\tb=xYVIQp5t1ocPiRBkqYJyHPhvKcPjOQixHUWEV/1sZgLPuxe3b7HdQsFoTJ6aI9qJPr\n\tYGd8DA1Z0vhf982vMx1v69Cd3A1IpROPMhXp0KDE8N/wir+k99gRKuuvh+OXdANwd+pT\n\tDJhALklOhoVaw/eoAnwqeSw4nXjJ58lUSMLIzBY+VJhLAsmsQUxuvUrbbDUQNwrXLQ/A\n\trh+rmM518TlMCcnB0MPMrk6qTTSn4P77/brHHcfVsBpDK+VwVNXPZfFI6FNvH50DeIg5\n\tDGMDStEht9VoM0Oo25dst7f4rJGbF+fI3u9PxkN+DBzRch5Lq5kwGWURD9mQcGaQo/6E\n\tefSg==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:in-reply-to:references;\n\tbh=XGEwkAbQG06J+JDfaFXommMcjsSQJrhovIPwlf5nYSM=;\n\tb=tgXV7Mqj3FPra2NwoN+JirHrObcw3Pj4T9lYxuf6oiog4wqsS3KTE/9+rUNlCQRct7\n\tEAz4LqzWwtrZfVb+mbb8J9IOmXIbPEZkJN9spEiz68lHHtwWBg0lPBIio6YwZV6vQhCa\n\t38P6Xg4BW2KlSSq+fK1ajL3GzdCrOYTiFKLcLQWSyo/SMVXSPkRGs3xq2+l63LxCRTk4\n\t3Z965RAthi28tcrqpJjZdQACiZBdO7taz6iIGqEpFqdqq2QEj2/E3ToKwRwEB1vMOqA6\n\tTr4TuMQ4uy6vDSVUNagVHm0Ym/J9PziWQQSCALKKLCfYPZT4TYjwR62+Cdn+S8iIb8JX\n\tMz0A==",
        "X-Gm-Message-State": "AHYfb5giLafqoe7Gy/ore7RyMAL9FuarZir+56SV0fVE0kr5kDnGDOYJ\n\toWGUaPxAun/IIRG0bXs=",
        "X-Received": "by 10.28.232.71 with SMTP id f68mr821575wmh.100.1503651900966;\n\tFri, 25 Aug 2017 02:05:00 -0700 (PDT)",
        "From": "Gaetan Rivet <gaetan.rivet@6wind.com>",
        "To": "dev@dpdk.org",
        "Cc": "Gaetan Rivet <gaetan.rivet@6wind.com>",
        "Date": "Fri, 25 Aug 2017 11:04:31 +0200",
        "Message-Id": "<36281be08ed942f7aa7de33e4fef0288d0927ec1.1503651392.git.gaetan.rivet@6wind.com>",
        "X-Mailer": "git-send-email 2.1.4",
        "In-Reply-To": [
            "<cover.1503651392.git.gaetan.rivet@6wind.com>",
            "<cover.1503651392.git.gaetan.rivet@6wind.com>"
        ],
        "References": [
            "<cover.1503651392.git.gaetan.rivet@6wind.com>",
            "<cover.1503651392.git.gaetan.rivet@6wind.com>"
        ],
        "Subject": "[dpdk-dev] [PATCH 09/13] lib: include rte_bus_pci",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<http://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": "<http://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": "Devices and drivers are now defined within the bus-specific PCI header.\nUpdate the libraries, as structuraly unsound as it may be.\n\nSigned-off-by: Gaetan Rivet <gaetan.rivet@6wind.com>\n---\n lib/librte_ether/rte_ethdev_pci.h          | 1 +\n lib/librte_eventdev/rte_eventdev_pmd_pci.h | 1 +\n 2 files changed, 2 insertions(+)",
    "diff": "diff --git a/lib/librte_ether/rte_ethdev_pci.h b/lib/librte_ether/rte_ethdev_pci.h\nindex 56b1072..722075e 100644\n--- a/lib/librte_ether/rte_ethdev_pci.h\n+++ b/lib/librte_ether/rte_ethdev_pci.h\n@@ -36,6 +36,7 @@\n \n #include <rte_malloc.h>\n #include <rte_pci.h>\n+#include <rte_bus_pci.h>\n #include <rte_ethdev.h>\n \n /**\ndiff --git a/lib/librte_eventdev/rte_eventdev_pmd_pci.h b/lib/librte_eventdev/rte_eventdev_pmd_pci.h\nindex b6bd731..ade32b5 100644\n--- a/lib/librte_eventdev/rte_eventdev_pmd_pci.h\n+++ b/lib/librte_eventdev/rte_eventdev_pmd_pci.h\n@@ -50,6 +50,7 @@ extern \"C\" {\n #include <rte_eal.h>\n #include <rte_lcore.h>\n #include <rte_pci.h>\n+#include <rte_bus_pci.h>\n \n #include \"rte_eventdev_pmd.h\"\n \n",
    "prefixes": [
        "dpdk-dev",
        "09/13"
    ]
}