=== modified file 'src/mailman/rest/docs/configuration.rst' --- src/mailman/rest/docs/configuration.rst 2011-06-16 20:46:02 +0000 +++ src/mailman/rest/docs/configuration.rst 2011-08-30 15:40:51 +0000 @@ -64,6 +64,14 @@ web_host: lists.example.com welcome_msg: +Making a request for configuration of a nonexistent list results in a '404 Not Found'. + + >>> dump_json('http://localhost:9001/3.0/lists/' + ... 'test-missing@example.com/config') + Traceback (most recent call last): + ... + HTTPError: HTTP Error 404: 404 Not Found + Changing the full configuration =============================== === modified file 'src/mailman/rest/docs/membership.rst' --- src/mailman/rest/docs/membership.rst 2011-08-25 18:16:25 +0000 +++ src/mailman/rest/docs/membership.rst 2011-08-30 13:13:05 +0000 @@ -202,6 +202,15 @@ start: 0 total_size: 2 +Trying to get the members of a nonexistent list will return a '404 Not Found'. +:: + + >>> dump_json( + ... 'http://localhost:9001/3.0/lists/nothing@example.com/roster/member') + Traceback (most recent call last): + ... + HTTPError: HTTP Error 404: 404 Not Found + Owners and moderators ===================== @@ -310,6 +319,20 @@ start: 0 total_size: 1 +Trying to get the owners or moderators of a nonexistent list will return a '404 Not Found'. +:: + + >>> dump_json( + ... 'http://localhost:9001/3.0/lists/nothing@example.com/roster/owner') + Traceback (most recent call last): + ... + HTTPError: HTTP Error 404: 404 Not Found + + >>> dump_json( + ... 'http://localhost:9001/3.0/lists/nothing@example.com/roster/moderator') + Traceback (most recent call last): + ... + HTTPError: HTTP Error 404: 404 Not Found Finding members ===============