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/projects/test%2Fproject_branches
  response:
    body: {string: !!python/unicode '{"id":14,"description":"","name":"project_branches","name_with_namespace":"test
        / project_branches","path":"project_branches","path_with_namespace":"test/project_branches","created_at":"2019-04-25T12:33:06.121Z","default_branch":"master","tag_list":[],"ssh_url_to_repo":"git@gitlab.example.com:test/project_branches.git","http_url_to_repo":"http://gitlab.example.com/test/project_branches.git","web_url":"http://gitlab.example.com/test/project_branches","readme_url":"http://gitlab.example.com/test/project_branches/blob/master/README.md","avatar_url":null,"star_count":0,"forks_count":0,"last_activity_at":"2019-04-25T12:33:06.121Z","namespace":{"id":3,"name":"test","path":"test","kind":"group","full_path":"test","parent_id":null},"_links":{"self":"http://gitlab.example.com/api/v4/projects/14","issues":"http://gitlab.example.com/api/v4/projects/14/issues","merge_requests":"http://gitlab.example.com/api/v4/projects/14/merge_requests","repo_branches":"http://gitlab.example.com/api/v4/projects/14/repository/branches","labels":"http://gitlab.example.com/api/v4/projects/14/labels","events":"http://gitlab.example.com/api/v4/projects/14/events","members":"http://gitlab.example.com/api/v4/projects/14/members"},"archived":false,"visibility":"private","resolve_outdated_diff_discussions":false,"container_registry_enabled":true,"issues_enabled":true,"merge_requests_enabled":true,"wiki_enabled":true,"jobs_enabled":true,"snippets_enabled":true,"shared_runners_enabled":true,"lfs_enabled":true,"creator_id":1,"import_status":"none","import_error":null,"open_issues_count":0,"runners_token":"A-pWeyvGRdfMzLD3MApY","public_jobs":true,"ci_config_path":null,"shared_with_groups":[],"only_allow_merge_if_pipeline_succeeds":false,"request_access_enabled":false,"only_allow_merge_if_all_discussions_are_resolved":false,"printing_merge_request_link_enabled":true,"merge_method":"merge","permissions":{"project_access":null,"group_access":{"access_level":50,"notification_level":3}}}'}
    headers:
      cache-control: ['max-age=0, private, must-revalidate']
      connection: [keep-alive]
      content-length: ['1976']
      content-type: [application/json]
      date: ['Thu, 25 Apr 2019 12:34:12 GMT']
      etag: [W/"2b5412be64b5e9f895ac922ff196e6b5"]
      server: [nginx]
      strict-transport-security: [max-age=31536000]
      vary: [Origin]
      x-content-type-options: [nosniff]
      x-frame-options: [SAMEORIGIN]
      x-request-id: [dAeUl8MWad1]
      x-runtime: ['0.115012']
    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/projects/14/repository/branches
  response:
    body: {string: !!python/unicode '[{"name":"master","commit":{"id":"372573857345320362c6d0bceed107a9d07755f1","short_id":"37257385","created_at":"2019-04-25T12:34:01.000+00:00","parent_ids":null,"title":"Add
        new file","message":"Add new file","author_name":"Administrator","author_email":"admin@example.com","authored_date":"2019-04-25T12:34:01.000+00:00","committer_name":"Administrator","committer_email":"admin@example.com","committed_date":"2019-04-25T12:34:01.000+00:00"},"merged":false,"protected":true,"developers_can_push":false,"developers_can_merge":false,"can_push":true,"default":true}]'}
    headers:
      cache-control: ['max-age=0, private, must-revalidate']
      connection: [keep-alive]
      content-length: ['564']
      content-type: [application/json]
      date: ['Thu, 25 Apr 2019 12:34:12 GMT']
      etag: [W/"810c8771655aea3dd96485cff8d5e3f4"]
      link: ['<http://gitlab.example.com/api/v4/projects/14/repository/branches?id=14&page=1&per_page=20>;
          rel="first", <http://gitlab.example.com/api/v4/projects/14/repository/branches?id=14&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: [CzTd7eIF4b8]
      x-runtime: ['0.070887']
      x-total: ['1']
      x-total-pages: ['1']
    status: {code: 200, message: OK}
- request:
    body: !!python/unicode '{"ref": "master", "branch": "a"}'
    headers:
      Accept: ['*/*']
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      Content-Length: ['32']
      Content-type: [application/json]
      PRIVATE-TOKEN: [DKkdC5JmKWWZgXZGzg83]
      User-Agent: [python-requests/2.21.0]
    method: POST
    uri: http://localhost/api/v4/projects/14/repository/branches
  response:
    body: {string: !!python/unicode '{"name":"a","commit":{"id":"372573857345320362c6d0bceed107a9d07755f1","short_id":"37257385","created_at":"2019-04-25T12:34:01.000Z","parent_ids":[],"title":"Add
        new file","message":"Add new file","author_name":"Administrator","author_email":"admin@example.com","authored_date":"2019-04-25T12:34:01.000Z","committer_name":"Administrator","committer_email":"admin@example.com","committed_date":"2019-04-25T12:34:01.000Z"},"merged":false,"protected":false,"developers_can_push":false,"developers_can_merge":false,"can_push":true,"default":false}'}
    headers:
      cache-control: ['max-age=0, private, must-revalidate']
      connection: [keep-alive]
      content-length: ['542']
      content-type: [application/json]
      date: ['Thu, 25 Apr 2019 12:34:13 GMT']
      etag: [W/"96ee38cb7ab081b00f3393593e2884b0"]
      server: [nginx]
      strict-transport-security: [max-age=31536000]
      vary: [Origin]
      x-content-type-options: [nosniff]
      x-frame-options: [SAMEORIGIN]
      x-request-id: [3jwSBaMl839]
      x-runtime: ['0.948566']
    status: {code: 201, message: Created}
- request:
    body: !!python/unicode '{"ref": "a", "branch": "b"}'
    headers:
      Accept: ['*/*']
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      Content-Length: ['27']
      Content-type: [application/json]
      PRIVATE-TOKEN: [DKkdC5JmKWWZgXZGzg83]
      User-Agent: [python-requests/2.21.0]
    method: POST
    uri: http://localhost/api/v4/projects/14/repository/branches
  response:
    body: {string: !!python/unicode '{"name":"b","commit":{"id":"372573857345320362c6d0bceed107a9d07755f1","short_id":"37257385","created_at":"2019-04-25T12:34:01.000Z","parent_ids":[],"title":"Add
        new file","message":"Add new file","author_name":"Administrator","author_email":"admin@example.com","authored_date":"2019-04-25T12:34:01.000Z","committer_name":"Administrator","committer_email":"admin@example.com","committed_date":"2019-04-25T12:34:01.000Z"},"merged":false,"protected":false,"developers_can_push":false,"developers_can_merge":false,"can_push":true,"default":false}'}
    headers:
      cache-control: ['max-age=0, private, must-revalidate']
      connection: [keep-alive]
      content-length: ['542']
      content-type: [application/json]
      date: ['Thu, 25 Apr 2019 12:34:14 GMT']
      etag: [W/"46f46b5b125a4825bedef26f8201c4d0"]
      server: [nginx]
      strict-transport-security: [max-age=31536000]
      vary: [Origin]
      x-content-type-options: [nosniff]
      x-frame-options: [SAMEORIGIN]
      x-request-id: [8MRvSF5GGG]
      x-runtime: ['1.176231']
    status: {code: 201, message: Created}
- request:
    body: !!python/unicode '{"ref": "b", "branch": "c"}'
    headers:
      Accept: ['*/*']
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      Content-Length: ['27']
      Content-type: [application/json]
      PRIVATE-TOKEN: [DKkdC5JmKWWZgXZGzg83]
      User-Agent: [python-requests/2.21.0]
    method: POST
    uri: http://localhost/api/v4/projects/14/repository/branches
  response:
    body: {string: !!python/unicode '{"name":"c","commit":{"id":"372573857345320362c6d0bceed107a9d07755f1","short_id":"37257385","created_at":"2019-04-25T12:34:01.000Z","parent_ids":[],"title":"Add
        new file","message":"Add new file","author_name":"Administrator","author_email":"admin@example.com","authored_date":"2019-04-25T12:34:01.000Z","committer_name":"Administrator","committer_email":"admin@example.com","committed_date":"2019-04-25T12:34:01.000Z"},"merged":false,"protected":false,"developers_can_push":false,"developers_can_merge":false,"can_push":true,"default":false}'}
    headers:
      cache-control: ['max-age=0, private, must-revalidate']
      connection: [keep-alive]
      content-length: ['542']
      content-type: [application/json]
      date: ['Thu, 25 Apr 2019 12:34:15 GMT']
      etag: [W/"04154932294b8c8a976abc8f08facfa0"]
      server: [nginx]
      strict-transport-security: [max-age=31536000]
      vary: [Origin]
      x-content-type-options: [nosniff]
      x-frame-options: [SAMEORIGIN]
      x-request-id: [UJsLTH8kjV]
      x-runtime: ['1.144539']
    status: {code: 201, message: Created}
version: 1
