get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 303724,
    "url": "http://patchwork.ozlabs.org/api/patches/303724/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/1387485489-4186-8-git-send-email-clshotwe@rockwellcollins.com/",
    "project": {
        "id": 27,
        "url": "http://patchwork.ozlabs.org/api/projects/27/?format=api",
        "name": "Buildroot development",
        "link_name": "buildroot",
        "list_id": "buildroot.buildroot.org",
        "list_email": "buildroot@buildroot.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<1387485489-4186-8-git-send-email-clshotwe@rockwellcollins.com>",
    "list_archive_url": null,
    "date": "2013-12-19T20:37:56",
    "name": "[v5,07/20] sepolgen: new package",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": false,
    "hash": "923921715fdd7cd62b6358a617d88b8191e92ce8",
    "submitter": {
        "id": 38285,
        "url": "http://patchwork.ozlabs.org/api/people/38285/?format=api",
        "name": "Clayton Shotwell",
        "email": "clshotwe@rockwellcollins.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/1387485489-4186-8-git-send-email-clshotwe@rockwellcollins.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/303724/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/303724/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<buildroot-bounces@busybox.net>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "buildroot@lists.busybox.net"
        ],
        "Delivered-To": [
            "patchwork-incoming@bilbo.ozlabs.org",
            "buildroot@osuosl.org"
        ],
        "Received": [
            "from whitealder.osuosl.org (whitealder.osuosl.org\n\t[140.211.166.138])\n\tby ozlabs.org (Postfix) with ESMTP id 3083C2C0079\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 20 Dec 2013 07:39:34 +1100 (EST)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 875ED8C709;\n\tThu, 19 Dec 2013 20:39:33 +0000 (UTC)",
            "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id f9C0mXK14VAY; Thu, 19 Dec 2013 20:39:30 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 63F168C75E;\n\tThu, 19 Dec 2013 20:38:53 +0000 (UTC)",
            "from whitealder.osuosl.org (whitealder.osuosl.org\n\t[140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id 6C2EA1BF99B\n\tfor <buildroot@lists.busybox.net>;\n\tThu, 19 Dec 2013 20:38:41 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 6C6E68C5FF\n\tfor <buildroot@lists.busybox.net>;\n\tThu, 19 Dec 2013 20:38:41 +0000 (UTC)",
            "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id EKekJgrVLrQ4 for <buildroot@lists.busybox.net>;\n\tThu, 19 Dec 2013 20:38:40 +0000 (UTC)",
            "from secvs01.rockwellcollins.com (secvs01.rockwellcollins.com\n\t[205.175.225.240])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id C67948C318\n\tfor <buildroot@busybox.net>; Thu, 19 Dec 2013 20:38:39 +0000 (UTC)",
            "from nosuchhost.198.131.in-addr.arpa (HELO\n\tcollinscrsmtp01.rockwellcollins.com) ([131.198.63.132])\n\tby mail-virt.rockwellcollins.com with ESMTP;\n\t19 Dec 2013 14:38:22 -0600",
            "from nyx ([131.198.63.11])\n\tby collinscrsmtp01.rockwellcollins.com (Lotus Domino Release 8.5.2FP2\n\tHF162) with ESMTP id 2013121914382011-2990140 ;\n\tThu, 19 Dec 2013 14:38:20 -0600 "
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6",
        "From": "Clayton Shotwell <clshotwe@rockwellcollins.com>",
        "To": "buildroot@busybox.net",
        "Date": "Thu, 19 Dec 2013 14:37:56 -0600",
        "Message-Id": "<1387485489-4186-8-git-send-email-clshotwe@rockwellcollins.com>",
        "X-Mailer": "git-send-email 1.7.1",
        "In-Reply-To": "<1387485489-4186-1-git-send-email-clshotwe@rockwellcollins.com>",
        "References": "<1387485489-4186-1-git-send-email-clshotwe@rockwellcollins.com>",
        "X-MIMETrack": "Itemize by SMTP Server on\n\tCollinsCRSMTP01/CedarRapids/Collins/Rockwell(Release\n\t8.5.2FP2 HF162|May 16, 2011) at 12/19/2013 02:38:20 PM,\n\tSerialize by Router on\n\tCollinsCRSMTP01/CedarRapids/Collins/Rockwell(Release\n\t8.5.2FP2 HF162|May 16, 2011) at 12/19/2013 02:38:22 PM,\n\tSerialize complete at 12/19/2013 02:38:22 PM",
        "X-TNEFEvaluated": "1",
        "Cc": "Clayton Shotwell <clshotwe@rockwellcollins.com>",
        "Subject": "[Buildroot] [PATCH v5 07/20] sepolgen: new package",
        "X-BeenThere": "buildroot@busybox.net",
        "X-Mailman-Version": "2.1.14",
        "Precedence": "list",
        "List-Id": "Discussion and development of buildroot <buildroot.busybox.net>",
        "List-Unsubscribe": "<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>",
        "List-Archive": "<http://lists.busybox.net/pipermail/buildroot>",
        "List-Post": "<mailto:buildroot@busybox.net>",
        "List-Help": "<mailto:buildroot-request@busybox.net?subject=help>",
        "List-Subscribe": "<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "buildroot-bounces@busybox.net",
        "Sender": "buildroot-bounces@busybox.net"
    },
    "content": "Signed-off-by: Clayton Shotwell <clshotwe@rockwellcollins.com>\n---\nChanges v4 -> v5:\n  - No changes.\nChanges v3 -> v4:\n  - Cleaned up configure comments (suggested by Thomas).\n  - Removed the clean command.\nChanges v2 -> v3:\n  - No changes.\nChanges v1 -> v2:\n  - General cleanup to the mk file to conform to the standard format.\n  - Changed package dependencies into selects in the config.\n---\n package/Config.in            |    4 ++++\n package/sepolgen/Config.in   |   14 ++++++++++++++\n package/sepolgen/sepolgen.mk |   31 +++++++++++++++++++++++++++++++\n 3 files changed, 49 insertions(+), 0 deletions(-)\n create mode 100644 package/sepolgen/Config.in\n create mode 100644 package/sepolgen/sepolgen.mk",
    "diff": "diff --git a/package/Config.in b/package/Config.in\nindex 1bb32f4..a838d6e 100644\n--- a/package/Config.in\n+++ b/package/Config.in\n@@ -950,6 +950,10 @@ source \"package/rtai/Config.in\"\n source \"package/xenomai/Config.in\"\n endmenu\n \n+menu \"Security\"\n+source \"package/sepolgen/Config.in\"\n+endmenu\n+\n menu \"Shell and utilities\"\n source \"package/at/Config.in\"\n if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS\ndiff --git a/package/sepolgen/Config.in b/package/sepolgen/Config.in\nnew file mode 100644\nindex 0000000..d7d0d37\n--- /dev/null\n+++ b/package/sepolgen/Config.in\n@@ -0,0 +1,14 @@\n+config BR2_PACKAGE_SEPOLGEN\n+\tbool \"sepolgen\"\n+\tselect BR2_PACKAGE_PYTHON\n+\tdepends on BR2_USE_WCHAR # python\n+\tdepends on BR2_USE_MMU # python\n+\thelp\n+\t  sepolgen is a python module/library that forms the core\n+\t  of the modern audit2allow (a rewrite).\n+\n+\t  http://selinuxproject.org/page/Main_Page\n+\n+comment \"sepolgen needs a toolchain w/ wchar\"\n+\tdepends on BR2_USE_MMU\n+\tdepends on !BR2_USE_WCHAR\ndiff --git a/package/sepolgen/sepolgen.mk b/package/sepolgen/sepolgen.mk\nnew file mode 100644\nindex 0000000..099c9d0\n--- /dev/null\n+++ b/package/sepolgen/sepolgen.mk\n@@ -0,0 +1,31 @@\n+################################################################################\n+#\n+# sepolgen\n+#\n+################################################################################\n+\n+SEPOLGEN_VERSION = 1.1.9\n+SEPOLGEN_SITE = http://userspace.selinuxproject.org/releases/20130423/\n+SEPOLGEN_LICENSE = GPLv2\n+SEPOLGEN_LICENSE_FILES = COPYING\n+\n+SEPOLGEN_DEPENDENCIES = python\n+\n+SEPOLGEN_INSTALL_STAGING = YES\n+\n+SEPOLGEN_MAKE_CMDS = $(TARGET_CONFIGURE_OPTS) \\\n+\tPYTHONLIBDIR=/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages\n+\n+define SEPOLGEN_BUILD_CMDS\n+\t$(MAKE) -C $(@D) $(SEPOLGEN_MAKE_CMDS) DESTDIR=$(STAGING_DIR)\n+endef\n+\n+define SEPOLGEN_INSTALL_STAGING_CMDS\n+\t$(MAKE) -C $(@D) install $(SEPOLGEN_MAKE_CMDS) DESTDIR=$(STAGING_DIR)\n+endef\n+\n+define SEPOLGEN_INSTALL_TARGET_CMDS\n+\t$(MAKE) -C $(@D) install $(SEPOLGEN_MAKE_CMDS) DESTDIR=$(TARGET_DIR)\n+endef\n+\n+$(eval $(generic-package))\n",
    "prefixes": [
        "v5",
        "07/20"
    ]
}