get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 75185,
    "url": "http://patches.dpdk.org/api/patches/75185/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200804140738.35317-2-louise.kilheeney@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": "<20200804140738.35317-2-louise.kilheeney@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200804140738.35317-2-louise.kilheeney@intel.com",
    "date": "2020-08-04T14:07:30",
    "name": "[v4,1/9] usertools/dpdk-telemetry-client: support python3 only",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "8f33721f5d52f24b5c1e78d1555e5bdecf689189",
    "submitter": {
        "id": 1621,
        "url": "http://patches.dpdk.org/api/people/1621/?format=api",
        "name": "Louise Kilheeney",
        "email": "louise.kilheeney@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/20200804140738.35317-2-louise.kilheeney@intel.com/mbox/",
    "series": [
        {
            "id": 11492,
            "url": "http://patches.dpdk.org/api/series/11492/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=11492",
            "date": "2020-08-04T14:07:29",
            "name": "adding support for python 3 only.",
            "version": 4,
            "mbox": "http://patches.dpdk.org/series/11492/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/75185/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/75185/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 734C7A053A;\n\tTue,  4 Aug 2020 16:08:09 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id AD9631C023;\n\tTue,  4 Aug 2020 16:08:02 +0200 (CEST)",
            "from mga05.intel.com (mga05.intel.com [192.55.52.43])\n by dpdk.org (Postfix) with ESMTP id 38A631BFF7\n for <dev@dpdk.org>; Tue,  4 Aug 2020 16:08:00 +0200 (CEST)",
            "from orsmga006.jf.intel.com ([10.7.209.51])\n by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 04 Aug 2020 07:07:59 -0700",
            "from silpixa00389033.ir.intel.com (HELO\n silpixa00389033.ger.corp.intel.com) ([10.237.223.171])\n by orsmga006.jf.intel.com with ESMTP; 04 Aug 2020 07:07:58 -0700"
        ],
        "IronPort-SDR": [
            "\n svlJL7rhHMmsbFvhK+jH9nxBfqHqZi7YDCfGc6qARM81/lAs+WcAV6mcGO935vTqWRXsghkFIu\n ghNOMOinOXng==",
            "\n 9fArrcoLN19/gRofvP34vDsIvo6SdJMwjyBmG/qtcTTvDXJi9fInfL7DwhKYwwhwAm0INKKbEc\n uolmDbGcMG4g=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9702\"; a=\"237173529\"",
            "E=Sophos;i=\"5.75,434,1589266800\"; d=\"scan'208\";a=\"237173529\"",
            "E=Sophos;i=\"5.75,434,1589266800\"; d=\"scan'208\";a=\"292578162\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "Louise Kilheeney <louise.kilheeney@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "anatoly.burakov@intel.com, bruce.richardson@intel.com,\n robin.jarry@6wind.com, Louise Kilheeney <louise.kilheeney@intel.com>,\n Kevin Laatz <kevin.laatz@intel.com>",
        "Date": "Tue,  4 Aug 2020 15:07:30 +0100",
        "Message-Id": "<20200804140738.35317-2-louise.kilheeney@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20200804140738.35317-1-louise.kilheeney@intel.com>",
        "References": "<20200522132320.26373-1-louise.kilheeney@intel.com>\n <20200804140738.35317-1-louise.kilheeney@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v4 1/9] usertools/dpdk-telemetry-client: support\n\tpython3 only",
        "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 <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 <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Changed script to explicitly use python3 only to avoid\nmaintaining python 2 and removed deprecation notice.\n\nCc: Kevin Laatz <kevin.laatz@intel.com>\n\nSigned-off-by: Louise Kilheeney <louise.kilheeney@intel.com>\n---\n usertools/dpdk-telemetry-client.py | 20 ++++----------------\n 1 file changed, 4 insertions(+), 16 deletions(-)",
    "diff": "diff --git a/usertools/dpdk-telemetry-client.py b/usertools/dpdk-telemetry-client.py\nindex 98d28fa89b..fa599046a4 100755\n--- a/usertools/dpdk-telemetry-client.py\n+++ b/usertools/dpdk-telemetry-client.py\n@@ -1,10 +1,7 @@\n-#! /usr/bin/env python\n+#! /usr/bin/env python3\n # SPDX-License-Identifier: BSD-3-Clause\n # Copyright(c) 2018 Intel Corporation\n \n-from __future__ import print_function\n-from __future__ import unicode_literals\n-\n import socket\n import os\n import sys\n@@ -18,15 +15,6 @@\n GLOBAL_METRICS_REQ = \"{\\\"action\\\":0,\\\"command\\\":\\\"global_stat_values\\\",\\\"data\\\":null}\"\n DEFAULT_FP = \"/var/run/dpdk/default_client\"\n \n-try:\n-    raw_input  # Python 2\n-except NameError:\n-    raw_input = input  # Python 3\n-\n-if sys.version_info.major < 3:\n-    print(\"WARNING: Python 2 is deprecated for use in DPDK, and will not work in future releases.\", file=sys.stderr)\n-    print(\"Please use Python 3 instead\", file=sys.stderr)\n-\n class Socket:\n \n     def __init__(self):\n@@ -53,7 +41,7 @@ def __init__(self): # Creates a client instance\n     def __del__(self):\n         try:\n             if self.unregistered == 0:\n-                self.unregister();\n+                self.unregister()\n         except:\n             print(\"Error - Client could not be destroyed\")\n \n@@ -86,7 +74,7 @@ def requestMetrics(self): # Requests metrics for given client\n \n     def repeatedlyRequestMetrics(self, sleep_time): # Recursively requests metrics for given client\n         print(\"\\nPlease enter the number of times you'd like to continuously request Metrics:\")\n-        n_requests = int(raw_input(\"\\n:\"))\n+        n_requests = int(input(\"\\n:\"))\n         print(\"\\033[F\") #Removes the user input from screen, cleans it up\n         print(\"\\033[K\")\n         for i in range(n_requests):\n@@ -107,7 +95,7 @@ def interactiveMenu(self, sleep_time): # Creates Interactive menu within the scr\n             print(\"[4] Unregister client\")\n \n             try:\n-                self.choice = int(raw_input(\"\\n:\"))\n+                self.choice = int(input(\"\\n:\"))\n                 print(\"\\033[F\") #Removes the user input for screen, cleans it up\n                 print(\"\\033[K\")\n                 if self.choice == 1:\n",
    "prefixes": [
        "v4",
        "1/9"
    ]
}