get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 961284,
    "url": "http://patchwork.ozlabs.org/api/patches/961284/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20180823104334.16083-7-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": "<20180823104334.16083-7-jens.wiklander@linaro.org>",
    "list_archive_url": null,
    "date": "2018-08-23T10:43:25",
    "name": "[U-Boot,v2,06/15] 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/20180823104334.16083-7-jens.wiklander@linaro.org/mbox/",
    "series": [
        {
            "id": 62144,
            "url": "http://patchwork.ozlabs.org/api/series/62144/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=62144",
            "date": "2018-08-23T10:43:19",
            "name": "AVB using OP-TEE",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/62144/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/961284/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/961284/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=\"Rg93FVmp\"; dkim-atps=neutral"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 41x1Pk6n14z9s5b\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 23 Aug 2018 20:49:30 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 8A1FDC21F22; Thu, 23 Aug 2018 10:48:56 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 26DFCC21F4A;\n\tThu, 23 Aug 2018 10:44:06 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 4E931C21F49; Thu, 23 Aug 2018 10:43:55 +0000 (UTC)",
            "from mail-lf1-f68.google.com (mail-lf1-f68.google.com\n\t[209.85.167.68])\n\tby lists.denx.de (Postfix) with ESMTPS id 55019C21EFD\n\tfor <u-boot@lists.denx.de>; Thu, 23 Aug 2018 10:43:49 +0000 (UTC)",
            "by mail-lf1-f68.google.com with SMTP id z11-v6so3689323lff.9\n\tfor <u-boot@lists.denx.de>; Thu, 23 Aug 2018 03:43:49 -0700 (PDT)",
            "from jax.ideon.se ([85.235.10.227])\n\tby smtp.gmail.com with ESMTPSA id\n\ty5-v6sm679771ljj.75.2018.08.23.03.43.47\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tThu, 23 Aug 2018 03:43:47 -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=Rg93FVmpLe0/Nhyb7zW9ycuDMjrlXIxkRRHLKtuwkDmVnDud6A4lsIBEmQ5Dr6nLml\n\tzQjiDnN4u/07sktWg2WFBg3kZg+RjmwpGHIyktth4Wf24Rey+HMKEo6+zuCobYQowX3n\n\thzlvxKu0fd6Rh0ofSt8b4tP37D6skbszlr2uM=",
        "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=q9grg9xJ/8dXAWe/Kfx3D18ovv3U1gbk8JYowxaBJrnw/t7z5lPUAWNIoAHh3Dnu2U\n\tAW3MpQf+9x9zWsJPu/jgJK1BCW4aCDlXVW40Fm0GWRYb/PXu0Kx1J+ZgXT8Y9v1QWCZ/\n\tAc8Roi4B02Oj/17E/RU5bvNzqVpGYsIBvGMxEcFSNcb0c11ejz5DDEOEhycDe16ccRuO\n\tMbjsDg+RHcckabHyxpB7SA4644IJBZguVkkJV99PCMGLCoud9IWL6IuiZl08rpf682cS\n\tWfqNbEwng2o27ma0opeIKj0+93KxQoQ71ZqtSwMg4PWKbWitgTLWqh1crH4k1rogZs1s\n\tVl3g==",
        "X-Gm-Message-State": "AOUpUlFlRUBRl4OVVTBKeMlNn3km7dvBhKOrNjPBGm8lNJDGXoO2QuFP\n\tKL3tSFSGOUxHqoDbBcsVpfvYIz+hKD4=",
        "X-Google-Smtp-Source": "AA+uWPwPSx0/iJ6YEj9ZMWj2ySHisLVedI9boJYj0/ZZyIQNlRCSnCxwSXyrxabmAYgIllpIa1QnMg==",
        "X-Received": "by 2002:a19:be55:: with SMTP id\n\to82-v6mr16254512lff.58.1535021028548; \n\tThu, 23 Aug 2018 03:43:48 -0700 (PDT)",
        "From": "Jens Wiklander <jens.wiklander@linaro.org>",
        "To": "u-boot@lists.denx.de",
        "Date": "Thu, 23 Aug 2018 12:43:25 +0200",
        "Message-Id": "<20180823104334.16083-7-jens.wiklander@linaro.org>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20180823104334.16083-1-jens.wiklander@linaro.org>",
        "References": "<20180823104334.16083-1-jens.wiklander@linaro.org>",
        "Cc": "Tom Rini <trini@konsulko.com>, Pierre Aubert <p.aubert@staubli.com>",
        "Subject": "[U-Boot] [PATCH v2 06/15] 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",
        "v2",
        "06/15"
    ]
}