get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2217394,
    "url": "http://patchwork.ozlabs.org/api/patches/2217394/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-gpio/patch/20260328153819.57025-1-vfazio@gmail.com/",
    "project": {
        "id": 42,
        "url": "http://patchwork.ozlabs.org/api/projects/42/?format=api",
        "name": "Linux GPIO development",
        "link_name": "linux-gpio",
        "list_id": "linux-gpio.vger.kernel.org",
        "list_email": "linux-gpio@vger.kernel.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260328153819.57025-1-vfazio@gmail.com>",
    "list_archive_url": null,
    "date": "2026-03-28T15:38:19",
    "name": "[libgpiod] bindings: python: update .gitignore",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "8090f3e66aa17c9709bca5ef0f94d1476d2594e4",
    "submitter": {
        "id": 78694,
        "url": "http://patchwork.ozlabs.org/api/people/78694/?format=api",
        "name": "Vincent Fazio",
        "email": "vfazio@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-gpio/patch/20260328153819.57025-1-vfazio@gmail.com/mbox/",
    "series": [
        {
            "id": 497873,
            "url": "http://patchwork.ozlabs.org/api/series/497873/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-gpio/list/?series=497873",
            "date": "2026-03-28T15:38:19",
            "name": "[libgpiod] bindings: python: update .gitignore",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/497873/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2217394/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2217394/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "\n <linux-gpio+bounces-34348-incoming=patchwork.ozlabs.org@vger.kernel.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "linux-gpio@vger.kernel.org"
        ],
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=sO60Ra7g;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c04:e001:36c::12fc:5321; helo=tor.lore.kernel.org;\n envelope-from=linux-gpio+bounces-34348-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)",
            "smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com\n header.b=\"sO60Ra7g\"",
            "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=209.85.210.42",
            "smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com",
            "smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=gmail.com"
        ],
        "Received": [
            "from tor.lore.kernel.org (tor.lore.kernel.org\n [IPv6:2600:3c04:e001:36c::12fc:5321])\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 4fjhVv5tQdz1xy1\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 29 Mar 2026 02:38:31 +1100 (AEDT)",
            "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby tor.lore.kernel.org (Postfix) with ESMTP id 06E6F303325E\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 28 Mar 2026 15:38:26 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 86DB9358392;\n\tSat, 28 Mar 2026 15:38:25 +0000 (UTC)",
            "from mail-ot1-f42.google.com (mail-ot1-f42.google.com\n [209.85.210.42])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id 17EAF34F257\n\tfor <linux-gpio@vger.kernel.org>; Sat, 28 Mar 2026 15:38:23 +0000 (UTC)",
            "by mail-ot1-f42.google.com with SMTP id\n 46e09a7af769-7d7d4ebccf7so2645371a34.0\n        for <linux-gpio@vger.kernel.org>;\n Sat, 28 Mar 2026 08:38:23 -0700 (PDT)",
            "from Zephyrus.localdomain ([131.93.209.211])\n        by smtp.gmail.com with ESMTPSA id\n 46e09a7af769-7da0a0f2bf9sm1861836a34.0.2026.03.28.08.38.21\n        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n        Sat, 28 Mar 2026 08:38:22 -0700 (PDT)"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1774712305; cv=none;\n b=QRQf6aLgmbLtFH79u4MurFxeQdEAo2NgThcP+Sv9I+YX5ZY7GqzA42ooLIePazhAvXTjLjFJ2AfNz1DcNGazP4Q8YAW0ZhChmFwu/mpLJLj9PAY7agDsTwt02jASZS6CaE8W1r5QtO40KaiO1sL3ApbRXEX8FhAnUjeNmrPOn9Y=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1774712305; c=relaxed/simple;\n\tbh=68GewvUfCv31rhe4M2RcK+06g5yeAnm/VAqTllavLtU=;\n\th=From:To:Cc:Subject:Date:Message-ID:MIME-Version;\n b=p1j2wKhaqbm+4wEiCc/VB9K7sAxTCMYfbX/zBIX1zvWf289SNKf7jg4gzk70+aaWouCALNWmTQ+/41PCudNPMC17lkWc4ICMFwTbg/XJVAykl+MSPKbucx4oqDm2+FCwf9tSxXNt//shG2SbAAPlw2bkk7L/e0SbYGR4ubVerEg=",
        "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com;\n spf=pass smtp.mailfrom=gmail.com;\n dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com\n header.b=sO60Ra7g; arc=none smtp.client-ip=209.85.210.42",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=gmail.com; s=20251104; t=1774712303; x=1775317103;\n darn=vger.kernel.org;\n        h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n         :to:from:from:to:cc:subject:date:message-id:reply-to;\n        bh=lWcGU67uURrGSl+z3clujeyvnZB9TzKSxtjWsgmFSHQ=;\n        b=sO60Ra7gAtlQwnf0oGFopqWl03NPneS4/3s6DIuH0x/BsxLGExrDLShPEUr38d7Jte\n         ABiWNP6d+/ueRBXKOOrdtudbMNzhawmkK19fqrK9QZ6lOqdCoIukfIh2y9gowdmFBPIs\n         8pEw5/B49t5SJH9UitfsFXrORVGhS5bADnQ0J892IN0pTZrH8Bj8S8/lnXe3QPuXYs3F\n         0WNg0Y7DoT5mgksNfyJPJmPJA2XGq+I1xbJHQZopqIHpEZXA1vzlQpFx4eqmSLKKiiuP\n         mm+GelQB2wUpTQlhZ2cTXZupxOgBcLZGctfpu+7EGLhJ4Q8dHuIM3p9or4tsDsqn3lcR\n         xxiA==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=1e100.net; s=20251104; t=1774712303; x=1775317103;\n        h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n         :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date\n         :message-id:reply-to;\n        bh=lWcGU67uURrGSl+z3clujeyvnZB9TzKSxtjWsgmFSHQ=;\n        b=sWlA/GY28U++RdiD7UtTv4sZDGN1ChfXpnZ0yDwH+P/qcaVDKMahaHhFTp7n/ULjXW\n         NXcfAshBD7rVCgyl9jwzjsUsULc6Ls1o1ae0q7tfRAgKIcDIdVguTT+LjDs8BloGpYmz\n         o/jJvnaFjXPKdwqkaskCuEPuhLlzUGDs0sWvWp6RyualhvKKdJDEKUJ7NS6fiVm8cKxJ\n         hpP3wfCyTXM0S6KC/6DHbmci9I6hKwt1YLjUBdPcra7NseKXHd+XbLahN5ji68mGBoN2\n         hnNE0kn5x1yLvnAFVD8GqB9nnPcotG48GaSMUmnmwF5r0s/KqLabKzRRRKrnfvrfMbnj\n         Y8HA==",
        "X-Gm-Message-State": "AOJu0Yy9aaXUoEIsX21J6LJdJkoCiKYPKL571L4XIlcW8EP4XNFdQvQT\n\t+Ion00id1e/dC6/XC/WmQwaO7pTl0Vhws4AHioIhwVoPe6CTpIFbrc7AMDZJuQ==",
        "X-Gm-Gg": "ATEYQzyi8TG5DmTf9jpD+fo+f0F66y3pl99hi8ZTJkHy2qQRLpNkaTx636S8F1csu02\n\tQV+JPljU6k+bKnAiJnPFMm+jBeWo+RjmqcXNUGeMQ4SsACATkVTxX6GMWlzpgiC7xfgJQVAidm1\n\tFow2Ub2gWII3s9zO9lGcUqGwWWT7pEgvhGayZGXZ5jNaSvySQJ8zJWt0mxErTH40N4KnWcSSMl0\n\tfcpHgxUVDwUP/hb+H79stf+gg7r0DS3U6G8QlSY4kp81J8Y4IxsGS7MNQM0ar8q0MY11H7j6Bos\n\tVipNXQPMbl+qllaX6puySEuN/fJ+UILsn8CgCQ4ON1Cv3bBtRxcOQbSgGuh44X3eu4sIHIiC3iJ\n\tQ87wsGEqNJLD81dSA3bS9ai1YkP3gbD184S8msBQA+/XJ64e1kDD9A/aFLT3fozyjNZjcDjw8Kd\n\tChxA0UPoi+Z+PPevY+pQLTFZddAeVqMAEFOfEPp4hkBiuBu7GHgeL6rqel0fIf/w==",
        "X-Received": "by 2002:a05:6830:3914:b0:7d7:d2e4:630a with SMTP id\n 46e09a7af769-7d9fad7d934mr3663612a34.14.1774712302880;\n        Sat, 28 Mar 2026 08:38:22 -0700 (PDT)",
        "From": "Vincent Fazio <vfazio@gmail.com>",
        "To": "linux-gpio@vger.kernel.org",
        "Cc": "Vincent Fazio <vfazio@gmail.com>",
        "Subject": "[libgpiod][PATCH] bindings: python: update .gitignore",
        "Date": "Sat, 28 Mar 2026 10:38:19 -0500",
        "Message-ID": "<20260328153819.57025-1-vfazio@gmail.com>",
        "X-Mailer": "git-send-email 2.43.0",
        "Precedence": "bulk",
        "X-Mailing-List": "linux-gpio@vger.kernel.org",
        "List-Id": "<linux-gpio.vger.kernel.org>",
        "List-Subscribe": "<mailto:linux-gpio+subscribe@vger.kernel.org>",
        "List-Unsubscribe": "<mailto:linux-gpio+unsubscribe@vger.kernel.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit"
    },
    "content": "Update gitignore to ignore common cache directories used by linters as\nwell as common virtual environment patterns.\n\nSigned-off-by: Vincent Fazio <vfazio@gmail.com>\n---\n bindings/python/.gitignore | 4 ++++\n 1 file changed, 4 insertions(+)",
    "diff": "diff --git a/bindings/python/.gitignore b/bindings/python/.gitignore\nindex fce31f5..eaa8c8a 100644\n--- a/bindings/python/.gitignore\n+++ b/bindings/python/.gitignore\n@@ -1,6 +1,10 @@\n # SPDX-License-Identifier: GPL-2.0-or-later\n # SPDX-FileCopyrightText: 2017-2022 Bartosz Golaszewski <brgl@bgdev.pl>\n \n+.venv/\n+venv/\n+.mypy_cache/\n+.ruff_cache/\n build/\n __pycache__/\n dist/\n",
    "prefixes": [
        "libgpiod"
    ]
}