get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 114186,
    "url": "https://patches.dpdk.org/api/patches/114186/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20220726033503.65407-3-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": "<20220726033503.65407-3-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220726033503.65407-3-stephen@networkplumber.org",
    "date": "2022-07-26T03:34:45",
    "name": "[v2,02/20] remove repeated word 'to'",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "b48dd74fde241ae4bb1fdb86cb55adb06ac195ae",
    "submitter": {
        "id": 27,
        "url": "https://patches.dpdk.org/api/people/27/?format=api",
        "name": "Stephen Hemminger",
        "email": "stephen@networkplumber.org"
    },
    "delegate": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20220726033503.65407-3-stephen@networkplumber.org/mbox/",
    "series": [
        {
            "id": 24074,
            "url": "https://patches.dpdk.org/api/series/24074/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=24074",
            "date": "2022-07-26T03:34:43",
            "name": "Remove repeated words in comments and messages",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/24074/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/114186/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/114186/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 17F95A00C4;\n\tTue, 26 Jul 2022 05:35:23 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id DCECE42829;\n\tTue, 26 Jul 2022 05:35:12 +0200 (CEST)",
            "from mail-pj1-f46.google.com (mail-pj1-f46.google.com\n [209.85.216.46]) by mails.dpdk.org (Postfix) with ESMTP id 29A3940695\n for <dev@dpdk.org>; Tue, 26 Jul 2022 05:35:11 +0200 (CEST)",
            "by mail-pj1-f46.google.com with SMTP id\n o5-20020a17090a3d4500b001ef76490983so12042949pjf.2\n for <dev@dpdk.org>; Mon, 25 Jul 2022 20:35:11 -0700 (PDT)",
            "from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218])\n by smtp.gmail.com with ESMTPSA id\n a199-20020a621ad0000000b0052bead2183asm5674534pfa.159.2022.07.25.20.35.09\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Mon, 25 Jul 2022 20:35:09 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20210112.gappssmtp.com; s=20210112;\n h=from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding;\n bh=eFWYTDYv0Y12xmVUzi4jSyFFSME3lHHVSWivfDUJFEo=;\n b=ZorinebUhwt02SIFSBIkx3YlIh62UXrsXpMjlCXq3I0zq9OmGD5Ih/loy3Ag63c5T0\n 4nm5O7OfmJoD+Mv0QIMKM5ghCf0FpSzN0cojJ1lsLs09ODTEyvKi8y0iukCV6B8EDpim\n 40+iYUn+YLP33yGFTN5l66vAY3eBYE7XcXDaPDTxqtO1S65W3C2Fxj5VRYp/pcS0P+7X\n zg1ubAYQuZPVlTVh0fY98lTkdhZx9Xg7Tq2U9aymcAE4DzzkB5V1jef/N+esMaEp46Yp\n 8rHEczVrlpUDJ4o4evOYKZYRvxu3hCkE5HVW+v9YruNrkpRjg2+OK77onteL+tCRtF1K\n GJ6A==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20210112;\n h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n :references:mime-version:content-transfer-encoding;\n bh=eFWYTDYv0Y12xmVUzi4jSyFFSME3lHHVSWivfDUJFEo=;\n b=f0kzzoke52B9f2OCIaQexcleIPYtLdDaw9NgkwRol4a5RNkFQCTkv5kfJlfzKyLwzO\n vzg+2Eh9MrzScBh4Jodp1It7FZ+HwNN/zMTp0Olum7TYgfRD4PJY2o7HK4poTWmeHfmS\n iOcdLTHAFz0Dp+kU9TFQq3ib/JjayumdprPXYVc64dL9FmPPaeobym9tL6miMtmRts3Q\n E7HFzbTZVr9X/LUxnAVDmrYveK1UN1RneSO7LKFrcsRpms5o+8mvPD1xSTrX/iKl/dNs\n aEmbCVuhyZ6IsqdZNnLUIvgm4hJor1sR5D88pSXHVTz7K5aqsZOk0OktBmDmOClvx8iI\n S58A==",
        "X-Gm-Message-State": "AJIora/T9bItrAXLdWvI3RKkXVxMqyPKQ/oRh5xZHL+2uDSD/lVcNjpm\n WrS5OWG8NyMPwyYeR4oWocuirOoXQeyBFg==",
        "X-Google-Smtp-Source": "\n AGRyM1svqH5qovfbjBNB7Ad4BGvub4fbO9VkbK6/H1GMNX60jGdp+bropc7Y9HhU3Csk4zcldBKXew==",
        "X-Received": "by 2002:a17:90a:4a04:b0:1f2:583c:3de5 with SMTP id\n e4-20020a17090a4a0400b001f2583c3de5mr17749015pjh.67.1658806510237;\n Mon, 25 Jul 2022 20:35:10 -0700 (PDT)",
        "From": "Stephen Hemminger <stephen@networkplumber.org>",
        "To": "dev@dpdk.org",
        "Cc": "Stephen Hemminger <stephen@networkplumber.org>,\n Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>,\n Cristian Dumitrescu <cristian.dumitrescu@intel.com>,\n David Hunt <david.hunt@intel.com>",
        "Subject": "[PATCH v2 02/20] remove repeated word 'to'",
        "Date": "Mon, 25 Jul 2022 20:34:45 -0700",
        "Message-Id": "<20220726033503.65407-3-stephen@networkplumber.org>",
        "X-Mailer": "git-send-email 2.35.1",
        "In-Reply-To": "<20220726033503.65407-1-stephen@networkplumber.org>",
        "References": "<20220722214106.162640-1-stephen@networkplumber.org>\n <20220726033503.65407-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 drivers/common/sfc_efx/base/siena_nvram.c | 2 +-\n lib/pipeline/rte_swx_ctl.c                | 2 +-\n lib/power/guest_channel.c                 | 2 +-\n 4 files changed, 4 insertions(+), 4 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/drivers/common/sfc_efx/base/siena_nvram.c b/drivers/common/sfc_efx/base/siena_nvram.c\nindex 05ca4bd83dc9..ebcd3487b631 100644\n--- a/drivers/common/sfc_efx/base/siena_nvram.c\n+++ b/drivers/common/sfc_efx/base/siena_nvram.c\n@@ -532,7 +532,7 @@ siena_nvram_partn_get_version(\n \t\t\t: MC_CMD_NVRAM_TYPE_DYNAMIC_CFG_PORT1;\n \t\t/*\n \t\t * Ingore missing partitions on port 2, assuming they're due\n-\t\t * to to running on a single port part.\n+\t\t * to running on a single port part.\n \t\t */\n \t\tif ((1 << dcfg_partn) &  ~enp->en_u.siena.enu_partn_mask) {\n \t\t\tif (entry->port == 2)\ndiff --git a/lib/pipeline/rte_swx_ctl.c b/lib/pipeline/rte_swx_ctl.c\nindex 710e89a46a26..9b7bf5e0fb01 100644\n--- a/lib/pipeline/rte_swx_ctl.c\n+++ b/lib/pipeline/rte_swx_ctl.c\n@@ -1582,7 +1582,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": [
        "v2",
        "02/20"
    ]
}