get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2231509,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2231509/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/20260430191458.8204B19C19E@hamza.pair.com/",
    "project": {
        "id": 17,
        "url": "http://patchwork.ozlabs.org/api/1.1/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
    },
    "msgid": "<20260430191458.8204B19C19E@hamza.pair.com>",
    "date": "2026-04-30T19:14:56",
    "name": "[pushed] wwwdocs: gcc-4.7: Make release notes links relative",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "d1432ddc7937ebb5ddf14e7c1fca187bfc2fbdf7",
    "submitter": {
        "id": 4396,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/4396/?format=api",
        "name": "Gerald Pfeifer",
        "email": "gerald@pfeifer.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/20260430191458.8204B19C19E@hamza.pair.com/mbox/",
    "series": [
        {
            "id": 502364,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/502364/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=502364",
            "date": "2026-04-30T19:14:56",
            "name": "[pushed] wwwdocs: gcc-4.7: Make release notes links relative",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/502364/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2231509/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2231509/checks/",
    "tags": {},
    "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\tdkim=pass (2048-bit key;\n unprotected) header.d=pfeifer.com header.i=@pfeifer.com header.a=rsa-sha256\n header.s=pair-202402271039 header.b=wrD/iN+4;\n\tdkim-atps=neutral",
            "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\tdkim=pass (2048-bit key,\n unprotected) header.d=pfeifer.com header.i=@pfeifer.com header.a=rsa-sha256\n header.s=pair-202402271039 header.b=wrD/iN+4",
            "sourceware.org;\n dmarc=none (p=none dis=none) header.from=pfeifer.com",
            "sourceware.org; spf=pass smtp.mailfrom=pfeifer.com",
            "server2.sourceware.org;\n arc=none smtp.remote-ip=209.68.5.143"
        ],
        "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 4g63m00v3Xz1yGq\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 01 May 2026 05:15:26 +1000 (AEST)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id D98D84310D6E\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 19:15:24 +0000 (GMT)",
            "from hamza.pair.com (hamza.pair.com [209.68.5.143])\n by sourceware.org (Postfix) with ESMTPS id 000B143B550A\n for <gcc-patches@gcc.gnu.org>; Thu, 30 Apr 2026 19:14:58 +0000 (GMT)",
            "from hamza.pair.com (localhost [127.0.0.1])\n by hamza.pair.com (Postfix) with ESMTP id 8204B19C19E\n for <gcc-patches@gcc.gnu.org>; Thu, 30 Apr 2026 15:14:58 -0400 (EDT)",
            "from shakti.localdomain (188-23-59-24.adsl.highway.telekom.at\n [188.23.59.24])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by hamza.pair.com (Postfix) with ESMTPSA id 26A5A745956\n for <gcc-patches@gcc.gnu.org>; Thu, 30 Apr 2026 15:14:58 -0400 (EDT)"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org D98D84310D6E",
            "OpenDKIM Filter v2.11.0 sourceware.org 000B143B550A"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org 000B143B550A",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org 000B143B550A",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1777576499; cv=none;\n b=EPphzOhHSuICDwDwEY5+jfoYKvQCR1yarZGReQXVMZHqtw8dBu/EWAIQ9CZ0CXbzOD31lfI5YHiSS2W/aOJxd3bXiZiUwQmleNcmpnyzmfaIlvHENXOo4b8TcLQ0AKc7utoTIVAypqcCD9R6TWUqk2Y/D+ybtUAenKseihJesyw=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1777576499; c=relaxed/simple;\n bh=YLG3KRejkZbKduBugrxN4Ov5e3wUw34H3poVycamrNg=;\n h=Date:From:To:Subject:MIME-Version:DKIM-Signature:Message-Id;\n b=rgQ2RlTHZ/g2VRblUKukzHCPUoqP9/XAILxpCB8qQms0Y+dZmkYYv/+I2Wfbj6hLilPPz4Pjm4pnYnm7IftrgHIY5yCRYZFqyCWll9KWOv48UBgttGcext+eVJ/WKHXAhPjNYz8V7dFDeN1efVR4ue7NSObzVrQsrmB3McvpD58=",
        "ARC-Authentication-Results": "i=1; server2.sourceware.org",
        "Date": "Thu, 30 Apr 2026 21:14:56 +0200 (CEST)",
        "From": "Gerald Pfeifer <gerald@pfeifer.com>",
        "To": "gcc-patches@gcc.gnu.org",
        "Subject": "[pushed] wwwdocs: gcc-4.7: Make release notes links relative",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=US-ASCII",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=pfeifer.com;\n h=date:from:to:subject:mime-version:content-type; s=pair-202402271039;\n bh=PidT+WNJnm7BOC/pmWLb1/oAitYcLmJhJdp02T2JHCg=;\n b=wrD/iN+4NrezDkNc3T8LvOo0ph2+3O2MohCp77ybje5aHqMfUC9cT9hYHYyKSwQ7Mnwe5VACijWE8sZiHG17cp00OVhZUfUwhqCuKYxPsGOgdqPDwJlDnY0ZqDjeQMUPg1JAquyctu+cdCgrVVKXAQ/0aqOcwpclnxv6fiMhpDoTKI4cdTAzG+yCIELkOfmsuZICHfaMSCRcP8KJSBQglWNLSC4dgGQS3n6rgc8uvsaSTcBRVbvCMrnmiC65vn1Vvkr4+3t8z08mfRd53+Xo+h2vf9xBd13qn3/wiHtEV+8rRm2rmfRXo6phy/6gpy+x5XZsTAG/JHVilUSfGCR/lg==",
        "X-Scanned-By": "mailmunge 3.09 on 209.68.5.143",
        "Message-Id": "<20260430191458.8204B19C19E@hamza.pair.com>",
        "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": "Pushed.\n\nGerald\n---\n htdocs/gcc-4.7/changes.html    | 5 ++---\n htdocs/gcc-4.7/porting_to.html | 3 +--\n 2 files changed, 3 insertions(+), 5 deletions(-)",
    "diff": "diff --git a/htdocs/gcc-4.7/changes.html b/htdocs/gcc-4.7/changes.html\nindex fa9e08a0..5c3116fe 100644\n--- a/htdocs/gcc-4.7/changes.html\n+++ b/htdocs/gcc-4.7/changes.html\n@@ -135,9 +135,8 @@\n     by this change.  (This change affects GCC versions 4.7.2 and later.)</li>\n \n     <li>More information on porting to GCC 4.7 from previous versions\n-    of GCC can be found in\n-    the <a href=\"https://gcc.gnu.org/gcc-4.7/porting_to.html\">porting\n-    guide</a> for this release.</li>\n+    of GCC can be found in the <a href=\"porting_to.html\">porting guide</a>\n+    for this release.</li>\n   </ul>\n \n \ndiff --git a/htdocs/gcc-4.7/porting_to.html b/htdocs/gcc-4.7/porting_to.html\nindex fbb940a6..5d973a6c 100644\n--- a/htdocs/gcc-4.7/porting_to.html\n+++ b/htdocs/gcc-4.7/porting_to.html\n@@ -12,8 +12,7 @@\n \n <p>\n The GCC 4.7 release series differs from previous GCC releases in more\n-than the usual list of\n-<a href=\"https://gcc.gnu.org/gcc-4.7/changes.html\">changes</a>. Some of\n+than the usual list of <a href=\"changes.html\">changes</a>. Some of\n these are a result of bug fixing, and some old behaviors have been\n intentionally changed in order to support new standards, or relaxed\n in standards-conforming ways to facilitate compilation or runtime\n",
    "prefixes": [
        "pushed"
    ]
}