get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2226893,
    "url": "http://patchwork.ozlabs.org/api/patches/2226893/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/a0cdab3b4ee19b143133d4de92c3fd7849790a85.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": "<a0cdab3b4ee19b143133d4de92c3fd7849790a85.1776884845.git.sam@gentoo.org>",
    "list_archive_url": null,
    "date": "2026-04-22T19:07:30",
    "name": "[4/4] ipa: fix 'writing' typo in comment",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "a8c9c571aa271874e28a5d7f6d7b2b00c6e89d82",
    "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/a0cdab3b4ee19b143133d4de92c3fd7849790a85.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/2226893/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2226893/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 4g1BtY3yFQz1yD5\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 23 Apr 2026 07:19:17 +1000 (AEST)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 6ED984CD2236\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 22 Apr 2026 21:19:15 +0000 (GMT)",
            "from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])\n by sourceware.org (Postfix) with ESMTP id 663BA44565F1\n for <gcc-patches@gcc.gnu.org>; Wed, 22 Apr 2026 19:08:27 +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 68F6934236C;\n Wed, 22 Apr 2026 19:08:26 +0000 (UTC)"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org 6ED984CD2236",
            "OpenDKIM Filter v2.11.0 sourceware.org 663BA44565F1"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org 663BA44565F1",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org 663BA44565F1",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1776884907; cv=none;\n b=syRfg/HxXkZWHsOGvbDhg7Z6i7jyO2G+bn7sgoOS9Gi8PMeZbGIatkertP2JD7c5qv3fzqksnOFbjy7C5R0blqmZpxZWl9w0Ob5qN91ljexIsakSqLILZpqX2oFVHvZdjylEXNN/xOR8v4Vwtym3BOBP99DdIsYjV92c91OzLGE=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1776884907; c=relaxed/simple;\n bh=5+bXBuU5hgafvYITgCt8jx8d3W3rT+dhQkd1vOoADhI=;\n h=From:To:Subject:Date:Message-ID:MIME-Version;\n b=VLlSHE8xj2Hr1hRwBnra5wmMLcZqASb0X4n+CTCEQe6qaZEwiOCM6+4Jf/PFJ3ytIxcG4uVKtU/A4gXSPE44yuL8bEbV3zoRHSDd9EKGdECWFjP8MKEU680EMno3TU3Tr++1t2o8CiZ0BV29bypqhQWiHIob7fDrcL99pYvdOD4=",
        "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 4/4] ipa: fix 'writing' typo in comment",
        "Date": "Wed, 22 Apr 2026 20:07:30 +0100",
        "Message-ID": "\n <a0cdab3b4ee19b143133d4de92c3fd7849790a85.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=712; i=sam@gentoo.org;\n h=from:subject:message-id; bh=5+bXBuU5hgafvYITgCt8jx8d3W3rT+dhQkd1vOoADhI=;\n b=owGbwMvMwCVW3ML5VeH+xAmMp9WSGDJfykyIKXDw6nUXYVx5Nt/L8/qyXQa7N+f8KbtefOP/r\n Dj7gAzRjo8sDGJcDDPFFFlUl+3uuDu7zCc71PEQzBxWJpAh0iINDEDAwsCXm5hXaqRjpGeqbahn\n CGToGMVD5PQYNDKLi0tTi3TTCooc8vJLEksy8/OK9fILUvMK0gv00jLTSjIy8ouKU4FG6OWllhi\n ZOpo5OVlYuLhYOpmbmTibOZmamhg6G5kbW5gYWLqZGhm4uFkaWhowcHEKwFzDa8jwv3D+xETXdR\n cFDdldnEOmpuo7tPfcvnbHY+oe9nnxN/9lNTIy7My0atm7csGWNv3EaRUfomwP/niidLlt1oYTc\n Wwf/lwzYgIA",
        "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/ChangeLog:\n\n\t* ipa-prop.cc (param_type_may_change_p): Fix comment typo.\n---\n gcc/ipa-prop.cc | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/gcc/ipa-prop.cc b/gcc/ipa-prop.cc\nindex dee7632eef0c..cb89934ee385 100644\n--- a/gcc/ipa-prop.cc\n+++ b/gcc/ipa-prop.cc\n@@ -929,7 +929,7 @@ static bool\n param_type_may_change_p (tree function, tree arg, gimple *call)\n {\n   /* Pure functions cannot do any changes on the dynamic type;\n-     that require writting to memory.  */\n+     that require writing to memory.  */\n   if (flags_from_decl_or_type (function) & (ECF_PURE | ECF_CONST))\n     return false;\n   /* We need to check if we are within inlined consturctor\n",
    "prefixes": [
        "4/4"
    ]
}