get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 815340,
    "url": "http://patchwork.ozlabs.org/api/patches/815340/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/20170919080020.5870-9-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-9-jiri@resnulli.us>",
    "list_archive_url": null,
    "date": "2017-09-19T08:00:15",
    "name": "[net-next,08/13] mlxsw: resources: Add multicast ERIF list entries resource",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "7d4b8c7ef2bfcb51918acaecd7ca1cda40270c20",
    "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-9-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/815340/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/815340/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=\"SCvSckj0\"; dkim-atps=neutral"
        ],
        "Received": [
            "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xxFg46YL9z9sBZ\n\tfor <patchwork-incoming@ozlabs.org>;\n\tTue, 19 Sep 2017 18:00:48 +1000 (AEST)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751671AbdISIAl (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tTue, 19 Sep 2017 04:00:41 -0400",
            "from mail-wr0-f196.google.com ([209.85.128.196]:33764 \"EHLO\n\tmail-wr0-f196.google.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1751590AbdISIAa (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Tue, 19 Sep 2017 04:00:30 -0400",
            "by mail-wr0-f196.google.com with SMTP id b9so1724072wra.0\n\tfor <netdev@vger.kernel.org>; Tue, 19 Sep 2017 01:00:30 -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\tl73sm3006495wma.24.2017.09.19.01.00.28\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tTue, 19 Sep 2017 01:00:28 -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=1w09Z9TzE/3+u/a7FiEzWF0ivKesbXy0PrKMIJ6jLtY=;\n\tb=SCvSckj0LuL2gGkjS3xuEFddRbTm2GesAiEgUxknMocXCa5FEPi1+ej94bW9Tk6R7G\n\tYd0TiAasIVzCEpW7JriIb8yQPjgBzq5Vfi3ebOwDN0XV+R0nIGRGkhheylTDCK9jPnBS\n\tD41HXw9gIdb/kiSp9i7bu44Hap4tXoVATCsisU6JJLofMH4sUyVmNs7BUyCVUDsQl1oe\n\tjXhwPnW3NL6F+FFo5U4IZxDvniCJ7ivzDeMG0swn7hCVZUYLxy3pztsdb22Eecq3PzrI\n\tH9FT6YhYnZNGsAB/XN3105EhysYw1u3zzeIepqKkDP20RV0uFNS/LD8e5lcZtseOQQ4q\n\t43pw==",
        "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=1w09Z9TzE/3+u/a7FiEzWF0ivKesbXy0PrKMIJ6jLtY=;\n\tb=IwBuGg+J4o2s357Gv21OZgTqT49Q/ip4lLwqkyF37ZM8yuDwjAnjDGhJvNbE0lMWD+\n\tnFfMVy77eA+PTujee0mDnZNTyRR718fxh6v0hRbMgCN2itpmAMQHcc8EwykiiGEZP5Xp\n\tBtMOc/Eim05x5LZ6HWG4Tab9cp/sYYW8eKdwFOow8phlbL82Wv8gIVSkcdoCNVeP0T60\n\trB7ZV9ARuWzH9Ok5gj/58Zzg6ag2fSOTXW9x0o7NwY+2V/hKsTTzzeOZqGGTGWQlYfEc\n\tkigUA34540kHAF6wHD3tvPmUloCu1/nrSLrQN5mxl+PL3aTfC5/mjVYZFSMG8mYHy8cx\n\tky0w==",
        "X-Gm-Message-State": "AHPjjUinGW6e9JtOFtigzxQONyODCO6sh6fcpq/xgnsQEoEGluEryzSn\n\tml95iqVTi0alOvYp0cetAynYxjS2",
        "X-Google-Smtp-Source": "AOwi7QBCBttlc+qTCvH95gWy122iE8feoHk4TgDjEIxnJBlkwkiY5aLC70I/xPM/JS8q1TKYRe5ieQ==",
        "X-Received": "by 10.223.173.204 with SMTP id w70mr585018wrc.281.1505808029238; \n\tTue, 19 Sep 2017 01:00:29 -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 08/13] mlxsw: resources: Add multicast ERIF list\n\tentries resource",
        "Date": "Tue, 19 Sep 2017 10:00:15 +0200",
        "Message-Id": "<20170919080020.5870-9-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 multicast ERIF list entries resource indicates the number of entries\nthat can be put in one rigr2 register operation. While the register can\nhold up to MLXSW_REG_RIGR2_MAX_ERIFS ( = 32) ERIF entries, the actual\nnumber allowed by firmware is indicated with this resource.\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/resources.h | 2 ++\n 1 file changed, 2 insertions(+)",
    "diff": "diff --git a/drivers/net/ethernet/mellanox/mlxsw/resources.h b/drivers/net/ethernet/mellanox/mlxsw/resources.h\nindex 9556d93..087aad5 100644\n--- a/drivers/net/ethernet/mellanox/mlxsw/resources.h\n+++ b/drivers/net/ethernet/mellanox/mlxsw/resources.h\n@@ -63,6 +63,7 @@ enum mlxsw_res_id {\n \tMLXSW_RES_ID_MAX_CPU_POLICERS,\n \tMLXSW_RES_ID_MAX_VRS,\n \tMLXSW_RES_ID_MAX_RIFS,\n+\tMLXSW_RES_ID_MC_ERIF_LIST_ENTRIES,\n \tMLXSW_RES_ID_MAX_LPM_TREES,\n \n \t/* Internal resources.\n@@ -100,6 +101,7 @@ static u16 mlxsw_res_ids[] = {\n \t[MLXSW_RES_ID_MAX_CPU_POLICERS] = 0x2A13,\n \t[MLXSW_RES_ID_MAX_VRS] = 0x2C01,\n \t[MLXSW_RES_ID_MAX_RIFS] = 0x2C02,\n+\t[MLXSW_RES_ID_MC_ERIF_LIST_ENTRIES] = 0x2C10,\n \t[MLXSW_RES_ID_MAX_LPM_TREES] = 0x2C30,\n };\n \n",
    "prefixes": [
        "net-next",
        "08/13"
    ]
}