get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2218783,
    "url": "http://patchwork.ozlabs.org/api/patches/2218783/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/20260401215920.674286-5-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-5-jwakely@redhat.com>",
    "list_archive_url": null,
    "date": "2026-04-01T20:42:05",
    "name": "[05/10] libstdc++: Fix Doxygen grouping",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "edba452c23a09d10d59eb2a3c816923ee6b9e2d8",
    "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-5-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/2218783/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2218783/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=e13nEjMZ;\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; 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\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 4fmJqK17gyz1yCs\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 02 Apr 2026 09:01:48 +1100 (AEDT)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 4785A4BA23E3\n\tfor <incoming@patchwork.ozlabs.org>; Wed,  1 Apr 2026 22:01:46 +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 5E6684CD202B\n for <gcc-patches@gcc.gnu.org>; Wed,  1 Apr 2026 22:00:30 +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-502-A-HY35-HPvKwGxHd3-B9Tw-1; Wed,\n 01 Apr 2026 17:59:30 -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 A7D15195605E; Wed,  1 Apr 2026 21:59:29 +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 8A4B719560AB; Wed,  1 Apr 2026 21:59:28 +0000 (UTC)"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org 5E6684CD202B",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org 5E6684CD202B",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1775080830; cv=none;\n b=dujHU3UTaX0JvtHKZAj9eHjQs03eixh3mP8udrDnqgMsdei4/hAe9IiFYiFqnZBRdMSB/iKqZ039TPSWBd8rRM+ro+HMciuxgxYoEZEJ1gWyW9CERgFfdVHgC5TaI3htG+DReqCwvBQBrFdzTgvHGEoCwCyo+zFLMm0BDLWokK0=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1775080830; c=relaxed/simple;\n bh=PCyGttyfC0TaEBQhw5FIRKa4kyaMN71EcJtCq5c4pXA=;\n h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;\n b=LTw6YxVv8wmOr6ZOyGPeX0a4SjqV7F8BGjCSLu093Qrg/Mcjsv2ndNJ78GpySvUdxoRRyfJEhnZ1U9j2lgkCh6uteHBaMmTiYZ/ah6vyLHRdiAoDA7udWdpx542/yLi46GiL8gAu+2DrqYR7kC7JZe3/ozjvuQqnWVWSII+gukU=",
        "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=SVrRQUjQI+io9ClZyRTRJs91E6Z6VSHXxPgn32ZaiOU=;\n b=e13nEjMZhI/bNRJQKpdTO4YBfCgN8iPEPHMVvSBVULyF7iNZKNVhfXa52RwawJcrqFhX5s\n pzgolwx5GBec1HHaKh0tuDydTCgsJ8iv5ZwCnC0dGrmJ9niSNkDDEZlh+jXJXB+zW1lTBu\n kDbkyRBNwhqvhdJuz2+uSFubil/mSXs=",
        "X-MC-Unique": "A-HY35-HPvKwGxHd3-B9Tw-1",
        "X-Mimecast-MFC-AGG-ID": "A-HY35-HPvKwGxHd3-B9Tw_1775080769",
        "From": "Jonathan Wakely <jwakely@redhat.com>",
        "To": "gcc-patches@gcc.gnu.org,\n\tlibstdc++@gcc.gnu.org",
        "Subject": "[PATCH 05/10] libstdc++: Fix Doxygen grouping",
        "Date": "Wed,  1 Apr 2026 21:42:05 +0100",
        "Message-ID": "<20260401215920.674286-5-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": "koWYXoX7-t0VyUGenRde5EtJ8jMXHwsOB7oxm7Gn7Oo_1775080769",
        "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": "libstdc++-v3/ChangeLog:\n\n\t* include/bits/ostream.h (operator<<): Do not include deleted\n\toverloads in @{ group.\n\t* include/bits/stl_queue.h (priority_queue): Add @{ group around\n\tconstructors.\n\t* include/bits/unordered_map.h: Remove stray @{. Move #endif to\n\tencompass @} that is within the #if group.\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/ostream.h       | 4 ++--\n libstdc++-v3/include/bits/stl_queue.h     | 7 ++++++-\n libstdc++-v3/include/bits/unordered_map.h | 3 +--\n 3 files changed, 9 insertions(+), 5 deletions(-)",
    "diff": "diff --git a/libstdc++-v3/include/bits/ostream.h b/libstdc++-v3/include/bits/ostream.h\nindex a637c433bf1b..7c53b21bdb3d 100644\n--- a/libstdc++-v3/include/bits/ostream.h\n+++ b/libstdc++-v3/include/bits/ostream.h\n@@ -657,6 +657,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION\n     inline basic_ostream<char, _Traits>&\n     operator<<(basic_ostream<char, _Traits>& __out, unsigned char __c)\n     { return (__out << static_cast<char>(__c)); }\n+  ///@}\n \n #if __cplusplus > 201703L\n   // The following deleted overloads prevent formatting character values as\n@@ -696,7 +697,6 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION\n     operator<<(basic_ostream<wchar_t, _Traits>&, char32_t) = delete;\n #endif // _GLIBCXX_USE_WCHAR_T\n #endif // C++20\n-  ///@}\n \n   ///@{\n   /**\n@@ -751,6 +751,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION\n     inline basic_ostream<char, _Traits> &\n     operator<<(basic_ostream<char, _Traits>& __out, const unsigned char* __s)\n     { return (__out << reinterpret_cast<const char*>(__s)); }\n+  ///@}\n \n #if __cplusplus > 201703L\n    // The following deleted overloads prevent formatting strings as\n@@ -790,7 +791,6 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION\n     operator<<(basic_ostream<wchar_t, _Traits>&, const char32_t*) = delete;\n #endif // _GLIBCXX_USE_WCHAR_T\n #endif // C++20\n-  ///@}\n \n #if __cplusplus >= 201103L\n   // C++11 27.7.3.9 Rvalue stream insertion [ostream.rvalue]\ndiff --git a/libstdc++-v3/include/bits/stl_queue.h b/libstdc++-v3/include/bits/stl_queue.h\nindex 48bd0ebed634..5dc846e13e16 100644\n--- a/libstdc++-v3/include/bits/stl_queue.h\n+++ b/libstdc++-v3/include/bits/stl_queue.h\n@@ -685,6 +685,8 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION\n        *\n        *  For more information on function objects, see the\n        *  documentation on @link functors functor base classes@endlink.\n+       *\n+       *  @{\n        */\n #if __cplusplus < 201103L\n       template<typename _InputIterator>\n@@ -730,7 +732,10 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION\n \t  c.insert(c.end(), __first, __last);\n \t  std::make_heap(c.begin(), c.end(), comp);\n \t}\n+#endif // C++11\n+      /// @}\n \n+#if __cplusplus >= 201103L\n       // _GLIBCXX_RESOLVE_LIB_DEFECTS\n       // 3506. Missing allocator-extended constructors for priority_queue\n       template<typename _InputIterator, typename _Alloc,\n@@ -773,7 +778,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION\n \t  c.insert(c.end(), __first, __last);\n \t  std::make_heap(c.begin(), c.end(), comp);\n \t}\n-#endif\n+#endif // C++11\n \n #if __glibcxx_containers_ranges // C++ >= 23\n       /**\ndiff --git a/libstdc++-v3/include/bits/unordered_map.h b/libstdc++-v3/include/bits/unordered_map.h\nindex 229179933f3b..853386e9f9bc 100644\n--- a/libstdc++-v3/include/bits/unordered_map.h\n+++ b/libstdc++-v3/include/bits/unordered_map.h\n@@ -456,7 +456,6 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER\n \templace(_Args&&... __args)\n \t{ return _M_h.emplace(std::forward<_Args>(__args)...); }\n \n-      ///@{\n       /**\n        *  @brief Attempts to build and insert a std::pair into the\n        *  %unordered_map.\n@@ -617,7 +616,6 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER\n \t  return _M_h.try_emplace(__hint, std::move(__k),\n \t\t\t\t  std::forward<_Args>(__args)...).first;\n \t}\n-#endif // __glibcxx_unordered_map_try_emplace\n \n #ifdef __glibcxx_associative_heterogeneous_insertion  // C++26\n       template <__heterogeneous_hash_key<unordered_map> _Kt, typename ..._Args>\n@@ -629,6 +627,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER\n \t}\n #endif\n       ///@}\n+#endif // __glibcxx_unordered_map_try_emplace\n \n       ///@{\n       /**\n",
    "prefixes": [
        "05/10"
    ]
}