get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 809987,
    "url": "http://patchwork.ozlabs.org/api/patches/809987/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-tegra/patch/20170905081029.19769-6-mperttunen@nvidia.com/",
    "project": {
        "id": 21,
        "url": "http://patchwork.ozlabs.org/api/projects/21/?format=api",
        "name": "Linux Tegra Development",
        "link_name": "linux-tegra",
        "list_id": "linux-tegra.vger.kernel.org",
        "list_email": "linux-tegra@vger.kernel.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20170905081029.19769-6-mperttunen@nvidia.com>",
    "list_archive_url": null,
    "date": "2017-09-05T08:10:28",
    "name": "[v2,5/6] gpu: host1x: Fix incorrect comment for channel_request",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": false,
    "hash": "b90bdefe4b2e1b7b60f5332020fac3e56048bf7f",
    "submitter": {
        "id": 26499,
        "url": "http://patchwork.ozlabs.org/api/people/26499/?format=api",
        "name": "Mikko Perttunen",
        "email": "mperttunen@nvidia.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-tegra/patch/20170905081029.19769-6-mperttunen@nvidia.com/mbox/",
    "series": [
        {
            "id": 1506,
            "url": "http://patchwork.ozlabs.org/api/series/1506/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-tegra/list/?series=1506",
            "date": "2017-09-05T08:10:29",
            "name": "Miscellaneous improvements to Host1x and TegraDRM",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/1506/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/809987/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/809987/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<linux-tegra-owner@vger.kernel.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=linux-tegra-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tsecure) header.d=kapsi.fi header.i=@kapsi.fi header.b=\"KBKcHkNH\";\n\tdkim-atps=neutral"
        ],
        "Received": [
            "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xmfb36GyNz9s9Y\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue,  5 Sep 2017 18:12:31 +1000 (AEST)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1750989AbdIEIMa (ORCPT <rfc822;incoming@patchwork.ozlabs.org>);\n\tTue, 5 Sep 2017 04:12:30 -0400",
            "from mail.kapsi.fi ([91.232.154.25]:34104 \"EHLO mail.kapsi.fi\"\n\trhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP\n\tid S1751007AbdIEIKk (ORCPT <rfc822;linux-tegra@vger.kernel.org>);\n\tTue, 5 Sep 2017 04:10:40 -0400",
            "from dsl-hkibng41-567306-181.dhcp.inet.fi ([86.115.6.181]\n\thelo=localhost.localdomain) by mail.kapsi.fi with esmtpsa\n\t(TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2)\n\t(envelope-from <mperttunen@nvidia.com>)\n\tid 1dp8wN-0001nH-O5; Tue, 05 Sep 2017 11:10:35 +0300"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kapsi.fi;\n\ts=20161220; \n\th=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From;\n\tbh=ikD1IW1ENtfW5rbKSO8+YNQnGZ1ZrKdqA9ENwvY1ZUk=; \n\tb=KBKcHkNHWb01pjbMEkj6hO1AHj5FQRFdJhrh1YIBjFXX1NwmSf1CmYNmuvVTYd9nsPDkM654K7hmptS9R/v2Zhx3Z3f3HLmprBd2ALA0tsuRCKf442SkxJrkCc9JjmlxzqjUwH+jjB9Mp5LSFi9N6G+v7NCMh02iCkFPtochwwzN3p2LTP1ztb699rMln2F8axxnUyUG1k7YhIbOMHTSx+T5A99jI0Uze4FU5oZlpX6MxFilIVff6zGtqGrxSm49MOsoPAURBH3QSne/lArL7BAXy4hGOIwynwlXActTuVy5GehGn6z4G8o2UshrLLW0GPinR4vhm1qrKz4ZhNEOnQ==;",
        "From": "Mikko Perttunen <mperttunen@nvidia.com>",
        "To": "thierry.reding@gmail.com, jonathanh@nvidia.com",
        "Cc": "digetx@gmail.com, dri-devel@lists.freedesktop.org,\n\tlinux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org,\n\tMikko Perttunen <mperttunen@nvidia.com>",
        "Subject": "[PATCH v2 5/6] gpu: host1x: Fix incorrect comment for\n\tchannel_request",
        "Date": "Tue,  5 Sep 2017 11:10:28 +0300",
        "Message-Id": "<20170905081029.19769-6-mperttunen@nvidia.com>",
        "X-Mailer": "git-send-email 2.14.1",
        "In-Reply-To": "<20170905081029.19769-1-mperttunen@nvidia.com>",
        "References": "<20170905081029.19769-1-mperttunen@nvidia.com>",
        "X-SA-Exim-Connect-IP": "86.115.6.181",
        "X-SA-Exim-Mail-From": "mperttunen@nvidia.com",
        "X-SA-Exim-Scanned": "No (on mail.kapsi.fi); SAEximRunCond expanded to false",
        "Sender": "linux-tegra-owner@vger.kernel.org",
        "Precedence": "bulk",
        "List-ID": "<linux-tegra.vger.kernel.org>",
        "X-Mailing-List": "linux-tegra@vger.kernel.org"
    },
    "content": "This function actually doesn't sleep in the version that was merged.\n\nSigned-off-by: Mikko Perttunen <mperttunen@nvidia.com>\n---\n drivers/gpu/host1x/channel.c | 3 +--\n 1 file changed, 1 insertion(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/gpu/host1x/channel.c b/drivers/gpu/host1x/channel.c\nindex db9b91d1384c..2fb93c27c1d9 100644\n--- a/drivers/gpu/host1x/channel.c\n+++ b/drivers/gpu/host1x/channel.c\n@@ -128,8 +128,7 @@ static struct host1x_channel *acquire_unused_channel(struct host1x *host)\n  * host1x_channel_request() - Allocate a channel\n  * @device: Host1x unit this channel will be used to send commands to\n  *\n- * Allocates a new host1x channel for @device. If there are no free channels,\n- * this will sleep until one becomes available. May return NULL if CDMA\n+ * Allocates a new host1x channel for @device. May return NULL if CDMA\n  * initialization fails.\n  */\n struct host1x_channel *host1x_channel_request(struct device *dev)\n",
    "prefixes": [
        "v2",
        "5/6"
    ]
}