get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 809978,
    "url": "http://patchwork.ozlabs.org/api/patches/809978/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20170905075359.53509-2-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": "<20170905075359.53509-2-sjg@chromium.org>",
    "list_archive_url": null,
    "date": "2017-09-05T07:53:59",
    "name": "[U-Boot,v2,2/2] env: Add 'envtools' target to 'make help'",
    "commit_ref": "84a42069f253554dbc2c7b4bbd28149a7a88c0ab",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "4520e4fe8138277a7ca85fcf8a73e900527301dd",
    "submitter": {
        "id": 6170,
        "url": "http://patchwork.ozlabs.org/api/people/6170/?format=api",
        "name": "Simon Glass",
        "email": "sjg@chromium.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/20170905075359.53509-2-sjg@chromium.org/mbox/",
    "series": [
        {
            "id": 1502,
            "url": "http://patchwork.ozlabs.org/api/series/1502/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=1502",
            "date": "2017-09-05T07:53:59",
            "name": "[U-Boot,v2,1/2] env: Fix operation of 'make environ'",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/1502/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/809978/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/809978/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=\"i2f3Ou5Q\"; dkim-atps=neutral"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xmfBd0lnWz9s4q\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue,  5 Sep 2017 17:54:49 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid CD6F0C21E52; Tue,  5 Sep 2017 07:54:46 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 3E331C21C2B;\n\tTue,  5 Sep 2017 07:54:43 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 3356DC21C2F; Tue,  5 Sep 2017 07:54:41 +0000 (UTC)",
            "from mail-oi0-f46.google.com (mail-oi0-f46.google.com\n\t[209.85.218.46])\n\tby lists.denx.de (Postfix) with ESMTPS id 99958C21C26\n\tfor <u-boot@lists.denx.de>; Tue,  5 Sep 2017 07:54:40 +0000 (UTC)",
            "by mail-oi0-f46.google.com with SMTP id h70so19498015oic.1\n\tfor <u-boot@lists.denx.de>; Tue, 05 Sep 2017 00:54:40 -0700 (PDT)",
            "from kiwi.bld.corp.google.com ([2620:0:10f2:0:ecc5:bf2c:c622:cde0])\n\tby smtp.gmail.com with ESMTPSA id\n\tu199sm105596oif.13.2017.09.05.00.54.38\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tTue, 05 Sep 2017 00:54:38 -0700 (PDT)",
            "by kiwi.bld.corp.google.com (Postfix, from userid 121222)\n\tid 656D11407FF; Tue,  5 Sep 2017 01:54:37 -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=YC561JrY68M7DyyVvuMCY+2H/0UHZGIFT8rCNJ2wk18=;\n\tb=i2f3Ou5QoMzx5wC1M6Z5+oyYyRqyR7vLLBIOf6z4ZToUHY4GGxFUh8cpgiOGf3FbVO\n\tMxQlliYDqxguYPpWeH1dFoPEufdbYvxw8aRiBvWy+w1mMaSdM4YjuknV5D1/J4DyP5YI\n\t0UZ6ieP/ucw2yAkJ73MVCuKKYyCcnqXEYx6ZHFQtqHpcHI/+nrrrr9ErPm+WnNoJoCws\n\tZpRF11Hmj8uWD8xqLwlm2M0WHxkSL16AgO7drc/Y7G4gdqAj5VT1U8gaui2MzYgKtq0w\n\tkXySiBWbNFb6pwQvU76zJx9UfFn7DSpiEvt1/o9r9L5N80XyQIwq4bQkbwEGfehwT7Zo\n\tpENA==",
        "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=YC561JrY68M7DyyVvuMCY+2H/0UHZGIFT8rCNJ2wk18=;\n\tb=ZdWoZZ7hfABQjI1ztqKhwGMIdEpm5WqXc4LKl4gwM91FcYXEYlQThT6pgSdRmkeTsf\n\tOz8J1nq0rjV317X5lOl5tqnRapmIstU2x4ZlvouEj5XQIyuQ8F4f+kbRHjXDahhV6fjs\n\tB4ogeiDMFIietO/dO7dORrD962CcKS7KlZDHFYVhZaKEXeCwBKFIR/Dvcm3IpsT9AAYL\n\t3oruTIpyvq15fURLgYxenSZLgHtmN+8/lGrUkoyusCh5vk55aAAM9onDc1TiI4BwiV57\n\tqfmaD2dkXHGeHi0YUiH+G4lcLK9h7aEd1/z8XE2ZXH8m46QFeypT5g/ilOUD0l/idVne\n\tRlLQ==",
        "X-Gm-Message-State": "AHPjjUirsX1OoxxSTolMXUmTgLtboqByumVuFmJraVtgO3Z7zx/rMOHr\n\tQYcQqfP+zceiI5oj",
        "X-Google-Smtp-Source": "ADKCNb5jQfhVPS3syYKHsW/LqW1zqp84OKzjnLZhsN212TvJqqNAhIwhHnFnSz2WiUN6aiKf5mIDWQ==",
        "X-Received": "by 10.202.117.215 with SMTP id q206mr3330229oic.36.1504598078921;\n\tTue, 05 Sep 2017 00:54:38 -0700 (PDT)",
        "From": "Simon Glass <sjg@chromium.org>",
        "To": "U-Boot Mailing List <u-boot@lists.denx.de>",
        "Date": "Tue,  5 Sep 2017 01:53:59 -0600",
        "Message-Id": "<20170905075359.53509-2-sjg@chromium.org>",
        "X-Mailer": "git-send-email 2.14.1.581.gf28d330327-goog",
        "In-Reply-To": "<20170905075359.53509-1-sjg@chromium.org>",
        "References": "<20170905075359.53509-1-sjg@chromium.org>",
        "Cc": "Tom Rini <trini@konsulko.com>, =?utf-8?b?TcOlbnMgUnVsbGfDpXJk?=\n\t<mans@mansr.com>,  Joe Hershberger <joe.hershberger@ni.com>",
        "Subject": "[U-Boot] [PATCH v2 2/2] env: Add 'envtools' target to 'make help'",
        "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": "The target is not currently mentioned anywhere. Add it to the help so\npeople can find it.\n\nSigned-off-by: Simon Glass <sjg@chromium.org>\n---\n\nChanges in v2:\n- Add new patch with a message in 'make help'\n\n Makefile         | 1 +\n tools/env/README | 3 +++\n 2 files changed, 4 insertions(+)",
    "diff": "diff --git a/Makefile b/Makefile\nindex b19e3bd388..2746976393 100644\n--- a/Makefile\n+++ b/Makefile\n@@ -1586,6 +1586,7 @@ help:\n \t@echo  '  ubootrelease\t  - Output the release version string (use with make -s)'\n \t@echo  '  ubootversion\t  - Output the version stored in Makefile (use with make -s)'\n \t@echo  \"  cfg\t\t  - Don't build, just create the .cfg files\"\n+\t@echo  \"  envtools\t  - Build only the target-side environment tools\"\n \t@echo  ''\n \t@echo  'Static analysers'\n \t@echo  '  checkstack      - Generate a list of stack hogs'\ndiff --git a/tools/env/README b/tools/env/README\nindex bc6e2c11ef..709251383c 100644\n--- a/tools/env/README\n+++ b/tools/env/README\n@@ -7,6 +7,9 @@ In order to cross-compile fw_printenv, run\n in the root directory of the U-Boot distribution. For example,\n     make CROSS_COMPILE=arm-linux- envtools\n \n+You should then create a symlink from fw_setenv to fw_printenv. They use\n+the same program and its function depends on its basename.\n+\n For the run-time utility configuration uncomment the line\n #define CONFIG_FILE  \"/etc/fw_env.config\"\n in fw_env.h.\n",
    "prefixes": [
        "U-Boot",
        "v2",
        "2/2"
    ]
}