get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 808273,
    "url": "http://patchwork.ozlabs.org/api/patches/808273/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/1504192688-56951-1-git-send-email-sam.voss@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": "<1504192688-56951-1-git-send-email-sam.voss@rockwellcollins.com>",
    "list_archive_url": null,
    "date": "2017-08-31T15:18:08",
    "name": "[V2,1/1] package/strongswan: Install libraries to /usr/lib",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "dfbc0244e5092825a1734cdb902d317c0e67ee68",
    "submitter": {
        "id": 72120,
        "url": "http://patchwork.ozlabs.org/api/people/72120/?format=api",
        "name": "Sam Voss",
        "email": "sam.voss@rockwellcollins.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/1504192688-56951-1-git-send-email-sam.voss@rockwellcollins.com/mbox/",
    "series": [
        {
            "id": 846,
            "url": "http://patchwork.ozlabs.org/api/series/846/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=846",
            "date": "2017-08-31T15:18:08",
            "name": "[V2,1/1] package/strongswan: Install libraries to /usr/lib",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/846/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/808273/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/808273/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.138; helo=whitealder.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)",
        "Received": [
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\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 3xjmGr6SXVz9s7c\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  1 Sep 2017 01:18:28 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id B1C0586D73;\n\tThu, 31 Aug 2017 15:18:23 +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 qt05U2nw7gjk; Thu, 31 Aug 2017 15:18:21 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id A693086DC4;\n\tThu, 31 Aug 2017 15:18:21 +0000 (UTC)",
            "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id 7BE751C2956\n\tfor <buildroot@lists.busybox.net>;\n\tThu, 31 Aug 2017 15:18:20 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 43A18895E3\n\tfor <buildroot@lists.busybox.net>;\n\tThu, 31 Aug 2017 15:18:20 +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 VA1SRmELsyvp for <buildroot@lists.busybox.net>;\n\tThu, 31 Aug 2017 15:18:19 +0000 (UTC)",
            "from ch3vs04.rockwellcollins.com (ch3vs04.rockwellcollins.com\n\t[205.175.226.52])\n\tby hemlock.osuosl.org (Postfix) with ESMTPS id 3462189556\n\tfor <buildroot@buildroot.org>; Thu, 31 Aug 2017 15:18:19 +0000 (UTC)",
            "from ofwch3n02.rockwellcollins.com (HELO\n\tciulimr02.rockwellcollins.com) ([205.175.226.14])\n\tby ch3vs04.rockwellcollins.com with ESMTP; 31 Aug 2017 10:18:18 -0500"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6",
        "X-Received": "from largo.rockwellcollins.com (unknown [192.168.140.76])\n\tby ciulimr02.rockwellcollins.com (Postfix) with ESMTP id C7F762006B; \n\tThu, 31 Aug 2017 10:18:17 -0500 (CDT)",
        "From": "Sam Voss <sam.voss@rockwellcollins.com>",
        "To": "buildroot@buildroot.org",
        "Date": "Thu, 31 Aug 2017 10:18:08 -0500",
        "Message-Id": "<1504192688-56951-1-git-send-email-sam.voss@rockwellcollins.com>",
        "X-Mailer": "git-send-email 1.9.1",
        "Cc": "Sam Voss <sam.voss@rockwellcollins.com>",
        "Subject": "[Buildroot] [V2 1/1] package/strongswan: Install libraries to\n\t/usr/lib",
        "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": "Install strongswan ipsec libraries into /usr/lib instead of\n/usr/lib/ipsec in an effort to not need a custom RPATH for this package.\n\nSigned-off-by: Sam Voss <sam.voss@rockwellcollins.com>\n\n--\n\nv1->v2\n\nSpecify plugindir and imcvdir to keep default values to avoid them\nmoving when ipseclibdir changes.\n---\n package/strongswan/strongswan.mk | 5 ++++-\n 1 file changed, 4 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/package/strongswan/strongswan.mk b/package/strongswan/strongswan.mk\nindex 1070eea..9fccd99 100644\n--- a/package/strongswan/strongswan.mk\n+++ b/package/strongswan/strongswan.mk\n@@ -36,7 +36,10 @@ STRONGSWAN_CONF_OPTS += \\\n \t--enable-scepclient=$(if $(BR2_PACKAGE_STRONGSWAN_SCEP),yes,no) \\\n \t--enable-scripts=$(if $(BR2_PACKAGE_STRONGSWAN_SCRIPTS),yes,no) \\\n \t--enable-vici=$(if $(BR2_PACKAGE_STRONGSWAN_VICI),yes,no) \\\n-\t--enable-swanctl=$(if $(BR2_PACKAGE_STRONGSWAN_VICI),yes,no)\n+\t--enable-swanctl=$(if $(BR2_PACKAGE_STRONGSWAN_VICI),yes,no) \\\n+\t--with-ipseclibdir=/usr/lib \\\n+\t--with-plugindir=/usr/lib/ipsec/plugins \\\n+\t--with-imcvdir=/usr/lib/ipsec/imcvs\n \n ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)\n STRONGSWAN_CONF_ENV += LIBS='-latomic'\n",
    "prefixes": [
        "V2",
        "1/1"
    ]
}