get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 965478,
    "url": "http://patchwork.ozlabs.org/api/patches/965478/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20180903144711.31585-8-jens.wiklander@linaro.org/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api",
        "name": "U-Boot",
        "link_name": "uboot",
        "list_id": "u-boot.lists.denx.de",
        "list_email": "u-boot@lists.denx.de",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20180903144711.31585-8-jens.wiklander@linaro.org>",
    "list_archive_url": null,
    "date": "2018-09-03T14:46:58",
    "name": "[U-Boot,v3,07/20] dt/bindings: add bindings for optee",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "48dd42db1ba890a94a0474b9b602a95060f09e1f",
    "submitter": {
        "id": 66201,
        "url": "http://patchwork.ozlabs.org/api/people/66201/?format=api",
        "name": "Jens Wiklander",
        "email": "jens.wiklander@linaro.org"
    },
    "delegate": {
        "id": 3651,
        "url": "http://patchwork.ozlabs.org/api/users/3651/?format=api",
        "username": "trini",
        "first_name": "Tom",
        "last_name": "Rini",
        "email": "trini@ti.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20180903144711.31585-8-jens.wiklander@linaro.org/mbox/",
    "series": [
        {
            "id": 63875,
            "url": "http://patchwork.ozlabs.org/api/series/63875/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=63875",
            "date": "2018-09-03T14:46:51",
            "name": "AVB using OP-TEE",
            "version": 3,
            "mbox": "http://patchwork.ozlabs.org/series/63875/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/965478/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/965478/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<u-boot-bounces@lists.denx.de>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdmarc=fail (p=none dis=none) header.from=linaro.org",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=linaro.org header.i=@linaro.org\n\theader.b=\"G4ktFGN0\"; dkim-atps=neutral"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 423tFH0yD0z9s4Z\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue,  4 Sep 2018 00:50:59 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid D0F30C21E47; Mon,  3 Sep 2018 14:49:38 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id CDB8AC21E0F;\n\tMon,  3 Sep 2018 14:47:43 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 42DA9C21EC3; Mon,  3 Sep 2018 14:47:36 +0000 (UTC)",
            "from mail-lj1-f194.google.com (mail-lj1-f194.google.com\n\t[209.85.208.194])\n\tby lists.denx.de (Postfix) with ESMTPS id 968F3C21EBA\n\tfor <u-boot@lists.denx.de>; Mon,  3 Sep 2018 14:47:29 +0000 (UTC)",
            "by mail-lj1-f194.google.com with SMTP id l15-v6so676454lji.6\n\tfor <u-boot@lists.denx.de>; Mon, 03 Sep 2018 07:47:29 -0700 (PDT)",
            "from jax.ideon.se ([85.235.10.227])\n\tby smtp.gmail.com with ESMTPSA id\n\tw18-v6sm3343431ljd.73.2018.09.03.07.47.27\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tMon, 03 Sep 2018 07:47:28 -0700 (PDT)"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=0.0 required=5.0 tests=RCVD_IN_MSPIKE_H2,\n\tT_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=4IE86cb3LJqqnw69+nNkWX3MjSAstndpuaRV8lGh8zc=;\n\tb=G4ktFGN0WIFDDb37+OD3bFvq/KEMaFYHWj3EPgcK/5SmvtZ/8QKBYw0siD7PCiOTS7\n\twzl9MmNYk7DI28uYI71WmMDm1zpKfgNaPEv+rtlgzg89MImrUCcyjdwKcnBVbpHoi7nW\n\tOBR13CRhIyqIM6DtoocxmMl3+6rVJ/1uKPPMw=",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=4IE86cb3LJqqnw69+nNkWX3MjSAstndpuaRV8lGh8zc=;\n\tb=EmmnQZuZqH7zFI7L/urRuzdlsVlBIEc+KaeckF9HXQBFqSYFNd5pU4nVkryEv59xeC\n\tTN/zNmDDxjQFBiiNccQhpX7wrzmaMcLMT78KjdLhC6hP/0aA9EQ98tYIC/Vc/wH+j/rg\n\tyl5WpTEwtsuZZQaQsZDRxVbcW54jPfLyDwXjjm4sDjDANbaq7ki+hg2e8TcaTaxjPpOf\n\t+fVgrwuldpfF25GF3K3Jhqj0bYJ79X2r/x0GyCyrOA29x6Hp9XMgLpmQlI8q0ZxvHi4p\n\ta6E8Nf26CHq97m82wvaSRYPeuuqKyHDDGtczNZRsQlpEyfAALY1wrnLYE7iUQVSLq/Lq\n\tR1lA==",
        "X-Gm-Message-State": "APzg51Aqje0ETXRkDdDb8m+8BwLfIaoYN5DO3nYeiZoFoygxpfzHaMsD\n\tQLLyhMVDC5WXx++PcsKF2QAMfQ2W+28=",
        "X-Google-Smtp-Source": "ANB0VdZnjhcbHtBG9zUChzzjTcAKFnqRfEQXoU/GW6lwSzxsZLzHlJOs3kNiWUBfSxTh3Rnn9qLjFg==",
        "X-Received": "by 2002:a2e:2bd3:: with SMTP id\n\tr80-v6mr18626354ljr.57.1535986048785; \n\tMon, 03 Sep 2018 07:47:28 -0700 (PDT)",
        "From": "Jens Wiklander <jens.wiklander@linaro.org>",
        "To": "u-boot@lists.denx.de",
        "Date": "Mon,  3 Sep 2018 16:46:58 +0200",
        "Message-Id": "<20180903144711.31585-8-jens.wiklander@linaro.org>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20180903144711.31585-1-jens.wiklander@linaro.org>",
        "References": "<20180903144711.31585-1-jens.wiklander@linaro.org>",
        "Cc": "Tom Rini <trini@konsulko.com>, Pierre Aubert <p.aubert@staubli.com>",
        "Subject": "[U-Boot] [PATCH v3 07/20] dt/bindings: add bindings for optee",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.18",
        "Precedence": "list",
        "List-Id": "U-Boot discussion <u-boot.lists.denx.de>",
        "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>",
        "List-Archive": "<http://lists.denx.de/pipermail/u-boot/>",
        "List-Post": "<mailto:u-boot@lists.denx.de>",
        "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>",
        "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "base64",
        "Errors-To": "u-boot-bounces@lists.denx.de",
        "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>"
    },
    "content": "Sync with c8bfafb15944 (\"dt/bindings: add bindings for optee\")\nfrom Linux kernel.\n\nIntroduces linaro prefix and adds bindings for ARM TrustZone based OP-TEE\nimplementation.\n\nSigned-off-by: Jens Wiklander <jens.wiklander@linaro.org>\n---\n .../firmware/linaro,optee-tz.txt              | 31 +++++++++++++++++++\n 1 file changed, 31 insertions(+)\n create mode 100644 doc/device-tree-bindings/firmware/linaro,optee-tz.txt",
    "diff": "diff --git a/doc/device-tree-bindings/firmware/linaro,optee-tz.txt b/doc/device-tree-bindings/firmware/linaro,optee-tz.txt\nnew file mode 100644\nindex 000000000000..d38834c67dff\n--- /dev/null\n+++ b/doc/device-tree-bindings/firmware/linaro,optee-tz.txt\n@@ -0,0 +1,31 @@\n+OP-TEE Device Tree Bindings\n+\n+OP-TEE is a piece of software using hardware features to provide a Trusted\n+Execution Environment. The security can be provided with ARM TrustZone, but\n+also by virtualization or a separate chip.\n+\n+We're using \"linaro\" as the first part of the compatible property for\n+the reference implementation maintained by Linaro.\n+\n+* OP-TEE based on ARM TrustZone required properties:\n+\n+- compatible     : should contain \"linaro,optee-tz\"\n+\n+- method         : The method of calling the OP-TEE Trusted OS. Permitted\n+                   values are:\n+\n+                   \"smc\" : SMC #0, with the register assignments specified\n+\t\t           in drivers/tee/optee/optee_smc.h\n+\n+                   \"hvc\" : HVC #0, with the register assignments specified\n+\t\t           in drivers/tee/optee/optee_smc.h\n+\n+\n+\n+Example:\n+\tfirmware {\n+\t\toptee {\n+\t\t\tcompatible = \"linaro,optee-tz\";\n+\t\t\tmethod = \"smc\";\n+\t\t};\n+\t};\n",
    "prefixes": [
        "U-Boot",
        "v3",
        "07/20"
    ]
}