get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 39900,
    "url": "https://patches.dpdk.org/api/patches/39900/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/152609034736.121661.8183957126379452765.stgit@localhost.localdomain/",
    "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": "<152609034736.121661.8183957126379452765.stgit@localhost.localdomain>",
    "list_archive_url": "https://inbox.dpdk.org/dev/152609034736.121661.8183957126379452765.stgit@localhost.localdomain",
    "date": "2018-05-12T01:59:07",
    "name": "[dpdk-dev,v3,05/24] lib/librte_eal: explicit cast for signed change",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "2d6d3af566289cebd460aa393861c1ae71005fdf",
    "submitter": {
        "id": 1029,
        "url": "https://patches.dpdk.org/api/people/1029/?format=api",
        "name": "Andy Green",
        "email": "andy@warmcat.com"
    },
    "delegate": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/152609034736.121661.8183957126379452765.stgit@localhost.localdomain/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/39900/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/39900/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 F32F91CC71;\n\tSat, 12 May 2018 03:59:12 +0200 (CEST)",
            "from mail.warmcat.com (mail.warmcat.com [163.172.24.82])\n\tby dpdk.org (Postfix) with ESMTP id 686DE1CC71\n\tfor <dev@dpdk.org>; Sat, 12 May 2018 03:59:11 +0200 (CEST)"
        ],
        "From": "Andy Green <andy@warmcat.com>",
        "To": "dev@dpdk.org",
        "Date": "Sat, 12 May 2018 09:59:07 +0800",
        "Message-ID": "<152609034736.121661.8183957126379452765.stgit@localhost.localdomain>",
        "In-Reply-To": "<152609021699.121661.5295227351721865436.stgit@localhost.localdomain>",
        "References": "<152609021699.121661.5295227351721865436.stgit@localhost.localdomain>",
        "User-Agent": "StGit/unknown-version",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "7bit",
        "Subject": "[dpdk-dev] [PATCH v3 05/24] lib/librte_eal: explicit cast for\n\tsigned change",
        "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": "/projects/lagopus/src/dpdk/build/include/rte_lcore.h:\nIn function 'rte_lcore_index':\n/projects/lagopus/src/dpdk/build/include/rte_lcore.h:122:14:\nwarning: conversion to 'int' from 'unsigned int' may change\nthe sign of the result [-Wsign-conversion]\n   lcore_id = rte_lcore_id();\n\nSigned-off-by: Andy Green <andy@warmcat.com>\n---\n lib/librte_eal/common/include/rte_lcore.h |    2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/lib/librte_eal/common/include/rte_lcore.h b/lib/librte_eal/common/include/rte_lcore.h\nindex 1a2f37eaa..6e09d9181 100644\n--- a/lib/librte_eal/common/include/rte_lcore.h\n+++ b/lib/librte_eal/common/include/rte_lcore.h\n@@ -119,7 +119,7 @@ rte_lcore_index(int lcore_id)\n \tif (lcore_id >= RTE_MAX_LCORE)\n \t\treturn -1;\n \tif (lcore_id < 0)\n-\t\tlcore_id = rte_lcore_id();\n+\t\tlcore_id = (int)rte_lcore_id();\n \treturn lcore_config[lcore_id].core_index;\n }\n \n",
    "prefixes": [
        "dpdk-dev",
        "v3",
        "05/24"
    ]
}