get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 808066,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/808066/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/openbsc/patch/20170830085034.482-1-axilirator@gmail.com/",
    "project": {
        "id": 39,
        "url": "http://patchwork.ozlabs.org/api/1.2/projects/39/?format=api",
        "name": "OpenBSC development",
        "link_name": "openbsc",
        "list_id": "openbsc.lists.osmocom.org",
        "list_email": "openbsc@lists.osmocom.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20170830085034.482-1-axilirator@gmail.com>",
    "list_archive_url": null,
    "date": "2017-08-30T08:50:34",
    "name": "test/common.sh: fix typo in gapk binary location",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "d9a977da6eedd5488dbbeccf49a7613dfe7914a5",
    "submitter": {
        "id": 67986,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/67986/?format=api",
        "name": "Vadim Yanitskiy",
        "email": "axilirator@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/openbsc/patch/20170830085034.482-1-axilirator@gmail.com/mbox/",
    "series": [
        {
            "id": 755,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/755/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/openbsc/list/?series=755",
            "date": "2017-08-30T08:50:34",
            "name": "test/common.sh: fix typo in gapk binary location",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/755/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/808066/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/808066/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<openbsc-bounces@lists.osmocom.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "openbsc@lists.osmocom.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@bilbo.ozlabs.org",
            "openbsc@lists.osmocom.org"
        ],
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=lists.osmocom.org\n\t(client-ip=2a01:4f8:191:444b::2:7; helo=lists.osmocom.org;\n\tenvelope-from=openbsc-bounces@lists.osmocom.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"aoYiorrU\"; dkim-atps=neutral",
            "lists.osmocom.org; dmarc=none header.from=gmail.com",
            "lists.osmocom.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com header.b=aoYiorrU",
            "lists.osmocom.org; dmarc=pass header.from=gmail.com"
        ],
        "Received": [
            "from lists.osmocom.org (lists.osmocom.org\n\t[IPv6:2a01:4f8:191:444b::2:7])\n\tby ozlabs.org (Postfix) with ESMTP id 3xjY1Y2xqzz9sNc\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 31 Aug 2017 16:51:13 +1000 (AEST)",
            "from lists.osmocom.org (lists.osmocom.org [144.76.43.76])\n\tby lists.osmocom.org (Postfix) with ESMTP id C89AE38F8D;\n\tThu, 31 Aug 2017 06:50:34 +0000 (UTC)",
            "from mail-lf0-x241.google.com (mail-lf0-x241.google.com\n\t[IPv6:2a00:1450:4010:c07::241])\n\tby lists.osmocom.org (Postfix) with ESMTP id BA17838F48\n\tfor <openbsc@lists.osmocom.org>; Thu, 31 Aug 2017 06:48:46 +0000 (UTC)",
            "by mail-lf0-x241.google.com with SMTP id y15so5130143lfd.0\n\tfor <openbsc@lists.osmocom.org>; Wed, 30 Aug 2017 23:48:46 -0700 (PDT)",
            "from DELL.prsecurity.ru (gw-pozitiv-teknolodzhiz.ll-nsk.zsttk.ru.\n\t[82.200.38.74]) by smtp.gmail.com with ESMTPSA id\n\ta197sm820974lfe.92.2017.08.30.01.50.38\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tWed, 30 Aug 2017 01:50:38 -0700 (PDT)"
        ],
        "Received-SPF": "Pass (sender SPF authorized) identity=mailfrom;\n\tclient-ip=2a00:1450:4010:c07::241; helo=mail-lf0-x241.google.com;\n\tenvelope-from=axilirator@gmail.com;\n\treceiver=openbsc@lists.osmocom.org ",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id;\n\tbh=V1+V4OxDoIyYoBkpRV72gS4vjJytXUqD6MIXVD6qnlw=;\n\tb=aoYiorrUeqk7CLcBDfpcVboNzV1bNwoUb6pxaeXELdouHR+bZRzpIBkXSZsF6ayrex\n\t7n36HLRoZmej7Bmnlat1QybJmjMQQNAc8szypKSWo8axaC8//nBiDnfPaQQyv0+f5wsj\n\tw4OJPQPxOPv9gMZ06ye9iwtVKJgyyXLzKSbVt/wWtlddCexQhtz9mgHR5p4+iwgRR2rP\n\tSKekGt2nlvfZUFTjFqdU3y5Rbx/XEq/gmnrbNe8RGnRmqQ3uGkpZsdO+le6OoLktwZre\n\tjqcbj8wcw1w5uZBW8S9AstvNUL0NAgl3LRrZZCN4/l9HYOj9NraVe/NfK0pfGZkxz/Hq\n\tYrhg==",
        "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=V1+V4OxDoIyYoBkpRV72gS4vjJytXUqD6MIXVD6qnlw=;\n\tb=XkqkbZigT1fElQYm2QkaafMUrTSVXsOsMffDLSvVmk2HBTzmdjXWxotaMYyqvdr7oc\n\tJ6C3qmQSWK42FZ3u7PfF+xKWIM/ZTByMt0uWu/VC/mvmqzOvkAxgY6dl46ZyeG+VLasK\n\tOc5LFRrsgSE5sUgsBVNOsYTPn/gAsyTOA9b+JGX62b030cSwLDtGfl6WLd4SfOmVioei\n\t+ffFX85ek10slXx2atUFRkeEOPONf/Ze/CeBQTfkLAyR7v++XtiAPF+4xa5Lgsl6twCn\n\tElFrDorUcfoDgo15ZXC+I6HliOC5XYcjBk4sgEcK/CdkzV0x7ujZgnV4XuB7e4jRQhhe\n\t98jg==",
        "X-Gm-Message-State": "AHYfb5iSRCOFOyR8az+pn9CseCBMSta28yLB8BPpu5hUxYUDpYkLoI4k\n\tLr+5/SzUyWoUoaLHHuw=",
        "X-Received": "by 10.46.92.70 with SMTP id q67mr391407ljb.25.1504083039414;\n\tWed, 30 Aug 2017 01:50:39 -0700 (PDT)",
        "From": "Vadim Yanitskiy <axilirator@gmail.com>",
        "To": "openbsc@lists.osmocom.org",
        "Subject": "[PATCH] test/common.sh: fix typo in gapk binary location",
        "Date": "Wed, 30 Aug 2017 15:50:34 +0700",
        "Message-Id": "<20170830085034.482-1-axilirator@gmail.com>",
        "X-Mailer": "git-send-email 2.14.1",
        "X-BeenThere": "openbsc@lists.osmocom.org",
        "X-Mailman-Version": "2.1.23",
        "Precedence": "list",
        "List-Id": "\"Development of OpenBSC, OsmoBSC, OsmoNITB,\n\tOsmoCSCN\" <openbsc.lists.osmocom.org>",
        "List-Unsubscribe": "<https://lists.osmocom.org/mailman/options/openbsc>,\n\t<mailto:openbsc-request@lists.osmocom.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.osmocom.org/pipermail/openbsc/>",
        "List-Post": "<mailto:openbsc@lists.osmocom.org>",
        "List-Help": "<mailto:openbsc-request@lists.osmocom.org?subject=help>",
        "List-Subscribe": "<https://lists.osmocom.org/mailman/listinfo/openbsc>,\n\t<mailto:openbsc-request@lists.osmocom.org?subject=subscribe>",
        "Errors-To": "openbsc-bounces@lists.osmocom.org",
        "Sender": "\"OpenBSC\" <openbsc-bounces@lists.osmocom.org>"
    },
    "content": "---\n test/common.sh | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/test/common.sh b/test/common.sh\nindex 39cdd7d..591be3a 100644\n--- a/test/common.sh\n+++ b/test/common.sh\n@@ -4,7 +4,7 @@ REFDIR=./ref-files\n if [ -f ../src/gapk ]; then\n \tGAPK=../src/gapk\n elif [ -f `which gapk` ]; then\n-\tGAPK=`whiich gapk`\n+\tGAPK=`which gapk`\n else\n \texit 1\n fi\n",
    "prefixes": []
}