get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 84136,
    "url": "https://patches.dpdk.org/api/patches/84136/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20201113122430.25354-4-david.marchand@redhat.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": "<20201113122430.25354-4-david.marchand@redhat.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20201113122430.25354-4-david.marchand@redhat.com",
    "date": "2020-11-13T12:24:22",
    "name": "[v2,03/11] examples/kni: fix build with pkg-config",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "93be6cfe7b6de91daed1cedb87a50e4c765e7b8c",
    "submitter": {
        "id": 1173,
        "url": "https://patches.dpdk.org/api/people/1173/?format=api",
        "name": "David Marchand",
        "email": "david.marchand@redhat.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/20201113122430.25354-4-david.marchand@redhat.com/mbox/",
    "series": [
        {
            "id": 13872,
            "url": "https://patches.dpdk.org/api/series/13872/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=13872",
            "date": "2020-11-13T12:24:19",
            "name": "Examples compilation fixes",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/13872/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/84136/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/84136/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 F3C28A09E0;\n\tFri, 13 Nov 2020 13:25:55 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 31774C8D4;\n\tFri, 13 Nov 2020 13:25:00 +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 37DFCC8D2\n for <dev@dpdk.org>; Fri, 13 Nov 2020 13:24:58 +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-591-gFpjpSQUOHOT6BSte9ai6w-1; Fri, 13 Nov 2020 07:24:53 -0500",
            "from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com\n [10.5.11.16])\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 B6C731054F8A;\n Fri, 13 Nov 2020 12:24:51 +0000 (UTC)",
            "from dmarchan.remote.csb (unknown [10.40.192.29])\n by smtp.corp.redhat.com (Postfix) with ESMTP id 6B2185C1C2;\n Fri, 13 Nov 2020 12:24:49 +0000 (UTC)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1605270296;\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 in-reply-to:in-reply-to:references:references;\n bh=wvE9dfhpP5ml5kpVzz3Rq3GDVu2eABCeGfEwKGZ9hkg=;\n b=Tf6GTFgqOz1wiobV3u5OiwtExwfU1KD7lKSXVprHHZgt36CN4GeTNKs8qizMUVTF3taxJb\n ESp3wTjnqBJJPlxcrvhj3R3UCYsjN7jLY5Vz23yCkqN8KCkwVwvwDrLw/1l2qZMZnqHYdI\n bCMQi/tldDDMVmADqbDQXQymu79HNzY=",
        "X-MC-Unique": "gFpjpSQUOHOT6BSte9ai6w-1",
        "From": "David Marchand <david.marchand@redhat.com>",
        "To": "dev@dpdk.org",
        "Cc": "thomas@monjalon.net, bruce.richardson@intel.com, stable@dpdk.org,\n Ferruh Yigit <ferruh.yigit@intel.com>, Dan Gora <dg@adax.com>",
        "Date": "Fri, 13 Nov 2020 13:24:22 +0100",
        "Message-Id": "<20201113122430.25354-4-david.marchand@redhat.com>",
        "In-Reply-To": "<20201113122430.25354-1-david.marchand@redhat.com>",
        "References": "<20201110151219.4893-1-david.marchand@redhat.com>\n <20201113122430.25354-1-david.marchand@redhat.com>",
        "MIME-Version": "1.0",
        "X-Scanned-By": "MIMEDefang 2.79 on 10.5.11.16",
        "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 v2 03/11] examples/kni: fix build with pkg-config",
        "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": "rm -f build/kni build/kni-static build/kni-shared\ntest -d build && rmdir -p build || true\n[...]\n/usr/bin/ld: /tmp/cc72ssnK.o: undefined reference to symbol\n'pthread_join@@GLIBC_2.2.5'\n\nThis example explicitly call pthread API and should be linked against\nthe pthread library.\n\nFixes: 724beb913b44 (\"examples/kni: monitor and update link state continually\")\nCc: stable@dpdk.org\n\nSigned-off-by: David Marchand <david.marchand@redhat.com>\nAcked-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n examples/kni/Makefile | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/examples/kni/Makefile b/examples/kni/Makefile\nindex fa9fa85319..bdc8a2aabe 100644\n--- a/examples/kni/Makefile\n+++ b/examples/kni/Makefile\n@@ -24,6 +24,7 @@ PKGCONF ?= pkg-config\n PC_FILE := $(shell $(PKGCONF) --path libdpdk 2>/dev/null)\n CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk)\n CFLAGS += -DALLOW_EXPERIMENTAL_API\n+LDFLAGS += -pthread\n LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk)\n LDFLAGS_STATIC = $(shell $(PKGCONF) --static --libs libdpdk)\n \n",
    "prefixes": [
        "v2",
        "03/11"
    ]
}