get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 11473,
    "url": "https://patches.dpdk.org/api/patches/11473/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/9925556.IzvCt3AoYz@xps13/",
    "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": "<9925556.IzvCt3AoYz@xps13>",
    "list_archive_url": "https://inbox.dpdk.org/dev/9925556.IzvCt3AoYz@xps13",
    "date": "2016-03-12T18:37:46",
    "name": "[dpdk-dev] mailing list configuration",
    "commit_ref": null,
    "pull_url": null,
    "state": "not-applicable",
    "archived": true,
    "hash": "df503c16712ff4ccdb7d19128f806bc04482ca82",
    "submitter": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/people/1/?format=api",
        "name": "Thomas Monjalon",
        "email": "thomas.monjalon@6wind.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/9925556.IzvCt3AoYz@xps13/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/11473/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/11473/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 295B12C5D;\n\tSat, 12 Mar 2016 19:37:50 +0100 (CET)",
            "from mail-wm0-f46.google.com (mail-wm0-f46.google.com\n\t[74.125.82.46]) by dpdk.org (Postfix) with ESMTP id 06E592BF8\n\tfor <dev@dpdk.org>; Sat, 12 Mar 2016 19:37:48 +0100 (CET)",
            "by mail-wm0-f46.google.com with SMTP id l68so55212654wml.0\n\tfor <dev@dpdk.org>; Sat, 12 Mar 2016 10:37:48 -0800 (PST)",
            "from xps13.localnet (91.111.75.86.rev.sfr.net. [86.75.111.91])\n\tby smtp.gmail.com with ESMTPSA id\n\te19sm8124405wmd.1.2016.03.12.10.37.46\n\t(version=TLSv1/SSLv3 cipher=OTHER);\n\tSat, 12 Mar 2016 10:37:46 -0800 (PST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=6wind-com.20150623.gappssmtp.com; s=20150623;\n\th=date:from:to:cc:subject:message-id:organization:user-agent\n\t:mime-version:content-transfer-encoding;\n\tbh=mf4ZbyXPO2n27Df4G8uGkugA3pJwyii8d0domlQEJ4c=;\n\tb=i79rdCusi45o/qR8NYTfYl+Z4ryIr9MK1oFKZFQIJLp9udk97MDzGJjDaPSsREXu6+\n\t2zwhIUHI4xUVFnbhq5gIxx6dkrVsc/jFDOEiBtIriFf9DPdJlZWtT6Zgd1IXRThXukoL\n\t126ZfziObE3YqF2Ty73dnwhj2SyoqIobQM3FHUZ4me0G13tooXEH+d7rI4Xqusbwn57Q\n\tB1XNtz4nBqHcgQCoouxtV5HrYzyKYiXHjCyMX+rewxkcVsjOgGHRvsXr9xqL/ywhjXIf\n\t9Sq9hV+uqQrBx7ZvRX8flqw8EspSVccSSlSMOS20pWhVYzQn0g8WPlKuEH8C3A1uQyLx\n\twfQQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:date:from:to:cc:subject:message-id:organization\n\t:user-agent:mime-version:content-transfer-encoding;\n\tbh=mf4ZbyXPO2n27Df4G8uGkugA3pJwyii8d0domlQEJ4c=;\n\tb=Y9k62K0ERxf5WWViDtme+Zm99ORs801jwaQSb0GlDIoCTXftZyfzsqRYFY9omMFPp8\n\tXvMupf+ARyyaPUkuZa+wlCP28lVImv0YuhzT6WvcXdynCpoSJ/qI3uurKahnahbNmW3x\n\tRc91gjXxjvwhMMHz2YUzPUEbT3UMgIPVZLShOEqv67b6pfMxt4iYA2BMcOdoB/8j07AJ\n\tA9q1iepMtKSQHu2H0Lt1zRgc1g6j6yGhx4dx2oa/VfNpGXLvLCG4Dk4rcRqxTmfgxWqz\n\tZgCHs9gbhl1IwktzwuD7l5NgHcd93RaXenAH4BRYrskx3UKrVk7dVCzQBlt2w9ckRyD4\n\tC2hA==",
        "X-Gm-Message-State": "AD7BkJKqCYPvTIhDiR9o2NzFDDbnsXkHQWA2F7KRo5f2MjEI2d5s7HuYf3EymLmo/ENnjCzs",
        "X-Received": "by 10.28.145.9 with SMTP id t9mr9563382wmd.54.1457807867865;\n\tSat, 12 Mar 2016 10:37:47 -0800 (PST)",
        "Date": "Sat, 12 Mar 2016 10:37:46 -0800 (PST)",
        "X-Google-Original-Date": "Sat, 12 Mar 2016 19:36 +0100",
        "From": "Thomas Monjalon <thomas.monjalon@6wind.com>",
        "To": "dev@dpdk.org",
        "Cc": "olivier.matz@6wind.com",
        "Message-ID": "<9925556.IzvCt3AoYz@xps13>",
        "Organization": "6WIND",
        "User-Agent": "KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; )",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "7Bit",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Subject": "[dpdk-dev] mailing list configuration",
        "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": "Hi all,\n\nPlease find an information notice about mailman running this mailing list.\n\nYou can change your settings at this URL:\n\thttp://dpdk.org/ml/options/dev/\n\nThere is an option \"nodupes\":\n\"\nAvoid duplicate copies of messages?\nWhen you are listed explicitly in the To: or Cc: headers of a list message,\nyou can opt to not receive another copy from the mailing list.\n\"\nIt is enabled most of the time (default).\n\nIt may be helpful to disable \"nodupes\", i.e. receive copies, to filter\nwhole threads from the mailing list (List-Id) in a folder while keeping\na copy of the messages addressed to you in your inbox.\nIt is a way to avoid missing important messages.\n\nFor those who want to keep \"nodupes\" enabled, i.e. receive only one copy,\nmailman will not send them the messages where they are explicit recipients.\nSo they will receive only the message directly from the sender' SMTP\n(untouched by mailman).\nBut it is not the full story. The other members of the mailing list will\nreceive the message from mailman with a modified CC header.\nIndeed, members having enabled \"nodupes\" are dropped from CC list.\n\nSome members were complaining about this weird bug-haviour.\nThat's why this patch has been applied to keep CC list untouched:\n\n\nThanks to Olivier for helping.\nIf anyone is volunteer to work with mailman community, a configuration option\ncould be introduced.",
    "diff": "--- mailman-2.1.15/Handlers/AvoidDuplicates.py\n+++ mailman-2.1.15/Handlers/AvoidDuplicates.py\n@@ -51,12 +51,8 @@\n     for addr in listaddrs:\n         explicit_recips[addr.lower()] = True\n     # Figure out the set of explicit recipients\n-    ccaddrs = {}\n     for header in ('to', 'cc', 'resent-to', 'resent-cc'):\n         addrs = getaddresses(msg.get_all(header, []))\n-        if header == 'cc':\n-            for name, addr in addrs:\n-                ccaddrs[addr.lower()] = name, addr\n         for name, addr in addrs:\n             if not addr:\n                 continue\n@@ -85,8 +81,6 @@\n             if send_duplicate:\n                 msgdata.setdefault('add-dup-header', {})[r] = True\n                 newrecips.append(r)\n-            elif ccaddrs.has_key(r.lower()):\n-                del ccaddrs[r.lower()]\n         else:\n             # Otherwise, this is the first time they've been in the recips\n             # list.  Add them to the newrecips list and flag them as having\n@@ -94,7 +88,3 @@\n             newrecips.append(r)\n     # Set the new list of recipients\n     msgdata['recips'] = newrecips\n-    # RFC 2822 specifies zero or one CC header\n-    del msg['cc']\n-    if ccaddrs:\n-        msg['Cc'] = COMMASPACE.join([formataddr(i) for i in ccaddrs.values()])\n",
    "prefixes": [
        "dpdk-dev"
    ]
}