interactions: - request: body: !!python/unicode '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'] content-type: [application/json; charset=UTF-8] 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 '{"description": null, "http_etag": "\"d150abd34fabbcef42a2c654bfac81aa04ea4d6f\"", "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} headers: content-length: ['172'] content-type: [application/json; charset=UTF-8] status: {code: 200, message: OK} - request: body: !!python/unicode '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'] content-type: [application/json; charset=UTF-8] 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: !!python/unicode 'list_id=foo.example.com&role=owner&subscriber=owner%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 ''} headers: content-length: ['0'] content-type: [application/json; charset=UTF-8] location: ['http://localhost:9001/3.0/members/5630'] status: {code: 201, message: Created} - request: body: !!python/unicode 'list_id=foo.example.com&role=moderator&subscriber=moderator%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 ''} headers: content-length: ['0'] content-type: [application/json; charset=UTF-8] location: ['http://localhost:9001/3.0/members/5631'] status: {code: 201, message: Created} - request: body: !!python/unicode 'email=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/users response: body: {string: !!python/unicode ''} headers: content-length: ['0'] content-type: [application/json; charset=UTF-8] location: ['http://localhost:9001/3.0/users/3754'] status: {code: 201, message: Created} - request: body: null headers: accept-encoding: ['gzip, deflate'] method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/users/3754 response: body: {string: !!python/unicode '{"created_on": "2005-08-01T07:49:23", "http_etag": "\"f42a4c2a05cf485109e44c3dfe0ed64424448008\"", "is_server_owner": false, "password": "$6$rounds=656000$DmQvUT1a2HBoG4rQ$txPAeFOkzMD.mj9u4KADH7CrvSHxcaOQjUYeJIjO/5Vx2AXJ495yZyJCbgBXLOMVOEbjy/kMkor9gZ0IwRc46/", "self_link": "http://localhost:9001/3.0/users/3754", "user_id": 3754}'} headers: content-length: ['330'] 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/3754/addresses response: body: {string: !!python/unicode '{"entries": [{"email": "test@example.com", "http_etag": "\"fcb9d780d78bd1acb6a7e25304907ffdb2ccb17d\"", "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/3754"}], "http_etag": "\"6f3f02879dc53170e0a04681b3bbf64e835c2939\"", "start": 0, "total_size": 1}'} headers: content-length: ['390'] content-type: [application/json; charset=UTF-8] status: {code: 200, message: OK} - request: body: null headers: accept-encoding: ['gzip, deflate'] method: !!python/unicode 'POST' uri: http://localhost:9001/3.0/addresses/test@example.com/verify response: body: {string: !!python/unicode ''} headers: content-length: ['0'] status: {code: 204, message: No Content} - request: body: !!python/unicode 'display_name=None&list_id=foo.example.com&pre_approved=True&pre_confirmed=True&pre_verified=True&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 ''} headers: content-length: ['0'] content-type: [application/json; charset=UTF-8] location: ['http://localhost:9001/3.0/members/5632'] 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/member/test@example.com response: body: {string: !!python/unicode '{"address": "http://localhost:9001/3.0/addresses/test@example.com", "delivery_mode": "regular", "email": "test@example.com", "http_etag": "\"c535cebafecd244ddea5668f32df79671c7aad4c\"", "list_id": "foo.example.com", "member_id": 5632, "role": "member", "self_link": "http://localhost:9001/3.0/members/5632", "user": "http://localhost:9001/3.0/users/3754"}'} headers: content-length: ['355'] 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": "\"98cc998d4a30293ec17da639bce10617912a6e1e\"", "list_id": "foo.example.com", "list_name": "foo", "mail_host": "example.com", "member_count": 1, "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 response: body: {string: !!python/unicode '{"display_name": "Foo", "fqdn_listname": "foo@example.com", "http_etag": "\"98cc998d4a30293ec17da639bce10617912a6e1e\"", "list_id": "foo.example.com", "list_name": "foo", "mail_host": "example.com", "member_count": 1, "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/member/test@example.com response: body: {string: !!python/unicode '{"address": "http://localhost:9001/3.0/addresses/test@example.com", "delivery_mode": "regular", "email": "test@example.com", "http_etag": "\"c535cebafecd244ddea5668f32df79671c7aad4c\"", "list_id": "foo.example.com", "member_id": 5632, "role": "member", "self_link": "http://localhost:9001/3.0/members/5632", "user": "http://localhost:9001/3.0/users/3754"}'} headers: content-length: ['355'] 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/members/5632/preferences response: body: {string: !!python/unicode '{"http_etag": "\"dd3a37d71533432041f198d2fd0e81e0cb68f5a9\"", "self_link": "http://localhost:9001/3.0/members/5632/preferences"}'} headers: content-length: ['128'] content-type: [application/json; charset=UTF-8] status: {code: 200, message: OK} - request: body: !!python/unicode 'moderation_action=hold' headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] method: !!python/unicode 'PATCH' uri: http://localhost:9001/3.0/members/5632 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/lists/foo.example.com response: body: {string: !!python/unicode '{"display_name": "Foo", "fqdn_listname": "foo@example.com", "http_etag": "\"98cc998d4a30293ec17da639bce10617912a6e1e\"", "list_id": "foo.example.com", "list_name": "foo", "mail_host": "example.com", "member_count": 1, "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 response: body: {string: !!python/unicode '{"display_name": "Foo", "fqdn_listname": "foo@example.com", "http_etag": "\"98cc998d4a30293ec17da639bce10617912a6e1e\"", "list_id": "foo.example.com", "list_name": "foo", "mail_host": "example.com", "member_count": 1, "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/member/test@example.com response: body: {string: !!python/unicode '{"address": "http://localhost:9001/3.0/addresses/test@example.com", "delivery_mode": "regular", "email": "test@example.com", "http_etag": "\"be1ccbb75ffec78d1f81dc4768946566d82172d7\"", "list_id": "foo.example.com", "member_id": 5632, "moderation_action": "hold", "role": "member", "self_link": "http://localhost:9001/3.0/members/5632", "user": "http://localhost:9001/3.0/users/3754"}'} headers: content-length: ['384'] 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/members/5632/preferences response: body: {string: !!python/unicode '{"http_etag": "\"dd3a37d71533432041f198d2fd0e81e0cb68f5a9\"", "self_link": "http://localhost:9001/3.0/members/5632/preferences"}'} headers: content-length: ['128'] 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 '{"address": "http://localhost:9001/3.0/addresses/test@example.com", "delivery_mode": "regular", "email": "test@example.com", "http_etag": "\"be1ccbb75ffec78d1f81dc4768946566d82172d7\"", "list_id": "foo.example.com", "member_id": 5632, "moderation_action": "hold", "role": "member", "self_link": "http://localhost:9001/3.0/members/5632", "user": "http://localhost:9001/3.0/users/3754"}'} headers: content-length: ['384'] 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": "\"98cc998d4a30293ec17da639bce10617912a6e1e\"", "list_id": "foo.example.com", "list_name": "foo", "mail_host": "example.com", "member_count": 1, "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 response: body: {string: !!python/unicode '{"display_name": "Foo", "fqdn_listname": "foo@example.com", "http_etag": "\"98cc998d4a30293ec17da639bce10617912a6e1e\"", "list_id": "foo.example.com", "list_name": "foo", "mail_host": "example.com", "member_count": 1, "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/member/test@example.com response: body: {string: !!python/unicode '{"address": "http://localhost:9001/3.0/addresses/test@example.com", "delivery_mode": "regular", "email": "test@example.com", "http_etag": "\"be1ccbb75ffec78d1f81dc4768946566d82172d7\"", "list_id": "foo.example.com", "member_id": 5632, "moderation_action": "hold", "role": "member", "self_link": "http://localhost:9001/3.0/members/5632", "user": "http://localhost:9001/3.0/users/3754"}'} headers: content-length: ['384'] 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/members/5632/preferences response: body: {string: !!python/unicode '{"http_etag": "\"dd3a37d71533432041f198d2fd0e81e0cb68f5a9\"", "self_link": "http://localhost:9001/3.0/members/5632/preferences"}'} headers: content-length: ['128'] content-type: [application/json; charset=UTF-8] status: {code: 200, message: OK} - request: body: !!python/unicode 'moderation_action=' headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] method: !!python/unicode 'PATCH' uri: http://localhost:9001/3.0/members/5632 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/lists/foo.example.com response: body: {string: !!python/unicode '{"display_name": "Foo", "fqdn_listname": "foo@example.com", "http_etag": "\"98cc998d4a30293ec17da639bce10617912a6e1e\"", "list_id": "foo.example.com", "list_name": "foo", "mail_host": "example.com", "member_count": 1, "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 response: body: {string: !!python/unicode '{"display_name": "Foo", "fqdn_listname": "foo@example.com", "http_etag": "\"98cc998d4a30293ec17da639bce10617912a6e1e\"", "list_id": "foo.example.com", "list_name": "foo", "mail_host": "example.com", "member_count": 1, "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/member/test@example.com response: body: {string: !!python/unicode '{"address": "http://localhost:9001/3.0/addresses/test@example.com", "delivery_mode": "regular", "email": "test@example.com", "http_etag": "\"c535cebafecd244ddea5668f32df79671c7aad4c\"", "list_id": "foo.example.com", "member_id": 5632, "role": "member", "self_link": "http://localhost:9001/3.0/members/5632", "user": "http://localhost:9001/3.0/users/3754"}'} headers: content-length: ['355'] 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/members/5632/preferences response: body: {string: !!python/unicode '{"http_etag": "\"dd3a37d71533432041f198d2fd0e81e0cb68f5a9\"", "self_link": "http://localhost:9001/3.0/members/5632/preferences"}'} headers: content-length: ['128'] 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 '{"address": "http://localhost:9001/3.0/addresses/test@example.com", "delivery_mode": "regular", "email": "test@example.com", "http_etag": "\"c535cebafecd244ddea5668f32df79671c7aad4c\"", "list_id": "foo.example.com", "member_id": 5632, "role": "member", "self_link": "http://localhost:9001/3.0/members/5632", "user": "http://localhost:9001/3.0/users/3754"}'} headers: content-length: ['355'] 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": [{"description": null, "http_etag": "\"d150abd34fabbcef42a2c654bfac81aa04ea4d6f\"", "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}], "http_etag": "\"2ec9679269ad1f741705a62db0162f5585ae5c3c\"", "start": 0, "total_size": 1}'} headers: content-length: ['277'] 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", "http_etag": "\"765c7644b83e843c3e19844e6cd70166d5b84d4f\"", "is_server_owner": false, "self_link": "http://localhost:9001/3.0/users/3752", "user_id": 3752}, {"created_on": "2005-08-01T07:49:23", "http_etag": "\"6b9a1116ee2055003f143f7de2b5ed6f7dda3cb8\"", "is_server_owner": false, "self_link": "http://localhost:9001/3.0/users/3753", "user_id": 3753}, {"created_on": "2005-08-01T07:49:23", "http_etag": "\"f42a4c2a05cf485109e44c3dfe0ed64424448008\"", "is_server_owner": false, "password": "$6$rounds=656000$DmQvUT1a2HBoG4rQ$txPAeFOkzMD.mj9u4KADH7CrvSHxcaOQjUYeJIjO/5Vx2AXJ495yZyJCbgBXLOMVOEbjy/kMkor9gZ0IwRc46/", "self_link": "http://localhost:9001/3.0/users/3754", "user_id": 3754}], "http_etag": "\"55dea9e396a47f3b417c83c71a5afb38a004ca97\"", "start": 0, "total_size": 3}'} headers: content-length: ['827'] 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/3752 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 'DELETE' uri: http://localhost:9001/3.0/users/3753 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 'DELETE' uri: http://localhost:9001/3.0/users/3754 response: body: {string: !!python/unicode ''} headers: content-length: ['0'] status: {code: 204, message: No Content} version: 1