get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2359,
    "url": "https://patches.dpdk.org/api/patches/2359/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1421650577-25969-2-git-send-email-helin.zhang@intel.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": "<1421650577-25969-2-git-send-email-helin.zhang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1421650577-25969-2-git-send-email-helin.zhang@intel.com",
    "date": "2015-01-19T06:56:11",
    "name": "[dpdk-dev,1/7] app/test-pmd: code style fix",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "06142318d6813c46626137eb1b0b4bb20bd67e21",
    "submitter": {
        "id": 14,
        "url": "https://patches.dpdk.org/api/people/14/?format=api",
        "name": "Zhang, Helin",
        "email": "helin.zhang@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1421650577-25969-2-git-send-email-helin.zhang@intel.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/2359/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/2359/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 6B7B05A85;\n\tMon, 19 Jan 2015 07:56:30 +0100 (CET)",
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n\tby dpdk.org (Postfix) with ESMTP id E840C1288\n\tfor <dev@dpdk.org>; Mon, 19 Jan 2015 07:56:27 +0100 (CET)",
            "from fmsmga003.fm.intel.com ([10.253.24.29])\n\tby fmsmga102.fm.intel.com with ESMTP; 18 Jan 2015 22:56:26 -0800",
            "from shvmail01.sh.intel.com ([10.239.29.42])\n\tby FMSMGA003.fm.intel.com with ESMTP; 18 Jan 2015 22:43:15 -0800",
            "from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com\n\t[10.239.29.89])\n\tby shvmail01.sh.intel.com with ESMTP id t0J6uO6E015674;\n\tMon, 19 Jan 2015 14:56:24 +0800",
            "from shecgisg004.sh.intel.com (localhost [127.0.0.1])\n\tby shecgisg004.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP\n\tid t0J6uL5e026010; Mon, 19 Jan 2015 14:56:23 +0800",
            "(from hzhan75@localhost)\n\tby shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id t0J6uLrw026006; \n\tMon, 19 Jan 2015 14:56:21 +0800"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"4.97,862,1389772800\"; d=\"scan'208\";a=\"442155157\"",
        "From": "Helin Zhang <helin.zhang@intel.com>",
        "To": "dev@dpdk.org",
        "Date": "Mon, 19 Jan 2015 14:56:11 +0800",
        "Message-Id": "<1421650577-25969-2-git-send-email-helin.zhang@intel.com>",
        "X-Mailer": "git-send-email 1.7.4.1",
        "In-Reply-To": "<1421650577-25969-1-git-send-email-helin.zhang@intel.com>",
        "References": "<1421650577-25969-1-git-send-email-helin.zhang@intel.com>",
        "Subject": "[dpdk-dev] [PATCH 1/7] app/test-pmd: code style fix",
        "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": "Added code style fixes.\n\nSigned-off-by: Helin Zhang <helin.zhang@intel.com>\n---\n app/test-pmd/config.c | 6 +++---\n 1 file changed, 3 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c\nindex 97b6525..87dedf9 100644\n--- a/app/test-pmd/config.c\n+++ b/app/test-pmd/config.c\n@@ -1918,11 +1918,11 @@ fdir_get_infos(portid_t port_id)\n \t       fdir_stats_border, port_id, fdir_stats_border);\n \tprintf(\"  MODE: \");\n \tif (fdir_info.mode == RTE_FDIR_MODE_PERFECT)\n-\t\t\tprintf(\"  PERFECT\\n\");\n+\t\tprintf(\"  PERFECT\\n\");\n \telse if (fdir_info.mode == RTE_FDIR_MODE_SIGNATURE)\n-\t\t\tprintf(\"  SIGNATURE\\n\");\n+\t\tprintf(\"  SIGNATURE\\n\");\n \telse\n-\t\t\tprintf(\"  DISABLE\\n\");\n+\t\tprintf(\"  DISABLE\\n\");\n \tprintf(\"  SUPPORTED FLOW TYPE: \");\n \tprint_fdir_flow_type(fdir_info.flow_types_mask[0]);\n \tprintf(\"  FLEX PAYLOAD INFO:\\n\");\n",
    "prefixes": [
        "dpdk-dev",
        "1/7"
    ]
}