get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 49799,
    "url": "https://patches.dpdk.org/api/patches/49799/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20190114150122.16999-3-hyonkim@cisco.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": "<20190114150122.16999-3-hyonkim@cisco.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190114150122.16999-3-hyonkim@cisco.com",
    "date": "2019-01-14T15:01:22",
    "name": "[2/2] net/enic: remove redundant log level check",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "aa6db4f48698d72a7d2189c0221b9573e4744881",
    "submitter": {
        "id": 948,
        "url": "https://patches.dpdk.org/api/people/948/?format=api",
        "name": "Hyong Youb Kim (hyonkim)",
        "email": "hyonkim@cisco.com"
    },
    "delegate": {
        "id": 319,
        "url": "https://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20190114150122.16999-3-hyonkim@cisco.com/mbox/",
    "series": [
        {
            "id": 3168,
            "url": "https://patches.dpdk.org/api/series/3168/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=3168",
            "date": "2019-01-14T15:01:20",
            "name": "net/enic: two trivial fixes",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/3168/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/49799/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/49799/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 708781B39C;\n\tMon, 14 Jan 2019 16:01:42 +0100 (CET)",
            "from rcdn-iport-2.cisco.com (rcdn-iport-2.cisco.com [173.37.86.73])\n\tby dpdk.org (Postfix) with ESMTP id 50FC71B394;\n\tMon, 14 Jan 2019 16:01:40 +0100 (CET)",
            "from rcdn-core-12.cisco.com ([173.37.93.148])\n\tby rcdn-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t14 Jan 2019 15:01:39 +0000",
            "from cisco.com (savbu-usnic-a.cisco.com [10.193.184.48])\n\tby rcdn-core-12.cisco.com (8.15.2/8.15.2) with ESMTP id\n\tx0EF1dJg013153; Mon, 14 Jan 2019 15:01:39 GMT",
            "by cisco.com (Postfix, from userid 508933)\n\tid E0A8420F2001; Mon, 14 Jan 2019 07:01:38 -0800 (PST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n\td=cisco.com; i=@cisco.com; l=1132; q=dns/txt; s=iport;\n\tt=1547478100; x=1548687700;\n\th=from:to:cc:subject:date:message-id:in-reply-to: references;\n\tbh=nYSgz2g8RR5YaAxEvfRrjcWSm90XzMkjyQwtmYyKk2A=;\n\tb=fo2p7cqhyzzqEu2MfcM/ZIoypZi/p/ru3Uxpt4X5NPh5iQYRe3cEJnNf\n\tcpAYFwFyQuJnobSE4itoNWAyVck2/1Zsldd5/9abf0Fgx4ugi0I9Uad4r\n\tIFkYoH8EGmII35aT27dii52mPO4tti1n0bI7o9hhrMgLI1V1KLB8XtL6U w=;",
        "X-IronPort-AV": "E=Sophos;i=\"5.56,478,1539648000\"; d=\"scan'208\";a=\"508564562\"",
        "From": "Hyong Youb Kim <hyonkim@cisco.com>",
        "To": "Ferruh Yigit <ferruh.yigit@intel.com>",
        "Cc": "dev@dpdk.org, John Daley <johndale@cisco.com>,\n\tHyong Youb Kim <hyonkim@cisco.com>, stable@dpdk.org",
        "Date": "Mon, 14 Jan 2019 07:01:22 -0800",
        "Message-Id": "<20190114150122.16999-3-hyonkim@cisco.com>",
        "X-Mailer": "git-send-email 2.16.2",
        "In-Reply-To": "<20190114150122.16999-1-hyonkim@cisco.com>",
        "References": "<20190114150122.16999-1-hyonkim@cisco.com>",
        "X-Outbound-SMTP-Client": "10.193.184.48, savbu-usnic-a.cisco.com",
        "X-Outbound-Node": "rcdn-core-12.cisco.com",
        "Subject": "[dpdk-dev] [PATCH 2/2] net/enic: remove redundant log level check",
        "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://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Fixes: 8d496995346c (\"net/enic: support multicast filtering\")\nCc: stable@dpdk.org\n\nSuggested-by: Ferruh Yigit <ferruh.yigit@intel.com>\nSigned-off-by: Hyong Youb Kim <hyonkim@cisco.com>\n---\n drivers/net/enic/enic_ethdev.c | 9 ++++-----\n 1 file changed, 4 insertions(+), 5 deletions(-)",
    "diff": "diff --git a/drivers/net/enic/enic_ethdev.c b/drivers/net/enic/enic_ethdev.c\nindex fbbec2266..8d14d8ac7 100644\n--- a/drivers/net/enic/enic_ethdev.c\n+++ b/drivers/net/enic/enic_ethdev.c\n@@ -647,11 +647,10 @@ static int enicpmd_set_mac_addr(struct rte_eth_dev *eth_dev,\n static void debug_log_add_del_addr(struct ether_addr *addr, bool add)\n {\n \tchar mac_str[ETHER_ADDR_FMT_SIZE];\n-\tif (rte_log_get_level(enicpmd_logtype_init) == RTE_LOG_DEBUG) {\n-\t\tether_format_addr(mac_str, ETHER_ADDR_FMT_SIZE, addr);\n-\t\tPMD_INIT_LOG(ERR, \" %s address %s\\n\",\n-\t\t\t     add ? \"add\" : \"remove\", mac_str);\n-\t}\n+\n+\tether_format_addr(mac_str, ETHER_ADDR_FMT_SIZE, addr);\n+\tPMD_INIT_LOG(DEBUG, \" %s address %s\\n\",\n+\t\t     add ? \"add\" : \"remove\", mac_str);\n }\n \n static int enicpmd_set_mc_addr_list(struct rte_eth_dev *eth_dev,\n",
    "prefixes": [
        "2/2"
    ]
}