get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 965494,
    "url": "http://patchwork.ozlabs.org/api/patches/965494/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20180903144711.31585-21-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-21-jens.wiklander@linaro.org>",
    "list_archive_url": null,
    "date": "2018-09-03T14:47:11",
    "name": "[U-Boot,v3,20/20] Kconfig: sandbox: enable cmd_avb and dependencies",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "1e85c4e933696dcec0bec3abb3eb6adb7bea1e84",
    "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-21-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/965494/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/965494/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=\"i2oCMvI3\"; dkim-atps=neutral"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 423tRy4xbqz9s3x\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue,  4 Sep 2018 01:00:14 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 2C366C21E79; Mon,  3 Sep 2018 14:56:49 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 99BE5C21EC8;\n\tMon,  3 Sep 2018 14:49:04 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid B7199C21E53; Mon,  3 Sep 2018 14:47:57 +0000 (UTC)",
            "from mail-lf1-f66.google.com (mail-lf1-f66.google.com\n\t[209.85.167.66])\n\tby lists.denx.de (Postfix) with ESMTPS id EBCC5C21E47\n\tfor <u-boot@lists.denx.de>; Mon,  3 Sep 2018 14:47:49 +0000 (UTC)",
            "by mail-lf1-f66.google.com with SMTP id q13-v6so668212lfc.2\n\tfor <u-boot@lists.denx.de>; Mon, 03 Sep 2018 07:47:49 -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.47\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tMon, 03 Sep 2018 07:47:48 -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=B3m3A8x8wolPCQH4hOAZm8+mwNYz8NUD+xg0ib/lAuk=;\n\tb=i2oCMvI3Ygj80CrxxWEmjRTJOXzVrJREQcuuWHYvJW35gACo0Ax1yuwmHVFNVoCnWj\n\tTZHbgESBw1SbjO+bR5o6MC4Rw9a319YVvU51z4ordNVLJML1Qh0a/42ztsCIKlcNeiv7\n\t+DMLT6PSQU7iWWW926DvCRtK8LBXMovhW4DLw=",
        "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=B3m3A8x8wolPCQH4hOAZm8+mwNYz8NUD+xg0ib/lAuk=;\n\tb=QpDKAuMJ9T5WcImwpZu1ewdoCdA809d8doj67hGYTC5NZBc4TfClDKLD1iSLzoGcjx\n\tdhkynJDHke8v/ILCXLBt4IQ3ds5hQmL8vhtJG8BUAQjocTkoPLAEdoED9N0a6QAif6JS\n\t2EDSpu26avkFoH9ef5IZvoXmTxQsOFGGoPH75s8GuvFUVR6Kl+vCAqsNwqjKPfh2W3Wj\n\tBgwB6Tfrhq5O2kMa8V83DIuebUJDfrZVuGU++pPlXSTmg5DIPJKY81uduc1WX0Kb+Cy5\n\tR0i9Pv1ynBEqTHeL80LvxtwVpLsasFy0u3j+AUUrImDmXZKK7/5TcvWPzT/cGijwQ6n5\n\t2i7g==",
        "X-Gm-Message-State": "APzg51ApTZtuuCNuYGJ2Qmkm02f43SXmcdUvhGde5i4db3Qw9K2uCDdd\n\tH9SffBBiYG8d0pe/9yk9Br/CW/du7lc=",
        "X-Google-Smtp-Source": "ANB0VdYUm2xq0upvryqc9254K/lW4aK5NVpK+xiy6AbmyddbbvWyRAgLBVeCVgjN5tQ99VrlIm+CvA==",
        "X-Received": "by 2002:a19:5e12:: with SMTP id\n\ts18-v6mr17356264lfb.5.1535986069165; \n\tMon, 03 Sep 2018 07:47:49 -0700 (PDT)",
        "From": "Jens Wiklander <jens.wiklander@linaro.org>",
        "To": "u-boot@lists.denx.de",
        "Date": "Mon,  3 Sep 2018 16:47:11 +0200",
        "Message-Id": "<20180903144711.31585-21-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 20/20] Kconfig: sandbox: enable cmd_avb and\n\tdependencies",
        "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": "Enables cmd_avb and its dependencies need to run the AVB tests.\n\nSigned-off-by: Jens Wiklander <jens.wiklander@linaro.org>\n---\n arch/Kconfig             | 4 ++++\n drivers/fastboot/Kconfig | 2 ++\n 2 files changed, 6 insertions(+)",
    "diff": "diff --git a/arch/Kconfig b/arch/Kconfig\nindex 8f10f3fc06e8..543362578f50 100644\n--- a/arch/Kconfig\n+++ b/arch/Kconfig\n@@ -92,6 +92,10 @@ config SANDBOX\n \timply LZMA\n \timply SCSI\n \timply TEE\n+\timply AVB_VERIFY\n+\timply LIBAVB\n+\timply CMD_AVB\n+\timply UDP_FUNCTION_FASTBOOT\n \n config SH\n \tbool \"SuperH architecture\"\ndiff --git a/drivers/fastboot/Kconfig b/drivers/fastboot/Kconfig\nindex bc25ea1d9c7a..d63ecdd27e4b 100644\n--- a/drivers/fastboot/Kconfig\n+++ b/drivers/fastboot/Kconfig\n@@ -35,6 +35,7 @@ config FASTBOOT_BUF_ADDR\n \t\t\t\tROCKCHIP_RK3399\n \tdefault 0x280000 if ROCKCHIP_RK3368\n \tdefault 0x100000 if ARCH_ZYNQMP\n+\tdefault 0 if SANDBOX\n \thelp\n \t  The fastboot protocol requires a large memory buffer for\n \t  downloads. Define this to the starting RAM address to use for\n@@ -45,6 +46,7 @@ config FASTBOOT_BUF_SIZE\n \tdefault 0x8000000 if ARCH_ROCKCHIP\n \tdefault 0x6000000 if ARCH_ZYNQMP\n \tdefault 0x2000000 if ARCH_SUNXI\n+\tdefault 0x8192 if SANDBOX\n \tdefault 0x7000000\n \thelp\n \t  The fastboot protocol requires a large memory buffer for\n",
    "prefixes": [
        "U-Boot",
        "v3",
        "20/20"
    ]
}