get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 812718,
    "url": "http://patchwork.ozlabs.org/api/patches/812718/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20170912083406.32085-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": "<20170912083406.32085-1-aleksander@aleksander.es>",
    "list_archive_url": null,
    "date": "2017-09-12T08:34:06",
    "name": "modem-manager: add COPYING.LIB to LICENSE_FILES",
    "commit_ref": "b9c46b3669154d64374fba61eafa06fa04059ee9",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "805e828e1a361b1caecc23db5a1e1e55010ac7c5",
    "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/20170912083406.32085-1-aleksander@aleksander.es/mbox/",
    "series": [
        {
            "id": 2630,
            "url": "http://patchwork.ozlabs.org/api/series/2630/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=2630",
            "date": "2017-09-12T08:34:06",
            "name": "modem-manager: add COPYING.LIB to LICENSE_FILES",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/2630/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/812718/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/812718/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.133; helo=hemlock.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=\"WN6cNxoM\"; dkim-atps=neutral"
        ],
        "Received": [
            "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\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 3xryl35YMPz9s81\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 12 Sep 2017 18:34:23 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id AADF989427;\n\tTue, 12 Sep 2017 08:34:19 +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 PePA+UHJOieP; Tue, 12 Sep 2017 08:34:18 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id F34C689407;\n\tTue, 12 Sep 2017 08:34:17 +0000 (UTC)",
            "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id E794C1BF238\n\tfor <buildroot@lists.busybox.net>;\n\tTue, 12 Sep 2017 08:34:16 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id D2B6689407\n\tfor <buildroot@lists.busybox.net>;\n\tTue, 12 Sep 2017 08:34:16 +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 pvEZjhTJQsBG for <buildroot@lists.busybox.net>;\n\tTue, 12 Sep 2017 08:34:14 +0000 (UTC)",
            "from mail-wm0-f66.google.com (mail-wm0-f66.google.com\n\t[74.125.82.66])\n\tby hemlock.osuosl.org (Postfix) with ESMTPS id 9C73289403\n\tfor <buildroot@buildroot.org>; Tue, 12 Sep 2017 08:34:14 +0000 (UTC)",
            "by mail-wm0-f66.google.com with SMTP id p17so8737950wmd.3\n\tfor <buildroot@buildroot.org>; Tue, 12 Sep 2017 01:34:14 -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\t109sm9185387wrc.25.2017.09.12.01.34.11\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tTue, 12 Sep 2017 01:34:11 -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=dKIXEE10bK5+U7YVsuSnK281i9o+Nbjuusw9sQxFLug=;\n\tb=WN6cNxoM4jQ55qfLLPiyzzgRfpG63xuWVQbPjImD55EXx6kRMU62IaryUsrWrDJSA4\n\t26lgGI4n/5OV7fhzPVirD1CAd7zqd1hHXaDc6732pnIBXGjp2iQZSGW8ejIPTFYurhrp\n\t8oE/l04SrQRLbMKmuXuNRgvPeqxb2C8aZgnm/7xwtg8NVvAeq7WZg4V4J3RZTQ/jqHdm\n\tYq+JjBvGjZ44ipb5DzjnXWaGd9cY9pzGyuSu3hWhvGAra/dBAMK3BGQ6Kmuosz9I5Pwl\n\tgEX7GzWuxjnZZCEIpcqyF90FozrrJGktbMcjdPiNRqltuCQb7J+x1qr+I2T3EUWZYLW2\n\tch/w==",
        "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=dKIXEE10bK5+U7YVsuSnK281i9o+Nbjuusw9sQxFLug=;\n\tb=mTQQD5zsdWyk6tjyhny1k35TslmrxhiseAl/qgZdNCuYj9XfaDmzpBJh6Si37w/dqv\n\t1UOQR/LyPTCQbigvaQvBUnbpiqQq16GPg72vkVFu+AKNJ4YicEbynWsGopQneK3v1t9D\n\tU/7bxH2ar9j7+O9O7kERcIuWnMKCk+8q4RKveV+Xb4SBhNt7dW+Q4NUczERvd1G71yxB\n\tI9fVoEW27pCbCOH5XsO/lHp0oN90Np8xR3lFOepWc9981uySIukJ+T8xdrl6BxvLjpL4\n\tRN+WEOSs0QjOZVRRAfuneUXyHySQPaElLxXdNtnfLwpBqw4HBlPDY49RaxBBYdZNFYVJ\n\t0pvQ==",
        "X-Gm-Message-State": "AHPjjUhhZB66uuQ0CtzAQHZPJN2lveCbkiabMjo23x5dqkwCzOfp2cqF\n\tXFHv/kRjn5IteiaeL44WT4KJuzIp8qI=",
        "X-Google-Smtp-Source": "AOwi7QAF55IB6F2l+Th4htQ2NT+QLdaTFpyaCUuioc8jo+Vf/rxfKfJL7VXVsECreA0gyTV9D0W7JA==",
        "X-Received": "by 10.28.59.215 with SMTP id i206mr9533887wma.116.1505205252737; \n\tTue, 12 Sep 2017 01:34:12 -0700 (PDT)",
        "From": "Aleksander Morgado <aleksander@aleksander.es>",
        "To": "buildroot@buildroot.org",
        "Date": "Tue, 12 Sep 2017 10:34:06 +0200",
        "Message-Id": "<20170912083406.32085-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] modem-manager: 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": "ModemManager and mmcli are GPLv2+ (COPYING file applies) and\nlibmm-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/modem-manager/modem-manager.hash | 2 ++\n package/modem-manager/modem-manager.mk   | 2 +-\n 2 files changed, 3 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/package/modem-manager/modem-manager.hash b/package/modem-manager/modem-manager.hash\nindex 83d45da5a..d94fda15f 100644\n--- a/package/modem-manager/modem-manager.hash\n+++ b/package/modem-manager/modem-manager.hash\n@@ -1,2 +1,4 @@\n # Locally computed\n sha256  ffc035c4bfeb07780c4580bb4488ade0ab1d197c3cdf89cb8ab36386cfb34376  ModemManager-1.6.8.tar.xz\n+sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  COPYING\n+sha256  dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551  COPYING.LIB\ndiff --git a/package/modem-manager/modem-manager.mk b/package/modem-manager/modem-manager.mk\nindex fe08033c7..65ad0961b 100644\n--- a/package/modem-manager/modem-manager.mk\n+++ b/package/modem-manager/modem-manager.mk\n@@ -8,7 +8,7 @@ MODEM_MANAGER_VERSION = 1.6.8\n MODEM_MANAGER_SOURCE = ModemManager-$(MODEM_MANAGER_VERSION).tar.xz\n MODEM_MANAGER_SITE = http://www.freedesktop.org/software/ModemManager\n MODEM_MANAGER_LICENSE = GPL-2.0+ (programs, plugins), LGPL-2.0+ (libmm-glib)\n-MODEM_MANAGER_LICENSE_FILES = COPYING\n+MODEM_MANAGER_LICENSE_FILES = COPYING COPYING.LIB\n MODEM_MANAGER_DEPENDENCIES = host-pkgconf host-intltool libglib2 libgudev\n MODEM_MANAGER_INSTALL_STAGING = YES\n \n",
    "prefixes": []
}