get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 40826,
    "url": "https://patches.dpdk.org/api/patches/40826/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1528454414-9996-1-git-send-email-alejandro.lucero@netronome.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": "<1528454414-9996-1-git-send-email-alejandro.lucero@netronome.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1528454414-9996-1-git-send-email-alejandro.lucero@netronome.com",
    "date": "2018-06-08T10:40:14",
    "name": "[dpdk-dev] net/nfp: fix unused header reference",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "85efa60c8556fb6904fefdab6f79edba394e25f9",
    "submitter": {
        "id": 270,
        "url": "https://patches.dpdk.org/api/people/270/?format=api",
        "name": "Alejandro Lucero",
        "email": "alejandro.lucero@netronome.com"
    },
    "delegate": {
        "id": 319,
        "url": "https://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1528454414-9996-1-git-send-email-alejandro.lucero@netronome.com/mbox/",
    "series": [
        {
            "id": 51,
            "url": "https://patches.dpdk.org/api/series/51/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=51",
            "date": "2018-06-08T10:40:14",
            "name": "[dpdk-dev] net/nfp: fix unused header reference",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/51/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/40826/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/40826/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 555505F65;\n\tFri,  8 Jun 2018 12:40:28 +0200 (CEST)",
            "from netronome.com (host-79-78-33-110.static.as9105.net\n\t[79.78.33.110]) by dpdk.org (Postfix) with ESMTP id D7CC0F72;\n\tFri,  8 Jun 2018 12:40:26 +0200 (CEST)",
            "from netronome.com (localhost [127.0.0.1])\n\tby netronome.com (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id\n\tw58AeEqv010034; Fri, 8 Jun 2018 11:40:14 +0100",
            "(from alucero@localhost)\n\tby netronome.com (8.14.4/8.14.4/Submit) id w58AeEq6010033;\n\tFri, 8 Jun 2018 11:40:14 +0100"
        ],
        "From": "Alejandro Lucero <alejandro.lucero@netronome.com>",
        "To": "dev@dpdk.org",
        "Cc": "stable@dpdk.org",
        "Date": "Fri,  8 Jun 2018 11:40:14 +0100",
        "Message-Id": "<1528454414-9996-1-git-send-email-alejandro.lucero@netronome.com>",
        "X-Mailer": "git-send-email 1.9.1",
        "Subject": "[dpdk-dev] [PATCH] net/nfp: fix unused header reference",
        "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://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": "<https://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": "Apart from not being used, this is causing problem when compiling\nDPDK with the musl library as reported by bugzilla.\n\nFixes: c7e9729da6b5 (\"net/nfp: support CPP\")\n\nSigned-off-by: Alejandro Lucero <alejandro.lucero@netronome.com>\n---\n drivers/net/nfp/nfpcore/nfp-common/nfp_platform.h | 1 -\n 1 file changed, 1 deletion(-)",
    "diff": "diff --git a/drivers/net/nfp/nfpcore/nfp-common/nfp_platform.h b/drivers/net/nfp/nfpcore/nfp-common/nfp_platform.h\nindex b8541c5..d46574b 100644\n--- a/drivers/net/nfp/nfpcore/nfp-common/nfp_platform.h\n+++ b/drivers/net/nfp/nfpcore/nfp-common/nfp_platform.h\n@@ -13,7 +13,6 @@\n #include <stdlib.h>\n #include <ctype.h>\n #include <inttypes.h>\n-#include <sys/cdefs.h>\n #include <sys/stat.h>\n #include <limits.h>\n #include <errno.h>\n",
    "prefixes": [
        "dpdk-dev"
    ]
}