get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 55919,
    "url": "https://patches.dpdk.org/api/patches/55919/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20190702221247.28391-12-stephen@networkplumber.org/",
    "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": "<20190702221247.28391-12-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190702221247.28391-12-stephen@networkplumber.org",
    "date": "2019-07-02T22:12:46",
    "name": "[v7,11/12] net/vdev_netvsc: use common ethernet address parsing",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "79187caa30cb493edeb903e503546c2294ff8672",
    "submitter": {
        "id": 27,
        "url": "https://patches.dpdk.org/api/people/27/?format=api",
        "name": "Stephen Hemminger",
        "email": "stephen@networkplumber.org"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20190702221247.28391-12-stephen@networkplumber.org/mbox/",
    "series": [
        {
            "id": 5291,
            "url": "https://patches.dpdk.org/api/series/5291/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=5291",
            "date": "2019-07-02T22:12:35",
            "name": "ether: improvements and optimizations",
            "version": 7,
            "mbox": "https://patches.dpdk.org/series/5291/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/55919/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/55919/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 2410E1BE4E;\n\tWed,  3 Jul 2019 00:13:16 +0200 (CEST)",
            "from mail-pg1-f176.google.com (mail-pg1-f176.google.com\n\t[209.85.215.176]) by dpdk.org (Postfix) with ESMTP id 8BC691BE21\n\tfor <dev@dpdk.org>; Wed,  3 Jul 2019 00:13:06 +0200 (CEST)",
            "by mail-pg1-f176.google.com with SMTP id z75so84532pgz.5\n\tfor <dev@dpdk.org>; Tue, 02 Jul 2019 15:13:06 -0700 (PDT)",
            "from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127])\n\tby smtp.gmail.com with ESMTPSA id q4sm25035pjq.27.2019.07.02.15.13.04\n\t(version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256);\n\tTue, 02 Jul 2019 15:13:04 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=networkplumber-org.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=4CfiP0PExkw4Vs3xMlc1LVPAlGrPbQ/hj++m20DmMLU=;\n\tb=ml8OdyCs0P9C8ouG+fA92xuEGG9XXVssclfDrq5LxP7e3/4fHf+Ubc8o7sbmQoZZ6b\n\tJ+bd0+34IPt76/f590Og7LrUuHlguWi9jR4QC96DzpCciI41idYhKwKrsqa83FvPs1Ug\n\tC4vNvAPtCOjEyIfGwK2rcDlzStnb45ab2gBfrg5PpE/sbRYsJkbJZEgXulwzHf9UcvEq\n\tXAcnELrOuZEKRi7KJwM7aox5cZAZhcsm/UGPXReygg+EzGi5R3zNJ/BbYqXy5UaKCs8n\n\tHOWkaMPi4nKs/TOxBMJStXzp/7eakGdcF/+RB4cT9gHVwYfncyOM3+1RByr7ZvV3BdHJ\n\tDo2g==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:mime-version:content-transfer-encoding;\n\tbh=4CfiP0PExkw4Vs3xMlc1LVPAlGrPbQ/hj++m20DmMLU=;\n\tb=nbzfFQTqvy2rwktf13YoVSmO943EDYvcXWgEINvFIw/P03/+jA1SLfrRVKlCuSETSx\n\tf3Jf9XNs8A3qeggntEZmGU52oaWSU3fmJ08VuyFPLu6HqCWc+yJcgcF7TNSqiycpdF19\n\tew4ZtZ9Lo9AT1g/HpZgUfBKu/x66IDxEls3aOr0gvKFuOJuRSiASIGPPT/2Eiz7kw8ES\n\tKf3yJWmvOQ4UjGXmuF7hOIk3H7pbCohZ+PpDNpT1xNvmnjK7B322PjHpvQ+r9ey7eNzc\n\t6Z6tYOpZKMRtriRakQgTGlaJ793FU0mbS1nYGKGIKjWqNuqKk9TH1tDMGIZ7bJteRJ2y\n\tyKtg==",
        "X-Gm-Message-State": "APjAAAXUoOs5BKxaeepBlOXEsZm0GhvXqPHpI0A+uvhdb5v3vhkDCoDE\n\t/lCoSDAEP46QljbW+936gEyBos6IvaA=",
        "X-Google-Smtp-Source": "APXvYqyhu0qCAB6ReVa5YiI91Jd0GxJ0YwTKpJLfGlYvk/NbjpesYHOGD7488sL83UcpPs/Cdid+bQ==",
        "X-Received": "by 2002:a63:c0e:: with SMTP id b14mr32828801pgl.4.1562105585353; \n\tTue, 02 Jul 2019 15:13:05 -0700 (PDT)",
        "From": "Stephen Hemminger <stephen@networkplumber.org>",
        "To": "dev@dpdk.org",
        "Cc": "Stephen Hemminger <stephen@networkplumber.org>",
        "Date": "Tue,  2 Jul 2019 15:12:46 -0700",
        "Message-Id": "<20190702221247.28391-12-stephen@networkplumber.org>",
        "X-Mailer": "git-send-email 2.20.1",
        "In-Reply-To": "<20190702221247.28391-1-stephen@networkplumber.org>",
        "References": "<20190516180427.17270-1-stephen@networkplumber.org>\n\t<20190702221247.28391-1-stephen@networkplumber.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v7 11/12] net/vdev_netvsc: use common ethernet\n\taddress parsing",
        "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": "Use rte_ether_unformat_addr rather than sscanf.\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n drivers/net/vdev_netvsc/vdev_netvsc.c | 10 +---------\n 1 file changed, 1 insertion(+), 9 deletions(-)",
    "diff": "diff --git a/drivers/net/vdev_netvsc/vdev_netvsc.c b/drivers/net/vdev_netvsc/vdev_netvsc.c\nindex 1fcf90d7bc02..be8f19c0c63e 100644\n--- a/drivers/net/vdev_netvsc/vdev_netvsc.c\n+++ b/drivers/net/vdev_netvsc/vdev_netvsc.c\n@@ -529,15 +529,7 @@ vdev_netvsc_netvsc_probe(const struct if_nameindex *iface,\n \t\t\t} else if (!strcmp(pair->key, VDEV_NETVSC_ARG_MAC)) {\n \t\t\t\tstruct rte_ether_addr tmp;\n \n-\t\t\t\tif (sscanf(pair->value,\n-\t\t\t\t\t   \"%\" SCNx8 \":%\" SCNx8 \":%\" SCNx8 \":\"\n-\t\t\t\t\t   \"%\" SCNx8 \":%\" SCNx8 \":%\" SCNx8,\n-\t\t\t\t\t   &tmp.addr_bytes[0],\n-\t\t\t\t\t   &tmp.addr_bytes[1],\n-\t\t\t\t\t   &tmp.addr_bytes[2],\n-\t\t\t\t\t   &tmp.addr_bytes[3],\n-\t\t\t\t\t   &tmp.addr_bytes[4],\n-\t\t\t\t\t   &tmp.addr_bytes[5]) != 6) {\n+\t\t\t\tif (rte_ether_unformat_addr(pair->value, &tmp) != 0) {\n \t\t\t\t\tDRV_LOG(ERR,\n \t\t\t\t\t\t\"invalid MAC address format\"\n \t\t\t\t\t\t\" \\\"%s\\\"\",\n",
    "prefixes": [
        "v7",
        "11/12"
    ]
}