get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 807238,
    "url": "http://patchwork.ozlabs.org/api/patches/807238/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20170829191005.19697-4-bernd.kuhls@t-online.de/",
    "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": "<20170829191005.19697-4-bernd.kuhls@t-online.de>",
    "list_archive_url": null,
    "date": "2017-08-29T19:10:03",
    "name": "[4/6] package/libconfig: switch to github",
    "commit_ref": null,
    "pull_url": null,
    "state": "rejected",
    "archived": false,
    "hash": "fbda234107ba47a269d4e93db788a987b9f781d3",
    "submitter": {
        "id": 62613,
        "url": "http://patchwork.ozlabs.org/api/people/62613/?format=api",
        "name": "Bernd Kuhls",
        "email": "bernd.kuhls@t-online.de"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20170829191005.19697-4-bernd.kuhls@t-online.de/mbox/",
    "series": [
        {
            "id": 442,
            "url": "http://patchwork.ozlabs.org/api/series/442/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=442",
            "date": "2017-08-29T19:10:00",
            "name": "[1/6] package/dialog: fix upstream source URL",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/442/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/807238/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/807238/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>)",
        "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 3xhdX503vvz9sQl\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 30 Aug 2017 05:11:00 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 2EF2786879;\n\tTue, 29 Aug 2017 19:10:59 +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 wopNQ19f3e_f; Tue, 29 Aug 2017 19:10:58 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id AB4B686F89;\n\tTue, 29 Aug 2017 19:10:58 +0000 (UTC)",
            "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\tby ash.osuosl.org (Postfix) with ESMTP id ED67E1C08E3\n\tfor <buildroot@lists.busybox.net>;\n\tTue, 29 Aug 2017 19:10:53 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id E51C38730A\n\tfor <buildroot@lists.busybox.net>;\n\tTue, 29 Aug 2017 19:10:53 +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 I7Rvzpc4RLMm for <buildroot@lists.busybox.net>;\n\tTue, 29 Aug 2017 19:10:53 +0000 (UTC)",
            "from mailout10.t-online.de (mailout10.t-online.de [194.25.134.21])\n\tby fraxinus.osuosl.org (Postfix) with ESMTPS id 3962986879\n\tfor <buildroot@buildroot.org>; Tue, 29 Aug 2017 19:10:53 +0000 (UTC)",
            "from fwd33.aul.t-online.de (fwd33.aul.t-online.de [172.20.27.144])\n\tby mailout10.t-online.de (Postfix) with SMTP id 9E6AB41C5B28;\n\tTue, 29 Aug 2017 21:10:51 +0200 (CEST)",
            "from fli4l.lan.fli4l\n\t(Sr-CXrZDZh3xDDOdLD-vVrW6LcNepIyoKQh23aowfDHQwNHts1vaGWH8YAdWLUvgXz@[79.228.10.44])\n\tby fwd33.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted)\n\tesmtp id 1dmluQ-2JFeeu0; Tue, 29 Aug 2017 21:10:46 +0200",
            "from mahler.lan.fli4l ([192.168.1.1]:51160 helo=kuhls.lan.fli4l)\n\tby fli4l.lan.fli4l with esmtp (Exim 4.89)\n\t(envelope-from <bernd.kuhls@t-online.de>)\n\tid 1dmluO-0006LC-Ob; Tue, 29 Aug 2017 21:10:45 +0200"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6",
        "From": "Bernd Kuhls <bernd.kuhls@t-online.de>",
        "To": "buildroot@buildroot.org",
        "Date": "Tue, 29 Aug 2017 21:10:03 +0200",
        "Message-Id": "<20170829191005.19697-4-bernd.kuhls@t-online.de>",
        "X-Mailer": "git-send-email 2.11.0",
        "In-Reply-To": "<20170829191005.19697-1-bernd.kuhls@t-online.de>",
        "References": "<20170829191005.19697-1-bernd.kuhls@t-online.de>",
        "X-ID": "Sr-CXrZDZh3xDDOdLD-vVrW6LcNepIyoKQh23aowfDHQwNHts1vaGWH8YAdWLUvgXz",
        "X-TOI-MSGID": "181bea68-60bd-4e20-9954-bd880071a852",
        "Cc": "Maxime Hadjinlian <maxime.hadjinlian@gmail.com>",
        "Subject": "[Buildroot] [PATCH 4/6] package/libconfig: switch to github",
        "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": "The previous site does not provide the package anymore.\n\nSigned-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>\n---\n package/libconfig/libconfig.hash | 2 +-\n package/libconfig/libconfig.mk   | 4 ++--\n 2 files changed, 3 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/package/libconfig/libconfig.hash b/package/libconfig/libconfig.hash\nindex 30110cbbd..00d3bd6bd 100644\n--- a/package/libconfig/libconfig.hash\n+++ b/package/libconfig/libconfig.hash\n@@ -1,2 +1,2 @@\n # Locally computed:\n-sha256  e31daa390d8e4461c8830512fe2e13ba1a3d6a02a2305a02429eec61e68703f6  libconfig-1.5.tar.gz\n+sha256 cae5c02361d8a9b2bb26946c64f089d2e5e599972f386203fbc48975c0d885c8  libconfig-v1.5.tar.gz\ndiff --git a/package/libconfig/libconfig.mk b/package/libconfig/libconfig.mk\nindex ed7e40f16..26827f41d 100644\n--- a/package/libconfig/libconfig.mk\n+++ b/package/libconfig/libconfig.mk\n@@ -4,8 +4,8 @@\n #\n ################################################################################\n \n-LIBCONFIG_VERSION = 1.5\n-LIBCONFIG_SITE = http://www.hyperrealm.com/libconfig\n+LIBCONFIG_VERSION = v1.5\n+LIBCONFIG_SITE = $(call github,hyperrealm,libconfig,$(LIBCONFIG_VERSION))\n LIBCONFIG_LICENSE = LGPL-2.1+\n LIBCONFIG_LICENSE_FILES = COPYING.LIB\n LIBCONFIG_INSTALL_STAGING = YES\n",
    "prefixes": [
        "4/6"
    ]
}