get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 20253,
    "url": "http://patches.dpdk.org/api/patches/20253/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20170208175455.18464-1-ferruh.yigit@intel.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": "<20170208175455.18464-1-ferruh.yigit@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20170208175455.18464-1-ferruh.yigit@intel.com",
    "date": "2017-02-08T17:54:55",
    "name": "[dpdk-dev,v3] doc: automate examples file list for API doc",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "3c21d38e24e77adf8f74313b1c28b156d2ece128",
    "submitter": {
        "id": 324,
        "url": "http://patches.dpdk.org/api/people/324/?format=api",
        "name": "Ferruh Yigit",
        "email": "ferruh.yigit@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20170208175455.18464-1-ferruh.yigit@intel.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/20253/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/20253/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 7D7CFDE5;\n\tWed,  8 Feb 2017 18:55:02 +0100 (CET)",
            "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n\tby dpdk.org (Postfix) with ESMTP id 28858952\n\tfor <dev@dpdk.org>; Wed,  8 Feb 2017 18:55:00 +0100 (CET)",
            "from fmsmga003.fm.intel.com ([10.253.24.29])\n\tby orsmga105.jf.intel.com with ESMTP; 08 Feb 2017 09:54:59 -0800",
            "from sivswdev02.ir.intel.com ([10.237.217.46])\n\tby FMSMGA003.fm.intel.com with ESMTP; 08 Feb 2017 09:54:57 -0800"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.35,348,1484035200\"; d=\"scan'208\";a=\"818567293\"",
        "From": "Ferruh Yigit <ferruh.yigit@intel.com>",
        "To": "Thomas Monjalon <thomas.monjalon@6wind.com>",
        "Cc": "dev@dpdk.org,\n\tFerruh Yigit <ferruh.yigit@intel.com>",
        "Date": "Wed,  8 Feb 2017 17:54:55 +0000",
        "Message-Id": "<20170208175455.18464-1-ferruh.yigit@intel.com>",
        "X-Mailer": "git-send-email 2.8.4",
        "In-Reply-To": "<20170127173728.21618-1-ferruh.yigit@intel.com>",
        "References": "<20170127173728.21618-1-ferruh.yigit@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v3] doc: automate examples file list for API doc",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <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": "These files are linked to API documentation as usage samples, list of\nfiles created automatically during doc creation.\n\nRemove manually updated old one.\n\nSigned-off-by: Ferruh Yigit <ferruh.yigit@intel.com>\n---\n\nv3:\n* use only find tool to create list of files, remove awk\n* update line order of INPUT line.\n---\n doc/api/doxy-api.conf |   1 -\n doc/api/examples.dox  | 115 --------------------------------------------------\n mk/rte.sdkdoc.mk      |  12 +++++-\n 3 files changed, 11 insertions(+), 117 deletions(-)\n delete mode 100644 doc/api/examples.dox",
    "diff": "diff --git a/doc/api/doxy-api.conf b/doc/api/doxy-api.conf\nindex b8a5fd8..fdcf13c 100644\n--- a/doc/api/doxy-api.conf\n+++ b/doc/api/doxy-api.conf\n@@ -30,7 +30,6 @@\n \n PROJECT_NAME            = DPDK\n INPUT                   = doc/api/doxy-api-index.md \\\n-                          doc/api/examples.dox \\\n                           drivers/net/bonding \\\n                           drivers/net/i40e \\\n                           drivers/net/ixgbe \\\ndiff --git a/doc/api/examples.dox b/doc/api/examples.dox\ndeleted file mode 100644\nindex 9a48f5f..0000000\n--- a/doc/api/examples.dox\n+++ /dev/null\n@@ -1,115 +0,0 @@\n-/**\n-@page examples DPDK Example Programs\n-\n-@example bond/main.c\n-@example cmdline/commands.c\n-@example cmdline/main.c\n-@example cmdline/parse_obj_list.c\n-@example distributor/main.c\n-@example dpdk_qat/crypto.c\n-@example dpdk_qat/main.c\n-@example ethtool/ethtool-app/ethapp.c\n-@example ethtool/ethtool-app/main.c\n-@example ethtool/lib/rte_ethtool.c\n-@example exception_path/main.c\n-@example helloworld/main.c\n-@example ip_fragmentation/main.c\n-@example ip_pipeline/config_check.c\n-@example ip_pipeline/config_parse.c\n-@example ip_pipeline/config_parse_tm.c\n-@example ip_pipeline/cpu_core_map.c\n-@example ip_pipeline/init.c\n-@example ip_pipeline/main.c\n-@example ip_pipeline/pipeline/pipeline_common_be.c\n-@example ip_pipeline/pipeline/pipeline_common_fe.c\n-@example ip_pipeline/pipeline/pipeline_firewall_be.c\n-@example ip_pipeline/pipeline/pipeline_firewall.c\n-@example ip_pipeline/pipeline/pipeline_flow_actions_be.c\n-@example ip_pipeline/pipeline/pipeline_flow_actions.c\n-@example ip_pipeline/pipeline/pipeline_flow_classification_be.c\n-@example ip_pipeline/pipeline/pipeline_flow_classification.c\n-@example ip_pipeline/pipeline/pipeline_master_be.c\n-@example ip_pipeline/pipeline/pipeline_master.c\n-@example ip_pipeline/pipeline/pipeline_passthrough_be.c\n-@example ip_pipeline/pipeline/pipeline_passthrough.c\n-@example ip_pipeline/pipeline/pipeline_routing_be.c\n-@example ip_pipeline/pipeline/pipeline_routing.c\n-@example ip_pipeline/thread.c\n-@example ip_pipeline/thread_fe.c\n-@example ip_reassembly/main.c\n-@example ipv4_multicast/main.c\n-@example kni/main.c\n-@example l2fwd-crypto/main.c\n-@example l2fwd-jobstats/main.c\n-@example l2fwd-keepalive/main.c\n-@example l2fwd/main.c\n-@example l3fwd-acl/main.c\n-@example l3fwd/main.c\n-@example l3fwd-power/main.c\n-@example l3fwd-vf/main.c\n-@example link_status_interrupt/main.c\n-@example load_balancer/config.c\n-@example load_balancer/init.c\n-@example load_balancer/main.c\n-@example load_balancer/runtime.c\n-@example multi_process/client_server_mp/mp_client/client.c\n-@example multi_process/client_server_mp/mp_server/args.c\n-@example multi_process/client_server_mp/mp_server/init.c\n-@example multi_process/client_server_mp/mp_server/main.c\n-@example multi_process/l2fwd_fork/flib.c\n-@example multi_process/l2fwd_fork/main.c\n-@example multi_process/simple_mp/main.c\n-@example multi_process/simple_mp/mp_commands.c\n-@example multi_process/symmetric_mp/main.c\n-@example netmap_compat/bridge/bridge.c\n-@example netmap_compat/lib/compat_netmap.c\n-@example packet_ordering/main.c\n-@example performance-thread/common/arch/x86/ctx.c\n-@example performance-thread/common/lthread.c\n-@example performance-thread/common/lthread_cond.c\n-@example performance-thread/common/lthread_diag.c\n-@example performance-thread/common/lthread_mutex.c\n-@example performance-thread/common/lthread_sched.c\n-@example performance-thread/common/lthread_tls.c\n-@example performance-thread/l3fwd-thread/main.c\n-@example performance-thread/pthread_shim/main.c\n-@example performance-thread/pthread_shim/pthread_shim.c\n-@example ptpclient/ptpclient.c\n-@example qos_meter/main.c\n-@example qos_meter/rte_policer.c\n-@example qos_sched/app_thread.c\n-@example qos_sched/args.c\n-@example qos_sched/cfg_file.c\n-@example qos_sched/cmdline.c\n-@example qos_sched/init.c\n-@example qos_sched/main.c\n-@example qos_sched/stats.c\n-@example quota_watermark/qw/args.c\n-@example quota_watermark/qwctl/commands.c\n-@example quota_watermark/qwctl/qwctl.c\n-@example quota_watermark/qw/init.c\n-@example quota_watermark/qw/main.c\n-@example rxtx_callbacks/main.c\n-@example server_node_efd/server/args.c\n-@example server_node_efd/server/init.c\n-@example server_node_efd/server/main.c\n-@example server_node_efd/node/node.c\n-@example skeleton/basicfwd.c\n-@example tep_termination/main.c\n-@example tep_termination/vxlan.c\n-@example tep_termination/vxlan_setup.c\n-@example timer/main.c\n-@example vhost/main.c\n-@example vhost_xen/main.c\n-@example vhost_xen/vhost_monitor.c\n-@example vhost_xen/xenstore_parse.c\n-@example vmdq_dcb/main.c\n-@example vmdq/main.c\n-@example vm_power_manager/channel_manager.c\n-@example vm_power_manager/channel_monitor.c\n-@example vm_power_manager/guest_cli/main.c\n-@example vm_power_manager/guest_cli/vm_power_cli_guest.c\n-@example vm_power_manager/main.c\n-@example vm_power_manager/power_manager.c\n-@example vm_power_manager/vm_power_cli.c\n-*/\ndiff --git a/mk/rte.sdkdoc.mk b/mk/rte.sdkdoc.mk\nindex 21d9bdf..39c67a9 100644\n--- a/mk/rte.sdkdoc.mk\n+++ b/mk/rte.sdkdoc.mk\n@@ -54,6 +54,8 @@ RTE_PDF_DPI ?= 300\n \n RTE_GUIDES := $(filter %/, $(wildcard $(RTE_SDK)/doc/guides/*/))\n \n+API_EXAMPLES := $(RTE_OUTPUT)/doc/html/examples.dox\n+\n .PHONY: help\n help:\n \t@cat $(RTE_SDK)/doc/build-sdk-quick.txt\n@@ -66,12 +68,13 @@ all: api-html guides-html guides-pdf\n clean: api-html-clean guides-html-clean guides-pdf-clean guides-man-clean\n \n .PHONY: api-html\n-api-html: api-html-clean\n+api-html: api-html-clean $(API_EXAMPLES)\n \t@echo 'doxygen for API...'\n \t$(Q)mkdir -p $(RTE_OUTPUT)/doc/html\n \t$(Q)(cat $(RTE_SDK)/doc/api/doxy-api.conf     && \\\n \t    printf 'PROJECT_NUMBER = '                && \\\n \t                      $(MAKE) -rR showversion && \\\n+\t    echo INPUT           += $(API_EXAMPLES)   && \\\n \t    echo OUTPUT_DIRECTORY = $(RTE_OUTPUT)/doc && \\\n \t    echo HTML_OUTPUT      = html/api          && \\\n \t    echo GENERATE_HTML    = YES               && \\\n@@ -85,6 +88,13 @@ api-html-clean:\n \t$(Q)rm -f $(RTE_OUTPUT)/doc/html/api/*\n \t$(Q)rmdir -p --ignore-fail-on-non-empty $(RTE_OUTPUT)/doc/html/api 2>&- || true\n \n+$(API_EXAMPLES):\n+\t$(Q)mkdir -p $(RTE_OUTPUT)/doc/html\n+\t@printf '/**\\n' > $(API_EXAMPLES)\n+\t@printf '@page examples DPDK Example Programs\\n\\n' >> $(API_EXAMPLES)\n+\t@find examples -type f -name '*.c' -printf '@example %p\\n' >> $(API_EXAMPLES)\n+\t@printf '*/\\n' >> $(API_EXAMPLES)\n+\n guides-pdf-clean: guides-pdf-img-clean\n guides-pdf-img-clean:\n \t$(Q)rm -f $(RTE_SDK)/doc/guides/*/img/*.pdf\n",
    "prefixes": [
        "dpdk-dev",
        "v3"
    ]
}