get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1135577,
    "url": "http://patchwork.ozlabs.org/api/patches/1135577/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20190723104315.45829-2-chuanhua.han@nxp.com/",
    "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": "<20190723104315.45829-2-chuanhua.han@nxp.com>",
    "list_archive_url": null,
    "date": "2019-07-23T10:43:12",
    "name": "[U-Boot,v3,2/5] gpio: do not include <asm/arch/gpio.h> on ARCH_LS1088A",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "00fab445339a9eea52be33dd378e615faf3ce577",
    "submitter": {
        "id": 74737,
        "url": "http://patchwork.ozlabs.org/api/people/74737/?format=api",
        "name": "Chuanhua Han",
        "email": "chuanhua.han@nxp.com"
    },
    "delegate": {
        "id": 2467,
        "url": "http://patchwork.ozlabs.org/api/users/2467/?format=api",
        "username": "prabhu_kush",
        "first_name": "Prabhakar",
        "last_name": "Kushwaha",
        "email": "prabhakar@freescale.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20190723104315.45829-2-chuanhua.han@nxp.com/mbox/",
    "series": [
        {
            "id": 120936,
            "url": "http://patchwork.ozlabs.org/api/series/120936/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=120936",
            "date": "2019-07-23T10:43:11",
            "name": "[U-Boot,v3,1/5] armv8: ls1088a: The ls1088a platform supports the I2C driver model.",
            "version": 3,
            "mbox": "http://patchwork.ozlabs.org/series/120936/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1135577/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1135577/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\tdmarc=fail (p=none dis=none) header.from=nxp.com"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 45tFht03mjz9s4Y\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 23 Jul 2019 20:54:05 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid AC6CFC21E29; Tue, 23 Jul 2019 10:53:22 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 704D1C21DEC;\n\tTue, 23 Jul 2019 10:53:04 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid A05D5C21C2F; Tue, 23 Jul 2019 10:53:00 +0000 (UTC)",
            "from inva020.nxp.com (inva020.nxp.com [92.121.34.13])\n\tby lists.denx.de (Postfix) with ESMTPS id 407B7C21C27\n\tfor <u-boot@lists.denx.de>; Tue, 23 Jul 2019 10:53:00 +0000 (UTC)",
            "from inva020.nxp.com (localhost [127.0.0.1])\n\tby inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id B83051A010F;\n\tTue, 23 Jul 2019 12:52:59 +0200 (CEST)",
            "from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com\n\t[165.114.16.14])\n\tby inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 4B3D11A0029;\n\tTue, 23 Jul 2019 12:52:56 +0200 (CEST)",
            "from titan.ap.freescale.net (TITAN.ap.freescale.net\n\t[10.192.208.233])\n\tby invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id AC0F0402FC;\n\tTue, 23 Jul 2019 18:52:51 +0800 (SGT)"
        ],
        "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",
        "From": "Chuanhua Han <chuanhua.han@nxp.com>",
        "To": "rabhakar.kushwaha@nxp.com, albert.u.boot@aribaud.net,\n\tAshish.Kumar@nxp.com, rajesh.bhagat@nxp.com",
        "Date": "Tue, 23 Jul 2019 18:43:12 +0800",
        "Message-Id": "<20190723104315.45829-2-chuanhua.han@nxp.com>",
        "X-Mailer": "git-send-email 2.9.5",
        "In-Reply-To": "<20190723104315.45829-1-chuanhua.han@nxp.com>",
        "References": "<20190723104315.45829-1-chuanhua.han@nxp.com>",
        "X-Virus-Scanned": "ClamAV using ClamSMTP",
        "Cc": "u-boot@lists.denx.de, Chuanhua Han <chuanhua.han@nxp.com>",
        "Subject": "[U-Boot] [PATCH v3 2/5] gpio: do not include <asm/arch/gpio.h> on\n\tARCH_LS1088A",
        "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": "As no gpio.h is defined for this architecture, to avoid\ncompilation failure, do not include <asm/arch/gpio.h> for\narch ls1088a.\n\nSigned-off-by: Chuanhua Han <chuanhua.han@nxp.com>\n---\ndepends on: \n    - http://patchwork.ozlabs.org/project/uboot/list/?series=110856\n\t- http://patchwork.ozlabs.org/project/uboot/list/?series=109459\n\nChanges in v3: \n\t- No change.\nChanges in v2: \n\t- No change.\n\n arch/arm/include/asm/gpio.h |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)",
    "diff": "diff --git a/arch/arm/include/asm/gpio.h b/arch/arm/include/asm/gpio.h\nindex f78b976..0ca15c9 100644\n--- a/arch/arm/include/asm/gpio.h\n+++ b/arch/arm/include/asm/gpio.h\n@@ -1,7 +1,7 @@\n #if !defined(CONFIG_ARCH_UNIPHIER) && !defined(CONFIG_ARCH_STI) && \\\n \t!defined(CONFIG_ARCH_K3) && !defined(CONFIG_ARCH_BCM6858) && \\\n \t!defined(CONFIG_ARCH_BCM63158) && !defined(CONFIG_ARCH_ROCKCHIP) && \\\n-\t!defined(CONFIG_ARCH_LX2160A)\n+\t!defined(CONFIG_ARCH_LX2160A) && !defined(CONFIG_ARCH_LS1088A)\n #include <asm/arch/gpio.h>\n #endif\n #include <asm-generic/gpio.h>\n",
    "prefixes": [
        "U-Boot",
        "v3",
        "2/5"
    ]
}