get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 17999,
    "url": "https://patches.dpdk.org/api/patches/17999/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1481839149-26684-3-git-send-email-thomas.monjalon@6wind.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": "<1481839149-26684-3-git-send-email-thomas.monjalon@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1481839149-26684-3-git-send-email-thomas.monjalon@6wind.com",
    "date": "2016-12-15T21:59:08",
    "name": "[dpdk-dev,2/3] scripts: move to devtools",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "17f3a24399a02d863b6dc351d1539c990b49d0ce",
    "submitter": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/people/1/?format=api",
        "name": "Thomas Monjalon",
        "email": "thomas.monjalon@6wind.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/1481839149-26684-3-git-send-email-thomas.monjalon@6wind.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/17999/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/17999/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 85DEB4B79;\n\tThu, 15 Dec 2016 22:59:54 +0100 (CET)",
            "from mail-wj0-f169.google.com (mail-wj0-f169.google.com\n\t[209.85.210.169]) by dpdk.org (Postfix) with ESMTP id CAE2F316B\n\tfor <dev@dpdk.org>; Thu, 15 Dec 2016 22:59:30 +0100 (CET)",
            "by mail-wj0-f169.google.com with SMTP id xy5so77214186wjc.0\n\tfor <dev@dpdk.org>; Thu, 15 Dec 2016 13:59:30 -0800 (PST)",
            "from XPS13.localdomain (184.203.134.77.rev.sfr.net.\n\t[77.134.203.184])\n\tby smtp.gmail.com with ESMTPSA id w8sm440819wmw.4.2016.12.15.13.59.29\n\tfor <dev@dpdk.org>\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tThu, 15 Dec 2016 13:59:29 -0800 (PST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=6wind-com.20150623.gappssmtp.com; s=20150623;\n\th=from:to:subject:date:message-id:in-reply-to:references;\n\tbh=yCPvmPhIHAI8SROqVy4nvHjGSzm195GFepdUa1dm2YM=;\n\tb=g65b9D1pmw7sQ+O5597m+VnJ3tI0jE0GwzzuqUwwM4uc9NiE9rjQoI+UFfLU+YR5Sb\n\tA4LBQ9aPJ/1PIoAM8T+gf2G4iC8iUue1gK9E69PYBG/+oTNvsqt+P1Ue/V83H8PJsmCI\n\tDtiRg4sLer5aYYJM6kka7L44zWuFImfs7RF0vi2TZ9silXZbr3EeWqhUdOq6+k+QAgyI\n\tcFXWzWFpW9aMH3DKNwfHcTsXfi0NF4Ari8izX2ycEcSs4zlJ7eEt4E8ZpQHlvZA+9BLb\n\tmkfC+rllhWQ3McJJBcU8oSGw9E56EqdNf/D2YjeBM0biAB6P3bwnwsLh8Zog9Z5jWboF\n\tYpdw==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=yCPvmPhIHAI8SROqVy4nvHjGSzm195GFepdUa1dm2YM=;\n\tb=iYNdusDDccx/zVohDvdsKHnSsrjsqvvWaQ288i1nH9XA1apivTksQZK71mNaWHh204\n\tPYJSI5gcYeMqr8E61lOf+zpFZr1p5mAEYMlP6qWSc+6FM1l9BMaa+xvneY8B/ZdM2sps\n\tqKujelWhHfd+JwqI4RUObt8T/rcLmT4UFvSnZ2kq4UTys6YW1C6zfmgUSMsNklQ2p50J\n\t7VIlFRKYq5QdI0aAqVCz1INtwfPx/6pJNqUr46f41tFzo4n0P6l9sgEi5wdMF/163QDa\n\t6A6AkJLXBInorxNap4BCxUltObv/WbW+Jlsz6T2gu09S1EuOV8iT34AtN750pv2tiC8v\n\tfeLw==",
        "X-Gm-Message-State": "AKaTC00LXRbnnwO8F6uevQMi8G/jFHhC1g6OuKVQzOxK8jQX5qJ9lK4jvWSDdapd9hBnaO+d",
        "X-Received": "by 10.194.148.134 with SMTP id ts6mr3374234wjb.220.1481839170255;\n\tThu, 15 Dec 2016 13:59:30 -0800 (PST)",
        "From": "Thomas Monjalon <thomas.monjalon@6wind.com>",
        "To": "dev@dpdk.org",
        "Date": "Thu, 15 Dec 2016 22:59:08 +0100",
        "Message-Id": "<1481839149-26684-3-git-send-email-thomas.monjalon@6wind.com>",
        "X-Mailer": "git-send-email 2.7.0",
        "In-Reply-To": "<1481839149-26684-1-git-send-email-thomas.monjalon@6wind.com>",
        "References": "<1481839149-26684-1-git-send-email-thomas.monjalon@6wind.com>",
        "Subject": "[dpdk-dev] [PATCH 2/3] scripts: move to devtools",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <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 remaining scripts in the scripts/ directory are only useful\nto developers. That's why devtools/ is a better name.\n\nSigned-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>\n---\n MAINTAINERS                                   | 14 +++++++-------\n {scripts => devtools}/check-git-log.sh        |  0\n {scripts => devtools}/check-includes.sh       |  0\n {scripts => devtools}/check-maintainers.sh    |  0\n {scripts => devtools}/checkpatches.sh         |  0\n {scripts => devtools}/cocci.sh                |  2 +-\n {scripts => devtools}/cocci/mtod-offset.cocci |  0\n {scripts => devtools}/git-log-fixes.sh        |  0\n {scripts => devtools}/load-devel-config       |  0\n {scripts => devtools}/test-build.sh           |  0\n {scripts => devtools}/test-null.sh            |  0\n {scripts => devtools}/validate-abi.sh         |  0\n doc/guides/contributing/patches.rst           |  8 ++++----\n doc/guides/contributing/versioning.rst        | 10 +++++-----\n 14 files changed, 17 insertions(+), 17 deletions(-)\n rename {scripts => devtools}/check-git-log.sh (100%)\n rename {scripts => devtools}/check-includes.sh (100%)\n rename {scripts => devtools}/check-maintainers.sh (100%)\n rename {scripts => devtools}/checkpatches.sh (100%)\n rename {scripts => devtools}/cocci.sh (98%)\n rename {scripts => devtools}/cocci/mtod-offset.cocci (100%)\n rename {scripts => devtools}/git-log-fixes.sh (100%)\n rename {scripts => devtools}/load-devel-config (100%)\n rename {scripts => devtools}/test-build.sh (100%)\n rename {scripts => devtools}/test-null.sh (100%)\n rename {scripts => devtools}/validate-abi.sh (100%)",
    "diff": "diff --git a/MAINTAINERS b/MAINTAINERS\nindex b0f5b8a..e779a5d 100644\n--- a/MAINTAINERS\n+++ b/MAINTAINERS\n@@ -24,13 +24,13 @@ General Project Administration\n M: Thomas Monjalon <thomas.monjalon@6wind.com>\n T: git://dpdk.org/dpdk\n F: MAINTAINERS\n-F: scripts/check-maintainers.sh\n-F: scripts/check-git-log.sh\n-F: scripts/check-includes.sh\n-F: scripts/checkpatches.sh\n-F: scripts/git-log-fixes.sh\n-F: scripts/load-devel-config\n-F: scripts/test-build.sh\n+F: devtools/check-maintainers.sh\n+F: devtools/check-git-log.sh\n+F: devtools/check-includes.sh\n+F: devtools/checkpatches.sh\n+F: devtools/git-log-fixes.sh\n+F: devtools/load-devel-config\n+F: devtools/test-build.sh\n \n Stable Branches\n ---------------\ndiff --git a/scripts/check-git-log.sh b/devtools/check-git-log.sh\nsimilarity index 100%\nrename from scripts/check-git-log.sh\nrename to devtools/check-git-log.sh\ndiff --git a/scripts/check-includes.sh b/devtools/check-includes.sh\nsimilarity index 100%\nrename from scripts/check-includes.sh\nrename to devtools/check-includes.sh\ndiff --git a/scripts/check-maintainers.sh b/devtools/check-maintainers.sh\nsimilarity index 100%\nrename from scripts/check-maintainers.sh\nrename to devtools/check-maintainers.sh\ndiff --git a/scripts/checkpatches.sh b/devtools/checkpatches.sh\nsimilarity index 100%\nrename from scripts/checkpatches.sh\nrename to devtools/checkpatches.sh\ndiff --git a/scripts/cocci.sh b/devtools/cocci.sh\nsimilarity index 98%\nrename from scripts/cocci.sh\nrename to devtools/cocci.sh\nindex 7acc256..4ca5025 100755\n--- a/scripts/cocci.sh\n+++ b/devtools/cocci.sh\n@@ -33,7 +33,7 @@\n # Apply coccinelle transforms.\n \n SRCTREE=$(readlink -f $(dirname $0)/..)\n-COCCI=$SRCTREE/scripts/cocci\n+COCCI=$SRCTREE/devtools/cocci\n [ -n \"$SPATCH\" ] || SPATCH=$(which spatch)\n \n PATCH_LIST=\"$@\"\ndiff --git a/scripts/cocci/mtod-offset.cocci b/devtools/cocci/mtod-offset.cocci\nsimilarity index 100%\nrename from scripts/cocci/mtod-offset.cocci\nrename to devtools/cocci/mtod-offset.cocci\ndiff --git a/scripts/git-log-fixes.sh b/devtools/git-log-fixes.sh\nsimilarity index 100%\nrename from scripts/git-log-fixes.sh\nrename to devtools/git-log-fixes.sh\ndiff --git a/scripts/load-devel-config b/devtools/load-devel-config\nsimilarity index 100%\nrename from scripts/load-devel-config\nrename to devtools/load-devel-config\ndiff --git a/scripts/test-build.sh b/devtools/test-build.sh\nsimilarity index 100%\nrename from scripts/test-build.sh\nrename to devtools/test-build.sh\ndiff --git a/scripts/test-null.sh b/devtools/test-null.sh\nsimilarity index 100%\nrename from scripts/test-null.sh\nrename to devtools/test-null.sh\ndiff --git a/scripts/validate-abi.sh b/devtools/validate-abi.sh\nsimilarity index 100%\nrename from scripts/validate-abi.sh\nrename to devtools/validate-abi.sh\ndiff --git a/doc/guides/contributing/patches.rst b/doc/guides/contributing/patches.rst\nindex fabddbe..fe42679 100644\n--- a/doc/guides/contributing/patches.rst\n+++ b/doc/guides/contributing/patches.rst\n@@ -242,7 +242,7 @@ For example::\n Checking the Patches\n --------------------\n \n-Patches should be checked for formatting and syntax issues using the ``checkpatches.sh`` script in the ``scripts``\n+Patches should be checked for formatting and syntax issues using the ``checkpatches.sh`` script in the ``devtools``\n directory of the DPDK repo.\n This uses the Linux kernel development tool ``checkpatch.pl`` which  can be obtained by cloning, and periodically,\n updating the Linux kernel sources.\n@@ -257,7 +257,7 @@ files, in order of preference::\n \n Once the environment variable the script can be run as follows::\n \n-   scripts/checkpatches.sh ~/patch/\n+   devtools/checkpatches.sh ~/patch/\n \n The script usage is::\n \n@@ -284,10 +284,10 @@ Where the range is a ``git log`` option.\n Checking Compilation\n --------------------\n \n-Compilation of patches and changes should be tested using the the ``test-build.sh`` script in the ``scripts``\n+Compilation of patches and changes should be tested using the the ``test-build.sh`` script in the ``devtools``\n directory of the DPDK repo::\n \n-  scripts/test-build.sh x86_64-native-linuxapp-gcc+next+shared\n+  devtools/test-build.sh x86_64-native-linuxapp-gcc+next+shared\n \n The script usage is::\n \ndiff --git a/doc/guides/contributing/versioning.rst b/doc/guides/contributing/versioning.rst\nindex 08e2e21..fbc44a7 100644\n--- a/doc/guides/contributing/versioning.rst\n+++ b/doc/guides/contributing/versioning.rst\n@@ -457,7 +457,7 @@ versions of the symbol.\n Running the ABI Validator\n -------------------------\n \n-The ``scripts`` directory in the DPDK source tree contains a utility program,\n+The ``devtools`` directory in the DPDK source tree contains a utility program,\n ``validate-abi.sh``, for validating the DPDK ABI based on the Linux `ABI\n Compliance Checker\n <http://ispras.linuxbase.org/index.php/ABI_compliance_checker>`_.\n@@ -470,7 +470,7 @@ utilities which can be installed via a package manager. For example::\n \n The syntax of the ``validate-abi.sh`` utility is::\n \n-   ./scripts/validate-abi.sh <REV1> <REV2> <TARGET>\n+   ./devtools/validate-abi.sh <REV1> <REV2> <TARGET>\n \n Where ``REV1`` and ``REV2`` are valid gitrevisions(7)\n https://www.kernel.org/pub/software/scm/git/docs/gitrevisions.html\n@@ -479,13 +479,13 @@ on the local repo and target is the usual DPDK compilation target.\n For example::\n \n    # Check between the previous and latest commit:\n-   ./scripts/validate-abi.sh HEAD~1 HEAD x86_64-native-linuxapp-gcc\n+   ./devtools/validate-abi.sh HEAD~1 HEAD x86_64-native-linuxapp-gcc\n \n    # Check between two tags:\n-   ./scripts/validate-abi.sh v2.0.0 v2.1.0 x86_64-native-linuxapp-gcc\n+   ./devtools/validate-abi.sh v2.0.0 v2.1.0 x86_64-native-linuxapp-gcc\n \n    # Check between git master and local topic-branch \"vhost-hacking\":\n-   ./scripts/validate-abi.sh master vhost-hacking x86_64-native-linuxapp-gcc\n+   ./devtools/validate-abi.sh master vhost-hacking x86_64-native-linuxapp-gcc\n \n After the validation script completes (it can take a while since it need to\n compile both tags) it will create compatibility reports in the\n",
    "prefixes": [
        "dpdk-dev",
        "2/3"
    ]
}