get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2228974,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2228974/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/20260427153428.1236674-1-jwakely@redhat.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": "<20260427153428.1236674-1-jwakely@redhat.com>",
    "date": "2026-04-27T15:33:48",
    "name": "[committed] Fix anchor to C++ notes in the Porting to GCC 16 page",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "9d242bb48134e6a8ce396f47ccab92cd2ea8d51c",
    "submitter": {
        "id": 48004,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/48004/?format=api",
        "name": "Jonathan Wakely",
        "email": "jwakely@redhat.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/20260427153428.1236674-1-jwakely@redhat.com/mbox/",
    "series": [
        {
            "id": 501678,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/501678/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=501678",
            "date": "2026-04-27T15:33:48",
            "name": "[committed] Fix anchor to C++ notes in the Porting to GCC 16 page",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/501678/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2228974/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2228974/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 (1024-bit key;\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=MsAaOfKB;\n\tdkim-atps=neutral",
            "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\tdkim=pass (1024-bit key,\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=MsAaOfKB",
            "sourceware.org; dmarc=pass (p=quarantine dis=none)\n header.from=redhat.com",
            "sourceware.org; spf=pass smtp.mailfrom=redhat.com",
            "server2.sourceware.org;\n arc=none smtp.remote-ip=170.10.133.124"
        ],
        "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 4g4719095Nz1yHv\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 28 Apr 2026 01:35:07 +1000 (AEST)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 7D0044BABF0F\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 27 Apr 2026 15:35:05 +0000 (GMT)",
            "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.133.124])\n by sourceware.org (Postfix) with ESMTP id 96D304BA798B\n for <gcc-patches@gcc.gnu.org>; Mon, 27 Apr 2026 15:34:34 +0000 (GMT)",
            "from mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com\n (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by\n relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3,\n cipher=TLS_AES_256_GCM_SHA384) id us-mta-428-Sxrsy7h1PGOimUAt8aoygA-1; Mon,\n 27 Apr 2026 11:34:32 -0400",
            "from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com\n (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111])\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 mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS\n id 7435F1800352; Mon, 27 Apr 2026 15:34:31 +0000 (UTC)",
            "from zen.kayari.org (unknown [10.44.34.137])\n by mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP\n id 57684180045E; Mon, 27 Apr 2026 15:34:29 +0000 (UTC)"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org 7D0044BABF0F",
            "OpenDKIM Filter v2.11.0 sourceware.org 96D304BA798B"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org 96D304BA798B",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org 96D304BA798B",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1777304074; cv=none;\n b=uqXl+/oV6QTZyVjF06cQCU8MCPnGIFqzbDANH+9YaTdyfSxvnFRL5lQ4Z5WlCxY7KwiiW1GunMtpoNbdkARnCWgjFmeXCK0ePw+TzGQpTbdunpvgE/vFRNtd1KQUY/u4kvi8Dop7SUMTfREZ8g6cG/Gy0yrp6WQ/PpH17EuzTM4=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1777304074; c=relaxed/simple;\n bh=qOiYE+tT5uTaCUeeRhdzczqvVz4mb2BrROTJIaMx5rg=;\n h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;\n b=yA5RyxFggKjVE9khCO1a2LBWTX+uQV+MhibYG7amJWNwy1AxLD/wDLenXsGIrKGBuZfrUrJP2hAdwaz/RpeXSf4mMPpnah2gvrMk4TmRtovnSs2+vqHdgoC+/jAJRmuf/TFEL2Y1Yv5liQTU0nNraHBQEvQqvw06uvSBtC78Rfk=",
        "ARC-Authentication-Results": "i=1; server2.sourceware.org",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1777304074;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=1gWaiUkVnJF+izAYz6WUiNzXXuaJVAmvMsRUwM1uDEE=;\n b=MsAaOfKBVwoHuEZ9RrLp54+bcdj6TrnSTLoeZ+lC2UWJ7kelaxmNs9YL7UKE5fGgiLooGY\n P0NLcYIo3m2qPHycTFPnbZhqVmnTO6fPUmZ1xd9oAiGE4AJywBaBGCkkl7heMLNpbs1/j1\n l896sSxx9a5x/v//SEIQN62dhciCaEc=",
        "X-MC-Unique": "Sxrsy7h1PGOimUAt8aoygA-1",
        "X-Mimecast-MFC-AGG-ID": "Sxrsy7h1PGOimUAt8aoygA_1777304071",
        "From": "Jonathan Wakely <jwakely@redhat.com>",
        "To": "gcc-patches@gcc.gnu.org,\n\tlibstdc++@gcc.gnu.org",
        "Subject": "[committed] Fix anchor to C++ notes in the Porting to GCC 16 page",
        "Date": "Mon, 27 Apr 2026 16:33:48 +0100",
        "Message-ID": "<20260427153428.1236674-1-jwakely@redhat.com>",
        "In-Reply-To": "<20260417211713.450546-1-jwakely@redhat.com>",
        "References": "<20260417211713.450546-1-jwakely@redhat.com>",
        "MIME-Version": "1.0",
        "X-Scanned-By": "MIMEDefang 3.4.1 on 10.30.177.111",
        "X-Mimecast-Spam-Score": "0",
        "X-Mimecast-MFC-PROC-ID": "90w_mpCD7wnqIdVFpvdj5Fg3x56rGlxVTwb4mImEuyg_1777304071",
        "X-Mimecast-Originator": "redhat.com",
        "Content-Type": "text/plain",
        "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": "I pushed the\nhttps://gcc.gnu.org/pipermail/gcc-patches/2026-April/713215.html change\nto gcc-16/changes.html and then noticed I used the wrong anchor for the\nporting_to.html page. Updated like so.\n\nPushed to wwwdocs.\n\n---\n htdocs/gcc-16/changes.html | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/htdocs/gcc-16/changes.html b/htdocs/gcc-16/changes.html\nindex b1085206..eec3f4e8 100644\n--- a/htdocs/gcc-16/changes.html\n+++ b/htdocs/gcc-16/changes.html\n@@ -210,7 +210,7 @@ for general information.</p>\n     If your code relies on older versions of the C++ standard, you will need to\n     either add\n     <a href=\"https://gcc.gnu.org/onlinedocs/gcc/C-Dialect-Options.html#index-std-1\">-std=</a>\n-    to your build flags, or port your code; see <a href=\"porting_to.html#cxx23\">the porting notes</a>.\n+    to your build flags, or port your code; see <a href=\"porting_to.html#cpp\">the porting notes</a>.\n   </li>\n   <li>Several C++26 features have been implemented:\n     <ul>\n",
    "prefixes": [
        "committed"
    ]
}