get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 13572,
    "url": "https://patches.dpdk.org/api/patches/13572/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1465830632-25156-1-git-send-email-christian.ehrhardt@canonical.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": "<1465830632-25156-1-git-send-email-christian.ehrhardt@canonical.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1465830632-25156-1-git-send-email-christian.ehrhardt@canonical.com",
    "date": "2016-06-13T15:10:32",
    "name": "[dpdk-dev,RFC] mk: filter duplicate configuration entries",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "44e377cea4bedff6ce2ab9e51953e934d4de9e5a",
    "submitter": {
        "id": 382,
        "url": "https://patches.dpdk.org/api/people/382/?format=api",
        "name": "Christian Ehrhardt",
        "email": "christian.ehrhardt@canonical.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/1465830632-25156-1-git-send-email-christian.ehrhardt@canonical.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/13572/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/13572/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 29756567C;\n\tMon, 13 Jun 2016 17:10:38 +0200 (CEST)",
            "from youngberry.canonical.com (youngberry.canonical.com\n\t[91.189.89.112]) by dpdk.org (Postfix) with ESMTP id E8962567A\n\tfor <dev@dpdk.org>; Mon, 13 Jun 2016 17:10:36 +0200 (CEST)",
            "from 1.general.paelzer.uk.vpn ([10.172.196.172]\n\thelo=localhost.localdomain)\n\tby youngberry.canonical.com with esmtpsa\n\t(TLS1.0:RSA_AES_128_CBC_SHA1:16)\n\t(Exim 4.76) (envelope-from <christian.ehrhardt@canonical.com>)\n\tid 1bCTVa-0006ZX-Pe; Mon, 13 Jun 2016 15:10:34 +0000"
        ],
        "From": "Christian Ehrhardt <christian.ehrhardt@canonical.com>",
        "To": "christian.ehrhardt@canonical.com, ferruh.yigit@intel.com,\n\tthomas.monjalon@6wind.com, dev@dpdk.org",
        "Date": "Mon, 13 Jun 2016 17:10:32 +0200",
        "Message-Id": "<1465830632-25156-1-git-send-email-christian.ehrhardt@canonical.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<CAATJJ0KgKO3nOYxVWs4-tHdFOJ7=Co-FWpdfNppXYCTOOrp=aA@mail.gmail.com>",
        "References": "<CAATJJ0KgKO3nOYxVWs4-tHdFOJ7=Co-FWpdfNppXYCTOOrp=aA@mail.gmail.com>",
        "Subject": "[dpdk-dev] [RFC] mk: filter duplicate configuration entries",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "patches and discussions about DPDK <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": "Due to the hierarchy and the demand to keep the base config shoing all\noptions some options end up multiple times in the .config file.\n\nA suggested solution was to filter for duplicates at the end of the\nactual config step which is implemented here.\n\nSigned-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>\n---\n mk/rte.sdkconfig.mk | 5 +++++\n 1 file changed, 5 insertions(+)",
    "diff": "diff --git a/mk/rte.sdkconfig.mk b/mk/rte.sdkconfig.mk\nindex a3acfe6..734aa06 100644\n--- a/mk/rte.sdkconfig.mk\n+++ b/mk/rte.sdkconfig.mk\n@@ -70,6 +70,11 @@ config: notemplate\n else\n config: $(RTE_OUTPUT)/include/rte_config.h $(RTE_OUTPUT)/Makefile\n \t$(Q)$(MAKE) depdirs\n+\ttac $(RTE_OUTPUT)/.config | awk --field-separator '=' '!/^#/ {print $$1}' | while read config; do \\\n+\t\tif [ $$(grep \"^$${config}=\" $(RTE_OUTPUT)/.config | wc -l) -gt 1 ]; then \\\n+\t\t\tsed -i \"0,/$${config}/{//d}\" $(RTE_OUTPUT)/.config; \\\n+\t\tfi; \\\n+\tdone\n \t@echo \"Configuration done\"\n endif\n \n",
    "prefixes": [
        "dpdk-dev",
        "RFC"
    ]
}