get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 815045,
    "url": "http://patchwork.ozlabs.org/api/patches/815045/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20170918171149.23792-1-swarren@wwwdotorg.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": "<20170918171149.23792-1-swarren@wwwdotorg.org>",
    "list_archive_url": null,
    "date": "2017-09-18T17:11:47",
    "name": "[U-Boot,1/3] test/py: Document required tools/packages",
    "commit_ref": "af3fae0b1ba9e2f78e073639696816d756aa6079",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "2184b7db55acab97c4d449d976a8ebbeb4b688f9",
    "submitter": {
        "id": 12517,
        "url": "http://patchwork.ozlabs.org/api/people/12517/?format=api",
        "name": "Stephen Warren",
        "email": "swarren@wwwdotorg.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/20170918171149.23792-1-swarren@wwwdotorg.org/mbox/",
    "series": [
        {
            "id": 3685,
            "url": "http://patchwork.ozlabs.org/api/series/3685/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=3685",
            "date": "2017-09-18T17:11:47",
            "name": "[U-Boot,1/3] test/py: Document required tools/packages",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/3685/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/815045/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/815045/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>)",
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xwsxX6FPRz9s7c\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 19 Sep 2017 03:12:00 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 6DD6CC21C57; Mon, 18 Sep 2017 17:11:57 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 3F1D7C21C4C;\n\tMon, 18 Sep 2017 17:11:55 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid F0D2CC21C41; Mon, 18 Sep 2017 17:11:53 +0000 (UTC)",
            "from avon.wwwdotorg.org (avon.wwwdotorg.org [104.237.132.123])\n\tby lists.denx.de (Postfix) with ESMTPS id 78705C21C2B\n\tfor <u-boot@lists.denx.de>; Mon, 18 Sep 2017 17:11:53 +0000 (UTC)",
            "from swarren-lx1.nvidia.com (thunderhill.nvidia.com\n\t[216.228.112.22])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits))\n\t(No client certificate requested)\n\tby avon.wwwdotorg.org (Postfix) with ESMTPSA id ED9111C02E3;\n\tMon, 18 Sep 2017 11:11:51 -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=none autolearn=unavailable\n\tautolearn_force=no version=3.4.0",
        "X-Virus-Status": "Clean",
        "X-Virus-Scanned": "clamav-milter 0.99.2 at avon.wwwdotorg.org",
        "From": "Stephen Warren <swarren@wwwdotorg.org>",
        "To": "Tom Rini <trini@konsulko.com>",
        "Date": "Mon, 18 Sep 2017 11:11:47 -0600",
        "Message-Id": "<20170918171149.23792-1-swarren@wwwdotorg.org>",
        "X-Mailer": "git-send-email 2.14.1",
        "X-NVConfidentiality": "public",
        "Cc": "Alison Chaiken <alison@peloton-tech.com>, u-boot@lists.denx.de,\n\tStephen Warren <swarren@nvidia.com>",
        "Subject": "[U-Boot] [PATCH 1/3] test/py: Document required tools/packages",
        "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": "From: Stephen Warren <swarren@nvidia.com>\n\nSome tests rely on external tools. Mention these in the test/py README.\n\nSigned-off-by: Stephen Warren <swarren@nvidia.com>\n---\nThis series was developed on top of, and depends on for diff context, my\nprevious patch \"test/py: gpt: make use of infra-structure\".\n\n test/py/README.md | 7 ++++++-\n 1 file changed, 6 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/test/py/README.md b/test/py/README.md\nindex 829c7efbb2d7..ea4b66a41ccb 100644\n--- a/test/py/README.md\n+++ b/test/py/README.md\n@@ -22,12 +22,17 @@ need to implement various \"hook\" scripts that are called by the test suite at\n the appropriate time.\n \n On Debian or Debian-like distributions, the following packages are required.\n-Similar package names should exist in other distributions.\n+Some packages are required to execute any test, and others only for specific\n+tests. Similar package names should exist in other distributions.\n \n | Package        | Version tested (Ubuntu 14.04) |\n | -------------- | ----------------------------- |\n | python         | 2.7.5-5ubuntu3                |\n | python-pytest  | 2.5.1-1                       |\n+| gdisk          | 0.8.8-1ubuntu0.1              |\n+| dfu-util       | 0.5-1                         |\n+| dtc            | 1.4.0+dfsg-1                  |\n+| openssl        | 1.0.1f-1ubuntu2.22            |\n \n The test script supports either:\n \n",
    "prefixes": [
        "U-Boot",
        "1/3"
    ]
}