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/5532'] 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/5533'] 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: 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 '{"entries": [{"address": "http://localhost:9001/3.0/addresses/owner@example.com", "delivery_mode": "regular", "email": "owner@example.com", "http_etag": "\"af524e51161fc555f6a79583f2d3cc7f18f8a262\"", "list_id": "foo.example.com", "member_id": 5532, "moderation_action": "accept", "role": "owner", "self_link": "http://localhost:9001/3.0/members/5532", "user": "http://localhost:9001/3.0/users/3642"}], "http_etag": "\"77ab9c2b78c0d077ce3d70c147b578ed1454402e\"", "start": 0, "total_size": 1}'} headers: content-length: ['492'] 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 '{"entries": [{"address": "http://localhost:9001/3.0/addresses/moderator@example.com", "delivery_mode": "regular", "email": "moderator@example.com", "http_etag": "\"dbebf50256534e50ce9bff0476227364bcc7e40d\"", "list_id": "foo.example.com", "member_id": 5533, "moderation_action": "accept", "role": "moderator", "self_link": "http://localhost:9001/3.0/members/5533", "user": "http://localhost:9001/3.0/users/3643"}], "http_etag": "\"5fc0306a330d9bbff13e09b3fa6432d3cd62627a\"", "start": 0, "total_size": 1}'} headers: content-length: ['504'] 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": "\"d68453a59c8d3e113781b7697bbdeb409543e857\"", "is_server_owner": false, "self_link": "http://localhost:9001/3.0/users/3642", "user_id": 3642}, {"created_on": "2005-08-01T07:49:23", "http_etag": "\"f798ca6cdfeb808bf92b08e6e4e82df7e9e9eb70\"", "is_server_owner": false, "self_link": "http://localhost:9001/3.0/users/3643", "user_id": 3643}], "http_etag": "\"4b0b0141dec30701d8de8eb4c19311f4ebd65b78\"", "start": 0, "total_size": 2}'} headers: content-length: ['495'] 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/3642 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/3643 response: body: {string: !!python/unicode ''} headers: content-length: ['0'] status: {code: 204, message: No Content} version: 1