get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1230,
    "url": "http://patchwork.ozlabs.org/api/patches/1230/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/1222231125-24632-1-git-send-email-galak@kernel.crashing.org/",
    "project": {
        "id": 2,
        "url": "http://patchwork.ozlabs.org/api/projects/2/?format=api",
        "name": "Linux PPC development",
        "link_name": "linuxppc-dev",
        "list_id": "linuxppc-dev.lists.ozlabs.org",
        "list_email": "linuxppc-dev@lists.ozlabs.org",
        "web_url": "https://github.com/linuxppc/wiki/wiki",
        "scm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git",
        "webscm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/",
        "list_archive_url": "https://lore.kernel.org/linuxppc-dev/",
        "list_archive_url_format": "https://lore.kernel.org/linuxppc-dev/{}/",
        "commit_url_format": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id={}"
    },
    "msgid": "<1222231125-24632-1-git-send-email-galak@kernel.crashing.org>",
    "list_archive_url": "https://lore.kernel.org/linuxppc-dev/1222231125-24632-1-git-send-email-galak@kernel.crashing.org/",
    "date": "2008-09-24T04:38:45",
    "name": "powerpc: Move 8xxx GPIO Kconfig under the platform menu",
    "commit_ref": "782f04fc0c2af3c1e92c9d561926a2056b1c72e8",
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "87e51496a865fc18f2cf4708c0b68d6baa67ef14",
    "submitter": {
        "id": 5,
        "url": "http://patchwork.ozlabs.org/api/people/5/?format=api",
        "name": "Kumar Gala",
        "email": "galak@kernel.crashing.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/1222231125-24632-1-git-send-email-galak@kernel.crashing.org/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/1230/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1230/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@ozlabs.org>",
        "X-Original-To": [
            "patchwork-incoming@ozlabs.org",
            "linuxppc-dev@ozlabs.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@ozlabs.org",
            "linuxppc-dev@ozlabs.org"
        ],
        "Received": [
            "from ozlabs.org (localhost [127.0.0.1])\n\tby ozlabs.org (Postfix) with ESMTP id 96F77DE135\n\tfor <patchwork-incoming@ozlabs.org>;\n\tWed, 24 Sep 2008 14:39:01 +1000 (EST)",
            "from gate.crashing.org (gate.crashing.org [63.228.1.57])\n\t(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\n\t(Client did not present a certificate)\n\tby ozlabs.org (Postfix) with ESMTPS id 9DC09DDED9\n\tfor <linuxppc-dev@ozlabs.org>; Wed, 24 Sep 2008 14:38:49 +1000 (EST)",
            "from localhost (localhost.localdomain [127.0.0.1])\n\tby gate.crashing.org (8.14.1/8.13.8) with ESMTP id m8O4cjQJ028128;\n\tTue, 23 Sep 2008 23:38:46 -0500"
        ],
        "From": "Kumar Gala <galak@kernel.crashing.org>",
        "To": "linuxppc-dev@ozlabs.org",
        "Subject": "[PATCH] powerpc: Move 8xxx GPIO Kconfig under the platform menu",
        "Date": "Tue, 23 Sep 2008 23:38:45 -0500",
        "Message-Id": "<1222231125-24632-1-git-send-email-galak@kernel.crashing.org>",
        "X-Mailer": "git-send-email 1.5.5.1",
        "X-BeenThere": "linuxppc-dev@ozlabs.org",
        "X-Mailman-Version": "2.1.11",
        "Precedence": "list",
        "List-Id": "Linux on PowerPC Developers Mail List <linuxppc-dev.ozlabs.org>",
        "List-Unsubscribe": "<https://ozlabs.org/mailman/options/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@ozlabs.org?subject=unsubscribe>",
        "List-Archive": "<http://ozlabs.org/pipermail/linuxppc-dev>",
        "List-Post": "<mailto:linuxppc-dev@ozlabs.org>",
        "List-Help": "<mailto:linuxppc-dev-request@ozlabs.org?subject=help>",
        "List-Subscribe": "<https://ozlabs.org/mailman/listinfo/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@ozlabs.org?subject=subscribe>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Sender": "linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@ozlabs.org",
        "Errors-To": "linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@ozlabs.org"
    },
    "content": "The initial patch had the option at the top level which wasn't\nquite right.  Moving under the platform options is a bit better.\n\nSigned-off-by: Kumar Gala <galak@kernel.crashing.org>\n---\n arch/powerpc/platforms/Kconfig |    9 +++++++++\n arch/powerpc/sysdev/Kconfig    |    9 ---------\n 2 files changed, 9 insertions(+), 9 deletions(-)",
    "diff": "diff --git a/arch/powerpc/platforms/Kconfig b/arch/powerpc/platforms/Kconfig\nindex 4c900ef..9578c45 100644\n--- a/arch/powerpc/platforms/Kconfig\n+++ b/arch/powerpc/platforms/Kconfig\n@@ -293,4 +293,13 @@ config OF_RTC\n \n source \"arch/powerpc/sysdev/bestcomm/Kconfig\"\n \n+config MPC8xxx_GPIO\n+\tbool \"MPC8xxx GPIO support\"\n+\tdepends on PPC_MPC831x || PPC_MPC834x || PPC_MPC837x || PPC_85xx || PPC_86xx\n+\tselect GENERIC_GPIO\n+\tselect ARCH_REQUIRE_GPIOLIB\n+\thelp\n+\t  Say Y here if you're going to use hardware that connects to the\n+\t  MPC831x/834x/837x/8572/8610 GPIOs.\n+\n endmenu\ndiff --git a/arch/powerpc/sysdev/Kconfig b/arch/powerpc/sysdev/Kconfig\nindex d0e7bb0..3965828 100644\n--- a/arch/powerpc/sysdev/Kconfig\n+++ b/arch/powerpc/sysdev/Kconfig\n@@ -7,15 +7,6 @@ config PPC4xx_PCI_EXPRESS\n \tdepends on PCI && 4xx\n \tdefault n\n \n-config MPC8xxx_GPIO\n-\tbool \"MPC8xxx GPIO support\"\n-\tdepends on PPC_MPC831x || PPC_MPC834x || PPC_MPC837x || PPC_85xx || PPC_86xx\n-\tselect GENERIC_GPIO\n-\tselect ARCH_REQUIRE_GPIOLIB\n-\thelp\n-\t  Say Y here if you're going to use hardware that connects to the\n-\t  MPC831x/834x/837x/8572/8610 GPIOs.\n-\n config PPC_MSI_BITMAP\n \tbool\n \tdepends on PCI_MSI\n",
    "prefixes": []
}