get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 7982,
    "url": "https://patches.dpdk.org/api/patches/7982/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1445630637-32293-1-git-send-email-aconole@redhat.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": "<1445630637-32293-1-git-send-email-aconole@redhat.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1445630637-32293-1-git-send-email-aconole@redhat.com",
    "date": "2015-10-23T20:03:57",
    "name": "[dpdk-dev] librte_power: channel_commands: Remove duplicate definition",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "1b3c0661758ea038d5db903fee8e4b37ddb4059c",
    "submitter": {
        "id": 332,
        "url": "https://patches.dpdk.org/api/people/332/?format=api",
        "name": "Aaron Conole",
        "email": "aconole@redhat.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1445630637-32293-1-git-send-email-aconole@redhat.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/7982/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/7982/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 [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id 1021D5A1F;\n\tFri, 23 Oct 2015 22:04:02 +0200 (CEST)",
            "from mx1.redhat.com (mx1.redhat.com [209.132.183.28])\n\tby dpdk.org (Postfix) with ESMTP id 508729E5\n\tfor <dev@dpdk.org>; Fri, 23 Oct 2015 22:04:00 +0200 (CEST)",
            "from int-mx13.intmail.prod.int.phx2.redhat.com\n\t(int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26])\n\tby mx1.redhat.com (Postfix) with ESMTPS id B798C19CBBF;\n\tFri, 23 Oct 2015 20:03:59 +0000 (UTC)",
            "from aconole.bos.com (dhcp-25-6.bos.redhat.com [10.18.25.6])\n\tby int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with\n\tESMTP id t9NK3x68004032; Fri, 23 Oct 2015 16:03:59 -0400"
        ],
        "From": "Aaron Conole <aconole@redhat.com>",
        "To": "dev@dpdk.org",
        "Date": "Fri, 23 Oct 2015 16:03:57 -0400",
        "Message-Id": "<1445630637-32293-1-git-send-email-aconole@redhat.com>",
        "X-Scanned-By": "MIMEDefang 2.68 on 10.5.11.26",
        "Cc": "Alan Carew <alan.carew@intel.com>",
        "Subject": "[dpdk-dev] [PATCH] librte_power: channel_commands: Remove duplicate\n\tdefinition",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "patches and discussions about DPDK <dev.dpdk.org>",
        "List-Unsubscribe": "<http://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": "<http://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": "The CHANNEL_CMDS_MAX_VM_CHANNELS is duplicated in the channel_commands\nheader file. This commit removes that duplication.\n\nfixes 210c383e247b5335cd95223fac1c0880ebbd5c96 (\"power: packet format for ...\")\n\nSigned-off-by: Aaron Conole <aconole@redhat.com>\n---\n lib/librte_power/channel_commands.h | 3 ---\n 1 file changed, 3 deletions(-)",
    "diff": "diff --git a/lib/librte_power/channel_commands.h b/lib/librte_power/channel_commands.h\nindex 7e78a8b..de6d926 100644\n--- a/lib/librte_power/channel_commands.h\n+++ b/lib/librte_power/channel_commands.h\n@@ -50,9 +50,6 @@ extern \"C\" {\n /* Maximum number of channels per VM */\n #define CHANNEL_CMDS_MAX_VM_CHANNELS 64\n \n-/* Maximum number of channels per VM */\n-#define CHANNEL_CMDS_MAX_VM_CHANNELS 64\n-\n /* Valid Commands */\n #define CPU_POWER               1\n #define CPU_POWER_CONNECT       2\n",
    "prefixes": [
        "dpdk-dev"
    ]
}