get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2435,
    "url": "https://patches.dpdk.org/api/patches/2435/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1421873870-21754-10-git-send-email-nhorman@tuxdriver.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": "<1421873870-21754-10-git-send-email-nhorman@tuxdriver.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1421873870-21754-10-git-send-email-nhorman@tuxdriver.com",
    "date": "2015-01-21T20:57:34",
    "name": "[dpdk-dev,v7,10/26] nic_uio: fix thread structure compatibility for future FreeBSD",
    "commit_ref": null,
    "pull_url": null,
    "state": "not-applicable",
    "archived": true,
    "hash": "e14146b9875e3d78a6989afda70ee8d92e05c426",
    "submitter": {
        "id": 32,
        "url": "https://patches.dpdk.org/api/people/32/?format=api",
        "name": "Neil Horman",
        "email": "nhorman@tuxdriver.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1421873870-21754-10-git-send-email-nhorman@tuxdriver.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/2435/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/2435/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 00D475A9D;\n\tWed, 21 Jan 2015 21:58:33 +0100 (CET)",
            "from smtp.tuxdriver.com (charlotte.tuxdriver.com [70.61.120.58])\n\tby dpdk.org (Postfix) with ESMTP id E27A55A9E\n\tfor <dev@dpdk.org>; Wed, 21 Jan 2015 21:58:30 +0100 (CET)",
            "from hmsreliant.think-freely.org\n\t([2001:470:8:a08:7aac:c0ff:fec2:933b] helo=localhost)\n\tby smtp.tuxdriver.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63)\n\t(envelope-from <nhorman@tuxdriver.com>)\n\tid 1YE2M3-0007Ae-GG; Wed, 21 Jan 2015 15:58:27 -0500"
        ],
        "From": "Neil Horman <nhorman@tuxdriver.com>",
        "To": "dev@dpdk.org",
        "Date": "Wed, 21 Jan 2015 15:57:34 -0500",
        "Message-Id": "<1421873870-21754-10-git-send-email-nhorman@tuxdriver.com>",
        "X-Mailer": "git-send-email 2.1.0",
        "In-Reply-To": "<1421873870-21754-1-git-send-email-nhorman@tuxdriver.com>",
        "References": "<1419109299-9603-1-git-send-email-nhorman@tuxdriver.com>\n\t<1421873870-21754-1-git-send-email-nhorman@tuxdriver.com>",
        "X-Spam-Score": "-2.9 (--)",
        "X-Spam-Status": "No",
        "Subject": "[dpdk-dev] [PATCH v7 10/26] nic_uio: fix thread structure\n\tcompatibility for future FreeBSD",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "patches and discussions about DPDK <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": "From: Bruce Richardson <bruce.richardson@intel.com>\n\nReplace d_thread_t with struct thread in nic_uio.\n\nRef: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196691\nQuote:\n\"The d_thread_t typedef is a compat shim to support FreeBSD 4.x.\nI'm planning to remove this shim from 11 and dpdk is very unlikely\nto ever be ported to 4.x.\nIf it does it will need far more changes than just d_thread_t\"\n\nReported-by: John Baldwin <jhb@freebsd.org>\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n lib/librte_eal/bsdapp/nic_uio/nic_uio.c | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/lib/librte_eal/bsdapp/nic_uio/nic_uio.c b/lib/librte_eal/bsdapp/nic_uio/nic_uio.c\nindex ed11d84..5ae8560 100644\n--- a/lib/librte_eal/bsdapp/nic_uio/nic_uio.c\n+++ b/lib/librte_eal/bsdapp/nic_uio/nic_uio.c\n@@ -175,13 +175,13 @@ nic_uio_mmap_single(struct cdev *cdev, vm_ooffset_t *offset, vm_size_t size,\n \n \n int\n-nic_uio_open(struct cdev *dev, int oflags, int devtype, d_thread_t *td)\n+nic_uio_open(struct cdev *dev, int oflags, int devtype, struct thread *td)\n {\n \treturn 0;\n }\n \n int\n-nic_uio_close(struct cdev *dev, int fflag, int devtype, d_thread_t *td)\n+nic_uio_close(struct cdev *dev, int fflag, int devtype, struct thread *td)\n {\n \treturn 0;\n }\n",
    "prefixes": [
        "dpdk-dev",
        "v7",
        "10/26"
    ]
}