get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 800477,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/800477/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1502441568-22896-9-git-send-email-pantelis.antoniou@konsulko.com/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/1.2/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": "<1502441568-22896-9-git-send-email-pantelis.antoniou@konsulko.com>",
    "list_archive_url": null,
    "date": "2017-08-11T08:52:46",
    "name": "[U-Boot,v2,08/10] config: sandbox: Add unit tests",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "ac12855d3d576d079b9e6d1e3b24810bec0a89e4",
    "submitter": {
        "id": 64098,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/64098/?format=api",
        "name": "Pantelis Antoniou",
        "email": "pantelis.antoniou@konsulko.com"
    },
    "delegate": {
        "id": 3184,
        "url": "http://patchwork.ozlabs.org/api/1.2/users/3184/?format=api",
        "username": "sjg",
        "first_name": "Simon",
        "last_name": "Glass",
        "email": "sjg@chromium.org"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1502441568-22896-9-git-send-email-pantelis.antoniou@konsulko.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/800477/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/800477/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\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=konsulko.com header.i=@konsulko.com\n\theader.b=\"MlZPwGev\"; dkim-atps=neutral"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xTJrX1wZLz9t2W\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 11 Aug 2017 19:01:00 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid E2D6DC21D5D; Fri, 11 Aug 2017 08:58:37 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 381F4C21E01;\n\tFri, 11 Aug 2017 08:56:25 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 407ABC21DF0; Fri, 11 Aug 2017 08:55:54 +0000 (UTC)",
            "from mail-wm0-f47.google.com (mail-wm0-f47.google.com\n\t[74.125.82.47])\n\tby lists.denx.de (Postfix) with ESMTPS id 4EF07C21DDF\n\tfor <u-boot@lists.denx.de>; Fri, 11 Aug 2017 08:55:50 +0000 (UTC)",
            "by mail-wm0-f47.google.com with SMTP id i66so41960267wmg.0\n\tfor <u-boot@lists.denx.de>; Fri, 11 Aug 2017 01:55:50 -0700 (PDT)",
            "from localhost.localdomain ([195.97.110.117])\n\tby smtp.gmail.com with ESMTPSA id\n\to71sm759811wmg.15.2017.08.11.01.55.48\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tFri, 11 Aug 2017 01:55:49 -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_DNSWL_NONE,\n\tRCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID autolearn=unavailable\n\tautolearn_force=no version=3.4.0",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com;\n\ts=google; \n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=d8gqnvkjJIctPE5JNG4SIcSipUiEzVxw2k41F1swIBI=;\n\tb=MlZPwGev6pp/WCuLan8ujMHIawzu3eKBiFcZU7BL3g3rtN44u9Ll7ZBKAuwYsqvM+m\n\tmd5b4aM8mxOamVduSqtfQYkCsDk1APg0KxMqebgP8sPNvpwbRZosZvDpq7bfE1iGPUrX\n\tEAuVCRUX6AAb4lQ2Kgiyl9cd44H27yPB85iCM=",
        "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=d8gqnvkjJIctPE5JNG4SIcSipUiEzVxw2k41F1swIBI=;\n\tb=dd01U3D/YCi+z/mIoHT/F7cy5UB9ZXaC4FHNxgYA1ore1cTJNthEfLCuoe/UbTkOSo\n\tR84GagG9uPl6b/CwyG1GmAoZ8oXKZBip/px9lBw29yHpzT0tiYovEyzRbknmUPONdQd8\n\teb1X4HgHJWW75rAJpcluG7KZ7qUM+JBoWTRCdg1EE9/1WkIU0m5FfvrCJhgxLlTXa+OH\n\t+tASjtReHuuq/Za8lV9G979aU8I09eme68u038rDU1FBUjpk62lxq481m/CA0mjMpq0x\n\t8dACLafbInZgjj7qIZO7etpTmt09EapVI0sgI46UEYiCTAFYmICMWZ4+uN9GQv0aZG0W\n\tlm5g==",
        "X-Gm-Message-State": "AHYfb5jvw+zkc16r+AE0l8hJmfDfmBqSTsKWnmnFnbAUmt2Gvc8aG72V\n\tAkb4lhoUtdYb3B1V",
        "X-Received": "by 10.28.40.215 with SMTP id o206mr5782999wmo.133.1502441750049; \n\tFri, 11 Aug 2017 01:55:50 -0700 (PDT)",
        "From": "Pantelis Antoniou <pantelis.antoniou@konsulko.com>",
        "To": "Tom Rini <trini@konsulko.com>",
        "Date": "Fri, 11 Aug 2017 11:52:46 +0300",
        "Message-Id": "<1502441568-22896-9-git-send-email-pantelis.antoniou@konsulko.com>",
        "X-Mailer": "git-send-email 2.1.4",
        "In-Reply-To": "<1502441568-22896-1-git-send-email-pantelis.antoniou@konsulko.com>",
        "References": "<1502441568-22896-1-git-send-email-pantelis.antoniou@konsulko.com>",
        "Cc": "Marek Vasut <marex@denx.de>,\n\tPantelis Antoniou <pantelis.antoniou@konsulko.com>,\n\tTero Kristo <t-kristo@ti.com>, u-boot@lists.denx.de,\n\tMaxime Ripard <maxime.ripard@free-electrons.com>,\n\tStefan Roese <sr@denx.de>, Alan Ott <alan@signal11.us>",
        "Subject": "[U-Boot] [PATCH v2 08/10] config: sandbox: Add unit tests",
        "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": "Add unit tests for sandbox default config.\n\nSigned-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>\n---\n configs/sandbox_defconfig | 2 ++\n 1 file changed, 2 insertions(+)",
    "diff": "diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig\nindex fd0b952..df8659a 100644\n--- a/configs/sandbox_defconfig\n+++ b/configs/sandbox_defconfig\n@@ -187,7 +187,9 @@ CONFIG_CMD_DHRYSTONE=y\n CONFIG_TPM=y\n CONFIG_LZ4=y\n CONFIG_ERRNO_STR=y\n+CONFIG_OF_LIBFDT_OVERLAY=y\n CONFIG_UNIT_TEST=y\n CONFIG_UT_TIME=y\n CONFIG_UT_DM=y\n CONFIG_UT_ENV=y\n+CONFIG_UT_OVERLAY=y\n",
    "prefixes": [
        "U-Boot",
        "v2",
        "08/10"
    ]
}