get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 805670,
    "url": "http://patchwork.ozlabs.org/api/patches/805670/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-ide/patch/1503609540-27217-1-git-send-email-himanshujha199640@gmail.com/",
    "project": {
        "id": 13,
        "url": "http://patchwork.ozlabs.org/api/projects/13/?format=api",
        "name": "Linux IDE development",
        "link_name": "linux-ide",
        "list_id": "linux-ide.vger.kernel.org",
        "list_email": "linux-ide@vger.kernel.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<1503609540-27217-1-git-send-email-himanshujha199640@gmail.com>",
    "list_archive_url": null,
    "date": "2017-08-24T21:19:00",
    "name": "ata: add a blank line after declaration",
    "commit_ref": null,
    "pull_url": null,
    "state": "not-applicable",
    "archived": false,
    "hash": "766d5947d2c1100b1746412007953b07720fa1d5",
    "submitter": {
        "id": 72201,
        "url": "http://patchwork.ozlabs.org/api/people/72201/?format=api",
        "name": "Himanshu Jha",
        "email": "himanshujha199640@gmail.com"
    },
    "delegate": {
        "id": 34,
        "url": "http://patchwork.ozlabs.org/api/users/34/?format=api",
        "username": "davem",
        "first_name": "David",
        "last_name": "Miller",
        "email": "davem@davemloft.net"
    },
    "mbox": "http://patchwork.ozlabs.org/project/linux-ide/patch/1503609540-27217-1-git-send-email-himanshujha199640@gmail.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/805670/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/805670/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<linux-ide-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-ide-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"KvNLIWP+\"; dkim-atps=neutral"
        ],
        "Received": [
            "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xdccm2YKBz9t2S\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 25 Aug 2017 07:19:36 +1000 (AEST)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1753335AbdHXVTe (ORCPT <rfc822;incoming@patchwork.ozlabs.org>);\n\tThu, 24 Aug 2017 17:19:34 -0400",
            "from mail-pg0-f65.google.com ([74.125.83.65]:34418 \"EHLO\n\tmail-pg0-f65.google.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1753217AbdHXVTe (ORCPT\n\t<rfc822; linux-ide@vger.kernel.org>); Thu, 24 Aug 2017 17:19:34 -0400",
            "by mail-pg0-f65.google.com with SMTP id 63so950426pgc.1;\n\tThu, 24 Aug 2017 14:19:33 -0700 (PDT)",
            "from localhost.localdomain ([103.46.192.10])\n\tby smtp.gmail.com with ESMTPSA id\n\tu186sm8823913pfu.82.2017.08.24.14.19.29\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tThu, 24 Aug 2017 14:19:32 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id;\n\tbh=aiZzs18uolIdxuVqIZtJpEQq4uTyyvMCOkqo63hHSjs=;\n\tb=KvNLIWP+UMuySpX9JU43IDdnkDIz6r3TRChla1BLLpYyNNQsVIp+qYcmmOpUTJSD9y\n\toNKoaraJ3ovzMBukiOJ5pOjMDDgk45l/8t4rw4vAd0eS86foQpbVXegfwiMN9Zh1d56j\n\tZLtFc3sjqGlIn2KxUPdPgslDndEDYw1ZsFyjZ/Dok59wZ0zl4LKep0hxadG2CHvvbfQ6\n\tOFsVg95EmbHLSASSCWpebhi4o18gm9cHjEVHk3HwlbL2prFQRBBd6auAzZ3xfSFpNgmo\n\tO6bR3YIwW/Kt4gMzOb0Z+OmIm6mWXd9lKPWrgvsH3uSfcTJp7f7oXkCul5H2uVDo7wZp\n\tNClA==",
        "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;\n\tbh=aiZzs18uolIdxuVqIZtJpEQq4uTyyvMCOkqo63hHSjs=;\n\tb=gGAmbySc6YTv1rB8thXxO+1n9y9zHA7B3QxqAktv/W21qttKuESPZDJoHoXXrwH6jV\n\tZ7SO8WSyhERoibMU7jZFvBu+UEkIfvylF3/ir1K8kiUYnLb1XlCnuTJJ4//ZjAA2UMLq\n\tNOGp4U9Twy1aOSCSuhJP2yi/yRirQYU6DDdF4GZ4wj0PrE5aoRt7LReZxVMn+vRWLZXa\n\tDqQ4x6Tn9vIItc2kK6gVGAmizw6jtqHO6o2A6IPWGkan8gPeijkQQsIRV8vbvrROkctV\n\tpqsJ2o9I4GBBNLGRQZlcVjjldjw7reb3UrtxN6Za361EUKFEQvjOQgXu+BNun0RwsoPN\n\tLBZg==",
        "X-Gm-Message-State": "AHYfb5hdDsPBnS5zcpb7ogMPG20RPHFWszBAZB9bWQYETpIwstSg87ft\n\tck/0APhsb4jhbw==",
        "X-Received": "by 10.84.198.129 with SMTP id p1mr8247302pld.120.1503609573405; \n\tThu, 24 Aug 2017 14:19:33 -0700 (PDT)",
        "From": "Himanshu Jha <himanshujha199640@gmail.com>",
        "To": "tj@kernel.org",
        "Cc": "linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org,\n\tHimanshu Jha <himanshujha199640@gmail.com>",
        "Subject": "[PATCH] ata: add a blank line after declaration",
        "Date": "Fri, 25 Aug 2017 02:49:00 +0530",
        "Message-Id": "<1503609540-27217-1-git-send-email-himanshujha199640@gmail.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "Sender": "linux-ide-owner@vger.kernel.org",
        "Precedence": "bulk",
        "List-ID": "<linux-ide.vger.kernel.org>",
        "X-Mailing-List": "linux-ide@vger.kernel.org"
    },
    "content": "Added a blank line after declaration conforming to the coding style.\nIssue found using checkpatch.pl\n\nSigned-off-by: Himanshu Jha <himanshujha199640@gmail.com>\n---\n drivers/ata/acard-ahci.c | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/drivers/ata/acard-ahci.c b/drivers/ata/acard-ahci.c\nindex 940ddbc..a45886b 100644\n--- a/drivers/ata/acard-ahci.c\n+++ b/drivers/ata/acard-ahci.c\n@@ -338,6 +338,7 @@ static int acard_ahci_port_start(struct ata_port *ap)\n \tif ((hpriv->cap & HOST_CAP_FBS) && sata_pmp_supported(ap)) {\n \t\tvoid __iomem *port_mmio = ahci_port_base(ap);\n \t\tu32 cmd = readl(port_mmio + PORT_CMD);\n+\n \t\tif (cmd & PORT_CMD_FBSCP)\n \t\t\tpp->fbs_supported = true;\n \t\telse if (hpriv->flags & AHCI_HFLAG_YES_FBS) {\n",
    "prefixes": []
}