get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 815346,
    "url": "http://patchwork.ozlabs.org/api/patches/815346/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/20170919080020.5870-6-jiri@resnulli.us/",
    "project": {
        "id": 7,
        "url": "http://patchwork.ozlabs.org/api/projects/7/?format=api",
        "name": "Linux network development",
        "link_name": "netdev",
        "list_id": "netdev.vger.kernel.org",
        "list_email": "netdev@vger.kernel.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20170919080020.5870-6-jiri@resnulli.us>",
    "list_archive_url": null,
    "date": "2017-09-19T08:00:12",
    "name": "[net-next,05/13] mlxsw: reg: Rename the flexible action set length field",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "1e9cea0c4872d2034fd4c39a2a0a3232df67d78d",
    "submitter": {
        "id": 15321,
        "url": "http://patchwork.ozlabs.org/api/people/15321/?format=api",
        "name": "Jiri Pirko",
        "email": "jiri@resnulli.us"
    },
    "delegate": {
        "id": 34,
        "url": "http://patchwork.ozlabs.org/api/users/34/?format=api",
        "username": "davem",
        "first_name": "David",
        "last_name": "Miller",
        "email": "davem@davemloft.net"
    },
    "mbox": "http://patchwork.ozlabs.org/project/netdev/patch/20170919080020.5870-6-jiri@resnulli.us/mbox/",
    "series": [
        {
            "id": 3798,
            "url": "http://patchwork.ozlabs.org/api/series/3798/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/netdev/list/?series=3798",
            "date": "2017-09-19T08:00:07",
            "name": "mlxsw: Prepare for multicast router offload",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/3798/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/815346/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/815346/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<netdev-owner@vger.kernel.org>",
        "X-Original-To": "patchwork-incoming@ozlabs.org",
        "Delivered-To": "patchwork-incoming@ozlabs.org",
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=netdev-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=resnulli-us.20150623.gappssmtp.com\n\theader.i=@resnulli-us.20150623.gappssmtp.com\n\theader.b=\"XrMjARUZ\"; dkim-atps=neutral"
        ],
        "Received": [
            "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xxFgm6mdVz9sBZ\n\tfor <patchwork-incoming@ozlabs.org>;\n\tTue, 19 Sep 2017 18:01:24 +1000 (AEST)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751751AbdISIBS (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tTue, 19 Sep 2017 04:01:18 -0400",
            "from mail-wr0-f195.google.com ([209.85.128.195]:37473 \"EHLO\n\tmail-wr0-f195.google.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1751589AbdISIA1 (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Tue, 19 Sep 2017 04:00:27 -0400",
            "by mail-wr0-f195.google.com with SMTP id u48so1708369wrf.4\n\tfor <netdev@vger.kernel.org>; Tue, 19 Sep 2017 01:00:27 -0700 (PDT)",
            "from localhost (ip-89-177-125-82.net.upcbroadband.cz.\n\t[89.177.125.82]) by smtp.gmail.com with ESMTPSA id\n\tc126sm919652wmh.38.2017.09.19.01.00.26\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tTue, 19 Sep 2017 01:00:26 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=resnulli-us.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=RIsYZXa+qqUeG3WSk2tnL9wKB2EYR3yprTwlq5gjRyc=;\n\tb=XrMjARUZbrRCRl0+M/YCtTndc9vK7ESxKq7BTsuMhYqwtlKA3RXATmp5CP5Xk4/6Oh\n\tyXzgsL30K2bjDWRXnlaILPgkSwBBatPlp/c6BHVODj+RR5x+Tf3AXsQdI/mRKWKYIdTT\n\tQWzJ76dolmLo3BSlo3p/18sk3eGs8mwnyNMZBerOUUmwQHuinMpwgFLbt8nYKQS7gskZ\n\ti70RAQuE4C3ow2uYht3Yu7ErqeEkqTCjENhRf9+dKLkcImHQbAYUVNEUO66Mier6psWw\n\t0hLdHgIsyuOIibwK/3mE7pwxv0kDkhLdWIy6pnImuTh1iRtTnnG0uQKkPilMYCfLUeeJ\n\tz6AQ==",
        "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=RIsYZXa+qqUeG3WSk2tnL9wKB2EYR3yprTwlq5gjRyc=;\n\tb=T6y+AH5VA3jQcOVSgWogsou36qh8JWOvwMBM+WlnC+VWI4PWkjqULaFOrgl+tT4aJv\n\tslgncdeucYkQ+3hSRLtkDaV+8yrdaJ3T3lyh98LzRw0ntnZ7a0OuqD8KqyeXMGJXEtyF\n\tuhmwgyoW8CxXVnW2qkZ7I8kOEMPcIDlCZcMfQn23jyj4jZzSuCOd9JgApwC3Rf8dxpql\n\tJzM4LYYnVg28cWDFGG+PCSrZ8oR4U42EthNngxTXDWPGfhe8w+E0+A0QDbns4avhOA8U\n\t+hwIeCAzproeV4NUQko5JqcYj5VKZ5CTncjao2AFCD/HUpgZ4a7AqonP3HCQp5ZzNMjn\n\tnNoA==",
        "X-Gm-Message-State": "AHPjjUiA49ML15g48vdEjtYpSN7u4z9h44S6L2kkJOwwAyolnRnC4gte\n\tmxUPGouAPZELt8xp/b4nz0oTDknt",
        "X-Google-Smtp-Source": "AOwi7QDVxmqfur7/vQgIs0il8NM6vmFpJ6bOeGuv0z8qTc4LWyaWr+AtQOYqjW1muzmlaiNJaM//Ug==",
        "X-Received": "by 10.223.135.155 with SMTP id b27mr603954wrb.10.1505808026649; \n\tTue, 19 Sep 2017 01:00:26 -0700 (PDT)",
        "From": "Jiri Pirko <jiri@resnulli.us>",
        "To": "netdev@vger.kernel.org",
        "Cc": "davem@davemloft.net, yotamg@mellanox.com, idosch@mellanox.com,\n\tmlxsw@mellanox.com",
        "Subject": "[patch net-next 05/13] mlxsw: reg: Rename the flexible action set\n\tlength field",
        "Date": "Tue, 19 Sep 2017 10:00:12 +0200",
        "Message-Id": "<20170919080020.5870-6-jiri@resnulli.us>",
        "X-Mailer": "git-send-email 2.9.5",
        "In-Reply-To": "<20170919080020.5870-1-jiri@resnulli.us>",
        "References": "<20170919080020.5870-1-jiri@resnulli.us>",
        "Sender": "netdev-owner@vger.kernel.org",
        "Precedence": "bulk",
        "List-ID": "<netdev.vger.kernel.org>",
        "X-Mailing-List": "netdev@vger.kernel.org"
    },
    "content": "From: Yotam Gigi <yotamg@mellanox.com>\n\nThe MLXSW_REG_PXXX_FLEX_ACTION_SET_LEN is relevant for the multicast router\nregisters too, so rename it to have a general name which is not bound to a\nspecific register.\n\nSigned-off-by: Yotam Gigi <yotamg@mellanox.com>\nReviewed-by: Ido Schimmel <idosch@mellanox.com>\nSigned-off-by: Jiri Pirko <jiri@mellanox.com>\n---\n drivers/net/ethernet/mellanox/mlxsw/reg.h | 7 +++----\n 1 file changed, 3 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/drivers/net/ethernet/mellanox/mlxsw/reg.h b/drivers/net/ethernet/mellanox/mlxsw/reg.h\nindex cc27c5d..fb8ab44 100644\n--- a/drivers/net/ethernet/mellanox/mlxsw/reg.h\n+++ b/drivers/net/ethernet/mellanox/mlxsw/reg.h\n@@ -2142,15 +2142,14 @@ MLXSW_REG_DEFINE(pefa, MLXSW_REG_PEFA_ID, MLXSW_REG_PEFA_LEN);\n  */\n MLXSW_ITEM32(reg, pefa, index, 0x00, 0, 24);\n \n-#define MLXSW_REG_PXXX_FLEX_ACTION_SET_LEN 0xA8\n+#define MLXSW_REG_FLEX_ACTION_SET_LEN 0xA8\n \n /* reg_pefa_flex_action_set\n  * Action-set to perform when rule is matched.\n  * Must be zero padded if action set is shorter.\n  * Access: RW\n  */\n-MLXSW_ITEM_BUF(reg, pefa, flex_action_set, 0x08,\n-\t       MLXSW_REG_PXXX_FLEX_ACTION_SET_LEN);\n+MLXSW_ITEM_BUF(reg, pefa, flex_action_set, 0x08, MLXSW_REG_FLEX_ACTION_SET_LEN);\n \n static inline void mlxsw_reg_pefa_pack(char *payload, u32 index,\n \t\t\t\t       const char *flex_action_set)\n@@ -2243,7 +2242,7 @@ MLXSW_ITEM_BUF(reg, ptce2, mask, 0x80,\n  * Access: RW\n  */\n MLXSW_ITEM_BUF(reg, ptce2, flex_action_set, 0xE0,\n-\t       MLXSW_REG_PXXX_FLEX_ACTION_SET_LEN);\n+\t       MLXSW_REG_FLEX_ACTION_SET_LEN);\n \n static inline void mlxsw_reg_ptce2_pack(char *payload, bool valid,\n \t\t\t\t\tenum mlxsw_reg_ptce2_op op,\n",
    "prefixes": [
        "net-next",
        "05/13"
    ]
}