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: !!python/unicode email=user%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/104']
status: {code: 201, message: Created}
- request:
body: null
headers:
accept-encoding: ['gzip, deflate']
method: !!python/unicode GET
uri: http://localhost:9001/3.0/users/old-user@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/users/old-user@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: !!python/unicode email=old-user%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/105']
status: {code: 201, message: Created}
- request:
body: null
headers:
accept-encoding: ['gzip, deflate']
method: !!python/unicode GET
uri: http://localhost:9001/3.0/users/105
response:
body: {string: !!python/unicode '{"created_on": "2005-08-01T07:49:23", "http_etag":
"\"ba9015e39fb40ba7c6caeca2f6d76de0816249ba\"", "is_server_owner": false,
"password": "$6$rounds=592929$ifOfeowdHJs9/q6I$BA9KsEMZ9Dbeg0OxG9l5A4tqQa5us8soMtIiHhqLaRkM4KkNE4kztaArknPgj1YlRDVbzhYRrKaQDGN62FESq/",
"self_link": "http://localhost:9001/3.0/users/105", "user_id": 105}'}
headers:
content-length: ['328']
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/105/addresses
response:
body: {string: !!python/unicode '{"entries": [{"email": "old-user@example.com",
"http_etag": "\"7563dbce29899762c1d3b1946bfcd5881d968b9f\"", "original_email":
"old-user@example.com", "registered_on": "2005-08-01T07:49:23", "self_link":
"http://localhost:9001/3.0/addresses/old-user@example.com", "user": "http://localhost:9001/3.0/users/105"}],
"http_etag": "\"4b1c3318a13ff5a859902c1c6a8c5f474ed6c00e\"", "start": 0, "total_size":
1}'}
headers:
content-length: ['401']
content-type: [application/json; charset=UTF-8]
status: {code: 200, message: OK}
- request:
body: !!python/unicode subscriber=old-user%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/find
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/users/old-user@example.com
response:
body: {string: !!python/unicode '{"created_on": "2005-08-01T07:49:23", "http_etag":
"\"ba9015e39fb40ba7c6caeca2f6d76de0816249ba\"", "is_server_owner": false,
"password": "$6$rounds=592929$ifOfeowdHJs9/q6I$BA9KsEMZ9Dbeg0OxG9l5A4tqQa5us8soMtIiHhqLaRkM4KkNE4kztaArknPgj1YlRDVbzhYRrKaQDGN62FESq/",
"self_link": "http://localhost:9001/3.0/users/105", "user_id": 105}'}
headers:
content-length: ['328']
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": "\"af585fe4f39f61813a348fb26ae2c5a7d6e49733\"", "is_server_owner":
false, "password": "$6$rounds=601361$L9uKAuK27BArmQ9D$YXv.wx0ktDf.ieEB.3xmizezFjMDCcyIygyOt/hi3K8tJy6AtvpYJPMHM9XPGgU8hnAGqaxJ072rcsx4mITiR0",
"self_link": "http://localhost:9001/3.0/users/104", "user_id": 104}, {"created_on":
"2005-08-01T07:49:23", "http_etag": "\"ba9015e39fb40ba7c6caeca2f6d76de0816249ba\"",
"is_server_owner": false, "password": "$6$rounds=592929$ifOfeowdHJs9/q6I$BA9KsEMZ9Dbeg0OxG9l5A4tqQa5us8soMtIiHhqLaRkM4KkNE4kztaArknPgj1YlRDVbzhYRrKaQDGN62FESq/",
"self_link": "http://localhost:9001/3.0/users/105", "user_id": 105}], "http_etag":
"\"ebfb159e7146dad89059e68f383a7e49a68c72bd\"", "start": 0, "total_size":
2}'}
headers:
content-length: ['763']
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/104
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/105
response:
body: {string: !!python/unicode ''}
headers:
content-length: ['0']
status: {code: 204, message: No Content}
version: 1