get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 40775,
    "url": "https://patches.dpdk.org/api/patches/40775/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20180607073705.32895-7-david.hunt@intel.com/",
    "project": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/projects/1/?format=api",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<20180607073705.32895-7-david.hunt@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20180607073705.32895-7-david.hunt@intel.com",
    "date": "2018-06-07T07:37:05",
    "name": "[dpdk-dev,v1,6/6] examples/vm_power: add port-list to command line",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "71a9efa4742f01ef6da91ccf0ee4bd73656e3268",
    "submitter": {
        "id": 342,
        "url": "https://patches.dpdk.org/api/people/342/?format=api",
        "name": "Hunt, David",
        "email": "david.hunt@intel.com"
    },
    "delegate": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20180607073705.32895-7-david.hunt@intel.com/mbox/",
    "series": [
        {
            "id": 33,
            "url": "https://patches.dpdk.org/api/series/33/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=33",
            "date": "2018-06-07T07:36:59",
            "name": "examples/vm_power: 100% Busy Polling",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/33/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/40775/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/40775/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id B005E1B630;\n\tThu,  7 Jun 2018 16:40:03 +0200 (CEST)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n\tby dpdk.org (Postfix) with ESMTP id 2995C1B405\n\tfor <dev@dpdk.org>; Thu,  7 Jun 2018 16:39:56 +0200 (CEST)",
            "from fmsmga001.fm.intel.com ([10.253.24.23])\n\tby orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t07 Jun 2018 07:39:56 -0700",
            "from silpixa00399952.ir.intel.com (HELO\n\tsilpixa00399952.ger.corp.intel.com) ([10.237.223.64])\n\tby fmsmga001.fm.intel.com with ESMTP; 07 Jun 2018 07:39:55 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.49,486,1520924400\"; d=\"scan'208\";a=\"62111518\"",
        "From": "David Hunt <david.hunt@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "david.hunt@intel.com",
        "Date": "Thu,  7 Jun 2018 08:37:05 +0100",
        "Message-Id": "<20180607073705.32895-7-david.hunt@intel.com>",
        "X-Mailer": "git-send-email 2.17.0",
        "In-Reply-To": "<20180607073705.32895-1-david.hunt@intel.com>",
        "References": "<20180607073705.32895-1-david.hunt@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v1 6/6] examples/vm_power: add port-list to\n\tcommand line",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "add in the long form of -p, which is --port-list\n\nSigned-off-by: David Hunt <david.hunt@intel.com>\n---\n examples/vm_power_manager/main.c | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/examples/vm_power_manager/main.c b/examples/vm_power_manager/main.c\nindex 4c6b5a990..4088861f1 100644\n--- a/examples/vm_power_manager/main.c\n+++ b/examples/vm_power_manager/main.c\n@@ -147,6 +147,7 @@ parse_args(int argc, char **argv)\n \t\t{ \"mac-updating\", no_argument, 0, 1},\n \t\t{ \"no-mac-updating\", no_argument, 0, 0},\n \t\t{ \"core-list\", optional_argument, 0, 'l'},\n+\t\t{ \"port-list\", optional_argument, 0, 'p'},\n \t\t{NULL, 0, 0, 0}\n \t};\n \targvopt = argv;\n",
    "prefixes": [
        "dpdk-dev",
        "v1",
        "6/6"
    ]
}