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=list%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/list.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/list.example.com
response:
body: {string: !!python/unicode '{"display_name": "List", "fqdn_listname": "list@example.com",
"http_etag": "\"e6a4f3c403f35e4c9a30c19f07bf0e36fa03e45b\"", "list_id": "list.example.com",
"list_name": "list", "mail_host": "example.com", "member_count": 0, "self_link":
"http://localhost:9001/3.0/lists/list.example.com", "volume": 1}'}
headers:
content-length: ['299']
content-type: [application/json; charset=utf-8]
status: {code: 200, message: OK}
- request:
body: list_id=list.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']
location: ['http://localhost:9001/3.0/members/47']
status: {code: 201, message: Created}
- request:
body: list_id=list.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']
location: ['http://localhost:9001/3.0/members/48']
status: {code: 201, message: Created}
- request:
body: null
headers:
accept-encoding: ['gzip, deflate']
method: !!python/unicode GET
uri: http://localhost:9001/3.0/users/su@example.com
response:
body: {string: !!python/unicode 404 Not Found}
headers:
content-length: ['13']
content-type: [application/json; charset=utf-8]
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/list.example.com
response:
body: {string: !!python/unicode '{"display_name": "List", "fqdn_listname": "list@example.com",
"http_etag": "\"e6a4f3c403f35e4c9a30c19f07bf0e36fa03e45b\"", "list_id": "list.example.com",
"list_name": "list", "mail_host": "example.com", "member_count": 0, "self_link":
"http://localhost:9001/3.0/lists/list.example.com", "volume": 1}'}
headers:
content-length: ['299']
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/list.example.com/header-matches
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/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",
"http_etag": "\"edcea41adfd3150fc44a03bedd6fd8873a9ef393\"", "is_server_owner":
false, "self_link": "http://localhost:9001/3.0/users/46", "user_id": 46},
{"created_on": "2005-08-01T07:49:23", "http_etag": "\"b104730ccfabfd68697319f733687494ff23079c\"",
"is_server_owner": false, "self_link": "http://localhost:9001/3.0/users/47",
"user_id": 47}], "http_etag": "\"0bac402a67c86d02007fc1bb57189300d4ea9280\"",
"start": 0, "total_size": 2}'}
headers:
content-length: ['487']
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/46
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/47
response:
body: {string: !!python/unicode ''}
headers:
content-length: ['0']
status: {code: 204, message: No Content}
version: 1