get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 44012,
    "url": "http://patches.dpdk.org/api/patches/44012/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20180830105422.1198-4-david.hunt@intel.com/",
    "project": {
        "id": 1,
        "url": "http://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": "<20180830105422.1198-4-david.hunt@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20180830105422.1198-4-david.hunt@intel.com",
    "date": "2018-08-30T10:54:18",
    "name": "[v1,3/7] examples/power: add necessary changes to guest app",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "bdfcb4be2456c4f9ce803617c93e636a373e1798",
    "submitter": {
        "id": 342,
        "url": "http://patches.dpdk.org/api/people/342/?format=api",
        "name": "Hunt, David",
        "email": "david.hunt@intel.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20180830105422.1198-4-david.hunt@intel.com/mbox/",
    "series": [
        {
            "id": 1109,
            "url": "http://patches.dpdk.org/api/series/1109/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=1109",
            "date": "2018-08-30T10:54:15",
            "name": "add json power policy interface for containers",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/1109/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/44012/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/44012/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 393184CBD;\n\tThu, 30 Aug 2018 12:55:05 +0200 (CEST)",
            "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n\tby dpdk.org (Postfix) with ESMTP id E1E054C99\n\tfor <dev@dpdk.org>; Thu, 30 Aug 2018 12:54:59 +0200 (CEST)",
            "from fmsmga004.fm.intel.com ([10.253.24.48])\n\tby orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t30 Aug 2018 03:54:59 -0700",
            "from silpixa00399952.ir.intel.com (HELO\n\tsilpixa00399952.ger.corp.intel.com) ([10.237.223.64])\n\tby fmsmga004.fm.intel.com with ESMTP; 30 Aug 2018 03:54:58 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.53,306,1531810800\"; d=\"scan'208\";a=\"84641481\"",
        "From": "David Hunt <david.hunt@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "john.mcnamara@intel.com,\n\tdavid.hunt@intel.com",
        "Date": "Thu, 30 Aug 2018 11:54:18 +0100",
        "Message-Id": "<20180830105422.1198-4-david.hunt@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20180830105422.1198-1-david.hunt@intel.com>",
        "References": "<20180830105422.1198-1-david.hunt@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v1 3/7] examples/power: add necessary changes to\n\tguest app",
        "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://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "The changes here are minimal, as the guest app functionality is not\nchanging at all, but there is a new element in the channel_packet\nstruct that needs to have a default set (channel_packet->core_type).\n\nSigned-off-by: David Hunt <david.hunt@intel.com>\n---\n examples/vm_power_manager/guest_cli/vm_power_cli_guest.c | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/examples/vm_power_manager/guest_cli/vm_power_cli_guest.c b/examples/vm_power_manager/guest_cli/vm_power_cli_guest.c\nindex 0db1b804f..88b825c3b 100644\n--- a/examples/vm_power_manager/guest_cli/vm_power_cli_guest.c\n+++ b/examples/vm_power_manager/guest_cli/vm_power_cli_guest.c\n@@ -92,6 +92,7 @@ set_policy_defaults(struct channel_packet *pkt)\n \tpkt->timer_policy.hours_to_use_traffic_profile[0] = 8;\n \tpkt->timer_policy.hours_to_use_traffic_profile[1] = 10;\n \n+\tpkt->core_type = VIRTUAL;\n \tpkt->workload = LOW;\n \tpkt->policy_to_use = TIME;\n \tpkt->command = PKT_POLICY;\n",
    "prefixes": [
        "v1",
        "3/7"
    ]
}