get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 124382,
    "url": "http://patches.dpdk.org/api/patches/124382/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20230222162539.127103-3-stephen@networkplumber.org/",
    "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": "<20230222162539.127103-3-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230222162539.127103-3-stephen@networkplumber.org",
    "date": "2023-02-22T16:25:22",
    "name": "[v4,02/19] remove repeated word 'to'",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "08adb622738feb7fb52ca0ee57bd3d740f1221b9",
    "submitter": {
        "id": 27,
        "url": "http://patches.dpdk.org/api/people/27/?format=api",
        "name": "Stephen Hemminger",
        "email": "stephen@networkplumber.org"
    },
    "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/20230222162539.127103-3-stephen@networkplumber.org/mbox/",
    "series": [
        {
            "id": 27141,
            "url": "http://patches.dpdk.org/api/series/27141/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=27141",
            "date": "2023-02-22T16:25:20",
            "name": "Remove repeated words in comments and messages",
            "version": 4,
            "mbox": "http://patches.dpdk.org/series/27141/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/124382/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/124382/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id A66F541D40;\n\tWed, 22 Feb 2023 17:25:55 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id DA3814303F;\n\tWed, 22 Feb 2023 17:25:49 +0100 (CET)",
            "from mail-pj1-f54.google.com (mail-pj1-f54.google.com\n [209.85.216.54]) by mails.dpdk.org (Postfix) with ESMTP id C287143021\n for <dev@dpdk.org>; Wed, 22 Feb 2023 17:25:46 +0100 (CET)",
            "by mail-pj1-f54.google.com with SMTP id g14so9578119pjb.2\n for <dev@dpdk.org>; Wed, 22 Feb 2023 08:25:46 -0800 (PST)",
            "from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218])\n by smtp.gmail.com with ESMTPSA id\n p5-20020a170902a40500b0019adfb96084sm1510781plq.36.2023.02.22.08.25.44\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Wed, 22 Feb 2023 08:25:45 -0800 (PST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20210112.gappssmtp.com; s=20210112;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=uGo1RhGtvzwjnu+hr5I43PHIEE7F4GWdUQdL8x8lo7Y=;\n b=kSCxOZcrXJyIfD56W6InoYlFRZklUyoSU9/Tbta3c+MCIN4hSSv3nm/Y3E3I9IrCnd\n joTQZT4W8FYpxZj+x/VQWZEdREN72DWFPB2qlG1OrgH3BJNoGpNrbfSIWse54DM0FHNb\n dv41K+RCbgo+vQcNFdKVD57zT2U3VqMlkJ0O34Hp8YHFHAbdLeOwpF3pFE1TyF3QHqJk\n B/BNBbJV+eD4+focrzqDuPLIgPMkuUmiMsFyYq/hJGQ0KF3gxvuDyHIrPS8jLsed3SvB\n xawB27hJDjJ+VOdJoY3U0zbdM/OOVvCouhSdmswYXF4LHC/WsH3HKoXhmCYDyrg3tGdV\n RRaw==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20210112;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc\n :subject:date:message-id:reply-to;\n bh=uGo1RhGtvzwjnu+hr5I43PHIEE7F4GWdUQdL8x8lo7Y=;\n b=WFv45TvC55VJXZ87MsABgiMH4OTHi7sbp1ZtI1DGDX08DnIMJhicI6KOcL76gn3eS5\n WBkjmiKm2MN+A01eUjbfwtpsjXBFOB9vSmQhae3V8nFmNqIj5P4xsCjz41vdx4cienSo\n V1vl7ctJjM3zJfEm+ra2chRQUKpUU7I9nc9vvQVKMiNwZn0ZpzShPtGDBhUyvwmEy99T\n mgTPp3LZrKPpM6TZlpJAf6xqiAskur+n6Km6Fqj89MPe5V9JJsS/Fa6mN6wycpMdJhCb\n RYqo1jUmscI7zkuNwuxhVoYJeExWlmntnPkU0bUzgmSVB18TEcGVrHnGMRyd7dWb2aUo\n +jeA==",
        "X-Gm-Message-State": "AO0yUKWVVTssFx7OEg+A+bxKMU3UEJBCG2/0y1aVM31bRQewe/Fy1JeJ\n fna38nyMBVns7irtokD2Sgw74XyA2OaVC48LI3Q=",
        "X-Google-Smtp-Source": "\n AK7set8Bm2+/DKKKy3e9bOpDiRJf8jky3j/bbB1JY7TkJBR6vFbUuOAISVNXd/EDM/fQjPOG6U3LXQ==",
        "X-Received": "by 2002:a17:902:d489:b0:19a:68b2:5458 with SMTP id\n c9-20020a170902d48900b0019a68b25458mr13765572plg.63.1677083145672;\n Wed, 22 Feb 2023 08:25:45 -0800 (PST)",
        "From": "Stephen Hemminger <stephen@networkplumber.org>",
        "To": "dev@dpdk.org",
        "Cc": "Stephen Hemminger <stephen@networkplumber.org>,\n Cristian Dumitrescu <cristian.dumitrescu@intel.com>,\n David Hunt <david.hunt@intel.com>",
        "Subject": "[PATCH v4 02/19] remove repeated word 'to'",
        "Date": "Wed, 22 Feb 2023 08:25:22 -0800",
        "Message-Id": "<20230222162539.127103-3-stephen@networkplumber.org>",
        "X-Mailer": "git-send-email 2.39.1",
        "In-Reply-To": "<20230222162539.127103-1-stephen@networkplumber.org>",
        "References": "<0220722214106.162640-1-stephen@networkplumber.org>\n <20230222162539.127103-1-stephen@networkplumber.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <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 <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org"
    },
    "content": "Found by doing duplicate word scan.\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n app/test/test_resource.c   | 2 +-\n lib/pipeline/rte_swx_ctl.c | 2 +-\n lib/power/guest_channel.c  | 2 +-\n 3 files changed, 3 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/app/test/test_resource.c b/app/test/test_resource.c\nindex 8f41e3babdc5..05c27db203cc 100644\n--- a/app/test/test_resource.c\n+++ b/app/test/test_resource.c\n@@ -45,7 +45,7 @@ static int test_resource_c(void)\n \t\t\tr->name);\n \n \tTEST_ASSERT_SUCCESS(resource_fwrite_file(r, \"test_resource.c\"),\n-\t\t\t\"Failed to to write file %s\", r->name);\n+\t\t\t\"Failed to write file %s\", r->name);\n \n \tf = fopen(\"test_resource.c\", \"r\");\n \tTEST_ASSERT_NOT_NULL(f,\ndiff --git a/lib/pipeline/rte_swx_ctl.c b/lib/pipeline/rte_swx_ctl.c\nindex f7f49d7cebad..857770d297a4 100644\n--- a/lib/pipeline/rte_swx_ctl.c\n+++ b/lib/pipeline/rte_swx_ctl.c\n@@ -1683,7 +1683,7 @@ rte_swx_ctl_pipeline_table_entry_delete(struct rte_swx_ctl_pipeline *ctl,\n \tCHECK(!table_entry_check(ctl, table_id, entry, 1, 0), EINVAL);\n \n \t/* The entry is found in the table->entries list:\n-\t * - Move the existing entry from the table->entries list to to the\n+\t * - Move the existing entry from the table->entries list to the\n \t *   table->pending_delete list.\n \t */\n \texisting_entry = table_entries_find(table, entry);\ndiff --git a/lib/power/guest_channel.c b/lib/power/guest_channel.c\nindex 969a9e5aaa06..7b2ae0b6506f 100644\n--- a/lib/power/guest_channel.c\n+++ b/lib/power/guest_channel.c\n@@ -74,7 +74,7 @@ guest_channel_host_connect(const char *path, unsigned int lcore_id)\n \t\t\tfd_path, lcore_id);\n \tfd = open(fd_path, O_RDWR);\n \tif (fd < 0) {\n-\t\tRTE_LOG(ERR, GUEST_CHANNEL, \"Unable to to connect to '%s' with error \"\n+\t\tRTE_LOG(ERR, GUEST_CHANNEL, \"Unable to connect to '%s' with error \"\n \t\t\t\t\"%s\\n\", fd_path, strerror(errno));\n \t\treturn -1;\n \t}\n",
    "prefixes": [
        "v4",
        "02/19"
    ]
}