get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 790340,
    "url": "http://patchwork.ozlabs.org/api/patches/790340/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/openvswitch/patch/1500389703-5928-4-git-send-email-majopela@redhat.com/",
    "project": {
        "id": 47,
        "url": "http://patchwork.ozlabs.org/api/projects/47/?format=api",
        "name": "Open vSwitch",
        "link_name": "openvswitch",
        "list_id": "ovs-dev.openvswitch.org",
        "list_email": "ovs-dev@openvswitch.org",
        "web_url": "http://openvswitch.org/",
        "scm_url": "git@github.com:openvswitch/ovs.git",
        "webscm_url": "https://github.com/openvswitch/ovs",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<1500389703-5928-4-git-send-email-majopela@redhat.com>",
    "list_archive_url": null,
    "date": "2017-07-18T14:55:03",
    "name": "[ovs-dev,v1,4/4] ovn: l3ha truncate log file in tests before action starts",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "2793931cb8aa8f23780dfc9122ab8b663d616ef7",
    "submitter": {
        "id": 67170,
        "url": "http://patchwork.ozlabs.org/api/people/67170/?format=api",
        "name": "Miguel Angel Ajo",
        "email": "majopela@redhat.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/openvswitch/patch/1500389703-5928-4-git-send-email-majopela@redhat.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/790340/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/790340/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<ovs-dev-bounces@openvswitch.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "dev@openvswitch.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@bilbo.ozlabs.org",
            "ovs-dev@mail.linuxfoundation.org"
        ],
        "Authentication-Results": "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=openvswitch.org\n\t(client-ip=140.211.169.12; helo=mail.linuxfoundation.org;\n\tenvelope-from=ovs-dev-bounces@openvswitch.org;\n\treceiver=<UNKNOWN>)",
        "Received": [
            "from mail.linuxfoundation.org (mail.linuxfoundation.org\n\t[140.211.169.12])\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 3xBjvY2SfSz9ryr\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 19 Jul 2017 00:58:01 +1000 (AEST)",
            "from mail.linux-foundation.org (localhost [127.0.0.1])\n\tby mail.linuxfoundation.org (Postfix) with ESMTP id A5ED4A49;\n\tTue, 18 Jul 2017 14:55:20 +0000 (UTC)",
            "from smtp1.linuxfoundation.org (smtp1.linux-foundation.org\n\t[172.17.192.35])\n\tby mail.linuxfoundation.org (Postfix) with ESMTPS id 2DBF896F\n\tfor <dev@openvswitch.org>; Tue, 18 Jul 2017 14:55:18 +0000 (UTC)",
            "from mail-wr0-f181.google.com (mail-wr0-f181.google.com\n\t[209.85.128.181])\n\tby smtp1.linuxfoundation.org (Postfix) with ESMTPS id 96F991DB\n\tfor <dev@openvswitch.org>; Tue, 18 Jul 2017 14:55:17 +0000 (UTC)",
            "by mail-wr0-f181.google.com with SMTP id y43so32888510wrd.3\n\tfor <dev@openvswitch.org>; Tue, 18 Jul 2017 07:55:17 -0700 (PDT)",
            "from gw2.localdomain (111.148.134.37.dynamic.jazztel.es.\n\t[37.134.148.111]) by smtp.gmail.com with ESMTPSA id\n\tm26sm3535501wrm.4.2017.07.18.07.55.14\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tTue, 18 Jul 2017 07:55:15 -0700 (PDT)"
        ],
        "X-Greylist": "whitelisted by SQLgrey-1.7.6",
        "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:in-reply-to\n\t:references;\n\tbh=jBRjLMLqOnEAWM2OagwoRw7SyQFYb4jsuULR8udtXMY=;\n\tb=n0bS2aCe+tbm3c99f+s6Pcg3kG0IsinWn4Xx3N1GEmtDh4qKnSc9tgzpyDO3qGob77\n\tz9t2JD8Lx/kwJfV4U5X/C43mznOMWSntJRvjUzxq1WYxqgm8gdi/wNdaT5aYeyjsXy9H\n\tJGQCoCmI37CxJCGxyyUjP1lQ+i4QCHYJBXkYHdXIvM/ndy2UjAG/Fv0XZkXjieqUuObB\n\tmgKYacZnAFJN61BJIStty0szsXjknx0dmejL+m2ZfJHqvoTpdj0Gw8qBKz9QcqNdklEx\n\tLTGUW1JOjMKgwbB2xRvtDbEy+zh7k5+9DxCStpWmw51xsQBk4acAYXWpW0n5MR4mFa95\n\t7cRg==",
        "X-Gm-Message-State": "AIVw112RoHawwCnGP2q15+nYn3323Nf96hyYc9haFKG877c3JD0rdzMV\n\ttFrpUnVQgs8LSbWfjG1xOA==",
        "X-Received": "by 10.223.171.3 with SMTP id q3mr1406735wrc.12.1500389716033;\n\tTue, 18 Jul 2017 07:55:16 -0700 (PDT)",
        "From": "Miguel Angel Ajo <majopela@redhat.com>",
        "To": "dev@openvswitch.org",
        "Date": "Tue, 18 Jul 2017 14:55:03 +0000",
        "Message-Id": "<1500389703-5928-4-git-send-email-majopela@redhat.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1500389703-5928-1-git-send-email-majopela@redhat.com>",
        "References": "<1500389703-5928-1-git-send-email-majopela@redhat.com>",
        "X-Spam-Status": "No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE\n\tautolearn=ham version=3.3.1",
        "X-Spam-Checker-Version": "SpamAssassin 3.3.1 (2010-03-16) on\n\tsmtp1.linux-foundation.org",
        "Cc": "Miguel Angel Ajo <majopela@redhat.com>",
        "Subject": "[ovs-dev] [PATCH v1 4/4] ovn: l3ha truncate log file in tests\n\tbefore action starts",
        "X-BeenThere": "ovs-dev@openvswitch.org",
        "X-Mailman-Version": "2.1.12",
        "Precedence": "list",
        "List-Id": "<ovs-dev.openvswitch.org>",
        "List-Unsubscribe": "<https://mail.openvswitch.org/mailman/options/ovs-dev>,\n\t<mailto:ovs-dev-request@openvswitch.org?subject=unsubscribe>",
        "List-Archive": "<http://mail.openvswitch.org/pipermail/ovs-dev/>",
        "List-Post": "<mailto:ovs-dev@openvswitch.org>",
        "List-Help": "<mailto:ovs-dev-request@openvswitch.org?subject=help>",
        "List-Subscribe": "<https://mail.openvswitch.org/mailman/listinfo/ovs-dev>,\n\t<mailto:ovs-dev-request@openvswitch.org?subject=subscribe>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Sender": "ovs-dev-bounces@openvswitch.org",
        "Errors-To": "ovs-dev-bounces@openvswitch.org"
    },
    "content": "An specific ovn/l3ha test looks for port releases in the MASTER\ngateway when another gateway on the Gateway_Chassis list is gone.\n\nBut we didn't clean the log before taking out the chassis, so\nany previous unrelated occurrence could make the test fail\nwhile it was ok.\n\nSigned-off-by: Miguel Angel Ajo <majopela@redhat.com>\n---\n tests/ovn.at | 2 ++\n 1 file changed, 2 insertions(+)",
    "diff": "diff --git a/tests/ovn.at b/tests/ovn.at\nindex 229755c..248aea4 100644\n--- a/tests/ovn.at\n+++ b/tests/ovn.at\n@@ -8156,6 +8156,8 @@ ovn-nbctl --wait=hv --timeout=3 sync\n # doesn't have the same effect because \"name\" is conserved, and the\n # Chassis entry is not replaced.\n \n+truncate -s 0 gw1/ovn-controller.log\n+\n gw2_chassis=$(ovn-sbctl --bare --columns=_uuid find Chassis name=gw2)\n ovn-sbctl destroy Chassis $gw2_chassis\n \n",
    "prefixes": [
        "ovs-dev",
        "v1",
        "4/4"
    ]
}