get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 17004,
    "url": "https://patches.dpdk.org/api/patches/17004/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20161111133417.3894-1-ferruh.yigit@intel.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": "<20161111133417.3894-1-ferruh.yigit@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20161111133417.3894-1-ferruh.yigit@intel.com",
    "date": "2016-11-11T13:34:17",
    "name": "[dpdk-dev,v2] doc: add sub-repositories information",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "6048a922cd5767e5609286d789dacd1456ec469b",
    "submitter": {
        "id": 324,
        "url": "https://patches.dpdk.org/api/people/324/?format=api",
        "name": "Ferruh Yigit",
        "email": "ferruh.yigit@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20161111133417.3894-1-ferruh.yigit@intel.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/17004/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/17004/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 9E03AD4F0;\n\tFri, 11 Nov 2016 14:34:24 +0100 (CET)",
            "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n\tby dpdk.org (Postfix) with ESMTP id A24ACD4E6\n\tfor <dev@dpdk.org>; Fri, 11 Nov 2016 14:34:22 +0100 (CET)",
            "from fmsmga006.fm.intel.com ([10.253.24.20])\n\tby fmsmga103.fm.intel.com with ESMTP; 11 Nov 2016 05:34:20 -0800",
            "from sivswdev02.ir.intel.com ([10.237.217.46])\n\tby fmsmga006.fm.intel.com with ESMTP; 11 Nov 2016 05:34:19 -0800"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.31,621,1473145200\"; d=\"scan'208\";a=\"30131894\"",
        "From": "Ferruh Yigit <ferruh.yigit@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "John McNamara <john.mcnamara@intel.com>,\n\tThomas Monjalon <thomas.monjalon@6wind.com>,\n\tPablo de Lara <pablo.de.lara.guarch@intel.com>,\n\tFerruh Yigit <ferruh.yigit@intel.com>,\n\tYuanhan Liu <yuanhan.liu@linux.intel.com>",
        "Date": "Fri, 11 Nov 2016 13:34:17 +0000",
        "Message-Id": "<20161111133417.3894-1-ferruh.yigit@intel.com>",
        "X-Mailer": "git-send-email 2.8.4",
        "In-Reply-To": "<20161110172718.2292-1-ferruh.yigit@intel.com>",
        "References": "<20161110172718.2292-1-ferruh.yigit@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v2] doc: add sub-repositories information",
        "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": "DPDK switched to main and sub-repositories approach, this patch\ndocuments new approach and updates development process according.\n\nSigned-off-by: Ferruh Yigit <ferruh.yigit@intel.com>\nAcked-by: John McNamara <john.mcnamara@intel.com>\n---\n doc/guides/contributing/patches.rst | 18 +++++++++++++++---\n 1 file changed, 15 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/doc/guides/contributing/patches.rst b/doc/guides/contributing/patches.rst\nindex 729aea7..fabddbe 100644\n--- a/doc/guides/contributing/patches.rst\n+++ b/doc/guides/contributing/patches.rst\n@@ -20,7 +20,14 @@ The DPDK development process has the following features:\n * There is a mailing list where developers submit patches.\n * There are maintainers for hierarchical components.\n * Patches are reviewed publicly on the mailing list.\n-* Successfully reviewed patches are merged to the master branch of the repository.\n+* Successfully reviewed patches are merged to the repository.\n+\n+|\n+\n+* There are main repository ``dpdk`` and sub-repositories ``dpdk-next-*``.\n+* A patch should be sent for its target repository. Like net drivers should be on top of dpdk-next-net repository.\n+* All sub-repositories are merged into main repository for -rc1 and -rc2 versions of the release.\n+* After -rc2 release all patches should target main repository.\n \n The mailing list for DPDK development is `dev@dpdk.org <http://dpdk.org/ml/archives/dev/>`_.\n Contributors will need to `register for the mailing list <http://dpdk.org/ml/listinfo/dev>`_ in order to submit patches.\n@@ -33,12 +40,17 @@ Refer to the `Pro Git Book <http://www.git-scm.com/book/>`_ for further informat\n Getting the Source Code\n -----------------------\n \n-The source code can be cloned using either of the following::\n+The source code can be cloned using either of the following:\n \n-    git clone git://dpdk.org/dpdk\n+main repository::\n \n+    git clone git://dpdk.org/dpdk\n     git clone http://dpdk.org/git/dpdk\n \n+sub-repositories (`list <http://dpdk.org/browse/next>`_)::\n+\n+    git clone git://dpdk.org/next/dpdk-next-*\n+    git clone http://dpdk.org/git/next/dpdk-next-*\n \n Make your Changes\n -----------------\n",
    "prefixes": [
        "dpdk-dev",
        "v2"
    ]
}