get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 40060,
    "url": "https://patches.dpdk.org/api/patches/40060/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1526399929-24299-4-git-send-email-jananeex.m.parthasarathy@intel.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": "<1526399929-24299-4-git-send-email-jananeex.m.parthasarathy@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1526399929-24299-4-git-send-email-jananeex.m.parthasarathy@intel.com",
    "date": "2018-05-15T15:58:49",
    "name": "[dpdk-dev,v3,3/3] app/test: enhance freebsd support in sanity script",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "2894268f4ee44a79a72d1d2bf080c851da1c1c06",
    "submitter": {
        "id": 1024,
        "url": "https://patches.dpdk.org/api/people/1024/?format=api",
        "name": "Jananee Parthasarathy",
        "email": "jananeex.m.parthasarathy@intel.com"
    },
    "delegate": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1526399929-24299-4-git-send-email-jananeex.m.parthasarathy@intel.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/40060/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/40060/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 978B31B867;\n\tTue, 15 May 2018 17:59:11 +0200 (CEST)",
            "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n\tby dpdk.org (Postfix) with ESMTP id E7BFE1B85B\n\tfor <dev@dpdk.org>; Tue, 15 May 2018 17:59:07 +0200 (CEST)",
            "from orsmga006.jf.intel.com ([10.7.209.51])\n\tby orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t15 May 2018 08:59:06 -0700",
            "from irvmail001.ir.intel.com ([163.33.26.43])\n\tby orsmga006.jf.intel.com with ESMTP; 15 May 2018 08:59:05 -0700",
            "from wgcvswdev001.ir.intel.com (wgcvswdev001.ir.intel.com\n\t[10.102.246.100])\n\tby irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id\n\tw4FFx4hS032109; Tue, 15 May 2018 16:59:05 +0100",
            "from wgcvswdev001.ir.intel.com (localhost [127.0.0.1])\n\tby wgcvswdev001.ir.intel.com with ESMTP id w4FFx4DS024407;\n\tTue, 15 May 2018 16:59:04 +0100",
            "(from jmparthx@localhost)\n\tby wgcvswdev001.ir.intel.com with ? id w4FFx4w8024403;\n\tTue, 15 May 2018 16:59:04 +0100"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.49,403,1520924400\"; d=\"scan'208\";a=\"41996720\"",
        "From": "Jananee Parthasarathy <jananeex.m.parthasarathy@intel.com>",
        "To": "dev@dpdk.org, anatoly.burakov@intel.com",
        "Cc": "reshma.pattan@intel.com,\n\tJananee Parthasarathy <jananeex.m.parthasarathy@intel.com>",
        "Date": "Tue, 15 May 2018 16:58:49 +0100",
        "Message-Id": "<1526399929-24299-4-git-send-email-jananeex.m.parthasarathy@intel.com>",
        "X-Mailer": "git-send-email 1.7.12.2",
        "In-Reply-To": "<1526399929-24299-1-git-send-email-jananeex.m.parthasarathy@intel.com>",
        "References": "<1525948573-26007-1-git-send-email-jananeex.m.parthasarathy@intel.com>\n\t<1526399929-24299-1-git-send-email-jananeex.m.parthasarathy@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v3 3/3] app/test: enhance freebsd support in\n\tsanity script",
        "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://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": "<https://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": "Update test command line with no additional arguments,\nas FreeBSD doesn't support socket-mem, file-prefix options\n\nSigned-off-by: Jananee Parthasarathy <jananeex.m.parthasarathy@intel.com>\n---\n test/test/autotest_runner.py | 8 +++++++-\n 1 file changed, 7 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/test/test/autotest_runner.py b/test/test/autotest_runner.py\nindex a692f06..0997e78 100644\n--- a/test/test/autotest_runner.py\n+++ b/test/test/autotest_runner.py\n@@ -1,5 +1,5 @@\n # SPDX-License-Identifier: BSD-3-Clause\n-# Copyright(c) 2010-2014 Intel Corporation\n+# Copyright(c) 2010-2018 Intel Corporation\n \n # The main logic behind running autotests in parallel\n \n@@ -201,6 +201,12 @@ def __init__(self, cmdline, target, blacklist, whitelist):\n     # set up cmdline string\n     def __get_cmdline(self, test):\n         cmdline = self.cmdline\n+        os_name = sys.platform\n+\n+        # test command line need not be modified for FreeBSD\n+        # as socket-mem, file-prefix is not supported\n+        if os_name.startswith('freebsd') :\n+            return cmdline\n \n         # append memory limitations for each test\n         # otherwise tests won't run in parallel\n",
    "prefixes": [
        "dpdk-dev",
        "v3",
        "3/3"
    ]
}