get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2226883,
    "url": "http://patchwork.ozlabs.org/api/patches/2226883/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/9758812ccf04a0eabf02cf349ed6d50f2ab8c3bc.1776884845.git.sam@gentoo.org/",
    "project": {
        "id": 17,
        "url": "http://patchwork.ozlabs.org/api/projects/17/?format=api",
        "name": "GNU Compiler Collection",
        "link_name": "gcc",
        "list_id": "gcc-patches.gcc.gnu.org",
        "list_email": "gcc-patches@gcc.gnu.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<9758812ccf04a0eabf02cf349ed6d50f2ab8c3bc.1776884845.git.sam@gentoo.org>",
    "list_archive_url": null,
    "date": "2026-04-22T19:07:28",
    "name": "[2/4] contrib: header-tools: fix spelling",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "cd8255b16c3b552e7f8217400eb48ab09428a2f5",
    "submitter": {
        "id": 83216,
        "url": "http://patchwork.ozlabs.org/api/people/83216/?format=api",
        "name": "Sam James",
        "email": "sam@gentoo.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/9758812ccf04a0eabf02cf349ed6d50f2ab8c3bc.1776884845.git.sam@gentoo.org/mbox/",
    "series": [
        {
            "id": 501108,
            "url": "http://patchwork.ozlabs.org/api/series/501108/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=501108",
            "date": "2026-04-22T19:07:28",
            "name": "Tiny comment fixes",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/501108/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2226883/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2226883/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "gcc-patches@gcc.gnu.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@legolas.ozlabs.org",
            "gcc-patches@gcc.gnu.org"
        ],
        "Authentication-Results": [
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org\n (client-ip=2620:52:6:3111::32; helo=vm01.sourceware.org;\n envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org;\n receiver=patchwork.ozlabs.org)",
            "sourceware.org;\n dmarc=pass (p=none dis=none) header.from=gentoo.org",
            "sourceware.org; spf=pass smtp.mailfrom=gentoo.org",
            "server2.sourceware.org;\n arc=none smtp.remote-ip=140.211.166.183"
        ],
        "Received": [
            "from vm01.sourceware.org (vm01.sourceware.org\n [IPv6:2620:52:6:3111::32])\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 4g1BcX1h0Wz1yD5\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 23 Apr 2026 07:07:08 +1000 (AEST)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 656D74B18DB8\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 22 Apr 2026 21:05:59 +0000 (GMT)",
            "from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])\n by sourceware.org (Postfix) with ESMTP id B3D0A435EC63\n for <gcc-patches@gcc.gnu.org>; Wed, 22 Apr 2026 19:08:25 +0000 (GMT)",
            "from localhost\n (2.8.3.0.0.0.0.0.0.0.0.0.0.0.0.0.a.5.c.d.c.d.9.1.0.b.8.0.1.0.0.2.ip6.arpa\n [IPv6:2001:8b0:19dc:dc5a::382])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n (No client certificate requested)\n (Authenticated sender: sam@gentoo.org)\n by smtp.gentoo.org (Postfix) with ESMTPSA id 923CC34235E;\n Wed, 22 Apr 2026 19:08:24 +0000 (UTC)"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org 656D74B18DB8",
            "OpenDKIM Filter v2.11.0 sourceware.org B3D0A435EC63"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org B3D0A435EC63",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org B3D0A435EC63",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1776884905; cv=none;\n b=iGDlbwBm383Ayg3WNDEvgkH9Sca9XyobJvUb1MyV55DUT1ic4Y93tVEP1UxhefywH8PSQ/ud9IavEFJZsJNEWfQrewRerECeXjn0+6V/C71r23Adew/aDZVsCugbPwDv8T0C+HRbBsgFPzhCj+zTHqvTiXaD5eRlTBbtJzFCajM=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1776884905; c=relaxed/simple;\n bh=n+4FTFssO8O8aDd8vYvFmd2ioxo/jLQK9TqeXBYzaOE=;\n h=From:To:Subject:Date:Message-ID:MIME-Version;\n b=fpwSQWeZPrLryWYDc0zEQdku+7vnM1YV452do3vf3d1/bd/UvYiiYcvFkoLrXg+nJ4EVwWYKJf+hT1gaYGl9UoyTtPeBJUAMX8M63qppbV0loLBYqaqul8+Qpy59yZmN7KUsqW6CNyUijVhF4v45bTgOBFrgFrz30ttpJrTmOFM=",
        "ARC-Authentication-Results": "i=1; server2.sourceware.org",
        "From": "Sam James <sam@gentoo.org>",
        "To": "gcc-patches@gcc.gnu.org",
        "Cc": "Sam James <sam@gentoo.org>",
        "Subject": "[PATCH 2/4] contrib: header-tools: fix spelling",
        "Date": "Wed, 22 Apr 2026 20:07:28 +0100",
        "Message-ID": "\n <9758812ccf04a0eabf02cf349ed6d50f2ab8c3bc.1776884845.git.sam@gentoo.org>",
        "X-Mailer": "git-send-email 2.54.0",
        "In-Reply-To": "<cover.1776884845.git.sam@gentoo.org>",
        "References": "<cover.1776884845.git.sam@gentoo.org>",
        "MIME-Version": "1.0",
        "X-Developer-Signature": "v=1; a=openpgp-sha256; l=814; i=sam@gentoo.org;\n h=from:subject:message-id; bh=n+4FTFssO8O8aDd8vYvFmd2ioxo/jLQK9TqeXBYzaOE=;\n b=owGbwMvMwCVW3ML5VeH+xAmMp9WSGDJfyvTvk1BznvQyvsnkUvCH0PV979znnzhvfu4th2K+X\n dCtC7KSHR9ZGMS4GGaKKbKoLtvdcXd2mU92qOMhmDmsTCBDpEUaGICAhYEvNzGv1EjHSM9U21DP\n EMjQMYqHyOkxaGQWF5emFummFRQ55OWXJJZk5ucV6+UXpOYVpBfopWWmlWRk5BcVpwKN0MtLLTE\n ydTRzcrKwcHGxdDI3M3E2czI1NTF0NjI3tjAxsHQzNTJwcbM0tDRg4OIUgLlmoTDDf3+9ZQ5/Ul\n 5d1m7fLK0S/0RpG1f21CbeqGmcAQZH5piaeDEy7FHqXXa8QtSvYZpoQ9HMB+kc3f6v585bkywZd\n M7tzZWHHAA=",
        "X-Developer-Key": "i=sam@gentoo.org; a=openpgp;\n fpr=5EF3A41171BB77E6110ED2D01F3D03348DB1A3E2",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "gcc-patches@gcc.gnu.org",
        "X-Mailman-Version": "2.1.30",
        "Precedence": "list",
        "List-Id": "Gcc-patches mailing list <gcc-patches.gcc.gnu.org>",
        "List-Unsubscribe": "<https://gcc.gnu.org/mailman/options/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe>",
        "List-Archive": "<https://gcc.gnu.org/pipermail/gcc-patches/>",
        "List-Post": "<mailto:gcc-patches@gcc.gnu.org>",
        "List-Help": "<mailto:gcc-patches-request@gcc.gnu.org?subject=help>",
        "List-Subscribe": "<https://gcc.gnu.org/mailman/listinfo/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe>",
        "Errors-To": "gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org"
    },
    "content": "contrib/header-tools/ChangeLog:\n\n\t* show-headers: Fix spelling of 'additional'.\n---\n contrib/header-tools/show-headers | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/contrib/header-tools/show-headers b/contrib/header-tools/show-headers\nindex 3c3ca42f32b4..4a45eece4a4c 100755\n--- a/contrib/header-tools/show-headers\n+++ b/contrib/header-tools/show-headers\n@@ -103,7 +103,7 @@ if usage:\n   print (\" is included in a source file.  Should be run from the source directory\")\n   print (\" files from find-include-depends\")\n   print (\"      -s : search for a header, and point it out.\")\n-  print (\"      -i : Specifies additonal directories to search for includes.\")\n+  print (\"      -i : Specifies additional directories to search for includes.\")\n   sys.exit(0)\n \n \n",
    "prefixes": [
        "2/4"
    ]
}