summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoshio2012-03-15 06:07:02 +0000
committertoshio2012-03-15 06:07:02 +0000
commit237a4f8f73ae3928330bd77712bb4fcab2edeec6 (patch)
tree46aaf56d2e03f5ed322edb81a90b8f07023b4537
parent32690ee409dfa33cca486cb1f203cad764ba26f5 (diff)
downloadmailman-237a4f8f73ae3928330bd77712bb4fcab2edeec6.tar.gz
mailman-237a4f8f73ae3928330bd77712bb4fcab2edeec6.tar.zst
mailman-237a4f8f73ae3928330bd77712bb4fcab2edeec6.zip
-rw-r--r--src/mailman/rest/docs/domains.rst2
-rw-r--r--src/mailman/rest/docs/lists.rst6
2 files changed, 7 insertions, 1 deletions
diff --git a/src/mailman/rest/docs/domains.rst b/src/mailman/rest/docs/domains.rst
index a8a4fd027..bca860ed9 100644
--- a/src/mailman/rest/docs/domains.rst
+++ b/src/mailman/rest/docs/domains.rst
@@ -139,7 +139,7 @@ example.com domain does not contain any mailing lists.
fqdn_listname: test-domains@example.com
http_etag: "..."
...
- self_link: http://localhost:9001/3.0/lists/test-domains@example.com
+ volume: 1
http_etag: "..."
start: 0
total_size: 1
diff --git a/src/mailman/rest/docs/lists.rst b/src/mailman/rest/docs/lists.rst
index c412f6edc..ffcde0a46 100644
--- a/src/mailman/rest/docs/lists.rst
+++ b/src/mailman/rest/docs/lists.rst
@@ -24,8 +24,10 @@ Create a mailing list in a domain and it's accessible via the API.
http_etag: "..."
list_name: test-one
mail_host: example.com
+ member_count: 0
real_name: Test-one
self_link: http://localhost:9001/3.0/lists/test-one@example.com
+ volume: 1
http_etag: "..."
start: 0
total_size: 1
@@ -39,8 +41,10 @@ You can also query for lists from a particular domain.
http_etag: "..."
list_name: test-one
mail_host: example.com
+ member_count: 0
real_name: Test-one
self_link: http://localhost:9001/3.0/lists/test-one@example.com
+ volume: 1
http_etag: "..."
start: 0
total_size: 1
@@ -86,8 +90,10 @@ It is also available via the location given in the response.
http_etag: "..."
list_name: test-two
mail_host: example.com
+ member_count: 0
real_name: Test-two
self_link: http://localhost:9001/3.0/lists/test-two@example.com
+ volume: 1
However, you are not allowed to create a mailing list in a domain that does
not exist.