get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2059124,
    "url": "http://patchwork.ozlabs.org/api/patches/2059124/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20250312073750.2281630-1-mwalle@kernel.org/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api",
        "name": "U-Boot",
        "link_name": "uboot",
        "list_id": "u-boot.lists.denx.de",
        "list_email": "u-boot@lists.denx.de",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20250312073750.2281630-1-mwalle@kernel.org>",
    "list_archive_url": null,
    "date": "2025-03-12T07:37:50",
    "name": "[2/3] net: lwip: remove superfluous newline at tftp help text",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "a25e5be47bd8596454e9b2186b67de579f2e0669",
    "submitter": {
        "id": 86646,
        "url": "http://patchwork.ozlabs.org/api/people/86646/?format=api",
        "name": "Michael Walle",
        "email": "mwalle@kernel.org"
    },
    "delegate": {
        "id": 157425,
        "url": "http://patchwork.ozlabs.org/api/users/157425/?format=api",
        "username": "jforissier",
        "first_name": "Jerome",
        "last_name": "Forissier",
        "email": "jerome.forissier@linaro.org"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20250312073750.2281630-1-mwalle@kernel.org/mbox/",
    "series": [
        {
            "id": 448076,
            "url": "http://patchwork.ozlabs.org/api/series/448076/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=448076",
            "date": "2025-03-12T07:36:55",
            "name": "[1/3] fastboot: lift restrictions on !NET_LWIP for USB",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/448076/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2059124/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2059124/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<u-boot-bounces@lists.denx.de>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256\n header.s=k20201202 header.b=fP/tgRU7;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=85.214.62.61; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)",
            "phobos.denx.de;\n dmarc=pass (p=quarantine dis=none) header.from=kernel.org",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de",
            "phobos.denx.de;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=kernel.org header.i=@kernel.org header.b=\"fP/tgRU7\";\n\tdkim-atps=neutral",
            "phobos.denx.de; dmarc=pass (p=quarantine dis=none)\n header.from=kernel.org",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=mwalle@kernel.org"
        ],
        "Received": [
            "from phobos.denx.de (phobos.denx.de [85.214.62.61])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4ZCMtK5Y33z1yX8\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 12 Mar 2025 18:38:01 +1100 (AEDT)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 5760F805D7;\n\tWed, 12 Mar 2025 08:38:00 +0100 (CET)",
            "by phobos.denx.de (Postfix, from userid 109)\n id 361D180756; Wed, 12 Mar 2025 08:37:59 +0100 (CET)",
            "from nyc.source.kernel.org (nyc.source.kernel.org [147.75.193.91])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 3F3CA801BE\n for <u-boot@lists.denx.de>; Wed, 12 Mar 2025 08:37:57 +0100 (CET)",
            "from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58])\n by nyc.source.kernel.org (Postfix) with ESMTP id 4795AA46D8D;\n Wed, 12 Mar 2025 07:32:26 +0000 (UTC)",
            "by smtp.kernel.org (Postfix) with ESMTPSA id D5BEAC4CEE3;\n Wed, 12 Mar 2025 07:37:54 +0000 (UTC)"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,\n DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,\n RCVD_IN_DNSWL_BLOCKED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,\n RCVD_IN_VALIDITY_RPBL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham\n autolearn_force=no version=3.4.2",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org;\n s=k20201202; t=1741765075;\n bh=D08SQcuoLr3w8D0XIJYb9tvAMuv+fGG7lj0p4rhaka4=;\n h=From:To:Cc:Subject:Date:From;\n b=fP/tgRU7mgYJ6R12q+wYxY2h7XPtgjRnmKuA65uQUdlt0MSusXxE1XjYaGPikZP0z\n Y1TwZt56Z6GwpnnqmhSk3eH1DpwDZOuh6cINKqah1BEvADEdMVlNRzRr7NiI9NYQpq\n lTIcg2grW7QzacwEn9a0h7NRQNPWL3Rj+e2QH9yCiLhWVlglj6EASWmfqOY5HtcDOw\n 7BMyLmo1yovSB5hIwc00I4nyqlbZ8RV/Ji/4qtSi7vdef3d+Ve7mMM5Va09VpROzO1\n lF2Zn4CZJVOrCpfYYnLtWcLLIuW2dNpZdK0+NuF6hfY6C8g2D/nSINa9IoxvILhyui\n r+kwNrrNPeDxQ==",
        "From": "Michael Walle <mwalle@kernel.org>",
        "To": "Tom Rini <trini@konsulko.com>,\n Jerome Forissier <jerome.forissier@linaro.org>",
        "Cc": "u-boot@lists.denx.de,\n\tMichael Walle <mwalle@kernel.org>",
        "Subject": "[PATCH 2/3] net: lwip: remove superfluous newline at tftp help text",
        "Date": "Wed, 12 Mar 2025 08:37:50 +0100",
        "Message-Id": "<20250312073750.2281630-1-mwalle@kernel.org>",
        "X-Mailer": "git-send-email 2.39.5",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.39",
        "Precedence": "list",
        "List-Id": "U-Boot discussion <u-boot.lists.denx.de>",
        "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>",
        "List-Archive": "<https://lists.denx.de/pipermail/u-boot/>",
        "List-Post": "<mailto:u-boot@lists.denx.de>",
        "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>",
        "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=subscribe>",
        "Errors-To": "u-boot-bounces@lists.denx.de",
        "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>",
        "X-Virus-Scanned": "clamav-milter 0.103.8 at phobos.denx.de",
        "X-Virus-Status": "Clean"
    },
    "content": "The help text has a newline at the end which will lead to an empty\nline after the tftpboot when printing the help overview. Remove it.\n\nFixes: 4d4d7838127e (\"net: lwip: add TFTP support and tftpboot command\")\nSigned-off-by: Michael Walle <mwalle@kernel.org>\n---\n cmd/net-lwip.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/cmd/net-lwip.c b/cmd/net-lwip.c\nindex 0fd446ecb20..249556243d6 100644\n--- a/cmd/net-lwip.c\n+++ b/cmd/net-lwip.c\n@@ -17,7 +17,7 @@ U_BOOT_CMD(ping, 2, 1, do_ping, \"send ICMP ECHO_REQUEST to network host\",\n \n #if defined(CONFIG_CMD_TFTPBOOT)\n U_BOOT_CMD(tftpboot, 3, 0, do_tftpb,\n-\t   \"boot image via network using TFTP protocol\\n\",\n+\t   \"boot image via network using TFTP protocol\",\n \t   \"[loadAddress] [[hostIPaddr:]bootfilename]\");\n #endif\n \n",
    "prefixes": [
        "2/3"
    ]
}