get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 303720,
    "url": "http://patchwork.ozlabs.org/api/patches/303720/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/1387485489-4186-5-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-5-git-send-email-clshotwe@rockwellcollins.com>",
    "list_archive_url": null,
    "date": "2013-12-19T20:37:53",
    "name": "[v5,04/20] bzip2: Add host build shared library installation",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": false,
    "hash": "3773a47a287c52da5f39fe9a128492efc1ef1098",
    "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-5-git-send-email-clshotwe@rockwellcollins.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/303720/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/303720/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 A27812C0079\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 20 Dec 2013 07:39:16 +1100 (EST)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id E82B38C95F;\n\tThu, 19 Dec 2013 20:39:15 +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 5-herQMpCxa5; Thu, 19 Dec 2013 20:39:12 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id B5F238C679;\n\tThu, 19 Dec 2013 20:38:46 +0000 (UTC)",
            "from whitealder.osuosl.org (whitealder.osuosl.org\n\t[140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id 26E6A1BF99B\n\tfor <buildroot@lists.busybox.net>;\n\tThu, 19 Dec 2013 20:38:39 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 28CEA8C318\n\tfor <buildroot@lists.busybox.net>;\n\tThu, 19 Dec 2013 20:38:39 +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 STUxHv86jdOy for <buildroot@lists.busybox.net>;\n\tThu, 19 Dec 2013 20:38:38 +0000 (UTC)",
            "from secvs01.rockwellcollins.com (secvs01.rockwellcollins.com\n\t[205.175.225.240])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id 65AEF89892\n\tfor <buildroot@busybox.net>; Thu, 19 Dec 2013 20:38:38 +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:18 -0600",
            "from nyx ([131.198.63.11])\n\tby collinscrsmtp01.rockwellcollins.com (Lotus Domino Release 8.5.2FP2\n\tHF162) with ESMTP id 2013121914381691-2990136 ;\n\tThu, 19 Dec 2013 14:38:16 -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:53 -0600",
        "Message-Id": "<1387485489-4186-5-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:17 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:17 PM,\n\tSerialize complete at 12/19/2013 02:38:17 PM",
        "X-TNEFEvaluated": "1",
        "Cc": "Clayton Shotwell <clshotwe@rockwellcollins.com>",
        "Subject": "[Buildroot] [PATCH v5 04/20] bzip2: Add host build shared library\n\tinstallation",
        "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  - No changes.\nChanges v2 -> v3:\n  - Changed order of patch to correct dependency issue (suggested by Thomas).\nChanges v1 -> v2:\n  - No changes\n---\n package/bzip2/bzip2.mk |    2 ++\n 1 files changed, 2 insertions(+), 0 deletions(-)",
    "diff": "diff --git a/package/bzip2/bzip2.mk b/package/bzip2/bzip2.mk\nindex fcddb55..a06e980 100644\n--- a/package/bzip2/bzip2.mk\n+++ b/package/bzip2/bzip2.mk\n@@ -61,6 +61,8 @@ endef\n define HOST_BZIP2_INSTALL_CMDS\n \t$(HOST_MAKE_ENV) \\\n \t\t$(MAKE) PREFIX=$(HOST_DIR)/usr -C $(@D) install\n+\t$(HOST_MAKE_ENV) $(MAKE) \\\n+\t\t-f Makefile-libbz2_so PREFIX=$(HOST_DIR)/usr -C $(@D) install\n endef\n \n $(eval $(generic-package))\n",
    "prefixes": [
        "v5",
        "04/20"
    ]
}