get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 83903,
    "url": "http://patches.dpdk.org/api/patches/83903/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20201110154005.9035-1-david.marchand@redhat.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": "<20201110154005.9035-1-david.marchand@redhat.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20201110154005.9035-1-david.marchand@redhat.com",
    "date": "2020-11-10T15:40:05",
    "name": "devtools: fix directory filter in forbidden token check",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "70f1a7f93c57bfde395cfddb31e9cb365388c72f",
    "submitter": {
        "id": 1173,
        "url": "http://patches.dpdk.org/api/people/1173/?format=api",
        "name": "David Marchand",
        "email": "david.marchand@redhat.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/20201110154005.9035-1-david.marchand@redhat.com/mbox/",
    "series": [
        {
            "id": 13776,
            "url": "http://patches.dpdk.org/api/series/13776/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=13776",
            "date": "2020-11-10T15:40:05",
            "name": "devtools: fix directory filter in forbidden token check",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/13776/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/83903/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/83903/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 A0BEBA04DB;\n\tTue, 10 Nov 2020 16:40:30 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 7F059323C;\n\tTue, 10 Nov 2020 16:40:29 +0100 (CET)",
            "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [216.205.24.124])\n by dpdk.org (Postfix) with ESMTP id 6BAAC323C\n for <dev@dpdk.org>; Tue, 10 Nov 2020 16:40:27 +0100 (CET)",
            "from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com\n [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id\n us-mta-25-gq2a4Z9VMQyUXI5pi5oKQQ-1; Tue, 10 Nov 2020 10:40:13 -0500",
            "from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com\n [10.5.11.23])\n (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n (No client certificate requested)\n by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 0B354809DE4;\n Tue, 10 Nov 2020 15:40:12 +0000 (UTC)",
            "from dmarchan.remote.csb (unknown [10.40.193.78])\n by smtp.corp.redhat.com (Postfix) with ESMTP id 2E97F27BA3;\n Tue, 10 Nov 2020 15:40:09 +0000 (UTC)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1605022825;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding;\n bh=jC2hlhl+ExhiDiEiJsKtNn9tS2rrKlU5RQ6ciS5ylns=;\n b=MXojtf6c0BKDMyfy/IR8hK5W8DGgmxMnkGLBT0Ro0gZcKVj6YqiK57cbTEF7q6scrigP60\n sOOpLRdPT4fssbwazkSoJHs6E3JTuOtZZFfNiQFypNQ+hxCnGYIQGy+M/LBHUZPMTMH5fR\n fq7YJws1JrREaDqiFqbZKbE/8Zy9lU0=",
        "X-MC-Unique": "gq2a4Z9VMQyUXI5pi5oKQQ-1",
        "From": "David Marchand <david.marchand@redhat.com>",
        "To": "dev@dpdk.org",
        "Cc": "thomas@monjalon.net,\n\tstable@dpdk.org",
        "Date": "Tue, 10 Nov 2020 16:40:05 +0100",
        "Message-Id": "<20201110154005.9035-1-david.marchand@redhat.com>",
        "MIME-Version": "1.0",
        "X-Scanned-By": "MIMEDefang 2.84 on 10.5.11.23",
        "Authentication-Results": "relay.mimecast.com;\n auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=david.marchand@redhat.com",
        "X-Mimecast-Spam-Score": "0",
        "X-Mimecast-Originator": "redhat.com",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain; charset=\"US-ASCII\"",
        "Subject": "[dpdk-dev] [PATCH] devtools: fix directory filter in forbidden\n\ttoken check",
        "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": "checkpatches.sh current complains on a patch [1] adding\nALLOW_EXPERIMENTAL_API in an example while this check is for app, lib\nand drivers directories:\n\nWarning in examples/ethtool/ethtool-app/Makefile:\nUsing experimental build flag for in-tree compilation\n\nThe regexp on entering files concerned by this filter is incorrect.\nIn the [1] case, the file full name is matched against \"app\" rather than\n\"+++ b/app\".\n\n1: https://patchwork.dpdk.org/patch/83902/\n\nFixes: 7413e7f2aeb3 (\"devtools: alert on new calls to exit from libs\")\nCc: stable@dpdk.org\n\nSigned-off-by: David Marchand <david.marchand@redhat.com>\n---\n devtools/check-forbidden-tokens.awk | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/devtools/check-forbidden-tokens.awk b/devtools/check-forbidden-tokens.awk\nindex f86cbe8dc1..61ba707c9b 100755\n--- a/devtools/check-forbidden-tokens.awk\n+++ b/devtools/check-forbidden-tokens.awk\n@@ -54,7 +54,7 @@ BEGIN {\n \t}\n \tfor (i in deny_folders) {\n \t\tre = \"^\\\\+\\\\+\\\\+ b/\" deny_folders[i];\n-\t\tif ($0 ~ deny_folders[i]) {\n+\t\tif ($0 ~ re) {\n \t\t\tin_file = 1\n \t\t\tlast_file = $0\n \t\t}\n",
    "prefixes": []
}