get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2218756,
    "url": "http://patchwork.ozlabs.org/api/patches/2218756/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/20260401203714.664726-1-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": "<20260401203714.664726-1-jwakely@redhat.com>",
    "list_archive_url": null,
    "date": "2026-04-01T20:36:38",
    "name": "[RFC] libstdc++: Add new-abi-baseline target to main Makefile",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "e56680e44c3d1ce6a7e12117dd4d589a003709cd",
    "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/20260401203714.664726-1-jwakely@redhat.com/mbox/",
    "series": [
        {
            "id": 498388,
            "url": "http://patchwork.ozlabs.org/api/series/498388/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=498388",
            "date": "2026-04-01T20:36:38",
            "name": "[RFC] libstdc++: Add new-abi-baseline target to main Makefile",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/498388/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2218756/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2218756/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=VacJKTU0;\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 (1024-bit key,\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=VacJKTU0",
            "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 4fmGyw0t48z1yFv\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 02 Apr 2026 07:38:16 +1100 (AEDT)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 25EE54BA23C3\n\tfor <incoming@patchwork.ozlabs.org>; Wed,  1 Apr 2026 20:38:14 +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 66B784BA2E0A\n for <gcc-patches@gcc.gnu.org>; Wed,  1 Apr 2026 20:37:21 +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-150-n9lx9ANYOEuogcXu9WpHDQ-1; Wed,\n 01 Apr 2026 16:37:19 -0400",
            "from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com\n (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4])\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 45EC719560AA; Wed,  1 Apr 2026 20:37:18 +0000 (UTC)",
            "from zen.kayari.org (unknown [10.44.48.64])\n by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP\n id C3DB230001A2; Wed,  1 Apr 2026 20:37:16 +0000 (UTC)"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org 25EE54BA23C3",
            "OpenDKIM Filter v2.11.0 sourceware.org 66B784BA2E0A"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org 66B784BA2E0A",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org 66B784BA2E0A",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1775075841; cv=none;\n b=J9rWKs71Z89OWZNJJ8PtuSIuwk90twdrj/16pJAWNRuYZxxooBeV3jXHzivg1sVdkd4tZER7JL9s31TEvkBZAIf7+budpQaTwp7xkQwO9NpHQ5/89h/EHFxYhWeB/GHnp34aTIQx7qnE8RSexc5/r3D5wd+vP/U16BKY5jAJk8U=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1775075841; c=relaxed/simple;\n bh=li2BQfqD6RpcHDMlktBiubuxIOX1rLneibCa+dI3hYE=;\n h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;\n b=xfVtceTj2v8C+C/L2q2T1MvvC7NkOKeIo9c3hnWfH9W2OoLCpZt9tzmmJYytD1SrqBcbbJDCNtHCHS1R573rdAe8uRQECPUCJyqo5eI8o6F02muRRpkM/HVyVYzmRd7oMhplC5+X2Qbv1I1TC6SZmlskE4GnzPloANAhb6ooSxA=",
        "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=1775075841;\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 bh=KwRCQYqzpaoFrs5rvTVM486+x0FLdtH0X6Wyx9wK39E=;\n b=VacJKTU0F0QkyKPOx2bUbfDNnlHNbZuWrxB/xSPSlAm7n4Hmxij3QPMTQk9wA4Sp85nhfX\n fdFivX6TMZUn3atxB3kCGIcfRAwAJB+RR7k6uqW/er0FfyXqOaD3qZfteHs6q7FK/xWusL\n DkRwtZNwKTQMkcmtDU9iTIKx86pzkwE=",
        "X-MC-Unique": "n9lx9ANYOEuogcXu9WpHDQ-1",
        "X-Mimecast-MFC-AGG-ID": "n9lx9ANYOEuogcXu9WpHDQ_1775075838",
        "From": "Jonathan Wakely <jwakely@redhat.com>",
        "To": "gcc-patches@gcc.gnu.org,\n\tlibstdc++@gcc.gnu.org",
        "Subject": "[RFC] libstdc++: Add new-abi-baseline target to main Makefile",
        "Date": "Wed,  1 Apr 2026 21:36:38 +0100",
        "Message-ID": "<20260401203714.664726-1-jwakely@redhat.com>",
        "MIME-Version": "1.0",
        "X-Scanned-By": "MIMEDefang 3.4.1 on 10.30.177.4",
        "X-Mimecast-Spam-Score": "0",
        "X-Mimecast-MFC-PROC-ID": "ELYABC6u60YH9ga-CF9Mpxmy1HW2Q2L3Pb9axifeJNo_1775075838",
        "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 allows you to run 'make new-abi-baseline' in the\n$target/libstdc++-v3 build directory instead of only in the testsuite\nsubdirectory.\n\nlibstdc++-v3/ChangeLog:\n\n\t* Makefile.am (new-abi-baseline): New target.\n\t* Makefile.in: Regenerate.\n---\n\nThis is a minor convenience, so you don't have to remember that this\ntarget only exists in the testuite subdirectory.\n\n libstdc++-v3/Makefile.am | 3 +++\n libstdc++-v3/Makefile.in | 3 +++\n 2 files changed, 6 insertions(+)",
    "diff": "diff --git a/libstdc++-v3/Makefile.am b/libstdc++-v3/Makefile.am\nindex b0da23c7e1db..0a8f4beb0399 100644\n--- a/libstdc++-v3/Makefile.am\n+++ b/libstdc++-v3/Makefile.am\n@@ -124,6 +124,9 @@ install-ps:\n dvi:\n install-dvi:\n \n+new-abi-baseline:\n+\t$(MAKE) -C testsuite $@\n+\n # Multilib support.\n MAKEOVERRIDES=\n \ndiff --git a/libstdc++-v3/Makefile.in b/libstdc++-v3/Makefile.in\nindex 5d2570b31cb8..915e9acbf2f3 100644\n--- a/libstdc++-v3/Makefile.in\n+++ b/libstdc++-v3/Makefile.in\n@@ -830,6 +830,9 @@ install-ps:\n dvi:\n install-dvi:\n \n+new-abi-baseline:\n+\t$(MAKE) -C testsuite $@\n+\n # All the machinations with string instantiations messes up the\n # automake-generated TAGS rule. Make a simple one here.\n TAGS: tags-recursive $(LISP)\n",
    "prefixes": [
        "RFC"
    ]
}