get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 70,
    "url": "http://patches.dpdk.org/api/patches/70/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1405914461-19335-3-git-send-email-mhall@mhcomputing.net/",
    "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": "<1405914461-19335-3-git-send-email-mhall@mhcomputing.net>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1405914461-19335-3-git-send-email-mhall@mhcomputing.net",
    "date": "2014-07-21T03:47:39",
    "name": "[dpdk-dev,2/4] virtio-net.c: incorrect parens around equality check",
    "commit_ref": null,
    "pull_url": null,
    "state": "rejected",
    "archived": true,
    "hash": "22b053606a1d8725934f2c576a1c993591bea311",
    "submitter": {
        "id": 37,
        "url": "http://patches.dpdk.org/api/people/37/?format=api",
        "name": "Matthew Hall",
        "email": "mhall@mhcomputing.net"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1405914461-19335-3-git-send-email-mhall@mhcomputing.net/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/70/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/70/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<mhall@mhcomputing.net>",
        "Received": [
            "from mail.mhcomputing.net (master.mhcomputing.net [74.208.46.186])\n\tby dpdk.org (Postfix) with ESMTP id 9BDEC68CB\n\tfor <dev@dpdk.org>; Mon, 21 Jul 2014 05:47:27 +0200 (CEST)",
            "from syslog-sdn.mhcomputing.net\n\t(172-3-139-73.lightspeed.sntcca.sbcglobal.net [172.3.139.73])\n\tby mail.mhcomputing.net (Postfix) with ESMTPSA id 111A980A158;\n\tSun, 20 Jul 2014 20:48:07 -0700 (PDT)"
        ],
        "From": "Matthew Hall <mhall@mhcomputing.net>",
        "To": "dev@dpdk.org",
        "Date": "Sun, 20 Jul 2014 20:47:39 -0700",
        "Message-Id": "<1405914461-19335-3-git-send-email-mhall@mhcomputing.net>",
        "X-Mailer": "git-send-email 1.9.1",
        "In-Reply-To": "<1405914461-19335-1-git-send-email-mhall@mhcomputing.net>",
        "References": "<1405914461-19335-1-git-send-email-mhall@mhcomputing.net>",
        "Subject": "[dpdk-dev] [PATCH 2/4] virtio-net.c: incorrect parens around\n\tequality check",
        "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>",
        "X-List-Received-Date": "Mon, 21 Jul 2014 03:47:27 -0000"
    },
    "content": "Signed-off-by: Matthew Hall <mhall@mhcomputing.net>\n---\n examples/vhost/virtio-net.c | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/examples/vhost/virtio-net.c b/examples/vhost/virtio-net.c\nindex 801607a..5e659c7 100644\n--- a/examples/vhost/virtio-net.c\n+++ b/examples/vhost/virtio-net.c\n@@ -280,8 +280,8 @@ get_config_ll_entry(struct vhost_device_ctx ctx)\n \n \t/* Loop through linked list until the device_fh is found. */\n \twhile (ll_dev != NULL) {\n-\t\tif ((ll_dev->dev.device_fh == ctx.fh))\n-            return ll_dev;\n+\t\tif (ll_dev->dev.device_fh == ctx.fh)\n+\t\t\treturn ll_dev;\n \t\tll_dev = ll_dev->next;\n \t}\n \n",
    "prefixes": [
        "dpdk-dev",
        "2/4"
    ]
}