get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 79169,
    "url": "http://patches.dpdk.org/api/patches/79169/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200929102224.440322-5-kevin.laatz@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": "<20200929102224.440322-5-kevin.laatz@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200929102224.440322-5-kevin.laatz@intel.com",
    "date": "2020-09-29T10:22:17",
    "name": "[v9,04/11] usertools/cpu_layout: support python3 only",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "2eae10779e276babde94b839110ed0cb7bce821f",
    "submitter": {
        "id": 921,
        "url": "http://patches.dpdk.org/api/people/921/?format=api",
        "name": "Kevin Laatz",
        "email": "kevin.laatz@intel.com"
    },
    "delegate": {
        "id": 24651,
        "url": "http://patches.dpdk.org/api/users/24651/?format=api",
        "username": "dmarchand",
        "first_name": "David",
        "last_name": "Marchand",
        "email": "david.marchand@redhat.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20200929102224.440322-5-kevin.laatz@intel.com/mbox/",
    "series": [
        {
            "id": 12587,
            "url": "http://patches.dpdk.org/api/series/12587/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=12587",
            "date": "2020-09-29T10:22:13",
            "name": "adding support for python 3 only",
            "version": 9,
            "mbox": "http://patches.dpdk.org/series/12587/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/79169/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/79169/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 C842EA04C0;\n\tTue, 29 Sep 2020 12:28:31 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 7C3B71D941;\n\tTue, 29 Sep 2020 12:27:22 +0200 (CEST)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n by dpdk.org (Postfix) with ESMTP id B02641D5DC\n for <dev@dpdk.org>; Tue, 29 Sep 2020 12:27:13 +0200 (CEST)",
            "from fmsmga005.fm.intel.com ([10.253.24.32])\n by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 29 Sep 2020 03:27:12 -0700",
            "from silpixa00399838.ir.intel.com ([10.237.213.224])\n by fmsmga005.fm.intel.com with ESMTP; 29 Sep 2020 03:27:11 -0700"
        ],
        "IronPort-SDR": [
            "\n HFZixYnR/imZjMp3Wh4o2xOcF0CKoraP4PGGybNESScB/x5yMuHGNC9TTd+5CX4S9B752ZN14z\n kILcxImYjAhg==",
            "\n jnBrlmZCum1NH1wHfWfMNo9mrlZYRZ3wTAgjO9FtmvpCag1xyDv/D8clJigRp2zR3r/kYQpWB+\n br6gHvU8lHlw=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9758\"; a=\"149817660\"",
            "E=Sophos;i=\"5.77,318,1596524400\"; d=\"scan'208\";a=\"149817660\"",
            "E=Sophos;i=\"5.77,318,1596524400\"; d=\"scan'208\";a=\"514628380\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "Kevin Laatz <kevin.laatz@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "bruce.richardson@intel.com, anatoly.burakov@intel.com,\n robin.jarry@6wind.com, david.marchand@redhat.com,\n Louise Kilheeney <louise.kilheeney@intel.com>",
        "Date": "Tue, 29 Sep 2020 11:22:17 +0100",
        "Message-Id": "<20200929102224.440322-5-kevin.laatz@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20200929102224.440322-1-kevin.laatz@intel.com>",
        "References": "<20200928104328.409055-1-kevin.laatz@intel.com>\n <20200929102224.440322-1-kevin.laatz@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v9 04/11] usertools/cpu_layout: support python3\n\tonly",
        "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": "From: Louise Kilheeney <louise.kilheeney@intel.com>\n\nChanged script to explicitly use python3 only to avoid\nmaintaining python 2 and removed deprecation notice.\n\nSigned-off-by: Louise Kilheeney <louise.kilheeney@intel.com>\nReviewed-by: Bruce Richardson <bruce.richardson@intel.com>\nAcked-by: Robin Jarry <robin.jarry@6wind.com>\n---\n usertools/cpu_layout.py | 13 ++-----------\n 1 file changed, 2 insertions(+), 11 deletions(-)",
    "diff": "diff --git a/usertools/cpu_layout.py b/usertools/cpu_layout.py\nindex 5423c7965f..89a48cec46 100755\n--- a/usertools/cpu_layout.py\n+++ b/usertools/cpu_layout.py\n@@ -1,18 +1,9 @@\n-#!/usr/bin/env python\n+#!/usr/bin/env python3\n # SPDX-License-Identifier: BSD-3-Clause\n # Copyright(c) 2010-2014 Intel Corporation\n # Copyright(c) 2017 Cavium, Inc. All rights reserved.\n \n-from __future__ import print_function\n import sys\n-try:\n-    xrange # Python 2\n-except NameError:\n-    xrange = range # 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 sockets = []\n cores = []\n@@ -21,7 +12,7 @@\n fd = open(\"{}/kernel_max\".format(base_path))\n max_cpus = int(fd.read())\n fd.close()\n-for cpu in xrange(max_cpus + 1):\n+for cpu in range(max_cpus + 1):\n     try:\n         fd = open(\"{}/cpu{}/topology/core_id\".format(base_path, cpu))\n     except IOError:\n",
    "prefixes": [
        "v9",
        "04/11"
    ]
}