get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 56525,
    "url": "http://patchwork.dpdk.org/api/patches/56525/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/1563296647-19887-1-git-send-email-haiyue.wang@intel.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<1563296647-19887-1-git-send-email-haiyue.wang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1563296647-19887-1-git-send-email-haiyue.wang@intel.com",
    "date": "2019-07-16T17:04:07",
    "name": "[v1] examples/tep_term: remove the duplicate device state definition",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "2aa42b22a24cb7e6e7dd56751b4318a128c78f9a",
    "submitter": {
        "id": 1044,
        "url": "http://patchwork.dpdk.org/api/people/1044/?format=api",
        "name": "Wang, Haiyue",
        "email": "haiyue.wang@intel.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patchwork.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/1563296647-19887-1-git-send-email-haiyue.wang@intel.com/mbox/",
    "series": [
        {
            "id": 5535,
            "url": "http://patchwork.dpdk.org/api/series/5535/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=5535",
            "date": "2019-07-16T17:04:07",
            "name": "[v1] examples/tep_term: remove the duplicate device state definition",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/5535/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/56525/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/56525/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 1B70D4C94;\n\tTue, 16 Jul 2019 19:11:07 +0200 (CEST)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n\tby dpdk.org (Postfix) with ESMTP id A8148324D;\n\tTue, 16 Jul 2019 19:11:04 +0200 (CEST)",
            "from fmsmga006.fm.intel.com ([10.253.24.20])\n\tby orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t16 Jul 2019 10:11:03 -0700",
            "from npg-dpdk-haiyue-2.sh.intel.com ([10.67.118.225])\n\tby fmsmga006.fm.intel.com with ESMTP; 16 Jul 2019 10:11:02 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.64,271,1559545200\"; d=\"scan'208\";a=\"366731208\"",
        "From": "Haiyue Wang <haiyue.wang@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "Haiyue Wang <haiyue.wang@intel.com>,\n\tstable@dpdk.org",
        "Date": "Wed, 17 Jul 2019 01:04:07 +0800",
        "Message-Id": "<1563296647-19887-1-git-send-email-haiyue.wang@intel.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "Subject": "[dpdk-dev] [PATCH v1] examples/tep_term: remove the duplicate\n\tdevice state definition",
        "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 state of virtio device has been defined in both header file and\nsource file, keep the definition in header file for public use.\n\nFixes: a50245ede72a (\"examples/tep_term: initialize VXLAN sample\")\nCc: stable@dpdk.org\n\nSigned-off-by: Haiyue Wang <haiyue.wang@intel.com>\n---\n examples/tep_termination/main.c | 5 -----\n 1 file changed, 5 deletions(-)",
    "diff": "diff --git a/examples/tep_termination/main.c b/examples/tep_termination/main.c\nindex 9d8ab17..ab956ad 100644\n--- a/examples/tep_termination/main.c\n+++ b/examples/tep_termination/main.c\n@@ -52,11 +52,6 @@\n \n #define JUMBO_FRAME_MAX_SIZE    0x2600\n \n-/* State of virtio device. */\n-#define DEVICE_MAC_LEARNING 0\n-#define DEVICE_RX\t    1\n-#define DEVICE_SAFE_REMOVE  2\n-\n /* Config_core_flag status definitions. */\n #define REQUEST_DEV_REMOVAL 1\n #define ACK_DEV_REMOVAL     0\n",
    "prefixes": [
        "v1"
    ]
}