Merge lp:~toshio/mailman/count into lp:mailman
Proposed by
Toshio Kuratomi
Status: | Merged |
---|---|
Approved by: | Barry Warsaw |
Approved revision: | 7119 |
Merged at revision: | 7120 |
Proposed branch: | lp:~toshio/mailman/count |
Merge into: | lp:mailman |
Diff against target: |
126 lines (+52/-2) 4 files modified
src/mailman/rest/docs/domains.rst (+1/-1) src/mailman/rest/docs/lists.rst (+6/-0) src/mailman/rest/lists.py (+2/-0) src/mailman/rest/tests/test_lists.py (+43/-1) |
To merge this branch: | bzr merge lp:~toshio/mailman/count |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Barry Warsaw | Approve | ||
Review via email: mp+97576@code.launchpad.net |
Description of the change
Expose the volume and count of members per mailing list in the rest api.
To post a comment you must log in.
Looks great! Another useful test (and it can be a unittest or doctest) would be to show that adding new members (probably behind the scenes) changes that members value. I'll mark this needs fixing for now, but that should be a pretty easy test to add.
As discussed at the sprint, we can make this more efficient later by adding an API to IRoster, but don't worry about that for this branch.