get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 303715,
    "url": "http://patchwork.ozlabs.org/api/patches/303715/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/1387485489-4186-14-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-14-git-send-email-clshotwe@rockwellcollins.com>",
    "list_archive_url": null,
    "date": "2013-12-19T20:38:02",
    "name": "[v5,13/20] python-pyxml: new package",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": false,
    "hash": "baa208faaec628c96cd8a009bd85ba5c3c5e2811",
    "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-14-git-send-email-clshotwe@rockwellcollins.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/303715/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/303715/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 hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133])\n\tby ozlabs.org (Postfix) with ESMTP id 42D082C0079\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 20 Dec 2013 07:38:38 +1100 (EST)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 9CE6093C3F;\n\tThu, 19 Dec 2013 20:38:37 +0000 (UTC)",
            "from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id cmrsax8w8YxC; Thu, 19 Dec 2013 20:38:36 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 965DF93D3A;\n\tThu, 19 Dec 2013 20:38:36 +0000 (UTC)",
            "from whitealder.osuosl.org (whitealder.osuosl.org\n\t[140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id 0F65E1BF99B\n\tfor <buildroot@lists.busybox.net>;\n\tThu, 19 Dec 2013 20:38:35 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 0FB918C5BE\n\tfor <buildroot@lists.busybox.net>;\n\tThu, 19 Dec 2013 20:38:35 +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 YbabjOEPd12c for <buildroot@lists.busybox.net>;\n\tThu, 19 Dec 2013 20:38:34 +0000 (UTC)",
            "from secvs02.rockwellcollins.com (secvs02.rockwellcollins.com\n\t[205.175.225.241])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id 5DCC08C318\n\tfor <buildroot@busybox.net>; Thu, 19 Dec 2013 20:38:34 +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:26 -0600",
            "from nyx ([131.198.63.11])\n\tby collinscrsmtp01.rockwellcollins.com (Lotus Domino Release 8.5.2FP2\n\tHF162) with ESMTP id 2013121914382544-2990155 ;\n\tThu, 19 Dec 2013 14:38:25 -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:38:02 -0600",
        "Message-Id": "<1387485489-4186-14-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:25 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:26 PM,\n\tSerialize complete at 12/19/2013 02:38:26 PM",
        "X-TNEFEvaluated": "1",
        "Cc": "Clayton Shotwell <clshotwe@rockwellcollins.com>",
        "Subject": "[Buildroot] [PATCH v5 13/20] python-pyxml: 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  - Changed to the new python infrastructure.\nChanges v3 -> v4:\n  - Correcting the download path (suggested by Thomas).\n  - Removed the clean commands.\nChanges v2 -> v3:\n  - No changes.\nChanges v1 -> v2:\n  - General cleanup to the mk file to conform to the standard format.\n---\n package/Config.in                  |    1 +\n package/python-pyxml/Config.in     |   11 ++++++++\n package/python-pyxml/python-xml.mk |   50 ++++++++++++++++++++++++++++++++++++\n 3 files changed, 62 insertions(+), 0 deletions(-)\n create mode 100644 package/python-pyxml/Config.in\n create mode 100644 package/python-pyxml/python-xml.mk",
    "diff": "diff --git a/package/Config.in b/package/Config.in\nindex 7cdcaab..3d9fb19 100644\n--- a/package/Config.in\n+++ b/package/Config.in\n@@ -410,6 +410,7 @@ source \"package/python-pysnmp/Config.in\"\n source \"package/python-pysnmp-apps/Config.in\"\n source \"package/python-pysnmp-mibs/Config.in\"\n source \"package/python-pyusb/Config.in\"\n+source \"package/python-pyxml/Config.in\"\n source \"package/python-pyzmq/Config.in\"\n source \"package/python-serial/Config.in\"\n source \"package/python-setuptools/Config.in\"\ndiff --git a/package/python-pyxml/Config.in b/package/python-pyxml/Config.in\nnew file mode 100644\nindex 0000000..420f3ad\n--- /dev/null\n+++ b/package/python-pyxml/Config.in\n@@ -0,0 +1,11 @@\n+config BR2_PACKAGE_PYTHON_PYXML\n+\tbool \"python-pyxml\"\n+\tdepends on BR2_PACKAGE_PYTHON\n+\thelp\n+\t  This is the Python XML package.  The distribution contains a\n+\t  validating XML parser, an implementation of the SAX and DOM\n+\t  programming interfaces, an interface to the Expat parser (and the\n+\t  Expat parser itself), and a C helper module that can speed up\n+\t  xmllib.py by a factor of 5.  There's even documentation!\n+\n+\t  http://pyxml.sourceforge.net/topics/index.html\ndiff --git a/package/python-pyxml/python-xml.mk b/package/python-pyxml/python-xml.mk\nnew file mode 100644\nindex 0000000..bdf6a71\n--- /dev/null\n+++ b/package/python-pyxml/python-xml.mk\n@@ -0,0 +1,50 @@\n+################################################################################\n+#\n+# python-pyxml\n+#\n+################################################################################\n+\n+PYTHON_PYXML_VERSION = 0.8.4\n+PYTHON_PYXML_SOURCE  = PyXML-$(PYTHON_PYXML_VERSION).tar.gz\n+PYTHON_PYXML_SITE    = http://downloads.sourceforge.net/project/pyxml/pyxml/0.8.4/\n+PYTHON_PYXML_LICENSE = BSD-3c\n+PYTHON_PYXML_LICENSE_FILES = LICENSE\n+\n+PYTHON_PYXML_DEPENDENCIES = host-python python expat\n+\n+PYTHON_PYXML_INSTALL_STAGING = NO\n+\n+define PYTHON_PYXML_BUILD_CMDS\n+\t(cd $(@D); \\\n+\t\tCC=\"$(TARGET_CC)\" \\\n+\t\tCFLAGS=\"$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include\" \\\n+\t\tLDSHARED=\"$(TARGET_CC) -shared\" \\\n+\t\tLDFLAGS=\"$(TARGET_LDFLAGS) -L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib\" \\\n+\t\t$(HOST_DIR)/usr/bin/python setup.py build_ext \\\n+\t\t--include-dirs=$(STAGING_DIR)/usr/include/python$(PYTHON_VERSION_MAJOR) \\\n+\t\t--with-libexpat=$(STAGING_DIR)/usr \\\n+\t)\n+\t(cd $(@D); $(HOST_DIR)/usr/bin/python setup.py build)\n+endef\n+\n+define PYTHON_PYXML_INSTALL_STAGING_CMDS\n+\t(cd $(@D); $(HOST_DIR)/usr/bin/python setup.py install --prefix=$(STAGING_DIR)/usr)\n+endef\n+\n+define PYTHON_PYXML_INSTALL_TARGET_CMDS\n+\t(cd $(@D); $(HOST_DIR)/usr/bin/python setup.py install --prefix=$(TARGET_DIR)/usr)\n+endef\n+\n+HOST_PYTHON_PYXML_DEPENDENCIES = host-python\n+\n+define HOST_PYTHON_PYXML_BUILD_CMDS\n+\t(cd $(@D); $(HOST_DIR)/usr/bin/python setup.py build_ext --with-libexpat=$(HOST_DIR)/usr)\n+\t(cd $(@D); $(HOST_DIR)/usr/bin/python setup.py build)\n+endef\n+\n+define HOST_PYTHON_PYXML_INSTALL_CMDS\n+\t(cd $(@D); $(HOST_DIR)/usr/bin/python setup.py install --prefix=$(HOST_DIR)/usr)\n+endef\n+\n+$(eval $(generic-package))\n+$(eval $(host-generic-package))\n",
    "prefixes": [
        "v5",
        "13/20"
    ]
}