get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1877708,
    "url": "http://patchwork.ozlabs.org/api/patches/1877708/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-mtd/patch/cfb173849a10f186d4395f3aba2508ed42356ee1.1702952891.git.daniel@makrotopia.org/",
    "project": {
        "id": 3,
        "url": "http://patchwork.ozlabs.org/api/projects/3/?format=api",
        "name": "Linux MTD development",
        "link_name": "linux-mtd",
        "list_id": "linux-mtd.lists.infradead.org",
        "list_email": "linux-mtd@lists.infradead.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<cfb173849a10f186d4395f3aba2508ed42356ee1.1702952891.git.daniel@makrotopia.org>",
    "list_archive_url": null,
    "date": "2023-12-19T02:32:00",
    "name": "[v7,1/7] dt-bindings: mtd: add basic bindings for UBI",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "d830a3191d8a1dece15da11a87e13a298313f3e4",
    "submitter": {
        "id": 64091,
        "url": "http://patchwork.ozlabs.org/api/people/64091/?format=api",
        "name": "Daniel Golle",
        "email": "daniel@makrotopia.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-mtd/patch/cfb173849a10f186d4395f3aba2508ed42356ee1.1702952891.git.daniel@makrotopia.org/mbox/",
    "series": [
        {
            "id": 387243,
            "url": "http://patchwork.ozlabs.org/api/series/387243/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-mtd/list/?series=387243",
            "date": "2023-12-19T02:32:00",
            "name": "mtd: ubi: allow UBI volumes to provide NVMEM",
            "version": 7,
            "mbox": "http://patchwork.ozlabs.org/series/387243/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1877708/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1877708/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "\n <linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n secure) header.d=lists.infradead.org header.i=@lists.infradead.org\n header.a=rsa-sha256 header.s=bombadil.20210309 header.b=jhEA7H1U;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=none (no SPF record) smtp.mailfrom=lists.infradead.org\n (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org;\n envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org;\n receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from bombadil.infradead.org (bombadil.infradead.org\n [IPv6:2607:7c80:54:3::133])\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 4SvLMs1Tdlz20H4\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 19 Dec 2023 13:33:13 +1100 (AEDT)",
            "from localhost ([::1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux))\n\tid 1rFPuP-00CajB-13;\n\tTue, 19 Dec 2023 02:32:37 +0000",
            "from pidgin.makrotopia.org ([185.142.180.65])\n\tby bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux))\n\tid 1rFPtz-00CaeT-1v\n\tfor linux-mtd@lists.infradead.org;\n\tTue, 19 Dec 2023 02:32:14 +0000",
            "from local\n\tby pidgin.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256)\n\t (Exim 4.96.2)\n\t(envelope-from <daniel@makrotopia.org>)\n\tid 1rFPtp-0008HM-3B;\n\tTue, 19 Dec 2023 02:32:03 +0000"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20210309; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:\n\tMessage-ID:Subject:To:From:Date:Reply-To:Cc:Content-ID:Content-Description:\n\tResent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n\tList-Owner; bh=RW2JoKnl+33TwcjActUlIAaw+BVhvXu8asT6kNxpwiE=; b=jhEA7H1U5EtiJ7\n\tEACsEtuV1Cov6WAAHqOlYIpBsBtP4aEfTvLpkLwL5hG41NOTPDNBvsGz4qetevFqDlM6P6vx7BCrn\n\tav9XINqqsO7rgIVHjYUcyxDOEhIlhQeFZeFJkSxabF0Hf5bg1it3bircugGlx7qRJFWZomZ+RjV7n\n\tMQHdlaqcFDGF8IOesrljRxK/mFfdUDYY47FX+EX2yea0A/R2t878E9UecIYZlAK9wBlW4/SuJGq+X\n\tzmdXsvDPC0HlfNiA8/NlZs3OuzHtN/0s0PqLi0ClbV43+1N6fbXBe+zCegMnRpKtziCpOQUEHrKNL\n\tbCvS8huFyN/1tS4pBhYw==;",
        "Date": "Tue, 19 Dec 2023 02:32:00 +0000",
        "From": "Daniel Golle <daniel@makrotopia.org>",
        "To": "Miquel Raynal <miquel.raynal@bootlin.com>,\n\tRichard Weinberger <richard@nod.at>,\n\tVignesh Raghavendra <vigneshr@ti.com>,\n\tRob Herring <robh+dt@kernel.org>,\n\tKrzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,\n\tConor Dooley <conor+dt@kernel.org>,\n\tDaniel Golle <daniel@makrotopia.org>, linux-mtd@lists.infradead.org,\n\tdevicetree@vger.kernel.org, linux-kernel@vger.kernel.org",
        "Subject": "[PATCH v7 1/7] dt-bindings: mtd: add basic bindings for UBI",
        "Message-ID": "\n <cfb173849a10f186d4395f3aba2508ed42356ee1.1702952891.git.daniel@makrotopia.org>",
        "References": "<cover.1702952891.git.daniel@makrotopia.org>",
        "MIME-Version": "1.0",
        "Content-Disposition": "inline",
        "In-Reply-To": "<cover.1702952891.git.daniel@makrotopia.org>",
        "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ",
        "X-CRM114-CacheID": "sfid-20231218_183211_776152_BCA8134A ",
        "X-CRM114-Status": "GOOD (  13.72  )",
        "X-Spam-Score": "0.0 (/)",
        "X-Spam-Report": "Spam detection software,\n running on the system \"bombadil.infradead.org\",\n has NOT identified this incoming email as spam.  The original\n message has been attached to this so you can view it or label\n similar future email.  If you have any questions, see\n the administrator of that system for details.\n Content preview:  Add basic bindings for UBI devices and volumes.\n Signed-off-by:\n    Daniel Golle <daniel@makrotopia.org> Reviewed-by: Rob Herring\n <robh@kernel.org>\n    --- .../bindings/mtd/partitions/linux,ubi.yaml | 65 +++++++++++++++++++\n .../bindings/mtd/partitions/ubi-v\n    [...]\n Content analysis details:   (0.0 points, 5.0 required)\n  pts rule name              description\n ---- ----------------------\n --------------------------------------------------\n -0.0 SPF_PASS               SPF: sender matches SPF record\n  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record",
        "X-BeenThere": "linux-mtd@lists.infradead.org",
        "X-Mailman-Version": "2.1.34",
        "Precedence": "list",
        "List-Id": "Linux MTD discussion mailing list <linux-mtd.lists.infradead.org>",
        "List-Unsubscribe": "<http://lists.infradead.org/mailman/options/linux-mtd>,\n <mailto:linux-mtd-request@lists.infradead.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.infradead.org/pipermail/linux-mtd/>",
        "List-Post": "<mailto:linux-mtd@lists.infradead.org>",
        "List-Help": "<mailto:linux-mtd-request@lists.infradead.org?subject=help>",
        "List-Subscribe": "<http://lists.infradead.org/mailman/listinfo/linux-mtd>,\n <mailto:linux-mtd-request@lists.infradead.org?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Sender": "\"linux-mtd\" <linux-mtd-bounces@lists.infradead.org>",
        "Errors-To": "linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org"
    },
    "content": "Add basic bindings for UBI devices and volumes.\n\nSigned-off-by: Daniel Golle <daniel@makrotopia.org>\nReviewed-by: Rob Herring <robh@kernel.org>\n---\n .../bindings/mtd/partitions/linux,ubi.yaml    | 65 +++++++++++++++++++\n .../bindings/mtd/partitions/ubi-volume.yaml   | 35 ++++++++++\n 2 files changed, 100 insertions(+)\n create mode 100644 Documentation/devicetree/bindings/mtd/partitions/linux,ubi.yaml\n create mode 100644 Documentation/devicetree/bindings/mtd/partitions/ubi-volume.yaml",
    "diff": "diff --git a/Documentation/devicetree/bindings/mtd/partitions/linux,ubi.yaml b/Documentation/devicetree/bindings/mtd/partitions/linux,ubi.yaml\nnew file mode 100644\nindex 0000000000000..7084a1945b310\n--- /dev/null\n+++ b/Documentation/devicetree/bindings/mtd/partitions/linux,ubi.yaml\n@@ -0,0 +1,65 @@\n+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause\n+%YAML 1.2\n+---\n+$id: http://devicetree.org/schemas/mtd/partitions/linux,ubi.yaml#\n+$schema: http://devicetree.org/meta-schemas/core.yaml#\n+\n+title: Unsorted Block Images\n+\n+description: |\n+  UBI (\"Unsorted Block Images\") is a volume management system for raw\n+  flash devices which manages multiple logical volumes on a single\n+  physical flash device and spreads the I/O load (i.e wear-leveling)\n+  across the whole flash chip.\n+\n+maintainers:\n+  - Daniel Golle <daniel@makrotopia.org>\n+\n+allOf:\n+  - $ref: partition.yaml#\n+\n+properties:\n+  compatible:\n+    const: linux,ubi\n+\n+  volumes:\n+    type: object\n+    description: UBI Volumes\n+\n+    patternProperties:\n+      \"^ubi-volume-.*$\":\n+        $ref: /schemas/mtd/partitions/ubi-volume.yaml#\n+\n+    unevaluatedProperties: false\n+\n+required:\n+  - compatible\n+\n+unevaluatedProperties: false\n+\n+examples:\n+  - |\n+    partitions {\n+        compatible = \"fixed-partitions\";\n+        #address-cells = <1>;\n+        #size-cells = <1>;\n+\n+        partition@0 {\n+            reg = <0x0 0x100000>;\n+            label = \"bootloader\";\n+            read-only;\n+        };\n+\n+        partition@100000 {\n+            reg = <0x100000 0x1ff00000>;\n+            label = \"ubi\";\n+            compatible = \"linux,ubi\";\n+\n+            volumes {\n+                ubi-volume-caldata {\n+                    volid = <2>;\n+                    volname = \"rf\";\n+                };\n+            };\n+        };\n+    };\ndiff --git a/Documentation/devicetree/bindings/mtd/partitions/ubi-volume.yaml b/Documentation/devicetree/bindings/mtd/partitions/ubi-volume.yaml\nnew file mode 100644\nindex 0000000000000..1e3f04dedc01d\n--- /dev/null\n+++ b/Documentation/devicetree/bindings/mtd/partitions/ubi-volume.yaml\n@@ -0,0 +1,35 @@\n+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause\n+%YAML 1.2\n+---\n+$id: http://devicetree.org/schemas/mtd/partitions/ubi-volume.yaml#\n+$schema: http://devicetree.org/meta-schemas/core.yaml#\n+\n+title: UBI volume\n+\n+description: |\n+  This binding describes a single UBI volume. Volumes can be matches either\n+  by their ID or their name, or both.\n+\n+maintainers:\n+  - Daniel Golle <daniel@makrotopia.org>\n+\n+properties:\n+  volid:\n+    $ref: /schemas/types.yaml#/definitions/uint32\n+    description:\n+      Match UBI volume ID\n+\n+  volname:\n+    $ref: /schemas/types.yaml#/definitions/string\n+    description:\n+      Match UBI volume ID\n+\n+anyOf:\n+  - required:\n+      - volid\n+\n+  - required:\n+      - volname\n+\n+# This is a generic file other binding inherit from and extend\n+additionalProperties: true\n",
    "prefixes": [
        "v7",
        "1/7"
    ]
}