get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 4228,
    "url": "http://patchwork.dpdk.org/api/patches/4228/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/1428004702-8987-5-git-send-email-thomas.monjalon@6wind.com/",
    "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": "<1428004702-8987-5-git-send-email-thomas.monjalon@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1428004702-8987-5-git-send-email-thomas.monjalon@6wind.com",
    "date": "2015-04-02T19:58:21",
    "name": "[dpdk-dev,4/5] pkg: update RPM",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "9bee9d43184f1f3341f3d7b5f1885c06b956cda4",
    "submitter": {
        "id": 1,
        "url": "http://patchwork.dpdk.org/api/people/1/?format=api",
        "name": "Thomas Monjalon",
        "email": "thomas.monjalon@6wind.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/1428004702-8987-5-git-send-email-thomas.monjalon@6wind.com/mbox/",
    "series": [],
    "comments": "http://patchwork.dpdk.org/api/patches/4228/comments/",
    "check": "pending",
    "checks": "http://patchwork.dpdk.org/api/patches/4228/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 4D36F9AAB;\n\tThu,  2 Apr 2015 21:59:16 +0200 (CEST)",
            "from mail-wg0-f42.google.com (mail-wg0-f42.google.com\n\t[74.125.82.42]) by dpdk.org (Postfix) with ESMTP id 789709AA0\n\tfor <dev@dpdk.org>; Thu,  2 Apr 2015 21:59:14 +0200 (CEST)",
            "by wgdm6 with SMTP id m6so95464126wgd.2\n\tfor <dev@dpdk.org>; Thu, 02 Apr 2015 12:59:14 -0700 (PDT)",
            "from localhost.localdomain (136-92-190-109.dsl.ovh.fr.\n\t[109.190.92.136]) by mx.google.com with ESMTPSA id\n\tdr7sm3932819wib.22.2015.04.02.12.59.13 for <dev@dpdk.org>\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tThu, 02 Apr 2015 12:59:13 -0700 (PDT)"
        ],
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:from:to:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=BPobtMxzUySKAocC80qVGLOrU5hHP6OG6lb/JJXIofI=;\n\tb=KK44xPlW19L3mwT8qZTsItJ9GsiuQwIGkkfhW9jBnalidlk4nxX12Lq75yb517jjCa\n\tO8nw/zmkXDCbBJOGHNbS0InLM681HYkBBcMAh4Q4xgnj30NlhNM0Up0rSwDqKvH2tcoT\n\tEFstyPqCk2aVbSjvRkTzSJYJ2cw7i0B82CEYefjMCW+CX0KQPOX7DA4hNQxSwQAQpLLb\n\tlKa+0dMQUawiHTk5/G6K4MFjN3hndZF+2SKISoDJQ8vAn1j7KoE+ZHvBagKPsI6mqRPD\n\trBPNDWCdcLMvgPB0u0md7Lq8nyPURRfEWiEOIYtyECL00ppX3K/cL7haCOr39aAV7j57\n\t0F8A==",
        "X-Gm-Message-State": "ALoCoQn5qJoFoq+hX20KCwUsxdY/QAu5q0Pn3UJudUjIqGNw3OlinoIg3qZFMCx1TmXDp+rRZDnH",
        "X-Received": "by 10.194.5.37 with SMTP id p5mr98448381wjp.20.1428004754389;\n\tThu, 02 Apr 2015 12:59:14 -0700 (PDT)",
        "From": "Thomas Monjalon <thomas.monjalon@6wind.com>",
        "To": "dev@dpdk.org",
        "Date": "Thu,  2 Apr 2015 21:58:21 +0200",
        "Message-Id": "<1428004702-8987-5-git-send-email-thomas.monjalon@6wind.com>",
        "X-Mailer": "git-send-email 2.2.2",
        "In-Reply-To": "<1428004702-8987-1-git-send-email-thomas.monjalon@6wind.com>",
        "References": "<1428004702-8987-1-git-send-email-thomas.monjalon@6wind.com>",
        "Subject": "[dpdk-dev] [PATCH 4/5] pkg: update RPM",
        "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": "Enable vhost-user and build PDF doc.\nInkscape and TeXLive are required to convert .svg and .rst to .pdf.\nTemporary sphinx files .* (.doctrees/ and .buildinfo) are cleaned.\n\nTested on Fedora 20.\n\nSigned-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>\n---\n pkg/dpdk.spec | 13 +++++++++----\n 1 file changed, 9 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/pkg/dpdk.spec b/pkg/dpdk.spec\nindex 9a92e95..56fccd0 100644\n--- a/pkg/dpdk.spec\n+++ b/pkg/dpdk.spec\n@@ -44,7 +44,9 @@ ExclusiveArch: i686, x86_64\n %global target %{_arch}-native-linuxapp-gcc\n %global machine default\n \n-BuildRequires: kernel-devel, kernel-headers, libpcap-devel, xen-devel, doxygen, python-sphinx\n+BuildRequires: kernel-devel, kernel-headers, libpcap-devel, xen-devel\n+BuildRequires: doxygen, python-sphinx, inkscape\n+BuildRequires: texlive-collection-latexextra, texlive-collection-fontsextra\n \n %description\n DPDK core includes kernel modules, core libraries and tools.\n@@ -65,7 +67,7 @@ Summary: Data Plane Development Kit API documentation\n BuildArch: noarch\n %description doc\n DPDK doc is divided in two parts: API details in doxygen HTML format\n-and guides in sphinx HTML format.\n+and guides in sphinx HTML/PDF formats.\n \n %global destdir %{buildroot}%{_prefix}\n %global moddir  /lib/modules/%(uname -r)/extra\n@@ -80,6 +82,7 @@ make O=%{target} T=%{target} config\n sed -ri 's,(RTE_MACHINE=).*,\\1%{machine},' %{target}/.config\n sed -ri 's,(RTE_APP_TEST=).*,\\1n,'         %{target}/.config\n sed -ri 's,(RTE_BUILD_SHARED_LIB=).*,\\1y,' %{target}/.config\n+sed -ri 's,(LIBRTE_VHOST=).*,\\1y,'         %{target}/.config\n sed -ri 's,(LIBRTE_PMD_PCAP=).*,\\1y,'      %{target}/.config\n sed -ri 's,(LIBRTE_PMD_XENVIRT=).*,\\1y,'   %{target}/.config\n sed -ri 's,(LIBRTE_XEN_DOM0=).*,\\1y,'      %{target}/.config\n@@ -100,8 +103,10 @@ rmdir  %{destdir}/%{target}/app\n mv     %{destdir}/%{target}/include      %{buildroot}%{_includedir}\n mv     %{destdir}/%{target}/lib          %{buildroot}%{_libdir}\n mkdir -p                                 %{buildroot}%{docdir}\n-mv     %{destdir}/%{target}/doc/*        %{buildroot}%{docdir}\n-rmdir  %{destdir}/%{target}/doc\n+rm -rf %{destdir}/%{target}/doc/*/*/.{build,doc}*\n+mv     %{destdir}/%{target}/doc/html/*   %{buildroot}%{docdir}\n+mv     %{destdir}/%{target}/doc/*/*/*pdf %{buildroot}%{docdir}/guides\n+rm -rf %{destdir}/%{target}/doc\n mkdir -p                                 %{buildroot}%{datadir}\n mv     %{destdir}/%{target}/.config      %{buildroot}%{datadir}/config\n mv     %{destdir}/%{target}              %{buildroot}%{datadir}\n",
    "prefixes": [
        "dpdk-dev",
        "4/5"
    ]
}