get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 49206,
    "url": "http://patches.dpdk.org/api/patches/49206/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/64f85562258c23baf01c97a3904be7d85cace95f.1545325395.git.gaetan.rivet@6wind.com/",
    "project": {
        "id": 1,
        "url": "http://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": "<64f85562258c23baf01c97a3904be7d85cace95f.1545325395.git.gaetan.rivet@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/64f85562258c23baf01c97a3904be7d85cace95f.1545325395.git.gaetan.rivet@6wind.com",
    "date": "2018-12-20T17:06:45",
    "name": "[v1,6/8] option: fix log level of error in register",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "1ac4043c1b49ab8f52f5efca9116b51975cf985d",
    "submitter": {
        "id": 269,
        "url": "http://patches.dpdk.org/api/people/269/?format=api",
        "name": "Gaëtan Rivet",
        "email": "gaetan.rivet@6wind.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/64f85562258c23baf01c97a3904be7d85cace95f.1545325395.git.gaetan.rivet@6wind.com/mbox/",
    "series": [
        {
            "id": 2907,
            "url": "http://patches.dpdk.org/api/series/2907/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=2907",
            "date": "2018-12-20T17:06:39",
            "name": "Clean up rte_option",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/2907/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/49206/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/49206/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 399401BDBD;\n\tThu, 20 Dec 2018 18:07:27 +0100 (CET)",
            "from mail-wr1-f68.google.com (mail-wr1-f68.google.com\n\t[209.85.221.68]) by dpdk.org (Postfix) with ESMTP id CFE591BC73\n\tfor <dev@dpdk.org>; Thu, 20 Dec 2018 18:07:22 +0100 (CET)",
            "by mail-wr1-f68.google.com with SMTP id x10so2520436wrs.8\n\tfor <dev@dpdk.org>; Thu, 20 Dec 2018 09:07:22 -0800 (PST)",
            "from bidouze.dev.6wind.com. (host.78.145.23.62.rev.coltfrance.com.\n\t[62.23.145.78]) by smtp.gmail.com with ESMTPSA id\n\tn5sm11951688wrr.94.2018.12.20.09.07.20\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tThu, 20 Dec 2018 09:07:21 -0800 (PST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=6wind-com.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=f1r0ohynzPVrWW+cR+Zsc/pmk7Xt1biUdlspZf8ZVa8=;\n\tb=P315Sk62NhNSN9u0AxOP7J6adcq/ka5OClbIfgjpg7ffDlLDoUYYwWEFUVI4il9X20\n\tNuxTXfTFXpHpW+PMW/OABpQQbDLA5fSjfSBrorOaH1oQjyp/Zca9RfMxCeKspf5YsQbM\n\tRX1NDDkbyY9SitfzcaN4s3LkhfWwgJi+D8KFLyLbUfIvniweSIQIaOSwu2yYYuCvXeHq\n\t6arWr5wVy22UprX99jkuTtJb8HKJw5XQ6hSBhAkzGe9g4GjRe1U4ZJk+i2f7CR3tnSrr\n\tXfliKIAJ1f1ZPjtEhkV/B0dNoy/QkTsTIG6+nz4kT8JpePqApsYVK3oaYaAG5X2+uJQJ\n\tpWzQ==",
        "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=f1r0ohynzPVrWW+cR+Zsc/pmk7Xt1biUdlspZf8ZVa8=;\n\tb=HdB4K6tPvsuvOqCvs4FqBzHEtcPna8atnx/EgE1j2yg9fBqccNm5u619O+th1Rmq+8\n\tOojoHHPNYSilnBQhAe6zkFJ5l3+Xa+W0+zbil8veQRrw4fZ4BstHxhd89XMemzHZjGHy\n\trfSqB3GSHDDMjcdSaiNoI5SgqtJRRDZQQJILrDehenKae9TQ1EusCH//8d9Qj66VdJOf\n\tKWFOyvTOrmKWsZvcmskj/CRXLFbvQRR43ZWM/06LqQu1UcqtCVlRPX8t4KlfVc3mh1lj\n\tYwm3QTVqpvCR53Z9ysANvKJ8f2N13+emwzBufg6L4tK7fFoZ0KDeFJ96gp8t/zcXuLvu\n\tBJNQ==",
        "X-Gm-Message-State": "AA+aEWayVCvNbY+sBrjSEWgULZEHdRuTHQRCJBEXsJM3+zaog/XX7W11\n\tIZ4JM09pe1eCF+Zeiwgm+x8+aj59tw4=",
        "X-Google-Smtp-Source": "AFSGD/VQh/+EWJFF1DSKsSmiuCq/E4ohoqgBbH5EVf54zIDCu92yOZgC/FvfgYb5dIz5DtNFQYO4MA==",
        "X-Received": "by 2002:a5d:4a0c:: with SMTP id\n\tm12mr23088136wrq.38.1545325642063; \n\tThu, 20 Dec 2018 09:07:22 -0800 (PST)",
        "From": "Gaetan Rivet <gaetan.rivet@6wind.com>",
        "To": "dev@dpdk.org",
        "Cc": "Gaetan Rivet <gaetan.rivet@6wind.com>",
        "Date": "Thu, 20 Dec 2018 18:06:45 +0100",
        "Message-Id": "<64f85562258c23baf01c97a3904be7d85cace95f.1545325395.git.gaetan.rivet@6wind.com>",
        "X-Mailer": "git-send-email 2.19.1",
        "In-Reply-To": "<cover.1545325395.git.gaetan.rivet@6wind.com>",
        "References": "<cover.1545325395.git.gaetan.rivet@6wind.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v1 6/8] option: fix log level of error in register",
        "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": "INFO is not correct when logging an error.\n\nSigned-off-by: Gaetan Rivet <gaetan.rivet@6wind.com>\n---\n lib/librte_eal/common/rte_option.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/lib/librte_eal/common/rte_option.c b/lib/librte_eal/common/rte_option.c\nindex ae8a0e2ca..b2c93b220 100644\n--- a/lib/librte_eal/common/rte_option.c\n+++ b/lib/librte_eal/common/rte_option.c\n@@ -56,7 +56,7 @@ rte_option_register(struct rte_option *opt)\n \n \tTAILQ_FOREACH(option, &rte_option_list, next) {\n \t\tif (strcmp(opt->name, option->name) == 0) {\n-\t\t\tRTE_LOG(INFO, EAL, \"Option %s has already been registered.\\n\",\n+\t\t\tRTE_LOG(ERR, EAL, \"Option %s has already been registered.\\n\",\n \t\t\t\t\topt->name);\n \t\t\treturn;\n \t\t}\n",
    "prefixes": [
        "v1",
        "6/8"
    ]
}