get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 812723,
    "url": "http://patchwork.ozlabs.org/api/patches/812723/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20170912083902.2225-1-aleksander@aleksander.es/",
    "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": "<20170912083902.2225-1-aleksander@aleksander.es>",
    "list_archive_url": null,
    "date": "2017-09-12T08:39:02",
    "name": "libqmi: add COPYING.LIB to LICENSE_FILES",
    "commit_ref": "277d6354e096e4d613a690c2144a40fec9efb26a",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "75cd46d28c2799db0dfc9a47676d42001c84d8b6",
    "submitter": {
        "id": 48681,
        "url": "http://patchwork.ozlabs.org/api/people/48681/?format=api",
        "name": "Aleksander Morgado",
        "email": "aleksander@aleksander.es"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20170912083902.2225-1-aleksander@aleksander.es/mbox/",
    "series": [
        {
            "id": 2632,
            "url": "http://patchwork.ozlabs.org/api/series/2632/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=2632",
            "date": "2017-09-12T08:39:02",
            "name": "libqmi: add COPYING.LIB to LICENSE_FILES",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/2632/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/812723/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/812723/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=aleksander-es.20150623.gappssmtp.com\n\theader.i=@aleksander-es.20150623.gappssmtp.com\n\theader.b=\"BkTq7LXc\"; 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 3xryrk67Pbz9s7g\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 12 Sep 2017 18:39:18 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 1A8F8875AC;\n\tTue, 12 Sep 2017 08:39:13 +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 EpQ2Jzrnu1Rm; Tue, 12 Sep 2017 08:39:11 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 45431874ED;\n\tTue, 12 Sep 2017 08:39:11 +0000 (UTC)",
            "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\tby ash.osuosl.org (Postfix) with ESMTP id 86C5E1BF238\n\tfor <buildroot@lists.busybox.net>;\n\tTue, 12 Sep 2017 08:39:10 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 81D4E874ED\n\tfor <buildroot@lists.busybox.net>;\n\tTue, 12 Sep 2017 08:39:10 +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 z_o4xfbDoOZJ for <buildroot@lists.busybox.net>;\n\tTue, 12 Sep 2017 08:39:09 +0000 (UTC)",
            "from mail-wm0-f67.google.com (mail-wm0-f67.google.com\n\t[74.125.82.67])\n\tby fraxinus.osuosl.org (Postfix) with ESMTPS id 07402874EC\n\tfor <buildroot@buildroot.org>; Tue, 12 Sep 2017 08:39:09 +0000 (UTC)",
            "by mail-wm0-f67.google.com with SMTP id e64so8770826wmi.2\n\tfor <buildroot@buildroot.org>; Tue, 12 Sep 2017 01:39:08 -0700 (PDT)",
            "from localhost.localdomain\n\t(116.red-83-40-186.dynamicip.rima-tde.net. [83.40.186.116])\n\tby smtp.gmail.com with ESMTPSA id\n\tb72sm6388985wmf.30.2017.09.12.01.39.06\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tTue, 12 Sep 2017 01:39:06 -0700 (PDT)"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "from auto-whitelisted by SQLgrey-1.7.6",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=aleksander-es.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id;\n\tbh=n60Nn48YQgsTbZi/E0vUdcPZ1pMKGs0QAr4keYp/bYo=;\n\tb=BkTq7LXc4fJLdT0ZduqjsgzVWD6hf5AtYEAgZ/EDWuHtuaZiHXeErMoo1f1XXv74UE\n\tsTlgTQSfEYN7ufrvhN1uIkuXFbt/ok9gfNGElFpFbcad7uB+AmnXWUFzDvDx3V/4WxDM\n\tfsvjuktj0c4HqCcUNuTNNJMP6Ki/b535Inw+nQG9h5W942pkRXou/5Ju7VBxl6AHQKX1\n\tCCdIlbBiwBkVZK5hDla97y+lkaVYUcAB4h6uKIf6s6NNdh9qg7biYLcSrv9e4tnVx+rV\n\t8TRXeg7wXrtBDggBvKDXmiMs4kvFmcxfhtrBx4N6H98HIp/QmYIAEuMOY5bXLe7Wl/p7\n\t8LLw==",
        "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;\n\tbh=n60Nn48YQgsTbZi/E0vUdcPZ1pMKGs0QAr4keYp/bYo=;\n\tb=W38rabiUF6Z15NOZWm1kW1slquXbVKA1SztA15Pa3/xAIXh7Bq+hP4W/sPCQb1KwpM\n\thor8JnLow63sD/I49chSt1Zfq5Usjsqg6OHtRvCF1ihb1DjKTjNOvhl7UsKJv97jTI5/\n\tpd17edc/2CvBf+l3m7+G/PaHnTSNbOVgJHTXcPwNnx4SZqKjwJEG6ygJq/1a1tpT/wX0\n\t9wMuZDS/0AKBzX1ukGnM4uWR4T709sNEI5NywmUdKJIRb7jPcpD1/ZwuvcH/gqpQxGRl\n\t/Ue/isn2lIWLY+sPnH0JI87WcFsZhPuaPWpaYmQ5WQGXw0fhQkvayKwQvpNNePeSfMCd\n\tkVBA==",
        "X-Gm-Message-State": "AHPjjUj7Hy54l3GUbXBOqVCtP+/0fLJ2MkKuNCXU2W7Gmewn26g0jF7H\n\tvByusx1dYasgUu2tF/uztO3Exwo1swg=",
        "X-Google-Smtp-Source": "AOwi7QDk1Xfixrm5E/APn1eHTIDoOloWbayooa5KXhXEGMG/GNzm2bPr0gx8ijsCugZ2xITrud3f2w==",
        "X-Received": "by 10.28.111.196 with SMTP id c65mr9148752wmi.18.1505205547234; \n\tTue, 12 Sep 2017 01:39:07 -0700 (PDT)",
        "From": "Aleksander Morgado <aleksander@aleksander.es>",
        "To": "buildroot@buildroot.org",
        "Date": "Tue, 12 Sep 2017 10:39:02 +0200",
        "Message-Id": "<20170912083902.2225-1-aleksander@aleksander.es>",
        "X-Mailer": "git-send-email 2.13.1",
        "Cc": "thomas.petazzoni@free-electrons.com,\n\tAleksander Morgado <aleksander@aleksander.es>",
        "Subject": "[Buildroot] [PATCH] libqmi: add COPYING.LIB to LICENSE_FILES",
        "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": "qmicli, qmi-network and qmi-firmware-update are GPLv2+ (COPYING file\napplies) and libqmi-glib is LGPLv2.1+ (COPYING.LIB file applies).\n\nAlso, setup hashes of the license files, for a correct\n\"make legal-info\".\n\nSigned-off-by: Aleksander Morgado <aleksander@aleksander.es>\n---\n package/libqmi/libqmi.hash | 2 ++\n package/libqmi/libqmi.mk   | 2 +-\n 2 files changed, 3 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/package/libqmi/libqmi.hash b/package/libqmi/libqmi.hash\nindex 3f4015467..1c54231a9 100644\n--- a/package/libqmi/libqmi.hash\n+++ b/package/libqmi/libqmi.hash\n@@ -1,2 +1,4 @@\n # Locally computed:\n sha256 a0a42c55935e75a630208e2f70840bd4407f56fe1c5258f5b0f6c0aaedf88cec  libqmi-1.18.0.tar.xz\n+sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  COPYING\n+sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551  COPYING.LIB\ndiff --git a/package/libqmi/libqmi.mk b/package/libqmi/libqmi.mk\nindex 3a3d079a0..08875649a 100644\n--- a/package/libqmi/libqmi.mk\n+++ b/package/libqmi/libqmi.mk\n@@ -8,7 +8,7 @@ LIBQMI_VERSION = 1.18.0\n LIBQMI_SITE = http://www.freedesktop.org/software/libqmi\n LIBQMI_SOURCE = libqmi-$(LIBQMI_VERSION).tar.xz\n LIBQMI_LICENSE = LGPL-2.0+ (library), GPL-2.0+ (programs)\n-LIBQMI_LICENSE_FILES = COPYING\n+LIBQMI_LICENSE_FILES = COPYING COPYING.LIB\n LIBQMI_INSTALL_STAGING = YES\n # 0001-musl-compat-canonicalize_file_name.patch\n LIBQMI_AUTORECONF = YES\n",
    "prefixes": []
}