get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 711680,
    "url": "http://patchwork.ozlabs.org/api/patches/711680/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20170106045654.21193-4-wenyou.yang@atmel.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": "<20170106045654.21193-4-wenyou.yang@atmel.com>",
    "list_archive_url": null,
    "date": "2017-01-06T04:56:52",
    "name": "[U-Boot,3/4] ARM: at91: sama5: add SoC configs to Kconfig",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "84babb22f20183b6aec91a57b74df643bcd22ea7",
    "submitter": {
        "id": 16102,
        "url": "http://patchwork.ozlabs.org/api/people/16102/?format=api",
        "name": "Wenyou Yang",
        "email": "wenyou.yang@atmel.com"
    },
    "delegate": {
        "id": 6342,
        "url": "http://patchwork.ozlabs.org/api/users/6342/?format=api",
        "username": "abiessmann",
        "first_name": "Andreas",
        "last_name": "Bießmann",
        "email": "andreas.biessmann@googlemail.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20170106045654.21193-4-wenyou.yang@atmel.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/711680/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/711680/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",
        "Received": [
            "from theia.denx.de (theia.denx.de [85.214.87.163])\n\tby ozlabs.org (Postfix) with ESMTP id 3tvsnV0GT7z9sdn\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  6 Jan 2017 16:00:46 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 2CAC0B3922;\n\tFri,  6 Jan 2017 06:00:33 +0100 (CET)",
            "from theia.denx.de ([127.0.0.1])\n\tby localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id P4exG0eRjs3W; Fri,  6 Jan 2017 06:00:33 +0100 (CET)",
            "from theia.denx.de (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 62D5AB395B;\n\tFri,  6 Jan 2017 06:00:29 +0100 (CET)",
            "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 27AADB3940\n\tfor <u-boot@lists.denx.de>; Fri,  6 Jan 2017 06:00:27 +0100 (CET)",
            "from theia.denx.de ([127.0.0.1])\n\tby localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id zi2ylX7h33QY for <u-boot@lists.denx.de>;\n\tFri,  6 Jan 2017 06:00:27 +0100 (CET)",
            "from ussmtp01.atmel.com (nasmtp01.atmel.com [192.199.1.245])\n\tby theia.denx.de (Postfix) with ESMTPS id 52749B393B\n\tfor <u-boot@lists.denx.de>; Fri,  6 Jan 2017 06:00:22 +0100 (CET)",
            "from apsmtp01.atmel.com (10.168.254.30) by DVREDG01.corp.atmel.com\n\t(10.42.103.30) with Microsoft SMTP Server (TLS) id 14.3.235.1;\n\tThu, 5 Jan 2017 22:00:12 -0700",
            "from shaarm01.corp.atmel.com (10.168.254.13) by\n\tapsmtp01.corp.atmel.com (10.168.254.30) with Microsoft SMTP Server id\n\t14.3.235.1; Fri, 6 Jan 2017 13:03:12 +0800"
        ],
        "X-policyd-weight": "NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5\n\tNOT_IN_BL_NJABL=-1.5 (only DNSBL check requested)",
        "From": "Wenyou Yang <wenyou.yang@atmel.com>",
        "To": "U-Boot Mailing List <u-boot@lists.denx.de>",
        "Date": "Fri, 6 Jan 2017 12:56:52 +0800",
        "Message-ID": "<20170106045654.21193-4-wenyou.yang@atmel.com>",
        "X-Mailer": "git-send-email 2.11.0",
        "In-Reply-To": "<20170106045654.21193-1-wenyou.yang@atmel.com>",
        "References": "<20170106045654.21193-1-wenyou.yang@atmel.com>",
        "MIME-Version": "1.0",
        "Subject": "[U-Boot] [PATCH 3/4] ARM: at91: sama5: add SoC configs to Kconfig",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "U-Boot discussion <u-boot.lists.denx.de>",
        "List-Unsubscribe": "<http://lists.denx.de/mailman/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": "<http://lists.denx.de/mailman/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "u-boot-bounces@lists.denx.de",
        "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>"
    },
    "content": "To remove the SoCs options such as SAMA5D2, SAMA5D3 and SAMA5D4\nfrom CONFIG_SYS_EXTRA_OPTIONS which is deprecated. Add these SoC\nconfigs to Kconfig.\n\nSigned-off-by: Wenyou Yang <wenyou.yang@atmel.com>\n---\n\n arch/arm/mach-at91/Kconfig | 28 ++++++++++++++++++++--------\n 1 file changed, 20 insertions(+), 8 deletions(-)",
    "diff": "diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig\nindex 5cefeb429b..631566ec1b 100644\n--- a/arch/arm/mach-at91/Kconfig\n+++ b/arch/arm/mach-at91/Kconfig\n@@ -3,6 +3,18 @@ if ARCH_AT91\n config AT91FAMILY\n \tdef_bool y\n \n+config SAMA5D2\n+\tbool\n+\tselect CPU_V7\n+\n+config SAMA5D3\n+\tbool\n+\tselect CPU_V7\n+\n+config SAMA5D4\n+\tbool\n+\tselect CPU_V7\n+\n choice\n \tprompt \"Atmel AT91 board select\"\n \toptional\n@@ -84,37 +96,37 @@ config TARGET_AT91SAM9X5EK\n \n config TARGET_SAMA5D2_PTC\n \tbool \"SAMA5D2 PTC board\"\n-\tselect CPU_V7\n+\tselect SAMA5D2\n \tselect SUPPORT_SPL\n \n config TARGET_SAMA5D2_XPLAINED\n \tbool \"SAMA5D2 Xplained board\"\n-\tselect CPU_V7\n+\tselect SAMA5D2\n \tselect SUPPORT_SPL\n \n config TARGET_SAMA5D3_XPLAINED\n \tbool \"SAMA5D3 Xplained board\"\n-\tselect CPU_V7\n+\tselect SAMA5D3\n \tselect SUPPORT_SPL\n \n config TARGET_SAMA5D3XEK\n \tbool \"SAMA5D3X-EK board\"\n-\tselect CPU_V7\n+\tselect SAMA5D3\n \tselect SUPPORT_SPL\n \n config TARGET_SAMA5D4_XPLAINED\n \tbool \"SAMA5D4 Xplained board\"\n-\tselect CPU_V7\n+\tselect SAMA5D4\n \tselect SUPPORT_SPL\n \n config TARGET_SAMA5D4EK\n \tbool \"SAMA5D4 Evaluation Kit\"\n-\tselect CPU_V7\n+\tselect SAMA5D4\n \tselect SUPPORT_SPL\n \n config TARGET_MA5D4EVK\n \tbool \"DENX MA5D4EVK Evaluation Kit\"\n-\tselect CPU_V7\n+\tselect SAMA5D4\n \tselect SUPPORT_SPL\n \n config TARGET_MEESC\n@@ -150,7 +162,7 @@ config TARGET_SMARTWEB\n \n config TARGET_VINCO\n \tbool \"Support VINCO\"\n-\tselect CPU_V7\n+\tselect SAMA5D4\n \tselect SUPPORT_SPL\n \n endchoice\n",
    "prefixes": [
        "U-Boot",
        "3/4"
    ]
}