summaryrefslogtreecommitdiff
path: root/src/mailman/rest/docs
diff options
context:
space:
mode:
authorBarry Warsaw2014-08-13 00:18:23 -0400
committerBarry Warsaw2014-08-13 00:18:23 -0400
commit72dd28e26b1fa369de93652bd51869cebd79c0a3 (patch)
tree5a01056497024f280141e78f8e1a81b22c298fad /src/mailman/rest/docs
parentbc4e33da9a97df35d147e58535358b2468cd1cc8 (diff)
downloadmailman-72dd28e26b1fa369de93652bd51869cebd79c0a3.tar.gz
mailman-72dd28e26b1fa369de93652bd51869cebd79c0a3.tar.zst
mailman-72dd28e26b1fa369de93652bd51869cebd79c0a3.zip
Make preferences work.
Diffstat (limited to 'src/mailman/rest/docs')
-rw-r--r--src/mailman/rest/docs/preferences.rst20
1 files changed, 1 insertions, 19 deletions
diff --git a/src/mailman/rest/docs/preferences.rst b/src/mailman/rest/docs/preferences.rst
index 8694364a4..b8a0af500 100644
--- a/src/mailman/rest/docs/preferences.rst
+++ b/src/mailman/rest/docs/preferences.rst
@@ -199,21 +199,12 @@ Preferences accessed through this interface are always read only.
receive_own_postings: False
self_link: http://localhost:9001/3.0/members/1/all/preferences
-These preferences cannot be changed.
-
- >>> dump_json('http://localhost:9001/3.0/members/1/all/preferences', {
- ... 'delivery_status': 'enabled',
- ... }, method='PATCH')
- Traceback (most recent call last):
- ...
- HTTPError: HTTP Error 405: 405 Method Not Allowed
-
System preferences
==================
The Mailman system itself has a default set of preference. All preference
-lookups fall back to these values, which are read-only.
+look ups fall back to these values, which are read-only.
>>> dump_json('http://localhost:9001/3.0/system/preferences')
acknowledge_posts: False
@@ -225,12 +216,3 @@ lookups fall back to these values, which are read-only.
receive_list_copy: True
receive_own_postings: True
self_link: http://localhost:9001/3.0/system/preferences
-
-These preferences cannot be changed.
-
- >>> dump_json('http://localhost:9001/3.0/system/preferences', {
- ... 'delivery_status': 'enabled',
- ... }, method='PATCH')
- Traceback (most recent call last):
- ...
- HTTPError: HTTP Error 405: 405 Method Not Allowed