get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2215799,
    "url": "http://patchwork.ozlabs.org/api/patches/2215799/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/ltp/patch/20260325-compile_flags_gitignore-v2-1-87b8bdabd676@suse.com/",
    "project": {
        "id": 59,
        "url": "http://patchwork.ozlabs.org/api/projects/59/?format=api",
        "name": "Linux Test Project development",
        "link_name": "ltp",
        "list_id": "ltp.lists.linux.it",
        "list_email": "ltp@lists.linux.it",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260325-compile_flags_gitignore-v2-1-87b8bdabd676@suse.com>",
    "list_archive_url": null,
    "date": "2026-03-25T10:51:45",
    "name": "[v2] Add cglangd specific files to gitignore",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": false,
    "hash": "fc18234054bed705b562a916c598cb3adc6895b3",
    "submitter": {
        "id": 83220,
        "url": "http://patchwork.ozlabs.org/api/people/83220/?format=api",
        "name": "Andrea Cervesato",
        "email": "andrea.cervesato@suse.de"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/ltp/patch/20260325-compile_flags_gitignore-v2-1-87b8bdabd676@suse.com/mbox/",
    "series": [
        {
            "id": 497415,
            "url": "http://patchwork.ozlabs.org/api/series/497415/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/ltp/list/?series=497415",
            "date": "2026-03-25T10:51:45",
            "name": "[v2] Add cglangd specific files to gitignore",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/497415/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2215799/comments/",
    "check": "success",
    "checks": "http://patchwork.ozlabs.org/api/patches/2215799/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "ltp@lists.linux.it"
        ],
        "Delivered-To": [
            "patchwork-incoming@legolas.ozlabs.org",
            "ltp@picard.linux.it"
        ],
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256\n header.s=susede2_rsa header.b=spNGzJ1+;\n\tdkim=fail reason=\"signature verification failed\" header.d=suse.de\n header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519\n header.b=Lto4fIRL;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key)\n header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa\n header.b=spNGzJ1+;\n\tdkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256\n header.s=susede2_ed25519 header.b=Lto4fIRL;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.linux.it\n (client-ip=2001:1418:10:5::2; helo=picard.linux.it;\n envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it;\n receiver=patchwork.ozlabs.org)",
            "smtp-out2.suse.de;\n\tnone"
        ],
        "Received": [
            "from picard.linux.it (picard.linux.it [IPv6:2001:1418:10:5::2])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fgkHY2yDpz1xy1\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 25 Mar 2026 21:51:53 +1100 (AEDT)",
            "from picard.linux.it (localhost [IPv6:::1])\n\tby picard.linux.it (Postfix) with ESMTP id 654AF3E4875\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 25 Mar 2026 11:51:51 +0100 (CET)",
            "from in-2.smtp.seeweb.it (in-2.smtp.seeweb.it [217.194.8.2])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature ECDSA (secp384r1))\n (No client certificate requested)\n by picard.linux.it (Postfix) with ESMTPS id 5C0563D0E81\n for <ltp@lists.linux.it>; Wed, 25 Mar 2026 11:51:48 +0100 (CET)",
            "from smtp-out2.suse.de (smtp-out2.suse.de\n [IPv6:2a07:de40:b251:101:10:150:64:2])\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 in-2.smtp.seeweb.it (Postfix) with ESMTPS id 8E1D46000E2\n for <ltp@lists.linux.it>; Wed, 25 Mar 2026 11:51:47 +0100 (CET)",
            "from imap1.dmz-prg2.suse.org (unknown [10.150.64.97])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n (No client certificate requested)\n by smtp-out2.suse.de (Postfix) with ESMTPS id 439495BD52;\n Wed, 25 Mar 2026 10:51:46 +0000 (UTC)",
            "from imap1.dmz-prg2.suse.org (localhost [127.0.0.1])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n (No client certificate requested)\n by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 1DE684436F;\n Wed, 25 Mar 2026 10:51:46 +0000 (UTC)",
            "from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167])\n by imap1.dmz-prg2.suse.org with ESMTPSA id clEFBUK+w2kdZQAAD6G6ig\n (envelope-from <andrea.cervesato@suse.de>); Wed, 25 Mar 2026 10:51:46 +0000"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de;\n s=susede2_rsa;\n t=1774435906;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding;\n bh=ODuj8ushU1FR1SpTeA4hPz2hLXI7TLUi7zwWElJooYE=;\n b=spNGzJ1+ajbcUvbgak0zsGdfqotUR6EAgJBYBQOuKBHd6JWb90O085qg8o6WNRz4Tn7jyS\n 2L6r3Oo+Da+KJBNUOw8NJH7hPmXIuaob7svch/T0E52w3rZvRfzXxM/sru4qtIC3uM39HG\n K08LYN2UPFDxTZ1Hx1tFERbRGSALyFw=",
            "v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de;\n s=susede2_ed25519; t=1774435906;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding;\n bh=ODuj8ushU1FR1SpTeA4hPz2hLXI7TLUi7zwWElJooYE=;\n b=Lto4fIRLof0FUuucU0MqgvyW1PuLefc8WgifUdo5ngzK4v6N/A9+rB17cete1yt01cEwI+\n ZK7MNQyVpJIK8zCA==",
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de;\n s=susede2_rsa;\n t=1774435906;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding;\n bh=ODuj8ushU1FR1SpTeA4hPz2hLXI7TLUi7zwWElJooYE=;\n b=spNGzJ1+ajbcUvbgak0zsGdfqotUR6EAgJBYBQOuKBHd6JWb90O085qg8o6WNRz4Tn7jyS\n 2L6r3Oo+Da+KJBNUOw8NJH7hPmXIuaob7svch/T0E52w3rZvRfzXxM/sru4qtIC3uM39HG\n K08LYN2UPFDxTZ1Hx1tFERbRGSALyFw=",
            "v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de;\n s=susede2_ed25519; t=1774435906;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding;\n bh=ODuj8ushU1FR1SpTeA4hPz2hLXI7TLUi7zwWElJooYE=;\n b=Lto4fIRLof0FUuucU0MqgvyW1PuLefc8WgifUdo5ngzK4v6N/A9+rB17cete1yt01cEwI+\n ZK7MNQyVpJIK8zCA=="
        ],
        "From": "Andrea Cervesato <andrea.cervesato@suse.de>",
        "Date": "Wed, 25 Mar 2026 11:51:45 +0100",
        "MIME-Version": "1.0",
        "Message-Id": "<20260325-compile_flags_gitignore-v2-1-87b8bdabd676@suse.com>",
        "X-B4-Tracking": "v=1; b=H4sIAEC+w2kC/4WNUQqDMBBEryL73ZQkopV+9R5FxCabuGCNZG1ok\n dy9qRfo5xtm3uzAGAkZrtUOERMxhaWAPlVgpnHxKMgWBi11K2vdCBOeK804uHn0PHjayC8hojB\n K2861DTptoazXiI7eh/neF56ItxA/x1FSv/S/MymhxENarC+IozHdjV+M51KHPuf8BfUTrHi9A\n AAA",
        "X-Change-ID": "20260325-compile_flags_gitignore-c12d8f65ef2d",
        "To": "Linux Test Project <ltp@lists.linux.it>",
        "X-Mailer": "b4 0.14.2",
        "X-Developer-Signature": "v=1; a=ed25519-sha256; t=1774435906; l=1030;\n i=andrea.cervesato@suse.com; s=20251210; h=from:subject:message-id;\n bh=ch9g2RinjAEbbTucV77gW5WiTZS8USRwRKR8hAqBiDA=;\n b=giMygKGVZduiEz00vPIdA7SjBtf0itefF6X1Nl9NUMUohqXa+6X9EZOZhaaONsEF1UBNDezgu\n NcRipDsrpOyDLj1Gr1qrlW7Z/q4FT8vXzGeeN+ZP2nONVlZy+zIhv4r",
        "X-Developer-Key": "i=andrea.cervesato@suse.com; a=ed25519;\n pk=zKY+6GCauOiuHNZ//d8PQ/UL4jFCTKbXrzXAOQSLevI=",
        "X-Spamd-Result": "default: False [-4.30 / 50.00]; BAYES_HAM(-3.00)[100.00%];\n NEURAL_HAM_LONG(-1.00)[-1.000];\n NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain];\n RCVD_TLS_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2];\n FUZZY_RATELIMITED(0.00)[rspamd.com];\n RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[];\n DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519];\n URIBL_BLOCKED(0.00)[suse.com:mid,suse.com:email,imap1.dmz-prg2.suse.org:helo];\n TO_DN_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+];\n FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[];\n RCVD_COUNT_TWO(0.00)[2];\n DBL_BLOCKED_OPENRESOLVER(0.00)[suse.com:mid, suse.com:email,\n imap1.dmz-prg2.suse.org:helo]",
        "X-Spam-Score": "-4.30",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID,\n DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,SPF_HELO_NONE,SPF_PASS\n shortcircuit=no autolearn=disabled version=4.0.1",
        "X-Spam-Checker-Version": "SpamAssassin 4.0.1 (2024-03-25) on in-2.smtp.seeweb.it",
        "X-Virus-Scanned": "clamav-milter 1.0.9 at in-2.smtp.seeweb.it",
        "X-Virus-Status": "Clean",
        "Subject": "[LTP] [PATCH v2] Add cglangd specific files to gitignore",
        "X-BeenThere": "ltp@lists.linux.it",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "Linux Test Project <ltp.lists.linux.it>",
        "List-Unsubscribe": "<https://lists.linux.it/options/ltp>,\n <mailto:ltp-request@lists.linux.it?subject=unsubscribe>",
        "List-Archive": "<http://lists.linux.it/pipermail/ltp/>",
        "List-Post": "<mailto:ltp@lists.linux.it>",
        "List-Help": "<mailto:ltp-request@lists.linux.it?subject=help>",
        "List-Subscribe": "<https://lists.linux.it/listinfo/ltp>,\n <mailto:ltp-request@lists.linux.it?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it",
        "Sender": "\"ltp\" <ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it>"
    },
    "content": "From: Andrea Cervesato <andrea.cervesato@suse.com>\n\nAdd rule to ignore clangd LSP configuration from local repository.\n\nSigned-off-by: Andrea Cervesato <andrea.cervesato@suse.com>\n---\nClangd is extensively used by IDEs and generic LSP wrappers to setup\nclangd configuration. This patch removes it from gitignore so we can\nsafely avoid it gets into the patch-set when it's sent.\n---\nChanges in v2:\n- add compile_commands.json\n- Link to v1: https://lore.kernel.org/r/20260325-compile_flags_gitignore-v1-1-b0de37eeacc8@suse.com\n---\n .gitignore | 2 ++\n 1 file changed, 2 insertions(+)\n\n\n---\nbase-commit: b874b6a264cf4f343c17d543ebe4ff91fbb89042\nchange-id: 20260325-compile_flags_gitignore-c12d8f65ef2d\n\nBest regards,",
    "diff": "diff --git a/.gitignore b/.gitignore\nindex 24f4a4ea834e0b919e640e879fe5e5b5d7aec466..139ecded5fa0a47a12b97eac6ebf432cbe5e5c11 100644\n--- a/.gitignore\n+++ b/.gitignore\n@@ -60,3 +60,5 @@ patches/\n logfile.*\n \n /utils/benchmark/ebizzy-0.3/ebizzy\n+/compile_flags.txt\n+/compile_commands.json\n",
    "prefixes": [
        "v2"
    ]
}