get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2218785,
    "url": "http://patchwork.ozlabs.org/api/patches/2218785/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/20260401215920.674286-6-jwakely@redhat.com/",
    "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": "<20260401215920.674286-6-jwakely@redhat.com>",
    "list_archive_url": null,
    "date": "2026-04-01T20:42:06",
    "name": "[06/10] libstdc++: Rename parameters of unordered erase(K&&) members",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "c8d1089754a642d577c5dbdb4ed10cb37e6c2a1c",
    "submitter": {
        "id": 48004,
        "url": "http://patchwork.ozlabs.org/api/people/48004/?format=api",
        "name": "Jonathan Wakely",
        "email": "jwakely@redhat.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/20260401215920.674286-6-jwakely@redhat.com/mbox/",
    "series": [
        {
            "id": 498401,
            "url": "http://patchwork.ozlabs.org/api/series/498401/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=498401",
            "date": "2026-04-01T20:42:04",
            "name": "[01/10] libstdc++: Tweak Doxygen config file to include C++26 components",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/498401/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2218785/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2218785/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\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=TVHZSYRb;\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=TVHZSYRb",
            "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 4fmJrq1Ls3z1yCs\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 02 Apr 2026 09:03:07 +1100 (AEDT)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 5B4A24BA2E31\n\tfor <incoming@patchwork.ozlabs.org>; Wed,  1 Apr 2026 22:03: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 5933C4C9176B\n for <gcc-patches@gcc.gnu.org>; Wed,  1 Apr 2026 22:00:23 +0000 (GMT)",
            "from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com\n (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by\n relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3,\n cipher=TLS_AES_256_GCM_SHA384) id us-mta-530-rrnKKUeKON6zhketkgnvXg-1; Wed,\n 01 Apr 2026 17:59:32 -0400",
            "from mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com\n (mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.12])\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-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS\n id 50E9319560BB; Wed,  1 Apr 2026 21:59:31 +0000 (UTC)",
            "from zen.kayari.org (unknown [10.44.48.64])\n by mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP\n id 233E719560AB; Wed,  1 Apr 2026 21:59:29 +0000 (UTC)"
        ],
        "DKIM-Filter": "OpenDKIM Filter v2.11.0 sourceware.org 5B4A24BA2E31",
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org 5933C4C9176B",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org 5933C4C9176B",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1775080823; cv=none;\n b=ac+4jh6DX6rZB+fzeZK50fwgxVgc6jeBWxlmlgciYKrJpa5h9nracER2yz1EIggboFlLct06vSP9kFvHrF+bWvq4nLTioHJxhaxpxqDhqEC4L6rQ/2A7HM4ph68N83YCfgZfVIaQk/q/9W1wZp6oE2z8tmJwVIkfQXHUFVNnLII=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1775080823; c=relaxed/simple;\n bh=jCi0Ktwm7FHL1Pm4/NHb7Ru4Gf9Lg7E3rGG7eVt7b8U=;\n h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;\n b=nn0/KYJfM1xT+epoo+xyNGL+qKzDN8eKpRYka2TPjt5tsPdBgDYyKSCNhiQqF0tL05VpK0f2+rl3zr8KfGB7J3iwlLY/x+me370WwxtWcbJmK4ePq7OKsQ9HgzKPBrAPMCy/as1MCkTgBAq8cXWf2X7TUWOF0oPK9WFmOBsw9yw=",
        "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=1775080773;\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=shR+77WNHIWovYr5LoX9ajESTU/OOrxl0j1LDyWa/mQ=;\n b=TVHZSYRbBf3CvuMKqaPTWquCsgO44Oxca1jlt7xeztVxcuQuFEt6lPszF60JfmPaXK2ZOt\n 6pMxF0akbQN5ZuBSO3tnMy6Wk93aCM/542PyvGa8Y0vSWcJS9rl4F7e6YFtbQ5+Pz3gvY0\n JY/Td4SJtOdDj+2X6qCCUWWO63IMCcs=",
        "X-MC-Unique": "rrnKKUeKON6zhketkgnvXg-1",
        "X-Mimecast-MFC-AGG-ID": "rrnKKUeKON6zhketkgnvXg_1775080771",
        "From": "Jonathan Wakely <jwakely@redhat.com>",
        "To": "gcc-patches@gcc.gnu.org,\n\tlibstdc++@gcc.gnu.org",
        "Subject": "[PATCH 06/10] libstdc++: Rename parameters of unordered erase(K&&)\n members",
        "Date": "Wed,  1 Apr 2026 21:42:06 +0100",
        "Message-ID": "<20260401215920.674286-6-jwakely@redhat.com>",
        "In-Reply-To": "<20260401215920.674286-1-jwakely@redhat.com>",
        "References": "<20260401215920.674286-1-jwakely@redhat.com>",
        "MIME-Version": "1.0",
        "X-Scanned-By": "MIMEDefang 3.0 on 10.30.177.12",
        "X-Mimecast-Spam-Score": "0",
        "X-Mimecast-MFC-PROC-ID": "RDsxgmm-VjEQq-GnMWIWztt131wDIAUtds_MDoHsWPA_1775080771",
        "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": "This fixes some Doxygen warnings caused by inconsistent parameter names,\nwhich do not match the names used in the Doxygen comments:\n\ninclude/bits/unordered_map.h:899: warning: argument '__x' of command @param is not found in the argument list of std::unordered_map< _Key, _Tp, _Hash, _Pred, _Alloc >::erase(_Kt &&__key)\ninclude/bits/unordered_map.h:899: warning: The following parameter of std::unordered_map::erase(_Kt &&__key) is not documented:\n  parameter '__key'\n\nlibstdc++-v3/ChangeLog:\n\n\t* include/bits/unordered_map.h (unordered_map::erase(K&&)):\n\tChange parameter name to __x.\n\t* include/bits/unordered_set.h (unordered_set::erase(K&&))\n\t(unordered_multiset::erase(K&&)): Likewise.\n---\n\nTested x86_64-linux, docs built with Doxygen 1.13.2 and 1.17.0 (from git)\n\n libstdc++-v3/include/bits/unordered_map.h | 4 ++--\n libstdc++-v3/include/bits/unordered_set.h | 8 ++++----\n 2 files changed, 6 insertions(+), 6 deletions(-)",
    "diff": "diff --git a/libstdc++-v3/include/bits/unordered_map.h b/libstdc++-v3/include/bits/unordered_map.h\nindex 853386e9f9bc..c84a4730e320 100644\n--- a/libstdc++-v3/include/bits/unordered_map.h\n+++ b/libstdc++-v3/include/bits/unordered_map.h\n@@ -913,8 +913,8 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER\n #ifdef __glibcxx_associative_heterogeneous_erasure // C++23\n       template <__heterogeneous_hash_key<unordered_map> _Kt>\n \tsize_type\n-\terase(_Kt&& __key)\n-\t{ return _M_h._M_erase_tr(__key); }\n+\terase(_Kt&& __x)\n+\t{ return _M_h._M_erase_tr(__x); }\n #endif\n       ///@}\n \ndiff --git a/libstdc++-v3/include/bits/unordered_set.h b/libstdc++-v3/include/bits/unordered_set.h\nindex 3585fe2c7144..e7db34151b49 100644\n--- a/libstdc++-v3/include/bits/unordered_set.h\n+++ b/libstdc++-v3/include/bits/unordered_set.h\n@@ -656,8 +656,8 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER\n #ifdef __glibcxx_associative_heterogeneous_erasure // C++23\n       template <__heterogeneous_hash_key<unordered_set> _Kt>\n \tsize_type\n-\terase(_Kt&& __key)\n-\t{ return _M_h._M_erase_tr(__key); }\n+\terase(_Kt&& __x)\n+\t{ return _M_h._M_erase_tr(__x); }\n #endif\n \n       /**\n@@ -1674,8 +1674,8 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER\n #ifdef __glibcxx_associative_heterogeneous_erasure // C++23\n       template <__heterogeneous_hash_key<unordered_multiset> _Kt>\n \tsize_type\n-\terase(_Kt&& __key)\n-\t{ return _M_h._M_erase_tr(__key); }\n+\terase(_Kt&& __x)\n+\t{ return _M_h._M_erase_tr(__x); }\n #endif\n \n       /**\n",
    "prefixes": [
        "06/10"
    ]
}