interactions:
- 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/su@example.com",
        "delivery_mode": "regular", "email": "su@example.com", "http_etag": "\"aa48f3a38b3aca7b79147cf59c18f45e72e7a324\"",
        "list_id": "foo.example.com", "member_id": 1975, "moderation_action": "accept",
        "role": "owner", "self_link": "http://localhost:9001/3.0/members/1975", "user":
        "http://localhost:9001/3.0/users/1286"}], "http_etag": "\"5e208f7e1de4d90d63df65d4b7deb0de8b96ffd1\"",
        "start": 0, "total_size": 1}'}
    headers:
      content-length: ['486']
      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/users/su@example.com
  response:
    body: {string: !!python/unicode '{"created_on": "2005-08-01T07:49:23", "http_etag":
        "\"a3f0c3dc174b9c4fc253d4787d37de5df178d4c2\"", "is_server_owner": false,
        "self_link": "http://localhost:9001/3.0/users/1286", "user_id": 1286}'}
    headers:
      content-length: ['194']
      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/1286/addresses
  response:
    body: {string: !!python/unicode '{"entries": [{"email": "su@example.com", "http_etag":
        "\"9ac7d43d92b3c701fb5041d65a0f9fca6380b613\"", "original_email": "su@example.com",
        "registered_on": "2005-08-01T07:49:23", "self_link": "http://localhost:9001/3.0/addresses/su@example.com",
        "user": "http://localhost:9001/3.0/users/1286"}], "http_etag": "\"484dad2ec4bf3cd0102e524d3ebb4750f5054ed0\"",
        "start": 0, "total_size": 1}'}
    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/roster/owner
  response:
    body: {string: !!python/unicode '{"entries": [{"address": "http://localhost:9001/3.0/addresses/su@example.com",
        "delivery_mode": "regular", "email": "su@example.com", "http_etag": "\"aa48f3a38b3aca7b79147cf59c18f45e72e7a324\"",
        "list_id": "foo.example.com", "member_id": 1975, "moderation_action": "accept",
        "role": "owner", "self_link": "http://localhost:9001/3.0/members/1975", "user":
        "http://localhost:9001/3.0/users/1286"}], "http_etag": "\"5e208f7e1de4d90d63df65d4b7deb0de8b96ffd1\"",
        "start": 0, "total_size": 1}'}
    headers:
      content-length: ['486']
      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
  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: list_id=foo.example.com&role=owner&subscriber=newowner%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/1976']
    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/roster/owner
  response:
    body: {string: !!python/unicode '{"entries": [{"address": "http://localhost:9001/3.0/addresses/newowner@example.com",
        "delivery_mode": "regular", "email": "newowner@example.com", "http_etag":
        "\"4e87176a1aadd0e18d121fafb51a15678b95de98\"", "list_id": "foo.example.com",
        "member_id": 1976, "moderation_action": "accept", "role": "owner", "self_link":
        "http://localhost:9001/3.0/members/1976", "user": "http://localhost:9001/3.0/users/1287"},
        {"address": "http://localhost:9001/3.0/addresses/su@example.com", "delivery_mode":
        "regular", "email": "su@example.com", "http_etag": "\"aa48f3a38b3aca7b79147cf59c18f45e72e7a324\"",
        "list_id": "foo.example.com", "member_id": 1975, "moderation_action": "accept",
        "role": "owner", "self_link": "http://localhost:9001/3.0/members/1975", "user":
        "http://localhost:9001/3.0/users/1286"}], "http_etag": "\"83c8a71ab5ceaca0703a8c8ad1ec500f1b98e6dc\"",
        "start": 0, "total_size": 2}'}
    headers:
      content-length: ['881']
      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/newowner@example.com",
        "delivery_mode": "regular", "email": "newowner@example.com", "http_etag":
        "\"4e87176a1aadd0e18d121fafb51a15678b95de98\"", "list_id": "foo.example.com",
        "member_id": 1976, "moderation_action": "accept", "role": "owner", "self_link":
        "http://localhost:9001/3.0/members/1976", "user": "http://localhost:9001/3.0/users/1287"},
        {"address": "http://localhost:9001/3.0/addresses/su@example.com", "delivery_mode":
        "regular", "email": "su@example.com", "http_etag": "\"aa48f3a38b3aca7b79147cf59c18f45e72e7a324\"",
        "list_id": "foo.example.com", "member_id": 1975, "moderation_action": "accept",
        "role": "owner", "self_link": "http://localhost:9001/3.0/members/1975", "user":
        "http://localhost:9001/3.0/users/1286"}], "http_etag": "\"83c8a71ab5ceaca0703a8c8ad1ec500f1b98e6dc\"",
        "start": 0, "total_size": 2}'}
    headers:
      content-length: ['881']
      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/users/su@example.com
  response:
    body: {string: !!python/unicode '{"created_on": "2005-08-01T07:49:23", "http_etag":
        "\"a3f0c3dc174b9c4fc253d4787d37de5df178d4c2\"", "is_server_owner": false,
        "self_link": "http://localhost:9001/3.0/users/1286", "user_id": 1286}'}
    headers:
      content-length: ['194']
      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/1286/addresses
  response:
    body: {string: !!python/unicode '{"entries": [{"email": "su@example.com", "http_etag":
        "\"9ac7d43d92b3c701fb5041d65a0f9fca6380b613\"", "original_email": "su@example.com",
        "registered_on": "2005-08-01T07:49:23", "self_link": "http://localhost:9001/3.0/addresses/su@example.com",
        "user": "http://localhost:9001/3.0/users/1286"}], "http_etag": "\"484dad2ec4bf3cd0102e524d3ebb4750f5054ed0\"",
        "start": 0, "total_size": 1}'}
    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/roster/owner
  response:
    body: {string: !!python/unicode '{"entries": [{"address": "http://localhost:9001/3.0/addresses/newowner@example.com",
        "delivery_mode": "regular", "email": "newowner@example.com", "http_etag":
        "\"4e87176a1aadd0e18d121fafb51a15678b95de98\"", "list_id": "foo.example.com",
        "member_id": 1976, "moderation_action": "accept", "role": "owner", "self_link":
        "http://localhost:9001/3.0/members/1976", "user": "http://localhost:9001/3.0/users/1287"},
        {"address": "http://localhost:9001/3.0/addresses/su@example.com", "delivery_mode":
        "regular", "email": "su@example.com", "http_etag": "\"aa48f3a38b3aca7b79147cf59c18f45e72e7a324\"",
        "list_id": "foo.example.com", "member_id": 1975, "moderation_action": "accept",
        "role": "owner", "self_link": "http://localhost:9001/3.0/members/1975", "user":
        "http://localhost:9001/3.0/users/1286"}], "http_etag": "\"83c8a71ab5ceaca0703a8c8ad1ec500f1b98e6dc\"",
        "start": 0, "total_size": 2}'}
    headers:
      content-length: ['881']
      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
  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/newowner@example.com",
        "delivery_mode": "regular", "email": "newowner@example.com", "http_etag":
        "\"4e87176a1aadd0e18d121fafb51a15678b95de98\"", "list_id": "foo.example.com",
        "member_id": 1976, "moderation_action": "accept", "role": "owner", "self_link":
        "http://localhost:9001/3.0/members/1976", "user": "http://localhost:9001/3.0/users/1287"},
        {"address": "http://localhost:9001/3.0/addresses/su@example.com", "delivery_mode":
        "regular", "email": "su@example.com", "http_etag": "\"aa48f3a38b3aca7b79147cf59c18f45e72e7a324\"",
        "list_id": "foo.example.com", "member_id": 1975, "moderation_action": "accept",
        "role": "owner", "self_link": "http://localhost:9001/3.0/members/1975", "user":
        "http://localhost:9001/3.0/users/1286"}], "http_etag": "\"83c8a71ab5ceaca0703a8c8ad1ec500f1b98e6dc\"",
        "start": 0, "total_size": 2}'}
    headers:
      content-length: ['881']
      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/lists/foo@example.com/owner/newowner@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/lists/foo.example.com/roster/owner
  response:
    body: {string: !!python/unicode '{"entries": [{"address": "http://localhost:9001/3.0/addresses/su@example.com",
        "delivery_mode": "regular", "email": "su@example.com", "http_etag": "\"aa48f3a38b3aca7b79147cf59c18f45e72e7a324\"",
        "list_id": "foo.example.com", "member_id": 1975, "moderation_action": "accept",
        "role": "owner", "self_link": "http://localhost:9001/3.0/members/1975", "user":
        "http://localhost:9001/3.0/users/1286"}], "http_etag": "\"5e208f7e1de4d90d63df65d4b7deb0de8b96ffd1\"",
        "start": 0, "total_size": 1}'}
    headers:
      content-length: ['486']
      content-type: [application/json; charset=utf-8]
    status: {code: 200, message: OK}
version: 1
