get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 40675,
    "url": "http://patchwork.dpdk.org/api/patches/40675/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/qsfsqdfsdfsd@sdfa2345/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "qsfsqdfsdfsd@sdfa2345",
    "list_archive_url": "https://inbox.dpdk.org/dev/qsfsqdfsdfsd@sdfa2345",
    "date": "2018-05-26T22:23:58",
    "name": "fix typo in mac_swap",
    "commit_ref": null,
    "pull_url": null,
    "state": "not-applicable",
    "archived": true,
    "hash": "99979b27824da21cbde77d5bc982809ef03351fe",
    "submitter": {
        "id": 969,
        "url": "http://patchwork.dpdk.org/api/people/969/?format=api",
        "name": "Ali Alnubani",
        "email": "alialnu@mellanox.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/qsfsqdfsdfsd@sdfa2345/mbox/",
    "series": [
        {
            "id": 8,
            "url": "http://patchwork.dpdk.org/api/series/8/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=8",
            "date": "2018-05-26T22:23:58",
            "name": "fix typo in mac_swap",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/8/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/40675/comments/",
    "check": "pending",
    "checks": "http://patchwork.dpdk.org/api/patches/40675/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "From": "Ali Alnubani <alialnu@mellanox.com>",
        "Date": "Sun, 27 May 2018 00:23:58 +0200",
        "Subject": "[PATCH] fix typo in mac_swap",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "Message-Id": "qsfsqdfsdfsd@sdfa2345"
    },
    "content": "mac_swap should be macswap.\n\nSigned-off-by: Ali Alnubani <alialnu@mellanox.com>\n---\n doc/guides/testpmd_app_ug/run_app.rst | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/doc/guides/testpmd_app_ug/run_app.rst b/doc/guides/testpmd_app_ug/run_app.rst\nindex f301c2b6f..4f9eacbe5 100644\n--- a/doc/guides/testpmd_app_ug/run_app.rst\n+++ b/doc/guides/testpmd_app_ug/run_app.rst\n@@ -332,7 +332,7 @@ The commandline options are:\n \n        io (the default)\n        mac\n-       mac_swap\n+       macswap\n        flowgen\n        rxonly\n        txonly\n",
    "prefixes": []
}