get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 810386,
    "url": "http://patchwork.ozlabs.org/api/patches/810386/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20170906050814.16560-1-wenyou.yang@microchip.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": "<20170906050814.16560-1-wenyou.yang@microchip.com>",
    "list_archive_url": null,
    "date": "2017-09-06T05:08:14",
    "name": "[U-Boot,v2] misc: Kconfig: Add SPL_I2C_EEPROM option",
    "commit_ref": "d81a1de96e2636163783c342b8fda965e696e382",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "71c6f782d31757c91857f752172c2e2f7efc1335",
    "submitter": {
        "id": 69532,
        "url": "http://patchwork.ozlabs.org/api/people/69532/?format=api",
        "name": "Wenyou Yang",
        "email": "Wenyou.Yang@microchip.com"
    },
    "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/20170906050814.16560-1-wenyou.yang@microchip.com/mbox/",
    "series": [
        {
            "id": 1692,
            "url": "http://patchwork.ozlabs.org/api/series/1692/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=1692",
            "date": "2017-09-06T05:08:14",
            "name": "[U-Boot,v2] misc: Kconfig: Add SPL_I2C_EEPROM option",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/1692/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/810386/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/810386/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 3xnBXw3YhQz9s8J\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed,  6 Sep 2017 15:12:32 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 391B2C21E28; Wed,  6 Sep 2017 05:12:28 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 7945BC21DAE;\n\tWed,  6 Sep 2017 05:12:26 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 79D94C21CB6; Wed,  6 Sep 2017 05:12:25 +0000 (UTC)",
            "from eusmtp01.atmel.com (eusmtp01.atmel.com [212.144.249.242])\n\tby lists.denx.de (Postfix) with ESMTPS id EE8F7C21D7E\n\tfor <u-boot@lists.denx.de>; Wed,  6 Sep 2017 05:12:24 +0000 (UTC)",
            "from apsmtp01.atmel.com (10.168.254.31) by eusmtp01.atmel.com\n\t(10.145.145.30) with Microsoft SMTP Server id 14.3.235.1;\n\tWed, 6 Sep 2017 07:11:41 +0200",
            "from shaarm01.corp.atmel.com (10.168.254.13) by apsmtp01.atmel.com\n\t(10.168.254.31) with Microsoft SMTP Server id 14.3.235.1;\n\tWed, 6 Sep 2017 13:16:00 +0800"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED\n\tautolearn=unavailable autolearn_force=no version=3.4.0",
        "From": "Wenyou Yang <wenyou.yang@microchip.com>",
        "To": "U-Boot Mailing List <u-boot@lists.denx.de>",
        "Date": "Wed, 6 Sep 2017 13:08:14 +0800",
        "Message-ID": "<20170906050814.16560-1-wenyou.yang@microchip.com>",
        "X-Mailer": "git-send-email 2.13.0",
        "MIME-Version": "1.0",
        "Cc": "Tom Rini <trini@konsulko.com>",
        "Subject": "[U-Boot] [PATCH v2] misc: Kconfig: Add SPL_I2C_EEPROM option",
        "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>",
        "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": "This option is an SPL-variant of the I2C_EEPROM option to enable\nthe driver for generic I2C-attached EEPROMs for SPL.\n\nSigned-off-by: Wenyou Yang <wenyou.yang@microchip.com>\n---\n\nChanges in v2:\n - Rebase the uboot/master (84a4206).\n\n drivers/misc/Kconfig  | 8 ++++++++\n drivers/misc/Makefile | 2 +-\n 2 files changed, 9 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig\nindex 3d282d5b14..4133017e32 100644\n--- a/drivers/misc/Kconfig\n+++ b/drivers/misc/Kconfig\n@@ -197,6 +197,14 @@ config I2C_EEPROM\n \thelp\n \t  Enable a generic driver for EEPROMs attached via I2C.\n \n+\n+config SPL_I2C_EEPROM\n+\tbool \"Enable driver for generic I2C-attached EEPROMs for SPL\"\n+\tdepends on MISC && SPL && SPL_DM\n+\thelp\n+\t  This option is an SPL-variant of the I2C_EEPROM option.\n+\t  See the help of I2C_EEPROM for details.\n+\n if I2C_EEPROM\n \n config SYS_I2C_EEPROM_ADDR\ndiff --git a/drivers/misc/Makefile b/drivers/misc/Makefile\nindex 10265c8fb4..21f7e6c6f5 100644\n--- a/drivers/misc/Makefile\n+++ b/drivers/misc/Makefile\n@@ -20,7 +20,7 @@ obj-$(CONFIG_CROS_EC_SPI) += cros_ec_spi.o\n endif\n obj-$(CONFIG_FSL_IIM) += fsl_iim.o\n obj-$(CONFIG_LED_STATUS_GPIO) += gpio_led.o\n-obj-$(CONFIG_I2C_EEPROM) += i2c_eeprom.o\n+obj-$(CONFIG_$(SPL_)I2C_EEPROM) += i2c_eeprom.o\n obj-$(CONFIG_FSL_MC9SDZ60) += mc9sdz60.o\n obj-$(CONFIG_MXC_OCOTP) += mxc_ocotp.o\n obj-$(CONFIG_MXS_OCOTP) += mxs_ocotp.o\n",
    "prefixes": [
        "U-Boot",
        "v2"
    ]
}