get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 809123,
    "url": "http://patchwork.ozlabs.org/api/patches/809123/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20170902165642.22943-12-francois.perrad@gadz.org/",
    "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": "<20170902165642.22943-12-francois.perrad@gadz.org>",
    "list_archive_url": null,
    "date": "2017-09-02T16:56:42",
    "name": "[12/12] wsapi-fcgi: new package",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "c3790499ef6cfb50bcaa6a487e428fdcdb577789",
    "submitter": {
        "id": 15376,
        "url": "http://patchwork.ozlabs.org/api/people/15376/?format=api",
        "name": "Francois Perrad",
        "email": "fperrad@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20170902165642.22943-12-francois.perrad@gadz.org/mbox/",
    "series": [
        {
            "id": 1167,
            "url": "http://patchwork.ozlabs.org/api/series/1167/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=1167",
            "date": "2017-09-02T16:56:31",
            "name": "[01/12] cgilua: bump to version 5.2.1",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/1167/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/809123/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/809123/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"
        ],
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=busybox.net\n\t(client-ip=140.211.166.137; helo=fraxinus.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"oB1CRftX\"; dkim-atps=neutral"
        ],
        "Received": [
            "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xl2P43JGYz9t1G\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun,  3 Sep 2017 02:58:16 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id B73CE86FD6;\n\tSat,  2 Sep 2017 16:58:14 +0000 (UTC)",
            "from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id hv0Op7GvKyLE; Sat,  2 Sep 2017 16:58:13 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id DF36787072;\n\tSat,  2 Sep 2017 16:58:12 +0000 (UTC)",
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id E37C21C0412\n\tfor <buildroot@lists.busybox.net>;\n\tSat,  2 Sep 2017 16:57:59 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 70BC187E82\n\tfor <buildroot@lists.busybox.net>;\n\tSat,  2 Sep 2017 16:57:59 +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 OcAMA4Wexq-x for <buildroot@lists.busybox.net>;\n\tSat,  2 Sep 2017 16:57:58 +0000 (UTC)",
            "from mail-wm0-f50.google.com (mail-wm0-f50.google.com\n\t[74.125.82.50])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id D405187A4B\n\tfor <buildroot@busybox.net>; Sat,  2 Sep 2017 16:57:57 +0000 (UTC)",
            "by mail-wm0-f50.google.com with SMTP id 187so16203330wmn.1\n\tfor <buildroot@busybox.net>; Sat, 02 Sep 2017 09:57:57 -0700 (PDT)",
            "from localhost.localdomain (5.224.204.77.rev.sfr.net.\n\t[77.204.224.5]) by smtp.gmail.com with ESMTPSA id\n\tx69sm4501134wme.34.2017.09.02.09.57.54\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tSat, 02 Sep 2017 09:57:55 -0700 (PDT)"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=/Y0ujb33VxLdv476iKxEnyMjLVfT4XMqa6shEPBIkhM=;\n\tb=oB1CRftXFxP4HP0PP40JVA72wI1de4Tts2dYW/P+AteDnZuIVXCFQZsM/6tZ7kcn5a\n\tmF2AjiCC4MPjmuMSdGIiphOMmCPvXSXZA4bP8umwsHhQMmi9wHVA5vQpCUOaaNHGc9UW\n\tdbG/pLre9MkCxmEBTTqApWrBIMc1baQvxIwlTxfFv+46JEkbFgHvyS8UH2K3sJiNA1qY\n\t+l0gbKvM7EH50qCLvXDjlRIUtnJ6D8b8tzPtNThUMLResjO/O5FlKBhVDmmXkjgUsnBf\n\tmpfz2/7zvjwUcEMjxGvQT4S4Xp+KzRulaLWj6h+bpGz3yNBk3c0UJf92RFZumCBv+tUd\n\tLqpQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=/Y0ujb33VxLdv476iKxEnyMjLVfT4XMqa6shEPBIkhM=;\n\tb=HmK52r1qgk+XfHF2oP9H82cuU0O1tjWbai1PX15UIv7XOGrIXDmxpJjTq7/DpCk1/L\n\t8tKh/ArMSj2M3Agyjrdgcr0qDMWmAUz+WhiN3SqR/HIyawYKbzTJDC1Dh2rVg9ndY7UX\n\tdzoLu1RSX1QErH/CEzR7qsroTPZ3m8s1w6HXjjYCeQ4XOyv9npOwnxcZkvk71ponMcUc\n\tn1pcYCBLk77IkS5VNJpKHbpyw2iFh2TmEXCg1CEhT6I5ehBReuwMjwRe87M2ZTusI1uR\n\tEaTh0SLWRoefTbHj+PGrAtB7BE7tLZUWObGemRHioH4RUEW/8xKsKIZS3VZt07bun/7b\n\t6L8w==",
        "X-Gm-Message-State": "AHPjjUhFb5iCpVjusXLhsA+8ZwFiC0QACO7lcZD8grgM1sT/OV/3RDIe\n\tx9BpnU6kdgrKPVNd",
        "X-Google-Smtp-Source": "ADKCNb5TBCzPYDHX18Whdn7HJ1qfsOeFhW4oxqS2xQtHHTyER5ihY8QlhenyNctTxoukHWb/6KRuLQ==",
        "X-Received": "by 10.28.31.208 with SMTP id f199mr260251wmf.82.1504371476132;\n\tSat, 02 Sep 2017 09:57:56 -0700 (PDT)",
        "From": "Francois Perrad <fperrad@gmail.com>",
        "X-Google-Original-From": "Francois Perrad <francois.perrad@gadz.org>",
        "To": "buildroot@busybox.net",
        "Date": "Sat,  2 Sep 2017 18:56:42 +0200",
        "Message-Id": "<20170902165642.22943-12-francois.perrad@gadz.org>",
        "X-Mailer": "git-send-email 2.11.0",
        "In-Reply-To": "<20170902165642.22943-1-francois.perrad@gadz.org>",
        "References": "<20170902165642.22943-1-francois.perrad@gadz.org>",
        "Subject": "[Buildroot] [PATCH 12/12] wsapi-fcgi: new package",
        "X-BeenThere": "buildroot@busybox.net",
        "X-Mailman-Version": "2.1.18-1",
        "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\" <buildroot-bounces@busybox.net>"
    },
    "content": "Signed-off-by: Francois Perrad <francois.perrad@gadz.org>\n---\n package/Config.in                  |  1 +\n package/wsapi-fcgi/Config.in       | 11 +++++++++++\n package/wsapi-fcgi/wsapi-fcgi.hash |  2 ++\n package/wsapi-fcgi/wsapi-fcgi.mk   | 12 ++++++++++++\n 4 files changed, 26 insertions(+)\n create mode 100644 package/wsapi-fcgi/Config.in\n create mode 100644 package/wsapi-fcgi/wsapi-fcgi.hash\n create mode 100644 package/wsapi-fcgi/wsapi-fcgi.mk",
    "diff": "diff --git a/package/Config.in b/package/Config.in\nindex 5d7ec7f26..b826bdbc3 100644\n--- a/package/Config.in\n+++ b/package/Config.in\n@@ -605,6 +605,7 @@ menu \"Lua libraries/modules\"\n \tsource \"package/rings/Config.in\"\n \tsource \"package/turbolua/Config.in\"\n \tsource \"package/wsapi/Config.in\"\n+\tsource \"package/wsapi-fcgi/Config.in\"\n \tsource \"package/wsapi-xavante/Config.in\"\n \tsource \"package/xavante/Config.in\"\n endmenu\ndiff --git a/package/wsapi-fcgi/Config.in b/package/wsapi-fcgi/Config.in\nnew file mode 100644\nindex 000000000..634903836\n--- /dev/null\n+++ b/package/wsapi-fcgi/Config.in\n@@ -0,0 +1,11 @@\n+config BR2_PACKAGE_WSAPI_FCGI\n+\tbool \"wsapi-fcgi\"\n+\tdepends on BR2_USE_MMU # fork()\n+\tselect BR2_PACKAGE_LIBFCGI\n+\t# Runtime dependency only\n+\tselect BR2_PACKAGE_WSAPI\n+\thelp\n+\t  WSAPI is an API that abstracts the web server from Lua web\n+\t  applications. This is the rock that contains the FCGI module lfcgi.\n+\n+\t  http://keplerproject.github.com/wsapi/\ndiff --git a/package/wsapi-fcgi/wsapi-fcgi.hash b/package/wsapi-fcgi/wsapi-fcgi.hash\nnew file mode 100644\nindex 000000000..f82ce9cfc\n--- /dev/null\n+++ b/package/wsapi-fcgi/wsapi-fcgi.hash\n@@ -0,0 +1,2 @@\n+# locally computed hash\n+sha256 73dc200889bc185953cd3a7c5350c998c090f901fcd10771273b7a63a3ffcdcf  wsapi-fcgi-1.6.1-1.src.rock\ndiff --git a/package/wsapi-fcgi/wsapi-fcgi.mk b/package/wsapi-fcgi/wsapi-fcgi.mk\nnew file mode 100644\nindex 000000000..88daade5a\n--- /dev/null\n+++ b/package/wsapi-fcgi/wsapi-fcgi.mk\n@@ -0,0 +1,12 @@\n+################################################################################\n+#\n+# wsapi-fcgi\n+#\n+################################################################################\n+\n+WSAPI_FCGI_VERSION_MAJOR = 1.6.1\n+WSAPI_FCGI_VERSION = $(WSAPI_FCGI_VERSION_MAJOR)-1\n+WSAPI_FCGI_SUBDIR = wsapi-$(WSAPI_FCGI_VERSION_MAJOR)\n+WSAPI_FCGI_DEPENDENCIES = libfcgi\n+\n+$(eval $(luarocks-package))\n",
    "prefixes": [
        "12/12"
    ]
}