get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2458,
    "url": "https://patches.dpdk.org/api/patches/2458/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1421912219-1946-3-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": "<1421912219-1946-3-git-send-email-helin.zhang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1421912219-1946-3-git-send-email-helin.zhang@intel.com",
    "date": "2015-01-22T07:36:56",
    "name": "[dpdk-dev,v9,2/5] ethdev: code style fixes",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "efbaa6edd5f3df383fb761f70fc7a7846a46082d",
    "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/1421912219-1946-3-git-send-email-helin.zhang@intel.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/2458/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/2458/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 EC7F85AA3;\n\tThu, 22 Jan 2015 08:37:14 +0100 (CET)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n\tby dpdk.org (Postfix) with ESMTP id 654395A9C\n\tfor <dev@dpdk.org>; Thu, 22 Jan 2015 08:37:11 +0100 (CET)",
            "from orsmga002.jf.intel.com ([10.7.209.21])\n\tby orsmga102.jf.intel.com with ESMTP; 21 Jan 2015 23:34:10 -0800",
            "from shvmail01.sh.intel.com ([10.239.29.42])\n\tby orsmga002.jf.intel.com with ESMTP; 21 Jan 2015 23:37:10 -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 t0M7b6Lr009299;\n\tThu, 22 Jan 2015 15:37:06 +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 t0M7b4EW001996; Thu, 22 Jan 2015 15:37:06 +0800",
            "(from hzhan75@localhost)\n\tby shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id t0M7b4pd001992; \n\tThu, 22 Jan 2015 15:37:04 +0800"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.09,447,1418112000\"; d=\"scan'208\";a=\"673936158\"",
        "From": "Helin Zhang <helin.zhang@intel.com>",
        "To": "dev@dpdk.org",
        "Date": "Thu, 22 Jan 2015 15:36:56 +0800",
        "Message-Id": "<1421912219-1946-3-git-send-email-helin.zhang@intel.com>",
        "X-Mailer": "git-send-email 1.7.4.1",
        "In-Reply-To": "<1421912219-1946-1-git-send-email-helin.zhang@intel.com>",
        "References": "<1417486760-24459-1-git-send-email-helin.zhang@intel.com>\n\t<1421912219-1946-1-git-send-email-helin.zhang@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v9 2/5] ethdev: code style fixes",
        "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 lib/librte_ether/rte_eth_ctrl.h | 9 ++++-----\n 1 file changed, 4 insertions(+), 5 deletions(-)",
    "diff": "diff --git a/lib/librte_ether/rte_eth_ctrl.h b/lib/librte_ether/rte_eth_ctrl.h\nindex 5d9c387..4b3c5fc 100644\n--- a/lib/librte_ether/rte_eth_ctrl.h\n+++ b/lib/librte_ether/rte_eth_ctrl.h\n@@ -62,8 +62,8 @@ enum rte_filter_type {\n  * Generic operations on filters\n  */\n enum rte_filter_op {\n+\t/** used to check whether the type filter is supported */\n \tRTE_ETH_FILTER_NOP = 0,\n-\t/**< used to check whether the type filter is supported */\n \tRTE_ETH_FILTER_ADD,      /**< add filter entry */\n \tRTE_ETH_FILTER_UPDATE,   /**< update filter entry */\n \tRTE_ETH_FILTER_DELETE,   /**< delete filter entry */\n@@ -75,16 +75,15 @@ enum rte_filter_op {\n \tRTE_ETH_FILTER_OP_MAX\n };\n \n-/**\n+/*\n  * MAC filter type\n  */\n enum rte_mac_filter_type {\n \tRTE_MAC_PERFECT_MATCH = 1, /**< exact match of MAC addr. */\n-\tRTE_MACVLAN_PERFECT_MATCH,\n-\t/**< exact match of MAC addr and VLAN ID. */\n+\tRTE_MACVLAN_PERFECT_MATCH, /**< exact match of MAC addr and VLAN ID. */\n \tRTE_MAC_HASH_MATCH, /**< hash match of MAC addr. */\n+\t/** hash match of MAC addr and exact match of VLAN ID. */\n \tRTE_MACVLAN_HASH_MATCH,\n-\t/**< hash match of MAC addr and exact match of VLAN ID. */\n };\n \n /**\n",
    "prefixes": [
        "dpdk-dev",
        "v9",
        "2/5"
    ]
}