get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 810412,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/810412/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/swupdate/patch/20170906072324.15734-1-christian.storm@siemens.com/",
    "project": {
        "id": 58,
        "url": "http://patchwork.ozlabs.org/api/1.2/projects/58/?format=api",
        "name": "swupdate development",
        "link_name": "swupdate",
        "list_id": "swupdate.googlegroups.com",
        "list_email": "swupdate@googlegroups.com",
        "web_url": "https://github.com/sbabic/swupdate",
        "scm_url": "git://github.com/sbabic/swupdate",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20170906072324.15734-1-christian.storm@siemens.com>",
    "list_archive_url": null,
    "date": "2017-09-06T07:23:19",
    "name": "[1/6] socket split: make socket paths configurable",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": false,
    "hash": "6d71a98c9c02638e14413eb4e259ce39fb9b3e51",
    "submitter": {
        "id": 72180,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/72180/?format=api",
        "name": "Storm, Christian",
        "email": "christian.storm@siemens.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/swupdate/patch/20170906072324.15734-1-christian.storm@siemens.com/mbox/",
    "series": [
        {
            "id": 1706,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/1706/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/swupdate/list/?series=1706",
            "date": "2017-09-06T07:23:19",
            "name": "[1/6] socket split: make socket paths configurable",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/1706/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/810412/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/810412/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<swupdate+bncBDD6BWV65QPBBEOGX3GQKGQEQO2SDAI@googlegroups.com>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=googlegroups.com\n\t(client-ip=2a00:1450:400c:c0c::239;\n\thelo=mail-wr0-x239.google.com;\n\tenvelope-from=swupdate+bncbdd6bwv65qpbbeogx3gqkgqeqo2sdai@googlegroups.com;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=googlegroups.com header.i=@googlegroups.com\n\theader.b=\"V8hNZLCh\"; dkim-atps=neutral"
        ],
        "Received": [
            "from mail-wr0-x239.google.com (mail-wr0-x239.google.com\n\t[IPv6:2a00:1450:400c:c0c::239])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xnFW92jyKz9t3Z\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed,  6 Sep 2017 17:26:12 +1000 (AEST)",
            "by mail-wr0-x239.google.com with SMTP id a47sf1148694wra.12\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 06 Sep 2017 00:26:12 -0700 (PDT)",
            "by 10.28.139.211 with SMTP id n202ls953537wmd.8.gmail; Wed, 06 Sep\n\t2017 00:26:09 -0700 (PDT)",
            "from goliath.siemens.de (goliath.siemens.de. [192.35.17.28])\n\tby gmr-mx.google.com with ESMTPS id\n\ts127si54999wme.8.2017.09.06.00.26.09\n\tfor <swupdate@googlegroups.com>\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tWed, 06 Sep 2017 00:26:09 -0700 (PDT)",
            "from mail1.siemens.de (mail1.siemens.de [139.23.33.14])\n\tby goliath.siemens.de (8.15.2/8.15.2) with ESMTPS id v867Q9wN022911\n\t(version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK)\n\tfor <swupdate@googlegroups.com>; Wed, 6 Sep 2017 09:26:09 +0200",
            "from MD1KR9XC.ad001.siemens.net ([139.25.69.251])\n\tby mail1.siemens.de (8.15.2/8.15.2) with ESMTP id v867Q9gK028166;\n\tWed, 6 Sep 2017 09:26:09 +0200"
        ],
        "ARC-Seal": [
            "i=2; a=rsa-sha256; t=1504682770; cv=pass;\n\td=google.com; s=arc-20160816;\n\tb=N5o8e5LLvwJhx+D93X/ztsZymJR1ryI4+GzLl/+GvTHyEhILbBSGbx352pSETlsy48\n\t0xk26RfIBeQXosqMrT6qz+4tIn44J/NjH8RyWKBz3QUCpyiFBDYDlbK3di7kyLOmVELr\n\tL6SRvP7+JLef9j3ycbwW9uaX1RalsQmruXneGPZR3lufBDxSUhpHaBSQln4y2tgIvrvm\n\tdUmvVUsCBHDUKUWXTJqofdV0rrM5s+cClUojJRNxE4WDjFJQxXSYicFgTguo88muApuK\n\tG0j3EovbE/cXhzhJ6fVRw1CiydR7JVjEbJJC7YPIx4FQD2yrIGj92ZFhwOdUqjVlV0af\n\tCYVQ==",
            "i=1; a=rsa-sha256; t=1504682769; cv=none;\n\td=google.com; s=arc-20160816;\n\tb=t1qzIJETDiMy5f+6fF1dEa6qtlItHqT5xZTSzRAgUDVnp1VOs1qBRhTIIebPVbaU1P\n\tH3Y+nqPLjOG9ottxlwYLgtNgU5+vdkQG0tVHQv0x6qqRPjjsT7d0/+zqtl3tDjPtuQV+\n\tYd5A/iYFBO5cE90rgbPl+EX4UBh1gO3/b7vZnyRgFJZmQTrzPSV8UvfgYR7ApRNtWYYY\n\t3s4AM+6rb66AIpakI9u2OUWlFMRDetq2QqUFohNIm+MLdl3Vryq9d5CCpz6mFDO21bQM\n\tb+OcfcWNlr2rK6iaJiHn19yrH6T3I4c97a22MhVafQxCnJehVPpGaXaQEVSml8MjWmo5\n\tfhGA=="
        ],
        "ARC-Message-Signature": [
            "i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n\ts=arc-20160816; \n\th=list-unsubscribe:list-subscribe:list-archive:list-help:list-post\n\t:list-id:mailing-list:precedence:message-id:date:subject:cc:to:from\n\t:arc-authentication-results:arc-message-signature:mime-version\n\t:sender:dkim-signature:arc-authentication-results;\n\tbh=t+PElzGiWN03vuDta6Z00sfLlltgLu2yQW4rz8uj71g=;\n\tb=TR991s5yRPupmjiW0D+YqULiC08E4WZCY7wVSMN24XYMLAPKo7LC0xbytfPTVHmcG3\n\typto82lH3qyBMpM08DqbQe5RKZ9pB01gifH5JcAILwSjk4JGE+q1z2lN+WKu386Da8Mw\n\t/4HBOCzx9ZVMtRY0Y3gDen6NjKsFEpcdcJrMPokVPMRRipQUVX+MTSZFew9WZLmWm5Y3\n\tUMEFdIZ/v+e2HeF7ae+ZD/+/v9xGut1bPA6aGE/3ZNMS4wey+kd3Op9Y7Mte2FScJei3\n\tPY0WnHx5NMTCmbKwe+q97dyejG7VYSzJZXURFs7FI2zmfLGP/sKpBlZmLApC+ZuVz2rK\n\ttjiw==",
            "i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n\ts=arc-20160816; \n\th=message-id:date:subject:cc:to:from:arc-authentication-results;\n\tbh=AHMWhupkHz17kR8U/Tql2cWKfCGgnnvs9q7izy+1TNk=;\n\tb=N2gI6H4YDWbIfFfIe82MXqGvjHIn8JCj8MMLYSro/0PoFNicjP+9oD+fZAeFV1wJer\n\t1Zy53OG6rE9S2sE7P+umqdEjPlFxk83MLEUVFwijIENfhp2kD9eoR2vnckGSEp6KnKMf\n\tNRu7fGP+/kpLNYXfs/AkMsHp1MvK8EwLmJm8kLuoRRUN4zhNBpnunmFspyndHCa4SQI4\n\tzRUcJHVFh2rahj4+u4gKHQ+jI09dvkAm+FeXupUV3kPl+d0lb8ai8GmTA4BSs4eX7CIH\n\tJ90ohBhNGIEv1bNzoFem2pR4Z07bcZJQotCxA1heAYSLWkEHNnQU2bVt07iYWIherh58\n\t3wKw=="
        ],
        "ARC-Authentication-Results": [
            "i=2; gmr-mx.google.com;\n\tspf=neutral (google.com: 192.35.17.28 is neither permitted nor denied\n\tby best guess record for domain of\n\tchristian.storm@siemens.com)\n\tsmtp.mailfrom=christian.storm@siemens.com",
            "i=1; gmr-mx.google.com;\n\tspf=neutral (google.com: 192.35.17.28 is neither permitted nor denied\n\tby best guess record for domain of\n\tchristian.storm@siemens.com)\n\tsmtp.mailfrom=christian.storm@siemens.com"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=googlegroups.com; s=20161025;\n\th=sender:mime-version:from:to:cc:subject:date:message-id\n\t:x-original-sender:x-original-authentication-results:precedence\n\t:mailing-list:list-id:list-post:list-help:list-archive\n\t:list-subscribe:list-unsubscribe;\n\tbh=t+PElzGiWN03vuDta6Z00sfLlltgLu2yQW4rz8uj71g=;\n\tb=V8hNZLChyPO+wZ2Dqulodg8SJQN+ej/s6Pk3ZtvSh3dqbOPvCiR/lqL5wKNUQ5B313\n\t7G1wx7516WWx4LAX5dTGeobGupbQz7Zs9OoH+CicjVQQC7Mjql6wse/Afwl+atWcj6cy\n\tIotlpGMZqwEv6EljKGLf9haERbvinOUIdsGdlYhTAMljieUuzsy9lWYe4oBDNZOTauuM\n\tY2Th/8TW99zWsGkYqTVqWDyVcFnnXksIlTOzFGApcXrS2TkmyvEHtM3H7OrG8K13puUW\n\tKrevk+jtL4SCl4wQnHgXbpbJFhMTS6aWPeIUN0hcvT70wg8h64+uFCL95RAo5HrS7Ze2\n\thPiA==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=sender:x-gm-message-state:mime-version:from:to:cc:subject:date\n\t:message-id:x-original-sender:x-original-authentication-results\n\t:precedence:mailing-list:list-id:x-spam-checked-in-group:list-post\n\t:list-help:list-archive:list-subscribe:list-unsubscribe;\n\tbh=t+PElzGiWN03vuDta6Z00sfLlltgLu2yQW4rz8uj71g=;\n\tb=RaKB5wUy/v3/wscQlERrAXKSOCeqPrpnZ5py266V2P0R+dXCykauTNz5L6qwZTh4jD\n\tU1pV6phR3Zo6DYic0vLLCudWOlQlD8aBKbpJXKcEQdchY+0kGaUE0SraTgSMWfCxA3ld\n\t8J7nCoA5ru2LQ+fzhy3JZqivQD2DNdYW24d5Zg2pH9tG3eZXhcA2QEZo4dlK7VnuvPjf\n\tXacK0B5XXbne3N6U33EXRewnOIO/zRNzxU1ZP7XXVmrnv6Wa+3imjmIqqxCmpPW8HxaE\n\tFghhknbR0h9UEF3fVMwBB3YKC1fJuGyWnOtdYb1TbekvfKFWeRDlPgbVwZXIx0rDhZze\n\t40tw==",
        "Sender": "swupdate@googlegroups.com",
        "X-Gm-Message-State": "AHPjjUjcafTGP4Cxtd7MrddGEMnfkS0ft95dEG69u0yXVID4i/YvbJy5\n\tVlkHAUEqzE+AsQ==",
        "X-Google-Smtp-Source": "ADKCNb6kt3K96PpcfBFhEFdMMGje19z3gD6nX9VrCS33iDtSBBQGHLlrIxydYWVy+Pgc0+Duwcgbpw==",
        "X-Received": [
            "by 10.28.143.5 with SMTP id r5mr2759wmd.26.1504682769956;\n\tWed, 06 Sep 2017 00:26:09 -0700 (PDT)",
            "by 10.28.184.133 with SMTP id i127mr118793wmf.20.1504682769567; \n\tWed, 06 Sep 2017 00:26:09 -0700 (PDT)"
        ],
        "MIME-Version": "1.0",
        "X-BeenThere": "swupdate@googlegroups.com",
        "Received-SPF": "neutral (google.com: 192.35.17.28 is neither permitted nor\n\tdenied by best guess record for domain of\n\tchristian.storm@siemens.com) client-ip=192.35.17.28; ",
        "From": "Christian Storm <christian.storm@siemens.com>",
        "To": "swupdate@googlegroups.com",
        "Cc": "Christian Storm <christian.storm@siemens.com>",
        "Subject": "[swupdate] [PATCH 1/6] socket split: make socket paths configurable",
        "Date": "Wed,  6 Sep 2017 09:23:19 +0200",
        "Message-Id": "<20170906072324.15734-1-christian.storm@siemens.com>",
        "X-Mailer": "git-send-email 2.14.1",
        "X-Original-Sender": "christian.storm@siemens.com",
        "X-Original-Authentication-Results": "gmr-mx.google.com;       spf=neutral\n\t(google.com: 192.35.17.28 is neither permitted nor denied by best\n\tguess\n\trecord for domain of christian.storm@siemens.com)\n\tsmtp.mailfrom=christian.storm@siemens.com",
        "Content-Type": "text/plain; charset=\"UTF-8\"",
        "Precedence": "list",
        "Mailing-list": "list swupdate@googlegroups.com;\n\tcontact swupdate+owners@googlegroups.com",
        "List-ID": "<swupdate.googlegroups.com>",
        "X-Spam-Checked-In-Group": "swupdate@googlegroups.com",
        "X-Google-Group-Id": "605343134186",
        "List-Post": "<https://groups.google.com/group/swupdate/post>,\n\t<mailto:swupdate@googlegroups.com>",
        "List-Help": "<https://groups.google.com/support/>,\n\t<mailto:swupdate+help@googlegroups.com>",
        "List-Archive": "<https://groups.google.com/group/swupdate",
        "List-Subscribe": "<https://groups.google.com/group/swupdate/subscribe>,\n\t<mailto:swupdate+subscribe@googlegroups.com>",
        "List-Unsubscribe": "<mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>,\n\t<https://groups.google.com/group/swupdate/subscribe>"
    },
    "content": "Make socket paths configurable via config system.\nPer default, the currently established paths are\nused to maintain backwards compatibility.\n\nSigned-off-by: Christian Storm <christian.storm@siemens.com>\n---\n Kconfig | 23 +++++++++++++++++++++++\n 1 file changed, 23 insertions(+)",
    "diff": "diff --git a/Kconfig b/Kconfig\nindex 07c394a..b77850f 100644\n--- a/Kconfig\n+++ b/Kconfig\n@@ -110,6 +110,29 @@ config SW_VERSIONS_FILE\n \t  but in some cases it can be required to do it. Having a check,\n \t  the risky-component is not always updated.\n \n+menu \"Socket Paths\"\n+\n+config SOCKET_CTRL_PATH\n+\tstring \"SWUpdate control socket path\"\n+\tdefault \"/tmp/sockinstctrl\"\n+\thelp\n+\t  Path to SWUpdate's IPC socket.\n+\n+config SOCKET_PROGRESS_PATH\n+\tstring \"SWUpdate progress socket path\"\n+\tdefault \"/tmp/swupdateprog\"\n+\thelp\n+\t  Path to the socket progress information is sent to.\n+\n+config SOCKET_REMOTE_HANDLER_DIRECTORY\n+\tstring \"SWUpdate remote handler socket directory\"\n+\tdefault \"/tmp/\"\n+\thelp\n+\t  Directory where sockets to remote handler processes\n+\t  are expected to be found.\n+\n+endmenu\n+\n config MTD\n \tbool \"MTD support\"\n \tdefault y\n",
    "prefixes": [
        "1/6"
    ]
}