get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1130383,
    "url": "http://patchwork.ozlabs.org/api/patches/1130383/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20190710130026.28009-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": "<20190710130026.28009-2-chuanhua.han@nxp.com>",
    "list_archive_url": null,
    "date": "2019-07-10T13:00:21",
    "name": "[U-Boot,v4,2/7] configs: lx2160ardb: enable DM support for pcf2127 rtc",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "d7286715ef58ad46a803aaf0583e2262c9d026f5",
    "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/20190710130026.28009-2-chuanhua.han@nxp.com/mbox/",
    "series": [
        {
            "id": 118772,
            "url": "http://patchwork.ozlabs.org/api/series/118772/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=118772",
            "date": "2019-07-10T13:00:20",
            "name": "[U-Boot,v4,1/7] armv8: lx2160a: The lx2160a platform supports the I2C driver model.",
            "version": 4,
            "mbox": "http://patchwork.ozlabs.org/series/118772/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1130383/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1130383/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 45kKLd5NYMz9sMQ\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 10 Jul 2019 23:10:48 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 51692C21F3E; Wed, 10 Jul 2019 13:10:09 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 4BC16C21F90;\n\tWed, 10 Jul 2019 13:09:42 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid BCDCCC21F52; Wed, 10 Jul 2019 13:09:40 +0000 (UTC)",
            "from inva020.nxp.com (inva020.nxp.com [92.121.34.13])\n\tby lists.denx.de (Postfix) with ESMTPS id D0C49C21E0D\n\tfor <u-boot@lists.denx.de>; Wed, 10 Jul 2019 13:09:39 +0000 (UTC)",
            "from inva020.nxp.com (localhost [127.0.0.1])\n\tby inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id A4C741A0794;\n\tWed, 10 Jul 2019 15:09:39 +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 4BF841A004A;\n\tWed, 10 Jul 2019 15:09:35 +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 A1A79402C9;\n\tWed, 10 Jul 2019 21:09:29 +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": "albert.u.boot@aribaud.net, priyanka.jain@nxp.com, udit.agarwal@nxp.com, \n\ths@denx.de, prabhakar.kushwaha@nxp.com",
        "Date": "Wed, 10 Jul 2019 21:00:21 +0800",
        "Message-Id": "<20190710130026.28009-2-chuanhua.han@nxp.com>",
        "X-Mailer": "git-send-email 2.9.5",
        "In-Reply-To": "<20190710130026.28009-1-chuanhua.han@nxp.com>",
        "References": "<20190710130026.28009-1-chuanhua.han@nxp.com>",
        "X-Virus-Scanned": "ClamAV using ClamSMTP",
        "Cc": "u-boot@lists.denx.de, Biwen Li <biwen.li@nxp.com>,\n\tChuanhua Han <chuanhua.han@nxp.com>",
        "Subject": "[U-Boot] [PATCH v4 2/7] configs: lx2160ardb: enable DM support for\n\tpcf2127 rtc",
        "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": "Enable related configs on all lx2160ardb boards to support pcf2127\nrtc DM feature.\n\nSigned-off-by: Chuanhua Han <chuanhua.han@nxp.com>\nSigned-off-by: Biwen Li <biwen.li@nxp.com>\n---\nChanges in v4: \n\t- Add configuration options for i2c dm to set default bus number Settings.\nChanges in v3: \n\t- Modify the subject and submission information of the patch.\nChanges in v2: \n\t- No change.\n\n configs/lx2160ardb_tfa_SECURE_BOOT_defconfig |    7 +++++++\n configs/lx2160ardb_tfa_defconfig             |    7 +++++++\n 2 files changed, 14 insertions(+), 0 deletions(-)",
    "diff": "diff --git a/configs/lx2160ardb_tfa_SECURE_BOOT_defconfig b/configs/lx2160ardb_tfa_SECURE_BOOT_defconfig\nindex 5cb29fd..d56aa6d 100644\n--- a/configs/lx2160ardb_tfa_SECURE_BOOT_defconfig\n+++ b/configs/lx2160ardb_tfa_SECURE_BOOT_defconfig\n@@ -58,3 +58,10 @@ CONFIG_RSA=y\n CONFIG_SPL_RSA=y\n CONFIG_RSA_SOFTWARE_EXP=y\n CONFIG_EFI_LOADER_BOUNCE_BUFFER=y\n+CONFIG_DM_I2C=y\n+CONFIG_I2C_SET_DEFAULT_BUS_NUM=y\n+CONFIG_I2C_DEFAULT_BUS_NUMBER=0\n+CONFIG_DM_RTC=y\n+CONFIG_DM_GPIO=y\n+CONFIG_CMD_DATE=y\n+CONFIG_RTC_PCF2127=y\ndiff --git a/configs/lx2160ardb_tfa_defconfig b/configs/lx2160ardb_tfa_defconfig\nindex 94f58a8..059e877 100644\n--- a/configs/lx2160ardb_tfa_defconfig\n+++ b/configs/lx2160ardb_tfa_defconfig\n@@ -57,3 +57,10 @@ CONFIG_DM_USB=y\n CONFIG_USB_XHCI_HCD=y\n CONFIG_USB_XHCI_DWC3=y\n CONFIG_EFI_LOADER_BOUNCE_BUFFER=y\n+CONFIG_DM_I2C=y\n+CONFIG_I2C_SET_DEFAULT_BUS_NUM=y\n+CONFIG_I2C_DEFAULT_BUS_NUMBER=0\n+CONFIG_DM_RTC=y\n+CONFIG_DM_GPIO=y\n+CONFIG_CMD_DATE=y\n+CONFIG_RTC_PCF2127=y\n",
    "prefixes": [
        "U-Boot",
        "v4",
        "2/7"
    ]
}