diff options
| author | Barry Warsaw | 2015-12-30 14:34:18 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2015-12-30 14:38:10 -0500 |
| commit | dac929973fbfc7ac4c807afafc22b992510b4e6d (patch) | |
| tree | 7deb45c8500cf099215fce8e61055b7e1242fb57 /src/mailman/rest/docs/addresses.rst | |
| parent | 8e69b848270da6ba4852f8c6dfdeeed8124ab024 (diff) | |
| download | mailman-dac929973fbfc7ac4c807afafc22b992510b4e6d.tar.gz mailman-dac929973fbfc7ac4c807afafc22b992510b4e6d.tar.zst mailman-dac929973fbfc7ac4c807afafc22b992510b4e6d.zip | |
Major push for completing issue #121. Now in API 3.1, all UUIDs must be the
hex representations of a UUID, not the int representation.
Also:
* Some general code cleanup.
* Fix issue 185 (REST server crash when subscribing a user without a
preferred address).
Diffstat (limited to 'src/mailman/rest/docs/addresses.rst')
| -rw-r--r-- | src/mailman/rest/docs/addresses.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/rest/docs/addresses.rst b/src/mailman/rest/docs/addresses.rst index 6fbe84972..c850503c4 100644 --- a/src/mailman/rest/docs/addresses.rst +++ b/src/mailman/rest/docs/addresses.rst @@ -175,10 +175,10 @@ A link to the user resource is now available as a sub-resource. user: http://localhost:9001/3.0/users/1 To prevent automatic user creation from taking place, add the `auto_create` -parameter to the POST request and set it to a false-equivalent value like 0: +parameter to the POST request and set it to False. >>> dump_json('http://localhost:9001/3.0/addresses/anne@example.com/user', - ... {'display_name': 'Anne User', 'auto_create': 0}) + ... {'display_name': 'Anne User', 'auto_create': False}) Traceback (most recent call last): ... urllib.error.HTTPError: HTTP Error 403: ... |
