get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 818789,
    "url": "http://patchwork.ozlabs.org/api/patches/818789/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20170926192142.42308-3-sjg@chromium.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": "<20170926192142.42308-3-sjg@chromium.org>",
    "list_archive_url": null,
    "date": "2017-09-26T19:21:30",
    "name": "[U-Boot,v2,02/14] sandbox: Adjust pre-console address to avoid conflict",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "66aab376e33c349ecbb15afd90301f066f60a527",
    "submitter": {
        "id": 6170,
        "url": "http://patchwork.ozlabs.org/api/people/6170/?format=api",
        "name": "Simon Glass",
        "email": "sjg@chromium.org"
    },
    "delegate": {
        "id": 3184,
        "url": "http://patchwork.ozlabs.org/api/users/3184/?format=api",
        "username": "sjg",
        "first_name": "Simon",
        "last_name": "Glass",
        "email": "sjg@chromium.org"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20170926192142.42308-3-sjg@chromium.org/mbox/",
    "series": [
        {
            "id": 5217,
            "url": "http://patchwork.ozlabs.org/api/series/5217/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=5217",
            "date": "2017-09-26T19:21:28",
            "name": "log: Add a new logging feature",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/5217/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/818789/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/818789/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\" (2048-bit key;\n\tunprotected) header.d=google.com header.i=@google.com\n\theader.b=\"VmnPajJ2\"; dkim-atps=neutral"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3y1rTY3VxYz9t4X\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 27 Sep 2017 05:23:00 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 0844DC21F6A; Tue, 26 Sep 2017 19:22:16 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id EB5D9C21E28;\n\tTue, 26 Sep 2017 19:22:13 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 6CFBDC21F44; Tue, 26 Sep 2017 19:22:10 +0000 (UTC)",
            "from mail-oi0-f42.google.com (mail-oi0-f42.google.com\n\t[209.85.218.42])\n\tby lists.denx.de (Postfix) with ESMTPS id 6DD06C21F19\n\tfor <u-boot@lists.denx.de>; Tue, 26 Sep 2017 19:22:10 +0000 (UTC)",
            "by mail-oi0-f42.google.com with SMTP id u130so13040253oib.11\n\tfor <u-boot@lists.denx.de>; Tue, 26 Sep 2017 12:22:10 -0700 (PDT)",
            "from kiwi.bld.corp.google.com ([100.101.164.89])\n\tby smtp.gmail.com with ESMTPSA id\n\tk144sm9072161oih.45.2017.09.26.12.22.08\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tTue, 26 Sep 2017 12:22:08 -0700 (PDT)",
            "by kiwi.bld.corp.google.com (Postfix, from userid 121222)\n\tid 4D9A7140B5C; Tue, 26 Sep 2017 13:22:07 -0600 (MDT)"
        ],
        "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=google.com;\n\ts=20161025; \n\th=sender:from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=OuIZHbwg3Hsk7PjOa5nGlAS+TMTIR/i8bgTTgo8ZcCk=;\n\tb=VmnPajJ2zjLc4i3iOvOguh8ZonaCcKNu+p6E7AzzMZCxyL6yRiBm69MFs86FkWwAAD\n\tiKk2gnwcXOhgBOIEM5dR+vlrysz6S1m9ZXvdQ97GwHfEuPlCXKLTQa7zOURLKOWX9wYq\n\tbiH1kYNy+vxrcsYbW1pyaX7KJOmjT7j+PRUkiRYwqU/ZEtQq3dnV+pXL0ATQQgTwMy+1\n\tpSi10OAtPlO9Eav9OTvhzjCGrjr9/LOnBN/dN2okKQbnhfK2N0W5VmqkSCEmF/zuU6Ea\n\tY7eXsA8SHI92dc3wfT3aWFV9yhFNAKGT1T0YD85Pw0FYN/28xnD2+aYkVTxW/O8oiWZU\n\tKWVQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:sender:from:to:cc:subject:date:message-id\n\t:in-reply-to:references;\n\tbh=OuIZHbwg3Hsk7PjOa5nGlAS+TMTIR/i8bgTTgo8ZcCk=;\n\tb=pF/tfy7hekbNJ+ng4wECQJYdG30wyEZewkO/jNkmjldH368W/K+56PBWSm4T3Lcb81\n\tFy4v1FtzPuUry3ALX9osVr7IjT8nYf8ohSVMGd0YULy2ZjPUM5TegpHMIIFhprbpLfFK\n\t+1AbmVlaimXBzP2I9QaIo4tJynkG5qzZ3qCMY5Ivcby3lhhq5ejOO2dOMNJ5CEKmGYEV\n\tZz2b/+PLLu5gfU6AXay+N/ib2DUxNJxrQtPN3AkMoOscNYYfmAMuxKQN9XwqpvJVY+re\n\tkG7vrl3vgW1amO/2Sd/STSXtd54kQPkz+mXReZs2S8CacLn+UivCsAFEeUzewuOpPiJf\n\t6SNA==",
        "X-Gm-Message-State": "AHPjjUgSNtoCV3yiQbdhvHvOLiMYOI+QaY5QkkvrTlD7meigblc0/+B8\n\tEsgC2e4jes4avuH+Q3sJxNDAnA==",
        "X-Google-Smtp-Source": "AOwi7QBv4RozAPTDxeWEjWuMpFIJMUFQwYNpudh2tSgOACroVYyRsd8iBvKU76VhrAe7YjqMXggTww==",
        "X-Received": "by 10.202.78.203 with SMTP id\n\tc194mr13976060oib.261.1506453728996; \n\tTue, 26 Sep 2017 12:22:08 -0700 (PDT)",
        "From": "Simon Glass <sjg@chromium.org>",
        "To": "U-Boot Mailing List <u-boot@lists.denx.de>",
        "Date": "Tue, 26 Sep 2017 13:21:30 -0600",
        "Message-Id": "<20170926192142.42308-3-sjg@chromium.org>",
        "X-Mailer": "git-send-email 2.14.1.992.g2c7b836f3a-goog",
        "In-Reply-To": "<20170926192142.42308-1-sjg@chromium.org>",
        "References": "<20170926192142.42308-1-sjg@chromium.org>",
        "Cc": "Tom Rini <trini@konsulko.com>",
        "Subject": "[U-Boot] [PATCH v2 02/14] sandbox: Adjust pre-console address to\n\tavoid conflict",
        "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": "We cannot use sandbox memory at 0 since other things use memory at that\naddress. Move it up out of the way.\n\nNote that the pre-console buffer is currently disabled with sandbox, but\nthis change will avoid confusion if it is manually enabled.\n\nSigned-off-by: Simon Glass <sjg@chromium.org>\n---\n\nChanges in v2:\n- Split pre-console address change into a separate patch\n\n configs/sandbox_defconfig | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig\nindex 310b8acc29..93ea6889a0 100644\n--- a/configs/sandbox_defconfig\n+++ b/configs/sandbox_defconfig\n@@ -15,7 +15,7 @@ CONFIG_CONSOLE_RECORD=y\n CONFIG_CONSOLE_RECORD_OUT_SIZE=0x1000\n CONFIG_SILENT_CONSOLE=y\n CONFIG_PRE_CONSOLE_BUFFER=y\n-CONFIG_PRE_CON_BUF_ADDR=0\n+CONFIG_PRE_CON_BUF_ADDR=0x100000\n CONFIG_CMD_CPU=y\n CONFIG_CMD_LICENSE=y\n CONFIG_CMD_BOOTZ=y\n",
    "prefixes": [
        "U-Boot",
        "v2",
        "02/14"
    ]
}