get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 804015,
    "url": "http://patchwork.ozlabs.org/api/patches/804015/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/hostap/patch/1503333385-15051-3-git-send-email-andrei.otcheretianski@intel.com/",
    "project": {
        "id": 22,
        "url": "http://patchwork.ozlabs.org/api/projects/22/?format=api",
        "name": "HostAP Development",
        "link_name": "hostap",
        "list_id": "hostap.lists.infradead.org",
        "list_email": "hostap@lists.infradead.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<1503333385-15051-3-git-send-email-andrei.otcheretianski@intel.com>",
    "list_archive_url": null,
    "date": "2017-08-21T16:36:23",
    "name": "tests: Use global control interface in autogo_m2d test",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "77ad685ce0d74999a4aa53af751cb781056c2c70",
    "submitter": {
        "id": 62065,
        "url": "http://patchwork.ozlabs.org/api/people/62065/?format=api",
        "name": "Andrei Otcheretianski",
        "email": "andrei.otcheretianski@intel.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/hostap/patch/1503333385-15051-3-git-send-email-andrei.otcheretianski@intel.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/804015/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/804015/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Authentication-Results": [
            "ozlabs.org; spf=none (mailfrom)\n\tsmtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133;\n\thelo=bombadil.infradead.org;\n\tenvelope-from=hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org header.b=\"frK3rSu0\"; \n\tdkim-atps=neutral"
        ],
        "Received": [
            "from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xbZYv3S2Fz9sNd\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 21 Aug 2017 23:40:03 +1000 (AEST)",
            "from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1djmvV-00019y-Fz; Mon, 21 Aug 2017 13:39:33 +0000",
            "from mga04.intel.com ([192.55.52.120])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1djmth-0008ID-62\n\tfor hostap@lists.infradead.org; Mon, 21 Aug 2017 13:39:07 +0000",
            "from fmsmga001.fm.intel.com ([10.253.24.23])\n\tby fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t21 Aug 2017 06:37:24 -0700",
            "from unknown (HELO andrei-XPS-12-9Q33.ger.corp.intel.com)\n\t([10.12.217.183])\n\tby fmsmga001.fm.intel.com with ESMTP; 21 Aug 2017 06:37:23 -0700"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe:\n\tList-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:\n\tSubject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date:\n\tResent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:\n\tReferences:List-Owner; bh=yGqV6OUcTpLnL5gvNLnD3Fgk2xszcprmA9qlo1GBPxk=;\n\tb=frK\n\t3rSu0ojndFqtVWrTbNNuhXKLiJPky3jH7Nfax03fD7go+Wxj5QrTfmUgnOTq7p+ERtmKAM3hGO0Eb\n\tI41AZd16/iwv9GihdqvRsPAW2fuyk7p4YvFxYeXcfGpfXnj408hgZWObBfWtOySPonzFo/GZ/+FJ+\n\tVkUC+0E3GCA/ukkaFG4aqa+8h04i0/9UMnwtAuJO0Z9eu4NfEPlSFDDPEWk7US8+2OORMIJ0C5H3B\n\tooV8REEnBuEx3teZHtKY3le9lRIFGrD1307+yCN4rVCchn+Z7ZlL9ykQPGOUwCYi/IGm5pwd7a26K\n\tH7+It7qZgf+1ksWY7LbsqBkD/qm0sfw==;",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos; i=\"5.41,409,1498546800\"; d=\"scan'208\";\n\ta=\"1186135967\"",
        "From": "Andrei Otcheretianski <andrei.otcheretianski@intel.com>",
        "To": "hostap@lists.infradead.org",
        "Subject": "[PATCH] tests: Use global control interface in autogo_m2d test",
        "Date": "Mon, 21 Aug 2017 19:36:23 +0300",
        "Message-Id": "<1503333385-15051-3-git-send-email-andrei.otcheretianski@intel.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ",
        "X-CRM114-CacheID": "sfid-20170821_063741_657144_032AA110 ",
        "X-CRM114-Status": "UNSURE (   6.04  )",
        "X-CRM114-Notice": "Please train this message.",
        "X-Spam-Score": "-4.2 (----)",
        "X-Spam-Report": "SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-4.2 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/,\n\tmedium trust [192.55.52.120 listed in list.dnswl.org]\n\t-0.0 SPF_PASS               SPF: sender matches SPF record\n\t-0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay\n\tdomain\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]",
        "X-BeenThere": "hostap@lists.infradead.org",
        "X-Mailman-Version": "2.1.21",
        "Precedence": "list",
        "List-Id": "<hostap.lists.infradead.org>",
        "List-Unsubscribe": "<http://lists.infradead.org/mailman/options/hostap>,\n\t<mailto:hostap-request@lists.infradead.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.infradead.org/pipermail/hostap/>",
        "List-Post": "<mailto:hostap@lists.infradead.org>",
        "List-Help": "<mailto:hostap-request@lists.infradead.org?subject=help>",
        "List-Subscribe": "<http://lists.infradead.org/mailman/listinfo/hostap>,\n\t<mailto:hostap-request@lists.infradead.org?subject=subscribe>",
        "Cc": "\"Aloni, Adiel\" <adiel.aloni@intel.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Sender": "\"Hostap\" <hostap-bounces@lists.infradead.org>",
        "Errors-To": "hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org"
    },
    "content": "From: \"Aloni, Adiel\" <adiel.aloni@intel.com>\n\nIf dedicated P2P device is used, SET p2p_no_group_iface 0 should be\ndirected to the P2P device.\n\nSigned-off-by: Adiel Aloni <adiel.aloni@intel.com>\n---\n tests/hwsim/test_p2p_autogo.py | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/tests/hwsim/test_p2p_autogo.py b/tests/hwsim/test_p2p_autogo.py\nindex 50a60df..3d154c3 100644\n--- a/tests/hwsim/test_p2p_autogo.py\n+++ b/tests/hwsim/test_p2p_autogo.py\n@@ -140,7 +140,7 @@ def test_autogo_m2d(dev):\n     autogo(dev[0], freq=2412)\n     go_addr = dev[0].p2p_dev_addr()\n \n-    dev[1].request(\"SET p2p_no_group_iface 0\")\n+    dev[1].global_request(\"SET p2p_no_group_iface 0\")\n     if not dev[1].discover_peer(go_addr, social=True):\n         raise Exception(\"GO \" + go_addr + \" not found\")\n     dev[1].dump_monitor()\n",
    "prefixes": []
}