summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBarry Warsaw2012-12-17 23:14:46 -0500
committerBarry Warsaw2012-12-17 23:14:46 -0500
commit7cade857aafe1aa066be7269c3cbb2025a69d648 (patch)
treee1688a622198cb1668e8a075f6e2d05d331d1125 /src
parent04b1c397fbb2df406ef667897ec2de713ec8d240 (diff)
downloadmailman-7cade857aafe1aa066be7269c3cbb2025a69d648.tar.gz
mailman-7cade857aafe1aa066be7269c3cbb2025a69d648.tar.zst
mailman-7cade857aafe1aa066be7269c3cbb2025a69d648.zip
Diffstat (limited to 'src')
-rw-r--r--src/mailman/docs/NEWS.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/mailman/docs/NEWS.rst b/src/mailman/docs/NEWS.rst
index f24f2f7d1..64df34ef1 100644
--- a/src/mailman/docs/NEWS.rst
+++ b/src/mailman/docs/NEWS.rst
@@ -20,6 +20,19 @@ Compatibility
REST
----
+ * **API change**: The JSON representation for held messages no longer
+ includes the `data` key. The values in this dictionary are flatted into
+ the top-level JSON representation. The `key` key is remove since it's
+ redundant. Use `message_id` for held messages, and `address` for held
+ subscriptions/unsubscriptions. The following `_mod_*` keys are inserted
+ without the `_mod_` prefix:
+
+ - `_mod_subject` -> `subject`
+ - `_mod_hold_date` -> `hold_date`
+ - `_mod_reason` -> `reason`
+ - `_mod_sender` -> `sender`
+ - `_mod_message_id` -> `message_id`
+
* Allow the getting/setting of IMailingList.subject_prefix via the REST API
(given by Terri Oda). (LP: #1062893)
* Expose a REST API for membership change (subscriptions and unsubscriptions)