interactions:
- request:
    body: null
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      Content-type:
      - application/json
      PRIVATE-TOKEN:
      - DKkdC5JmKWWZgXZGzg83
      User-Agent:
      - python-requests/2.21.0
    method: GET
    uri: http://localhost/api/v4/groups/test%2Fgroup_members
  response:
    body:
      string: '{"id":20,"web_url":"http://gitlab.example.com/groups/test/group_members","name":"group_members","path":"group_members","description":"","visibility":"private","lfs_enabled":true,"avatar_url":null,"request_access_enabled":false,"full_name":"test
        / group_members","full_path":"test/group_members","parent_id":3,"projects":[],"shared_projects":[]}'
    headers:
      Cache-Control:
      - max-age=0, private, must-revalidate
      Connection:
      - keep-alive
      Content-Length:
      - '344'
      Content-Type:
      - application/json
      Date:
      - Mon, 13 May 2019 08:05:00 GMT
      Etag:
      - W/"5e0acc3de642a3143de92d12481d4ebc"
      Server:
      - nginx
      Strict-Transport-Security:
      - max-age=31536000
      Vary:
      - Origin
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - SAMEORIGIN
      X-Request-Id:
      - g5uLmV2QKz4
      X-Runtime:
      - '0.471680'
    status:
      code: 200
      message: OK
- request:
    body: null
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      Content-type:
      - application/json
      PRIVATE-TOKEN:
      - DKkdC5JmKWWZgXZGzg83
      User-Agent:
      - python-requests/2.21.0
    method: GET
    uri: http://localhost/api/v4/groups/20/members
  response:
    body:
      string: '[]'
    headers:
      Cache-Control:
      - max-age=0, private, must-revalidate
      Connection:
      - keep-alive
      Content-Length:
      - '2'
      Content-Type:
      - application/json
      Date:
      - Mon, 13 May 2019 08:05:00 GMT
      Etag:
      - W/"4f53cda18c2baa0c0354bb5f9a3ecbe5"
      Link:
      - <http://gitlab.example.com/api/v4/groups/20/members?id=20&page=1&per_page=20>;
        rel="first", <http://gitlab.example.com/api/v4/groups/20/members?id=20&page=1&per_page=20>;
        rel="last"
      Server:
      - nginx
      Strict-Transport-Security:
      - max-age=31536000
      Vary:
      - Origin
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - SAMEORIGIN
      X-Next-Page:
      - ''
      X-Page:
      - '1'
      X-Per-Page:
      - '20'
      X-Prev-Page:
      - ''
      X-Request-Id:
      - kAexjmzh2E6
      X-Runtime:
      - '0.035106'
      X-Total:
      - '0'
      X-Total-Pages:
      - '1'
    status:
      code: 200
      message: OK
- request:
    body: null
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      Content-type:
      - application/json
      PRIVATE-TOKEN:
      - DKkdC5JmKWWZgXZGzg83
      User-Agent:
      - python-requests/2.21.0
    method: GET
    uri: http://localhost/api/v4/users?username=some_member
  response:
    body:
      string: '[{"id":10,"name":"Some Member","username":"some_member","state":"active","avatar_url":"https://www.gravatar.com/avatar/b2e136501f5640b23119174ee1c1d622?s=80\u0026d=identicon","web_url":"http://gitlab.example.com/some_member","created_at":"2019-05-02T09:58:06.713Z","bio":null,"location":null,"public_email":"","skype":"","linkedin":"","twitter":"","website_url":"","organization":null,"last_sign_in_at":null,"confirmed_at":"2019-05-02T09:58:06.561Z","last_activity_on":null,"email":"some_member@example.org","theme_id":1,"color_scheme_id":1,"projects_limit":100000,"current_sign_in_at":null,"identities":[],"can_create_group":true,"can_create_project":true,"two_factor_enabled":false,"external":false,"private_profile":null,"is_admin":false}]'
    headers:
      Cache-Control:
      - max-age=0, private, must-revalidate
      Connection:
      - keep-alive
      Content-Length:
      - '742'
      Content-Type:
      - application/json
      Date:
      - Mon, 13 May 2019 08:05:00 GMT
      Etag:
      - W/"cb1a1e61ba2570efd164a7e881b3503d"
      Link:
      - <http://gitlab.example.com/api/v4/users?active=false&blocked=false&external=false&order_by=id&page=1&per_page=20&sort=desc&username=some_member&with_custom_attributes=false>;
        rel="first", <http://gitlab.example.com/api/v4/users?active=false&blocked=false&external=false&order_by=id&page=1&per_page=20&sort=desc&username=some_member&with_custom_attributes=false>;
        rel="last"
      Server:
      - nginx
      Strict-Transport-Security:
      - max-age=31536000
      Vary:
      - Origin
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - SAMEORIGIN
      X-Next-Page:
      - ''
      X-Page:
      - '1'
      X-Per-Page:
      - '20'
      X-Prev-Page:
      - ''
      X-Request-Id:
      - zRpVcTC0KG9
      X-Runtime:
      - '0.047355'
      X-Total:
      - '1'
      X-Total-Pages:
      - '1'
    status:
      code: 200
      message: OK
- request:
    body: '{"user_id": 10, "access_level": 30}'
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      Content-Length:
      - '35'
      Content-type:
      - application/json
      PRIVATE-TOKEN:
      - DKkdC5JmKWWZgXZGzg83
      User-Agent:
      - python-requests/2.21.0
    method: POST
    uri: http://localhost/api/v4/groups/20/members
  response:
    body:
      string: '{"id":10,"name":"Some Member","username":"some_member","state":"active","avatar_url":"https://www.gravatar.com/avatar/b2e136501f5640b23119174ee1c1d622?s=80\u0026d=identicon","web_url":"http://gitlab.example.com/some_member","access_level":30,"expires_at":null}'
    headers:
      Cache-Control:
      - max-age=0, private, must-revalidate
      Connection:
      - keep-alive
      Content-Length:
      - '260'
      Content-Type:
      - application/json
      Date:
      - Mon, 13 May 2019 08:05:01 GMT
      Etag:
      - W/"ad04a6b40030113742fd8eaae4bc05a4"
      Server:
      - nginx
      Strict-Transport-Security:
      - max-age=31536000
      Vary:
      - Origin
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - SAMEORIGIN
      X-Request-Id:
      - IJiTOnVnYpa
      X-Runtime:
      - '0.954137'
    status:
      code: 201
      message: Created
version: 1
