get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2218340,
    "url": "http://patchwork.ozlabs.org/api/patches/2218340/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/20260401031818.502594-1-sloosemore@baylibre.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": "<20260401031818.502594-1-sloosemore@baylibre.com>",
    "list_archive_url": null,
    "date": "2026-04-01T03:18:18",
    "name": "[PUSHED] doc: Add copyright notices to .texi files that don't have one",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "3884db2e04360d2a589d589e060da76106d2884c",
    "submitter": {
        "id": 87955,
        "url": "http://patchwork.ozlabs.org/api/people/87955/?format=api",
        "name": "Sandra Loosemore",
        "email": "sloosemore@baylibre.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/20260401031818.502594-1-sloosemore@baylibre.com/mbox/",
    "series": [
        {
            "id": 498269,
            "url": "http://patchwork.ozlabs.org/api/series/498269/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=498269",
            "date": "2026-04-01T03:18:18",
            "name": "[PUSHED] doc: Add copyright notices to .texi files that don't have one",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/498269/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2218340/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2218340/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 (2048-bit key;\n unprotected) header.d=baylibre-com.20230601.gappssmtp.com\n header.i=@baylibre-com.20230601.gappssmtp.com header.a=rsa-sha256\n header.s=20230601 header.b=nusf3mzL;\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=baylibre-com.20230601.gappssmtp.com\n header.i=@baylibre-com.20230601.gappssmtp.com header.a=rsa-sha256\n header.s=20230601 header.b=nusf3mzL",
            "sourceware.org;\n dmarc=none (p=none dis=none) header.from=baylibre.com",
            "sourceware.org; spf=pass smtp.mailfrom=baylibre.com",
            "server2.sourceware.org;\n arc=none smtp.remote-ip=209.85.160.50"
        ],
        "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 4flqvq0MRGz1xtJ\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 01 Apr 2026 14:19:02 +1100 (AEDT)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id A67E74BA2E2F\n\tfor <incoming@patchwork.ozlabs.org>; Wed,  1 Apr 2026 03:18:55 +0000 (GMT)",
            "from mail-oa1-f50.google.com (mail-oa1-f50.google.com\n [209.85.160.50])\n by sourceware.org (Postfix) with ESMTPS id ECCFD4BA2E2E\n for <gcc-patches@gcc.gnu.org>; Wed,  1 Apr 2026 03:18:25 +0000 (GMT)",
            "by mail-oa1-f50.google.com with SMTP id\n 586e51a60fabf-41c5a81d4b1so316051fac.1\n for <gcc-patches@gcc.gnu.org>; Tue, 31 Mar 2026 20:18:25 -0700 (PDT)",
            "from nenufar.hsd1.co.comcast.net ([2601:281:d901:97c0::9a27])\n by smtp.gmail.com with ESMTPSA id\n 586e51a60fabf-41d04501478sm8589168fac.0.2026.03.31.20.18.22\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 31 Mar 2026 20:18:23 -0700 (PDT)"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org A67E74BA2E2F",
            "OpenDKIM Filter v2.11.0 sourceware.org ECCFD4BA2E2E"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org ECCFD4BA2E2E",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org ECCFD4BA2E2E",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1775013506; cv=none;\n b=bgYhHKKnOTNuuEAV79mSyYMgulTJ0GV+AjP84RxPnXaZCv6Kxvgni0Uzpyo7Un34CerYS8RqOKlWp8FldlWG9v05TpAVdweOrfthfzymMkZQgB69ytp8wH90HFOVl8ug27E+rVaMcx7Tc+YNALn3YlRHIQhA3M45n1ZKZ4Jhk8c=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1775013506; c=relaxed/simple;\n bh=HlU71aFxSp4NFgKfw3szkOyah5sJctoNglZIOLGWz80=;\n h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version;\n b=Rflj8YnQ4QBVuBcXl82fjrdW4XJzCk1eMo6Luwaiedll1kOc7xVBlGi9RmTjiXN4lmf5xvZ4bdUBjensC76Ucl9jXQeaY1WtPZrnFv6caQtA5jHorisq5c29JK6JURrFKwd+cU4/qmwGSE4kflHUcxXkOlweLNWUg+yNi1ql9KQ=",
        "ARC-Authentication-Results": "i=1; server2.sourceware.org",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1775013505;\n x=1775618305;\n darn=gcc.gnu.org;\n h=content-transfer-encoding:mime-version:message-id:date:subject:to\n :from:from:to:cc:subject:date:message-id:reply-to;\n bh=0QZMTiWPjfI5lL4qKdunmSImkF/ErGUzFb7TwAPQv60=;\n b=nusf3mzL6wAtsLVFEH5sEW+xicU4SmsjC8Jph4q/dCZ9zj51voQx/dkZj3SejntGoK\n E22244jB2EA6mWKJCpooFMIaLT7pdCDSd6Bs6oFnWJK34SyKvFWQjk4mneFl7vDi4Hry\n 6aEI2PUIDJe2owfNnBdzgItN6bt+b4FFAYxByCEKHa50rv+mmLEzaEFTBJ4+JxtDkU7o\n KDqMqgQw3qvJIHJX9c+g4lhi8JhrDmzyHZxwhDRK8Bem5Pedst/89OH73HlNLs4KgGmS\n 8Fw4mnrzRaCOMdMOlnOONY7sGtDCt7qBymo+pZS+TNSeR8H/7sIist12tn+badFrN9xa\n 0u+A==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1775013505; x=1775618305;\n h=content-transfer-encoding:mime-version:message-id:date:subject:to\n :from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id\n :reply-to;\n bh=0QZMTiWPjfI5lL4qKdunmSImkF/ErGUzFb7TwAPQv60=;\n b=IzukSJURjURKjTKJ3hFQtqNcmxJazsDJXVKsiTBArAyC+bK7C3h4Ejt3rnjwgMZMTB\n ErPtgiv4vGuVyql4ATf53X2l3SzbfbZMV1wjPoIPeXErB43ptDISAzKh94mHS9wK8ssg\n bg6oJNk39fEHV6olTgbhzHHRX4FKX9+YC62Qidf24jEmA95sCGWhnHgKRS787v1uKlXE\n //NhM61mbAbSBpQNYIkC0I2ji67GkD9HrYBzRw8xU3AnA+0xNT6AuxjnR56AWObNKvTy\n d281fqcqq9ZW/6MTv1OyeQOB0FTUcH0DRJCwK0DWeH5IwWCUthpj3Hp3Pr81eUQYeLXQ\n V6Dw==",
        "X-Gm-Message-State": "AOJu0YydRlE/tR9wu/0meOMd9FByKmEJRNrD87Hs9sE/qpyzKqjvdvDz\n t8LHYIDDvBYF+4CsXr69VtWcY9j0fZnMNAxjLVtK9g5ri58mMTz4fQhQrvXSjruFglIFrAEevri\n Z80ev",
        "X-Gm-Gg": "ATEYQzzhq+M/txocdlcLF4stxzCVmq3hLM3aWlUFSO6HqkraCg1wLEdAYuHL8C9tIEY\n jQG5L/Bm9TXrbaYNEa5uyFd7624pulBaNnJlsDj6OdgWvpGl8m9IgjD/p/iFKVwONyZIE4pORlq\n J001hn6nZmZU2uOl6ZuNmM80RhcENFF2UT8nwewbakDfdR2jE5gvmbOjhCvva9/4Swxbzr/E8MW\n 4qq/3PJ1YgXGqek3U/W8cUniUwR+/o9Cy8kXmcHxv86izRP8DQlI6vwvu2rsy6L3B2WZ8glAVeF\n gj6b+6mkAOLXmA5FX7IdQ2VYceNndzgK4dqFPaef91PxPsLUgvaUDSE8zwMUaXXkkRJOreLfRiH\n 4D6y3yx7oK4uPD9vyQNvC8qFVxq+Fzy/n9AMwvmTc/CfqaLK7HxiMM9AERX4HDHdKjmQDf3A88F\n KhiYy4GM+i0rp9QiLOuzT/VLqosu3YQ7MJ",
        "X-Received": "by 2002:a05:6871:470f:b0:417:b858:3c11 with SMTP id\n 586e51a60fabf-422a3b62d7dmr3128574fac.5.1775013505115;\n Tue, 31 Mar 2026 20:18:25 -0700 (PDT)",
        "From": "Sandra Loosemore <sloosemore@baylibre.com>",
        "To": "gcc-patches@gcc.gnu.org",
        "Subject": "[PUSHED] doc: Add copyright notices to .texi files that don't have\n one",
        "Date": "Tue, 31 Mar 2026 21:18:18 -0600",
        "Message-Id": "<20260401031818.502594-1-sloosemore@baylibre.com>",
        "X-Mailer": "git-send-email 2.34.1",
        "MIME-Version": "1.0",
        "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 realized I'd forgotten to add a copyright notice to specs.texi when I\nsplit that from invoke.texi a while back.  Scanning the other .texi files\nin the same directory, I found poly-int.texi was also missing a copyright.\nBoth are fixed with this patch.\n\ngcc/ChangeLog\n\t* doc/poly-int.texi: Add copyright notice.\n\t* doc/specs.texi: Likewise.\n---\n gcc/doc/poly-int.texi | 4 ++++\n gcc/doc/specs.texi    | 4 ++++\n 2 files changed, 8 insertions(+)",
    "diff": "diff --git a/gcc/doc/poly-int.texi b/gcc/doc/poly-int.texi\nindex d60bb02aabf..3cfda422d5a 100644\n--- a/gcc/doc/poly-int.texi\n+++ b/gcc/doc/poly-int.texi\n@@ -1,3 +1,7 @@\n+@c Copyright (C) 2017-2026 Free Software Foundation, Inc.\n+@c This is part of the GCC manual.\n+@c For copying conditions, see the file gcc.texi.\n+\n @node poly_int\n @chapter Sizes and offsets as runtime invariants\n @cindex polynomial integers\ndiff --git a/gcc/doc/specs.texi b/gcc/doc/specs.texi\nindex 8acac9cd65d..1b9e0e623eb 100644\n--- a/gcc/doc/specs.texi\n+++ b/gcc/doc/specs.texi\n@@ -1,3 +1,7 @@\n+@c Copyright (C) 1988-2026 Free Software Foundation, Inc.\n+@c This is part of the GCC manual.\n+@c For copying conditions, see the file gcc.texi.\n+\n @node Spec Files\n @chapter Specifying Subprocesses and the Switches to Pass to Them\n @cindex Spec Files\n",
    "prefixes": [
        "PUSHED"
    ]
}