get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2226887,
    "url": "http://patchwork.ozlabs.org/api/patches/2226887/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/66f791e9d9f301c9387d9b6af5a4d6eec5f36ef9.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": "<66f791e9d9f301c9387d9b6af5a4d6eec5f36ef9.1776884845.git.sam@gentoo.org>",
    "list_archive_url": null,
    "date": "2026-04-22T19:07:27",
    "name": "[1/4] i386: fix typo in comment",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "a173326a7e9ae370e82e84637d6538f3e48409c6",
    "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/66f791e9d9f301c9387d9b6af5a4d6eec5f36ef9.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/2226887/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2226887/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=38.145.34.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 [38.145.34.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 4g1BjL3YhXz1yDD\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 23 Apr 2026 07:11:18 +1000 (AEST)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 80EBB4CE384C\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 22 Apr 2026 21:11:16 +0000 (GMT)",
            "from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])\n by sourceware.org (Postfix) with ESMTP id B47F24339F53\n for <gcc-patches@gcc.gnu.org>; Wed, 22 Apr 2026 19:08:24 +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 A43FA340CBB;\n Wed, 22 Apr 2026 19:08:23 +0000 (UTC)"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org 80EBB4CE384C",
            "OpenDKIM Filter v2.11.0 sourceware.org B47F24339F53"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org B47F24339F53",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org B47F24339F53",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1776884904; cv=none;\n b=ooyMDIkmWB4Wj0N734qoFhsqIYKRiwO1DaoB3icn2HqDSnVri7TwxZ4CWa+3OcyLi+FbA5AjQxIpyWPiF6ueprhI46VY6gArq328iudX01+1Zsqj9Il1iobOHVeoxwcd8kuIWW37Y2XeXtxwDwqYP8EJ/SO8v7qhPa4vzei3mGA=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1776884904; c=relaxed/simple;\n bh=OKQXIXjf+CNPY1M+5Xw2zlXHj2a3ve6vdJxaj6bdmiA=;\n h=From:To:Subject:Date:Message-ID:MIME-Version;\n b=qqbYeU/H45IXPY3JEfeNoZl9c8IG+iK4maa9d/Z3nvYR0qB/HEdGXSfgL9ZtnNa3Lh0mM+lhOMQ2WDuscvSfkldUx8zN4/cs8zkwNkzYDsZi5j2Urm7QvHIyG9bt2nQ1Gkba9kToQaMpbdq7r+daCFTJ0IpXoVBpXk6by67tbr0=",
        "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 1/4] i386: fix typo in comment",
        "Date": "Wed, 22 Apr 2026 20:07:27 +0100",
        "Message-ID": "\n <66f791e9d9f301c9387d9b6af5a4d6eec5f36ef9.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=818; i=sam@gentoo.org;\n h=from:subject:message-id; bh=OKQXIXjf+CNPY1M+5Xw2zlXHj2a3ve6vdJxaj6bdmiA=;\n b=owGbwMvMwCVW3ML5VeH+xAmMp9WSGDJfyvT9FV/90Cv8z//kXwvVQyZc23ju5GXHnz+YHTuDt\n DIeXRTY0fGRhUGMi2GmmCKL6rLdHXdnl/lkhzoegpnDygQyRFqkgQEIWBj4chPzSo10jPRMtQ31\n DIEMHaN4iJweg0ZmcXFpapFuWkGRQ15+SWJJZn5esV5+QWpeQXqBXlpmWklGRn5RcSrQCL281BI\n jU0czJycLCxcXSydzMxNnMydTUxNDZyNzYwsTA0s3UyMDFzdLQ0sDBi5OAZhrcssZGdr3a3Dt/D\n v9/XOdTfOr2SuPeCxYb2g/Y6deW+dkGx7RqgCGf5pXD87nKuZbG3ExrNHT4t0u7QW9104oz72u1\n 2f1cE/kJhYA",
        "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": "Followup to r16-2675-gdf82965344f641.\n\ngcc/ChangeLog:\n\n\t* config/i386/i386.cc (ix86_get_callcvt): Say 'regparm' in comment,\n\tnot 'regparam'.\n---\n gcc/config/i386/i386.cc | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/gcc/config/i386/i386.cc b/gcc/config/i386/i386.cc\nindex 4249c55ce6e9..cb37318ed24e 100644\n--- a/gcc/config/i386/i386.cc\n+++ b/gcc/config/i386/i386.cc\n@@ -1183,7 +1183,7 @@ ix86_get_callcvt (const_tree type)\n       else if (lookup_attribute (\"thiscall\", attrs))\n \tret |= IX86_CALLCVT_THISCALL;\n \n-      /* Regparam isn't allowed for thiscall and fastcall.  */\n+      /* Regparm isn't allowed for thiscall and fastcall.  */\n       if ((ret & (IX86_CALLCVT_THISCALL | IX86_CALLCVT_FASTCALL)) == 0)\n \t{\n \t  if (lookup_attribute (\"regparm\", attrs))\n",
    "prefixes": [
        "1/4"
    ]
}