get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 239,
    "url": "https://patches.dpdk.org/api/patches/239/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1409062300-17004-2-git-send-email-david.marchand@6wind.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": "<1409062300-17004-2-git-send-email-david.marchand@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1409062300-17004-2-git-send-email-david.marchand@6wind.com",
    "date": "2014-08-26T14:11:38",
    "name": "[dpdk-dev,RFC,1/3] eal/bsd: fix fd leak",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "2231e1b57f97ff7d1d7a051dc63d945a5cd62c90",
    "submitter": {
        "id": 3,
        "url": "https://patches.dpdk.org/api/people/3/?format=api",
        "name": "David Marchand",
        "email": "david.marchand@6wind.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1409062300-17004-2-git-send-email-david.marchand@6wind.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/239/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/239/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<david.marchand@6wind.com>",
        "Received": [
            "from mail-wg0-f45.google.com (mail-wg0-f45.google.com\n\t[74.125.82.45]) by dpdk.org (Postfix) with ESMTP id D4A9DB3C2\n\tfor <dev@dpdk.org>; Tue, 26 Aug 2014 16:07:50 +0200 (CEST)",
            "by mail-wg0-f45.google.com with SMTP id x12so14377356wgg.4\n\tfor <dev@dpdk.org>; Tue, 26 Aug 2014 07:11:50 -0700 (PDT)",
            "from alcyon.dev.6wind.com (guy78-3-82-239-227-177.fbx.proxad.net.\n\t[82.239.227.177]) by mx.google.com with ESMTPSA id\n\tju1sm8693095wjc.1.2014.08.26.07.11.49 for <dev@dpdk.org>\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tTue, 26 Aug 2014 07:11:50 -0700 (PDT)"
        ],
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:from:to:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=d0ntlRx8b8ps7M4bziW/VoYgU5EzeFKyVorhUiUNGf0=;\n\tb=ANtGsjPdluHujNyb8t+zmwTRhF8wt4aHL9h0OwzsAMwcJEaKB9pEYAWY5JxJYTpXd7\n\t2OxF/ILLv9lpWR5J9zG1oppSv9fTe//pjXYcVWeP6JOVPEZG+B48Afs+nT2uQ1GadCwp\n\tfRio4svv9y7lXdxvAcUWO8e28Qp2PUbTUzlBA5LN1vO1sxQtNwJmyeX3rekDbAddiKn2\n\t9IVuRR9l8fJP+A4vijt4twpSpfyUDoTORjTsWWLBFf7cJ83r+xZgfh5Bs48oYWXNzqzv\n\t3XdB+/F1N7e7AojRtO9xeRUV7euMJKNx2vbnF/O50HtZRk6cbIbxJed4bIibwi1mA5W3\n\tjkyA==",
        "X-Gm-Message-State": "ALoCoQljZjkR7apZ0V4OpJ0T2hmITUuOJDiRJzbBEnQmb1/sCUji4Gj2ARlHVmnPqiESNW6zvU9s",
        "X-Received": "by 10.180.212.78 with SMTP id ni14mr22504123wic.44.1409062310790;\n\tTue, 26 Aug 2014 07:11:50 -0700 (PDT)",
        "From": "David Marchand <david.marchand@6wind.com>",
        "To": "dev@dpdk.org",
        "Date": "Tue, 26 Aug 2014 16:11:38 +0200",
        "Message-Id": "<1409062300-17004-2-git-send-email-david.marchand@6wind.com>",
        "X-Mailer": "git-send-email 1.7.10.4",
        "In-Reply-To": "<1409062300-17004-1-git-send-email-david.marchand@6wind.com>",
        "References": "<1409062300-17004-1-git-send-email-david.marchand@6wind.com>",
        "Subject": "[dpdk-dev] [PATCH RFC 1/3] eal/bsd: fix fd leak",
        "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": "Tue, 26 Aug 2014 14:07:51 -0000"
    },
    "content": "Signed-off-by: David Marchand <david.marchand@6wind.com>\n---\n lib/librte_eal/bsdapp/eal/eal.c |    1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/lib/librte_eal/bsdapp/eal/eal.c b/lib/librte_eal/bsdapp/eal/eal.c\nindex a296da5..0697b05 100644\n--- a/lib/librte_eal/bsdapp/eal/eal.c\n+++ b/lib/librte_eal/bsdapp/eal/eal.c\n@@ -810,6 +810,7 @@ rte_eal_iopl_init(void)\n \tfd = open(\"/dev/io\", O_RDWR);\n \tif (fd < 0)\n \t\treturn -1;\n+\tclose(fd);\n \treturn 0;\n }\n \n",
    "prefixes": [
        "dpdk-dev",
        "RFC",
        "1/3"
    ]
}