get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 812094,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/812094/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20170910104036.19763-1-eric.le.bihan.dev@free.fr/",
    "project": {
        "id": 27,
        "url": "http://patchwork.ozlabs.org/api/1.2/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": "<20170910104036.19763-1-eric.le.bihan.dev@free.fr>",
    "list_archive_url": null,
    "date": "2017-09-10T10:40:36",
    "name": "smack: bump version to 1.3.1",
    "commit_ref": "87530ef9e1a124d7b86d72e473439b85a688541d",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "c9e1990a01a631caaa7288aac77ae63e185a30fb",
    "submitter": {
        "id": 37463,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/37463/?format=api",
        "name": "Eric Le Bihan",
        "email": "eric.le.bihan.dev@free.fr"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20170910104036.19763-1-eric.le.bihan.dev@free.fr/mbox/",
    "series": [
        {
            "id": 2382,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/2382/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=2382",
            "date": "2017-09-10T10:40:36",
            "name": "smack: bump version to 1.3.1",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/2382/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/812094/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/812094/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 3xqndp3Rxmz9ryT\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun, 10 Sep 2017 20:40:46 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 299EB8832F;\n\tSun, 10 Sep 2017 10:40:44 +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 eS64w4R3eMXD; Sun, 10 Sep 2017 10:40:43 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 207858829A;\n\tSun, 10 Sep 2017 10:40:43 +0000 (UTC)",
            "from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\tby ash.osuosl.org (Postfix) with ESMTP id 41D011C40B0\n\tfor <buildroot@lists.busybox.net>;\n\tSun, 10 Sep 2017 10:40:42 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 39F872D2A6\n\tfor <buildroot@lists.busybox.net>;\n\tSun, 10 Sep 2017 10:40:42 +0000 (UTC)",
            "from silver.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id DwNsIJqF+J4s for <buildroot@lists.busybox.net>;\n\tSun, 10 Sep 2017 10:40:41 +0000 (UTC)",
            "from smtp6-g21.free.fr (smtp6-g21.free.fr [212.27.42.6])\n\tby silver.osuosl.org (Postfix) with ESMTPS id E70512C899\n\tfor <buildroot@buildroot.org>; Sun, 10 Sep 2017 10:40:40 +0000 (UTC)",
            "from localhost.localdomain (unknown [169.50.62.100])\n\t(Authenticated sender: eric.le.bihan.dev)\n\tby smtp6-g21.free.fr (Postfix) with ESMTPSA id BDA6A780340\n\tfor <buildroot@buildroot.org>; Sun, 10 Sep 2017 12:40:37 +0200 (CEST)"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "whitelisted by SQLgrey-1.7.6",
        "From": "Eric Le Bihan <eric.le.bihan.dev@free.fr>",
        "To": "buildroot@buildroot.org",
        "Date": "Sun, 10 Sep 2017 05:40:36 -0500",
        "Message-Id": "<20170910104036.19763-1-eric.le.bihan.dev@free.fr>",
        "X-Mailer": "git-send-email 2.13.5",
        "Subject": "[Buildroot] [PATCH] smack: bump version to 1.3.1",
        "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: Eric Le Bihan <eric.le.bihan.dev@free.fr>\n---\n ...ck-common.c-Include-limits.h-for-PATH_MAX.patch | 29 ----------------------\n package/smack/smack.hash                           |  2 +-\n package/smack/smack.mk                             |  4 +--\n 3 files changed, 3 insertions(+), 32 deletions(-)\n delete mode 100644 package/smack/0001-libsmack-common.c-Include-limits.h-for-PATH_MAX.patch",
    "diff": "diff --git a/package/smack/0001-libsmack-common.c-Include-limits.h-for-PATH_MAX.patch b/package/smack/0001-libsmack-common.c-Include-limits.h-for-PATH_MAX.patch\ndeleted file mode 100644\nindex 0e30ef5e39..0000000000\n--- a/package/smack/0001-libsmack-common.c-Include-limits.h-for-PATH_MAX.patch\n+++ /dev/null\n@@ -1,29 +0,0 @@\n-From 316c911aa741b14513622a4206ed6d324e951fa0 Mon Sep 17 00:00:00 2001\n-From: Felix Janda <felix.janda@posteo.de>\n-Date: Wed, 20 May 2015 21:25:22 +0200\n-Subject: [PATCH 1/1] libsmack/common.c: Include <limits.h> for PATH_MAX\n-\n-Signed-off-by: Felix Janda <felix.janda@posteo.de>\n-Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>\n----\n-Downloaded from upstream commit\n-https://github.com/smack-team/smack/commit/316c911aa741b14513622a4206ed6d324e951fa0\n-\n- libsmack/common.c | 1 +\n- 1 file changed, 1 insertion(+)\n-\n-diff --git a/libsmack/common.c b/libsmack/common.c\n-index 55fee1a..55b59e3 100644\n---- a/libsmack/common.c\n-+++ b/libsmack/common.c\n-@@ -22,6 +22,7 @@\n- #include <dirent.h>\n- #include <errno.h>\n- #include <fcntl.h>\n-+#include <limits.h>\n- #include <stdio.h>\n- #include <string.h>\n- #include <unistd.h>\n--- \n-2.7.0\n-\ndiff --git a/package/smack/smack.hash b/package/smack/smack.hash\nindex fd51249811..2c1f446250 100644\n--- a/package/smack/smack.hash\n+++ b/package/smack/smack.hash\n@@ -1,2 +1,2 @@\n # Locally computed\n-sha256  94dc21b4a5e570af0eb44debf57491170cccdbf60e03b5a3210f2a14d6448390  smack-v1.1.0.tar.gz\n+sha256 1a607da3b1a661dc76b7a5b8571f4a2d56b4d61d78376088d19f2d8637dc6822  smack-1.3.1.tar.gz\ndiff --git a/package/smack/smack.mk b/package/smack/smack.mk\nindex 7a4c72296b..d2ac005ab9 100644\n--- a/package/smack/smack.mk\n+++ b/package/smack/smack.mk\n@@ -4,8 +4,8 @@\n #\n ################################################################################\n \n-SMACK_VERSION = v1.1.0\n-SMACK_SITE = $(call github,smack-team,smack,$(SMACK_VERSION))\n+SMACK_VERSION = 1.3.1\n+SMACK_SITE = $(call github,smack-team,smack,v$(SMACK_VERSION))\n SMACK_LICENSE = LGPL-2.1\n SMACK_LICENSE_FILES = COPYING\n SMACK_INSTALL_STAGING = YES\n",
    "prefixes": []
}