interactions: - request: body: mail_host=example.com headers: accept-encoding: ['gzip, deflate'] !!python/unicode content-type: [!!python/unicode application/x-www-form-urlencoded] method: !!python/unicode POST uri: http://localhost:9001/3.0/domains response: body: {string: !!python/unicode ''} headers: content-length: ['0'] location: ['http://localhost:9001/3.0/domains/example.com'] status: {code: 201, message: Created} - request: body: null headers: accept-encoding: ['gzip, deflate'] method: !!python/unicode GET uri: http://localhost:9001/3.0/domains/example.com response: body: {string: !!python/unicode '{"base_url": "http://example.com", "description": null, "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", "url_host": "example.com"}'} headers: content-length: ['233'] content-type: [application/json; charset=utf-8] status: {code: 200, message: OK} - request: body: fqdn_listname=foo%40example.com headers: accept-encoding: ['gzip, deflate'] !!python/unicode content-type: [!!python/unicode application/x-www-form-urlencoded] method: !!python/unicode POST uri: http://localhost:9001/3.0/lists response: body: {string: !!python/unicode ''} headers: content-length: ['0'] location: ['http://localhost:9001/3.0/lists/foo.example.com'] status: {code: 201, message: Created} - request: body: null headers: accept-encoding: ['gzip, deflate'] method: !!python/unicode GET uri: http://localhost:9001/3.0/lists/foo@example.com response: body: {string: !!python/unicode '{"display_name": "Foo", "fqdn_listname": "foo@example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "list_id": "foo.example.com", "list_name": "foo", "mail_host": "example.com", "member_count": 0, "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": 1}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] status: {code: 200, message: OK} - request: body: display_name=None&list_id=foo.example.com&subscriber=test%40example.com headers: accept-encoding: ['gzip, deflate'] !!python/unicode content-type: [!!python/unicode application/x-www-form-urlencoded] method: !!python/unicode POST uri: http://localhost:9001/3.0/members response: body: {string: !!python/unicode '{"http_etag": "\"2f1dfffd552b1a6a0514ad416d4e426d8c927d44\"", "token": "0000000000000000000000000000000000000001", "token_owner": "subscriber"}'} headers: content-length: ['143'] content-type: [application/json; charset=utf-8] status: {code: 202, message: Accepted} - request: body: null headers: accept-encoding: ['gzip, deflate'] method: !!python/unicode GET uri: http://localhost:9001/3.0/users/test@example.com response: body: {string: !!python/unicode '{"created_on": "2005-08-01T07:49:23", "display_name": "None", "http_etag": "\"59cde8cbd18040da8b4a9455bcf71a1845de95ad\"", "is_server_owner": false, "self_link": "http://localhost:9001/3.0/users/95", "user_id": 95}'} headers: content-length: ['214'] content-type: [application/json; charset=utf-8] status: {code: 200, message: OK} - request: body: email=anotheremail%40example.com headers: accept-encoding: ['gzip, deflate'] !!python/unicode content-type: [!!python/unicode application/x-www-form-urlencoded] method: !!python/unicode POST uri: http://localhost:9001/3.0/users/95/addresses response: body: {string: !!python/unicode ''} headers: content-length: ['0'] location: ['http://localhost:9001/3.0/addresses/anotheremail@example.com'] status: {code: 201, message: Created} - request: body: null headers: accept-encoding: ['gzip, deflate'] method: !!python/unicode POST uri: http://localhost:9001/3.0/addresses/anotheremail@example.com/verify response: body: {string: !!python/unicode ''} headers: content-length: ['0'] status: {code: 204, message: No Content} - request: body: null headers: accept-encoding: ['gzip, deflate'] method: !!python/unicode GET uri: http://localhost:9001/3.0/users/test@example.com response: body: {string: !!python/unicode '{"created_on": "2005-08-01T07:49:23", "display_name": "None", "http_etag": "\"59cde8cbd18040da8b4a9455bcf71a1845de95ad\"", "is_server_owner": false, "self_link": "http://localhost:9001/3.0/users/95", "user_id": 95}'} headers: content-length: ['214'] content-type: [application/json; charset=utf-8] status: {code: 200, message: OK} - request: body: null headers: accept-encoding: ['gzip, deflate'] method: !!python/unicode GET uri: http://localhost:9001/3.0/users/95/addresses response: body: {string: !!python/unicode '{"entries": [{"email": "anotheremail@example.com", "http_etag": "\"29e37ef9df1a6b1fe5f7310c47caa320cc3e1d5f\"", "original_email": "anotheremail@example.com", "registered_on": "2005-08-01T07:49:23", "self_link": "http://localhost:9001/3.0/addresses/anotheremail@example.com", "user": "http://localhost:9001/3.0/users/95", "verified_on": "2005-08-01T07:49:23"}, {"display_name": "None", "email": "test@example.com", "http_etag": "\"a01c0261cfdbab95344992fc8c11b0fcec6a0b8a\"", "original_email": "test@example.com", "registered_on": "2005-08-01T07:49:23", "self_link": "http://localhost:9001/3.0/addresses/test@example.com", "user": "http://localhost:9001/3.0/users/95"}], "http_etag": "\"884bbe9dabe6f7fbae03265a71aa486b9dd74642\"", "start": 0, "total_size": 2}'} headers: content-length: ['759'] content-type: [application/json; charset=utf-8] status: {code: 200, message: OK} - request: body: null headers: accept-encoding: ['gzip, deflate'] method: !!python/unicode GET uri: http://localhost:9001/3.0/lists/foo@example.com response: body: {string: !!python/unicode '{"display_name": "Foo", "fqdn_listname": "foo@example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "list_id": "foo.example.com", "list_name": "foo", "mail_host": "example.com", "member_count": 0, "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": 1}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] status: {code: 200, message: OK} - request: body: null headers: accept-encoding: ['gzip, deflate'] method: !!python/unicode GET uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner response: body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", "start": 0, "total_size": 0}'} headers: content-length: ['90'] content-type: [application/json; charset=utf-8] status: {code: 200, message: OK} - request: body: null headers: accept-encoding: ['gzip, deflate'] method: !!python/unicode GET uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator response: body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", "start": 0, "total_size": 0}'} headers: content-length: ['90'] content-type: [application/json; charset=utf-8] status: {code: 200, message: OK} - request: body: null headers: accept-encoding: ['gzip, deflate'] method: !!python/unicode GET uri: http://localhost:9001/3.0/lists/foo.example.com/member/test@example.com response: body: {string: !!python/unicode '{}'} headers: content-length: ['2'] content-type: [application/json] status: {code: 404, message: Not Found} - request: body: null headers: accept-encoding: ['gzip, deflate'] method: !!python/unicode GET uri: http://localhost:9001/3.0/lists/foo.example.com/member/anotheremail@example.com response: body: {string: !!python/unicode '{}'} headers: content-length: ['2'] content-type: [application/json] status: {code: 404, message: Not Found} - request: body: null headers: accept-encoding: ['gzip, deflate'] method: !!python/unicode GET uri: http://localhost:9001/3.0/lists/foo@example.com/config response: body: {string: !!python/unicode '{"acceptable_aliases": [], "admin_immed_notify": true, "admin_notify_mchanges": false, "administrivia": true, "advertised": true, "allow_list_posts": true, "anonymous_list": false, "archive_policy": "public", "autorespond_owner": "none", "autorespond_postings": "none", "autorespond_requests": "none", "autoresponse_grace_period": "90d", "autoresponse_owner_text": "", "autoresponse_postings_text": "", "autoresponse_request_text": "", "bounces_address": "foo-bounces@example.com", "collapse_alternatives": true, "convert_html_to_plaintext": false, "created_at": "2005-08-01T07:49:23", "default_member_action": "defer", "default_nonmember_action": "hold", "description": "", "digest_last_sent_at": null, "digest_send_periodic": true, "digest_size_threshold": 30.0, "digest_volume_frequency": "monthly", "digests_enabled": true, "display_name": "Foo", "filter_content": false, "first_strip_reply_to": false, "fqdn_listname": "foo@example.com", "goodbye_message_uri": "", "http_etag": "\"97436ece60591c8bf4b4d589f6b8028a5a2964a3\"", "include_rfc2369_headers": true, "join_address": "foo-join@example.com", "last_post_at": null, "leave_address": "foo-leave@example.com", "list_name": "foo", "mail_host": "example.com", "next_digest_number": 1, "no_reply_address": "noreply@example.com", "owner_address": "foo-owner@example.com", "post_id": 1, "posting_address": "foo@example.com", "posting_pipeline": "default-posting-pipeline", "reply_goes_to_list": "no_munging", "reply_to_address": "", "request_address": "foo-request@example.com", "scheme": "http", "send_welcome_message": true, "subject_prefix": "[Foo] ", "subscription_policy": "confirm", "volume": 1, "web_host": "example.com", "welcome_message_uri": "mailman:///welcome.txt"}'} headers: content-length: ['1730'] content-type: [application/json; charset=utf-8] status: {code: 200, message: OK} - request: body: null headers: accept-encoding: ['gzip, deflate'] method: !!python/unicode GET uri: http://localhost:9001/3.0/domains response: body: {string: !!python/unicode '{"entries": [{"base_url": "http://example.com", "description": null, "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", "url_host": "example.com"}], "http_etag": "\"c385b155f8da284bf78dbe075e20f58a30c893ab\"", "start": 0, "total_size": 1}'} headers: content-length: ['338'] content-type: [application/json; charset=utf-8] status: {code: 200, message: OK} - request: body: null headers: accept-encoding: ['gzip, deflate'] method: !!python/unicode DELETE uri: http://localhost:9001/3.0/domains/example.com response: body: {string: !!python/unicode ''} headers: content-length: ['0'] status: {code: 204, message: No Content} - request: body: null headers: accept-encoding: ['gzip, deflate'] method: !!python/unicode GET uri: http://localhost:9001/3.0/users response: body: {string: !!python/unicode '{"entries": [{"created_on": "2005-08-01T07:49:23", "display_name": "None", "http_etag": "\"59cde8cbd18040da8b4a9455bcf71a1845de95ad\"", "is_server_owner": false, "self_link": "http://localhost:9001/3.0/users/95", "user_id": 95}], "http_etag": "\"48db5140932313fe38af7e70f642cf1338c3352c\"", "start": 0, "total_size": 1}'} headers: content-length: ['319'] content-type: [application/json; charset=utf-8] status: {code: 200, message: OK} - request: body: null headers: accept-encoding: ['gzip, deflate'] method: !!python/unicode DELETE uri: http://localhost:9001/3.0/users/95 response: body: {string: !!python/unicode ''} headers: content-length: ['0'] status: {code: 204, message: No Content} version: 1