get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 56552,
    "url": "https://patches.dpdk.org/api/patches/56552/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20190716133910.55a4284b@hermes.lan/",
    "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": "<20190716133910.55a4284b@hermes.lan>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190716133910.55a4284b@hermes.lan",
    "date": "2019-07-16T20:39:10",
    "name": "net/bonding: use dynamic log type for error message",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "68a90ad89a64278127883de42d5f59c80b447a48",
    "submitter": {
        "id": 27,
        "url": "https://patches.dpdk.org/api/people/27/?format=api",
        "name": "Stephen Hemminger",
        "email": "stephen@networkplumber.org"
    },
    "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/20190716133910.55a4284b@hermes.lan/mbox/",
    "series": [
        {
            "id": 5546,
            "url": "https://patches.dpdk.org/api/series/5546/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=5546",
            "date": "2019-07-16T20:39:10",
            "name": "net/bonding: use dynamic log type for error message",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/5546/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/56552/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/56552/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 E2E652C6A;\n\tTue, 16 Jul 2019 22:39:20 +0200 (CEST)",
            "from mail-pf1-f193.google.com (mail-pf1-f193.google.com\n\t[209.85.210.193]) by dpdk.org (Postfix) with ESMTP id B2AC12BAB\n\tfor <dev@dpdk.org>; Tue, 16 Jul 2019 22:39:18 +0200 (CEST)",
            "by mail-pf1-f193.google.com with SMTP id f17so5681960pfn.6\n\tfor <dev@dpdk.org>; Tue, 16 Jul 2019 13:39:18 -0700 (PDT)",
            "from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127])\n\tby smtp.gmail.com with ESMTPSA id\n\tp1sm23699517pff.74.2019.07.16.13.39.17\n\t(version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256);\n\tTue, 16 Jul 2019 13:39:17 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=networkplumber-org.20150623.gappssmtp.com; s=20150623;\n\th=date:from:to:cc:subject:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=jx718R7PnsXG6FeeZQNzJKz0T+Ohbufw6/qLVcSDJZc=;\n\tb=sQgD+dIFGCCoINwaH5l5/dQhT2/JR0xRIDdJbCnvKb0HiFAxKdP/DkTyxyMIEnt6jS\n\tsNNIzkEoQp4Pa45fC+WxnjVYHtGeUjn2IE+pZylKe9FsyqF43VBTo3E392Qn+TiktKvF\n\tInhG70xS45/y0/D5N0wq2/EO2ZtBTUN8ixTkvwlnFR8BolAi8wOchWtWjmqUm7lhtqr5\n\ttKRE/UqnXK520oBQuEJ+bgtCn3TYJaLzhb5wZuykEHhcV170pHZfjOA3XUN0c3J3f8FM\n\tdCKcxhNqqMutrhf/5b2+8vrV5kpAIPN/C0wAAtbPhiYly5H5YjbSX7dlUPpLOXbiigv5\n\tgB8A==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=jx718R7PnsXG6FeeZQNzJKz0T+Ohbufw6/qLVcSDJZc=;\n\tb=NOg1itasc1F9r5I27DMto1mi1A/RyJSDkLiKaKlRPtja1ZZTbRdQOJN1/U5GeG2UW7\n\tjr5kqsFsYfzhnULYnolIPE6DPJg+qiw/MqQs02MnO0WBNM5tM+L39qX6C3nple4+jYBw\n\tifsvPGjxEkOPdqFdoSWbBSp4IlEWI8Ivaj1YIaDQ1lXFD2N4A6btbbZ/4F5dfN8/qq5I\n\tHBjjaALll2rvp10Z1aEXogIKxMG6dgXVPABTvD4oarTusqSShtKKgvht6XiJsv2SSRz5\n\tqxbjP2acxXnV6V2Uj4H+8oKft3na71hflVM+t68+JDeiY1DDYu3y3Q7P5MFrzP8k+Zk+\n\tOAkg==",
        "X-Gm-Message-State": "APjAAAXfRBoyAg9hrkLYPyOcmncezuV8bvneSq757Hz4REyW4uvXbG1H\n\tcgUq5hfO3UxLi9DNlHKxftI=",
        "X-Google-Smtp-Source": "APXvYqzIJ9wrzVwiaWIhkUu366HoanambxfaVkw7SiXzOfmUeJDj1j+0cNe6ndWSP4x43po1mClPEw==",
        "X-Received": "by 2002:a17:90a:d14a:: with SMTP id\n\tt10mr39480496pjw.85.1563309557783; \n\tTue, 16 Jul 2019 13:39:17 -0700 (PDT)",
        "Date": "Tue, 16 Jul 2019 13:39:10 -0700",
        "From": "Stephen Hemminger <stephen@networkplumber.org>",
        "To": "Chas Williams <chas3@att.com>",
        "Cc": "dev@dpdk.org",
        "Message-ID": "<20190716133910.55a4284b@hermes.lan>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=US-ASCII",
        "Content-Transfer-Encoding": "7bit",
        "Subject": "[dpdk-dev] [PATCH] net/bonding: use dynamic log type for error\n\tmessage",
        "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": "The generic RTE_LOGTYPE_PMD is a historical relic and should\nnot be used. Bonding driver was still using it in one place.\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n drivers/net/bonding/rte_eth_bond_args.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/bonding/rte_eth_bond_args.c b/drivers/net/bonding/rte_eth_bond_args.c\nindex 936440fb8491..f298ea0e176e 100644\n--- a/drivers/net/bonding/rte_eth_bond_args.c\n+++ b/drivers/net/bonding/rte_eth_bond_args.c\n@@ -81,7 +81,7 @@ parse_port_id(const char *port_str)\n \n \tpci_bus = rte_bus_find_by_name(\"pci\");\n \tif (pci_bus == NULL) {\n-\t\tRTE_LOG(ERR, PMD, \"unable to find PCI bus\\n\");\n+\t\tRTE_BOND_LOG(ERR, \"unable to find PCI bus\\n\");\n \t\treturn -1;\n \t}\n \n",
    "prefixes": []
}