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%2Fcreate_group
  response:
    body:
      string: '{"message":"404 Group Not Found"}'
    headers:
      Cache-Control:
      - no-cache
      Connection:
      - keep-alive
      Content-Length:
      - '33'
      Content-Type:
      - application/json
      Date:
      - Tue, 02 Apr 2019 13:25:24 GMT
      Server:
      - nginx
      Vary:
      - Origin
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - SAMEORIGIN
      X-Request-Id:
      - sThDHnwFAP
      X-Runtime:
      - '0.013903'
    status:
      code: 404
      message: Not Found
- 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/namespaces/test
  response:
    body:
      string: '{"id":3,"name":"test","path":"test","kind":"group","full_path":"test","parent_id":null,"members_count_with_descendants":1}'
    headers:
      Cache-Control:
      - max-age=0, private, must-revalidate
      Connection:
      - keep-alive
      Content-Length:
      - '122'
      Content-Type:
      - application/json
      Date:
      - Tue, 02 Apr 2019 13:25:24 GMT
      Etag:
      - W/"c9005601d414da800ef1bea500bf9d07"
      Server:
      - nginx
      Strict-Transport-Security:
      - max-age=31536000
      Vary:
      - Origin
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - SAMEORIGIN
      X-Request-Id:
      - 8UqsItFBAr2
      X-Runtime:
      - '0.024562'
    status:
      code: 200
      message: OK
- request:
    body: '{"path": "create_group", "name": "create_group", "parent_id": 3}'
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      Content-Length:
      - '67'
      Content-type:
      - application/json
      PRIVATE-TOKEN:
      - DKkdC5JmKWWZgXZGzg83
      User-Agent:
      - python-requests/2.21.0
    method: POST
    uri: http://localhost/api/v4/groups
  response:
    body:
      string: '{"id":5,"web_url":"http://gitlab.example.com/groups/create_group","name":"create_group","path":"create_group","description":"","visibility":"private","lfs_enabled":true,"avatar_url":null,"request_access_enabled":false,"full_name":"test / create_group","full_path":"test/create_group","parent_id":3,"projects":[],"shared_projects":[]}'
    headers:
      Cache-Control:
      - max-age=0, private, must-revalidate
      Connection:
      - keep-alive
      Content-Length:
      - '324'
      Content-Type:
      - application/json
      Date:
      - Tue, 02 Apr 2019 13:25:24 GMT
      Etag:
      - W/"4b0de1124125827133dd323149876869"
      Server:
      - nginx
      Strict-Transport-Security:
      - max-age=31536000
      Vary:
      - Origin
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - SAMEORIGIN
      X-Request-Id:
      - GfUeKrsrOi9
      X-Runtime:
      - '0.154512'
    status:
      code: 201
      message: Created
version: 1
