get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 807861,
    "url": "http://patchwork.ozlabs.org/api/patches/807861/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/1504120538-9309-2-git-send-email-chugh.ishani@research.iiit.ac.in/",
    "project": {
        "id": 14,
        "url": "http://patchwork.ozlabs.org/api/projects/14/?format=api",
        "name": "QEMU Development",
        "link_name": "qemu-devel",
        "list_id": "qemu-devel.nongnu.org",
        "list_email": "qemu-devel@nongnu.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<1504120538-9309-2-git-send-email-chugh.ishani@research.iiit.ac.in>",
    "list_archive_url": null,
    "date": "2017-08-30T19:15:36",
    "name": "[1/3] Backup Tool: Manpage for Incremental Backup",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "1708e2e3074c37ca5bd2c2d83205a91a7b2a501f",
    "submitter": {
        "id": 71382,
        "url": "http://patchwork.ozlabs.org/api/people/71382/?format=api",
        "name": "Ishani",
        "email": "chugh.ishani@research.iiit.ac.in"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/1504120538-9309-2-git-send-email-chugh.ishani@research.iiit.ac.in/mbox/",
    "series": [
        {
            "id": 688,
            "url": "http://patchwork.ozlabs.org/api/series/688/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=688",
            "date": "2017-08-30T19:15:36",
            "name": "[1/3] Backup Tool: Manpage for Incremental Backup",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/688/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/807861/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/807861/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=nongnu.org\n\t(client-ip=2001:4830:134:3::11; helo=lists.gnu.org;\n\tenvelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=research.iiit.ac.in\n\theader.i=@research.iiit.ac.in header.b=\"Kh8VkTpj\"; \n\tdkim-atps=neutral"
        ],
        "Received": [
            "from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11])\n\t(using TLSv1 with cipher AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xjFcC6Qn4z9t2Z\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 31 Aug 2017 05:16:43 +1000 (AEST)",
            "from localhost ([::1]:52301 helo=lists.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.71) (envelope-from\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>)\n\tid 1dn8Tg-0007mU-FV\n\tfor incoming@patchwork.ozlabs.org; Wed, 30 Aug 2017 15:16:40 -0400",
            "from eggs.gnu.org ([2001:4830:134:3::10]:40634)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <chugh.ishani@research.iiit.ac.in>)\n\tid 1dn8T1-0007l0-7P\n\tfor qemu-devel@nongnu.org; Wed, 30 Aug 2017 15:16:00 -0400",
            "from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <chugh.ishani@research.iiit.ac.in>)\n\tid 1dn8Sy-000827-So\n\tfor qemu-devel@nongnu.org; Wed, 30 Aug 2017 15:15:59 -0400",
            "from research.iiit.ac.in ([196.12.53.8]:45862)\n\tby eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)\n\t(Exim 4.71) (envelope-from <chugh.ishani@research.iiit.ac.in>)\n\tid 1dn8Sx-000809-CA\n\tfor qemu-devel@nongnu.org; Wed, 30 Aug 2017 15:15:56 -0400",
            "from localhost (localhost [127.0.0.1])\n\tby research.iiit.ac.in (Postfix) with ESMTP id B293D744E33;\n\tThu, 31 Aug 2017 00:45:50 +0530 (IST)",
            "from research.iiit.ac.in ([127.0.0.1])\n\tby localhost (research.iiit.ac.in [127.0.0.1]) (amavisd-new,\n\tport 10032)\n\twith ESMTP id LTtLKCfEgNmN; Thu, 31 Aug 2017 00:45:49 +0530 (IST)",
            "from localhost (localhost [127.0.0.1])\n\tby research.iiit.ac.in (Postfix) with ESMTP id 6862C744E3E;\n\tThu, 31 Aug 2017 00:45:49 +0530 (IST)",
            "from research.iiit.ac.in ([127.0.0.1])\n\tby localhost (research.iiit.ac.in [127.0.0.1]) (amavisd-new,\n\tport 10026)\n\twith ESMTP id YqhtswiG2jmP; Thu, 31 Aug 2017 00:45:49 +0530 (IST)",
            "from ishani-Inspiron-5558.iiit.ac.in (unknown [10.2.20.52])\n\tby research.iiit.ac.in (Postfix) with ESMTPSA id 54346744E33;\n\tThu, 31 Aug 2017 00:45:49 +0530 (IST)"
        ],
        "DKIM-Filter": "OpenDKIM Filter v2.9.2 research.iiit.ac.in 6862C744E3E",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=research.iiit.ac.in; \n\ts=4E8815E6-5B55-11E4-B758-8D4964374E96; t=1504120549;\n\tbh=3K/o5+8SwEQifN9wnHZDUeD5+jRdA9Lsp9nssfoRrjw=;\n\th=From:To:Subject:Date:Message-Id;\n\tb=Kh8VkTpjPDtEaKaNHLxg2U27jslo67nrrX9aOK0AB2awb7OXf9PrqLWwyW9SJMFcA\n\tQUFJpY4cQTevvCrblZkeDKMgO9XNMX8G529i0nBc9KCzy996mkXQxLVULTpXVaJwrH\n\tCj0660QsFNyDMVhSWLMX4DY80TIgpi9eSbqMlDCg=",
        "X-Virus-Scanned": "amavisd-new at research.iiit.ac.in",
        "From": "Ishani Chugh <chugh.ishani@research.iiit.ac.in>",
        "To": "qemu-devel@nongnu.org",
        "Date": "Thu, 31 Aug 2017 00:45:36 +0530",
        "Message-Id": "<1504120538-9309-2-git-send-email-chugh.ishani@research.iiit.ac.in>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1504120538-9309-1-git-send-email-chugh.ishani@research.iiit.ac.in>",
        "References": "<1504120538-9309-1-git-send-email-chugh.ishani@research.iiit.ac.in>",
        "X-detected-operating-system": "by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]\n\t[fuzzy]",
        "X-Received-From": "196.12.53.8",
        "Subject": "[Qemu-devel] [PATCH 1/3] Backup Tool: Manpage for Incremental Backup",
        "X-BeenThere": "qemu-devel@nongnu.org",
        "X-Mailman-Version": "2.1.21",
        "Precedence": "list",
        "List-Id": "<qemu-devel.nongnu.org>",
        "List-Unsubscribe": "<https://lists.nongnu.org/mailman/options/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.nongnu.org/archive/html/qemu-devel/>",
        "List-Post": "<mailto:qemu-devel@nongnu.org>",
        "List-Help": "<mailto:qemu-devel-request@nongnu.org?subject=help>",
        "List-Subscribe": "<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=subscribe>",
        "Cc": "Ishani Chugh <chugh.ishani@research.iiit.ac.in>, jsnow@redhat.com,\n\tstefanha@redhat.com",
        "Errors-To": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org",
        "Sender": "\"Qemu-devel\"\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>"
    },
    "content": "Adds command description to perform incremental backup and\na full example for the same.\n\nSigned-off-by: Ishani Chugh <chugh.ishani@research.iiit.ac.in>\n---\n contrib/backup/qemu-backup.texi | 18 ++++++++++++++++++\n 1 file changed, 18 insertions(+)",
    "diff": "diff --git a/contrib/backup/qemu-backup.texi b/contrib/backup/qemu-backup.texi\nindex 7ad266c..8e5cb86 100644\n--- a/contrib/backup/qemu-backup.texi\n+++ b/contrib/backup/qemu-backup.texi\n@@ -58,6 +58,7 @@ qemu-backup command [command options].\n @item qemu-backup restore --guest guestname\n @item qemu-backup guest remove --guest guestname\n @item qemu-backup drive remove --guest guestname --id driveid\n+@item qemu-backup backup --inc --guest guestname\n @end itemize\n @node  Command Parameters\n @chapter  Command Parameters\n@@ -67,6 +68,7 @@ qemu-backup command [command options].\n @item --id: id of guest or drive.\n @item --qmp: Path of qmp socket.\n @item --target: Destination path on which you want your backup to be made.\n+@item --inc: incremental backup (Optional).\n @end itemize\n \n @node  Command Descriptions\n@@ -119,6 +121,11 @@ This command helps remove a drive which is set for backup in configuration of gi\n \n example: drive remove --guest=fedora --id=root\n \n+@item qemu-backup backup --inc --guest guestname\n+This command is used for making incremental backup.\n+\n+example: qemu-backup backup --inc --guest fedora\n+\n @item A full backup can be performed by following the given steps:\n \n Perform a full backup of 'vm001', which has one drive:\n@@ -129,6 +136,17 @@ qemu-backup add --id drive0 --guest vm001 --target /backups/vm001-drive0.img\n \n qemu-backup backup --guest vm001\n \n+@item An incremental backup can be performed by following the given steps:\n+\n+Perform an incremental backup of 'vm001', which has one drive:\n+\n+qemu-backup guest add --guest vm001 --qmp /path/to/vm001.sock\n+\n+qemu-backup add --id drive0 --guest vm001 --target /backups/vm001-drive0.img\n+\n+qemu-backup backup --inc --guest vm001\n+\n+qemu-backup backup --inc --guest vm001\n \n @end itemize\n \n",
    "prefixes": [
        "1/3"
    ]
}