get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2226903,
    "url": "http://patchwork.ozlabs.org/api/patches/2226903/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/0e0db91a1a76a99e92c52e008a8aba4835499bb1.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": "<0e0db91a1a76a99e92c52e008a8aba4835499bb1.1776884845.git.sam@gentoo.org>",
    "list_archive_url": null,
    "date": "2026-04-22T19:07:29",
    "name": "[3/4] lto: fix spelling in comment",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "c31fec7af318f0e21a462452c3a04f21da653006",
    "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/0e0db91a1a76a99e92c52e008a8aba4835499bb1.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/2226903/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2226903/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 4g1CBm3Nqgz1yD5\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 23 Apr 2026 07:33:20 +1000 (AEST)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id A659148FE55E\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 22 Apr 2026 21:33:18 +0000 (GMT)",
            "from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])\n by sourceware.org (Postfix) with ESMTP id 7A70E433AF96\n for <gcc-patches@gcc.gnu.org>; Wed, 22 Apr 2026 19:08:26 +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 7D63D342364;\n Wed, 22 Apr 2026 19:08:25 +0000 (UTC)"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org A659148FE55E",
            "OpenDKIM Filter v2.11.0 sourceware.org 7A70E433AF96"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org 7A70E433AF96",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org 7A70E433AF96",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1776884906; cv=none;\n b=VxxsZEk1x1en4kE6f6FW2DmwBk2K3IQi4j654SUwXBKqv8lZBhxQ9yjoT49BEplNZLqS88FSYr+//oFCSEDbzFlyqZXzcbCpp1TK6tCLrDCwGBgQekanOPzHapEFNEWaVB0HiybwAHmjC9hvCPi4MHOMiusl1vdi5dVmTb40m60=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1776884906; c=relaxed/simple;\n bh=IrWby/ZwRR5GWIDt6DmZodJgOBnKry9sgCTPE21AQQE=;\n h=From:To:Subject:Date:Message-ID:MIME-Version;\n b=CG8W75hAzfRhUgJfspS1Zdlm4CUdoWlEo/V1NCmsDpvRA9N61rJsvMAo8ihJkMEDjQAH68J6kK0Ko81a31r7hRrPAo0bQjyhzLdMy7wju48o5OGSJxxFDA/3DUWc8ZFhi1q1o6TuxbCO+bQXjg5otf9sVyX/kcC8ZL6DNyw88j4=",
        "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 3/4] lto: fix spelling in comment",
        "Date": "Wed, 22 Apr 2026 20:07:29 +0100",
        "Message-ID": "\n <0e0db91a1a76a99e92c52e008a8aba4835499bb1.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=767; i=sam@gentoo.org;\n h=from:subject:message-id; bh=IrWby/ZwRR5GWIDt6DmZodJgOBnKry9sgCTPE21AQQE=;\n b=owGbwMvMwCVW3ML5VeH+xAmMp9WSGDJfyvSn6gjsL7mc2p0x3eFjpJoND6fP5IyzGmW1G9b06\n y1w2uXc8ZGFQYyLYaaYIovqst0dd2eX+WSHOh6CmcPKBDJEWqSBAQhYGPhyE/NKjXSM9Ey1DfUM\n gQwdo3iInB6DRmZxcWlqkW5aQZFDXn5JYklmfl6xXn5Bal5BeoFeWmZaSUZGflFxKtAIvbzUEiN\n TRzMnJwsLFxdLJ3MzE2czJ1NTE0NnI3NjCxMDSzdTIwMXN0tDSwMGLk4BmGtOnmP4777Qdm+AZW\n 0uq+PF21OWX3rWvrZT2OVI1OWFZyOTblxyjmb4X/VH/owD3+aPLGec0848Si/7fP6pEWfKPzWWl\n fLZJv5C3AA=",
        "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": "gcc/lto/ChangeLog:\n\n\t* lto-symtab.cc (lto_varpool_replace_node): Fix spelling of 'warning'.\n---\n gcc/lto/lto-symtab.cc | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/gcc/lto/lto-symtab.cc b/gcc/lto/lto-symtab.cc\nindex b458462dc237..c24cc01dda2a 100644\n--- a/gcc/lto/lto-symtab.cc\n+++ b/gcc/lto/lto-symtab.cc\n@@ -183,7 +183,7 @@ lto_varpool_replace_node (varpool_node *vnode,\n   vnode->remove ();\n }\n \n-/* Return non-zero if we want to output waring about T1 and T2.\n+/* Return non-zero if we want to output warning about T1 and T2.\n    Return value is a bitmask of reasons of violation:\n    Bit 0 indicates that types are not compatible.\n    Bit 1 indicates that types are not compatible because of C++ ODR rule.\n",
    "prefixes": [
        "3/4"
    ]
}