interactions:
- request:
    body: null
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      Content-type:
      - application/json
      PRIVATE-TOKEN:
      - oQ9_zgPgaqyyvW1GrnQY
      User-Agent:
      - python-gitlab/2.4.0
    method: GET
    uri: http://127.0.0.1:3000/api/v4/projects/test%2Ftest_pipeline_schedules
  response:
    body:
      string: '{"id":20,"description":"","name":"test_pipeline_schedules","name_with_namespace":"test
        / test_pipeline_schedules","path":"test_pipeline_schedules","path_with_namespace":"test/test_pipeline_schedules","created_at":"2020-08-26T09:43:26.452Z","default_branch":"master","tag_list":[],"ssh_url_to_repo":"ssh://mathieu@127.0.0.1:2222/test/test_pipeline_schedules.git","http_url_to_repo":"http://127.0.0.1:3000/test/test_pipeline_schedules.git","web_url":"http://127.0.0.1:3000/test/test_pipeline_schedules","readme_url":"http://127.0.0.1:3000/test/test_pipeline_schedules/-/blob/master/README.md","avatar_url":null,"forks_count":0,"star_count":0,"last_activity_at":"2020-08-26T09:43:26.452Z","namespace":{"id":52,"name":"test","path":"test","kind":"group","full_path":"test","parent_id":null,"avatar_url":null,"web_url":"http://127.0.0.1:3000/groups/test"},"_links":{"self":"http://127.0.0.1:3000/api/v4/projects/20","issues":"http://127.0.0.1:3000/api/v4/projects/20/issues","merge_requests":"http://127.0.0.1:3000/api/v4/projects/20/merge_requests","repo_branches":"http://127.0.0.1:3000/api/v4/projects/20/repository/branches","labels":"http://127.0.0.1:3000/api/v4/projects/20/labels","events":"http://127.0.0.1:3000/api/v4/projects/20/events","members":"http://127.0.0.1:3000/api/v4/projects/20/members"},"packages_enabled":true,"empty_repo":false,"archived":false,"visibility":"private","resolve_outdated_diff_discussions":false,"container_registry_enabled":true,"container_expiration_policy":{"cadence":"1d","enabled":true,"keep_n":10,"older_than":"90d","name_regex":null,"name_regex_keep":null,"next_run_at":"2020-08-27T09:43:26.593Z"},"issues_enabled":true,"merge_requests_enabled":true,"wiki_enabled":true,"jobs_enabled":true,"snippets_enabled":true,"service_desk_enabled":false,"service_desk_address":null,"can_create_merge_request_in":true,"issues_access_level":"enabled","repository_access_level":"enabled","merge_requests_access_level":"enabled","forking_access_level":"enabled","wiki_access_level":"enabled","builds_access_level":"enabled","snippets_access_level":"enabled","pages_access_level":"private","emails_disabled":null,"shared_runners_enabled":true,"lfs_enabled":true,"creator_id":1,"import_status":"none","import_error":null,"open_issues_count":0,"runners_token":"TksjrNbwNS4QWtPw6Gm2","ci_default_git_depth":50,"public_jobs":true,"build_git_strategy":"fetch","build_timeout":3600,"auto_cancel_pending_pipelines":"enabled","build_coverage_regex":null,"ci_config_path":null,"shared_with_groups":[],"only_allow_merge_if_pipeline_succeeds":false,"allow_merge_on_skipped_pipeline":null,"request_access_enabled":true,"only_allow_merge_if_all_discussions_are_resolved":false,"remove_source_branch_after_merge":true,"printing_merge_request_link_enabled":true,"merge_method":"merge","suggestion_commit_message":null,"auto_devops_enabled":true,"auto_devops_deploy_strategy":"continuous","autoclose_referenced_issues":true,"repository_storage":"default","compliance_frameworks":[],"permissions":{"project_access":null,"group_access":{"access_level":50,"notification_level":3}}}'
    headers:
      Cache-Control:
      - max-age=0, private, must-revalidate
      Content-Length:
      - '3086'
      Content-Type:
      - application/json
      Date:
      - Wed, 26 Aug 2020 09:57:45 GMT
      Etag:
      - W/"333e275b67c61b22200c9bc8f930150f"
      Vary:
      - Origin
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - SAMEORIGIN
      X-Request-Id:
      - nOZoZOWR2T8
      X-Runtime:
      - '0.199834'
    status:
      code: 200
      message: OK
- request:
    body: null
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      Content-type:
      - application/json
      PRIVATE-TOKEN:
      - oQ9_zgPgaqyyvW1GrnQY
      User-Agent:
      - python-gitlab/2.4.0
    method: GET
    uri: http://127.0.0.1:3000/api/v4/projects/20/pipeline_schedules
  response:
    body:
      string: '[{"id":2,"description":"modify_me","ref":"master","cron":"0 13 * *
        *","cron_timezone":"Pacific Time (US \u0026 Canada)","next_run_at":"2020-08-26T20:19:00.000Z","active":true,"created_at":"2020-08-26T09:46:56.912Z","updated_at":"2020-08-26T09:57:32.381Z","owner":{"id":1,"name":"Administrator","username":"root","state":"active","avatar_url":"https://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80\u0026d=identicon","web_url":"http://127.0.0.1:3000/root"}},{"id":1,"description":"delete_me","ref":"master","cron":"0
        8 * * *","cron_timezone":"UTC","next_run_at":"2020-08-27T08:19:00.000Z","active":true,"created_at":"2020-08-26T09:46:11.100Z","updated_at":"2020-08-26T09:46:11.100Z","owner":{"id":1,"name":"Administrator","username":"root","state":"active","avatar_url":"https://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80\u0026d=identicon","web_url":"http://127.0.0.1:3000/root"}}]'
    headers:
      Cache-Control:
      - max-age=0, private, must-revalidate
      Content-Length:
      - '914'
      Content-Type:
      - application/json
      Date:
      - Wed, 26 Aug 2020 09:57:46 GMT
      Etag:
      - W/"0d1b5c03615896f0eb9f0705ab07fba0"
      Link:
      - <http://127.0.0.1:3000/api/v4/projects/20/pipeline_schedules?id=20&page=1&per_page=20>;
        rel="first", <http://127.0.0.1:3000/api/v4/projects/20/pipeline_schedules?id=20&page=1&per_page=20>;
        rel="last"
      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:
      - POpiPIr2Rp
      X-Runtime:
      - '0.154819'
      X-Total:
      - '2'
      X-Total-Pages:
      - '1'
    status:
      code: 200
      message: OK
- request:
    body: null
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      Content-Length:
      - '0'
      Content-type:
      - application/json
      PRIVATE-TOKEN:
      - oQ9_zgPgaqyyvW1GrnQY
      User-Agent:
      - python-gitlab/2.4.0
    method: DELETE
    uri: http://127.0.0.1:3000/api/v4/projects/20/pipeline_schedules/1
  response:
    body:
      string: ''
    headers:
      Cache-Control:
      - no-cache
      Date:
      - Wed, 26 Aug 2020 09:57:46 GMT
      Vary:
      - Origin
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - SAMEORIGIN
      X-Request-Id:
      - YSdg6jEK6X2
      X-Runtime:
      - '0.260850'
    status:
      code: 204
      message: No Content
- request:
    body: '{"ref": "develop"}'
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      Content-Length:
      - '18'
      Content-type:
      - application/json
      PRIVATE-TOKEN:
      - oQ9_zgPgaqyyvW1GrnQY
      User-Agent:
      - python-gitlab/2.4.0
    method: PUT
    uri: http://127.0.0.1:3000/api/v4/projects/20/pipeline_schedules/2
  response:
    body:
      string: '{"id":2,"description":"modify_me","ref":"develop","cron":"0 13 * *
        *","cron_timezone":"Pacific Time (US \u0026 Canada)","next_run_at":"2020-08-26T20:19:00.000Z","active":true,"created_at":"2020-08-26T09:46:56.912Z","updated_at":"2020-08-26T09:57:46.550Z","owner":{"id":1,"name":"Administrator","username":"root","state":"active","avatar_url":"https://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80\u0026d=identicon","web_url":"http://127.0.0.1:3000/root"},"last_pipeline":null,"variables":[]}'
    headers:
      Cache-Control:
      - max-age=0, private, must-revalidate
      Content-Length:
      - '507'
      Content-Type:
      - application/json
      Date:
      - Wed, 26 Aug 2020 09:57:46 GMT
      Etag:
      - W/"e8efc2b26af19ac25213b45524151863"
      Vary:
      - Origin
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - SAMEORIGIN
      X-Request-Id:
      - Lbr3xjsBhv7
      X-Runtime:
      - '0.167623'
    status:
      code: 200
      message: OK
- request:
    body: '{"cron": "0 3 * * 5"}'
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      Content-Length:
      - '21'
      Content-type:
      - application/json
      PRIVATE-TOKEN:
      - oQ9_zgPgaqyyvW1GrnQY
      User-Agent:
      - python-gitlab/2.4.0
    method: PUT
    uri: http://127.0.0.1:3000/api/v4/projects/20/pipeline_schedules/2
  response:
    body:
      string: '{"id":2,"description":"modify_me","ref":"develop","cron":"0 3 * * 5","cron_timezone":"Pacific
        Time (US \u0026 Canada)","next_run_at":"2020-08-28T10:19:00.000Z","active":true,"created_at":"2020-08-26T09:46:56.912Z","updated_at":"2020-08-26T09:57:46.735Z","owner":{"id":1,"name":"Administrator","username":"root","state":"active","avatar_url":"https://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80\u0026d=identicon","web_url":"http://127.0.0.1:3000/root"},"last_pipeline":null,"variables":[]}'
    headers:
      Cache-Control:
      - max-age=0, private, must-revalidate
      Content-Length:
      - '506'
      Content-Type:
      - application/json
      Date:
      - Wed, 26 Aug 2020 09:57:46 GMT
      Etag:
      - W/"917e6ae7fd8b5918eb194658166b832d"
      Vary:
      - Origin
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - SAMEORIGIN
      X-Request-Id:
      - CZwJUYW1jW9
      X-Runtime:
      - '0.161160'
    status:
      code: 200
      message: OK
- request:
    body: '{"active": false}'
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      Content-Length:
      - '17'
      Content-type:
      - application/json
      PRIVATE-TOKEN:
      - oQ9_zgPgaqyyvW1GrnQY
      User-Agent:
      - python-gitlab/2.4.0
    method: PUT
    uri: http://127.0.0.1:3000/api/v4/projects/20/pipeline_schedules/2
  response:
    body:
      string: '{"id":2,"description":"modify_me","ref":"develop","cron":"0 3 * * 5","cron_timezone":"Pacific
        Time (US \u0026 Canada)","next_run_at":"2020-08-28T10:19:00.000Z","active":false,"created_at":"2020-08-26T09:46:56.912Z","updated_at":"2020-08-26T09:57:46.934Z","owner":{"id":1,"name":"Administrator","username":"root","state":"active","avatar_url":"https://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80\u0026d=identicon","web_url":"http://127.0.0.1:3000/root"},"last_pipeline":null,"variables":[]}'
    headers:
      Cache-Control:
      - max-age=0, private, must-revalidate
      Content-Length:
      - '507'
      Content-Type:
      - application/json
      Date:
      - Wed, 26 Aug 2020 09:57:46 GMT
      Etag:
      - W/"a563a4c817a0b55fd74e805d78a04089"
      Vary:
      - Origin
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - SAMEORIGIN
      X-Request-Id:
      - pz44o9QKrg6
      X-Runtime:
      - '0.170235'
    status:
      code: 200
      message: OK
- request:
    body: '{"description": "create_me", "ref": "master", "cron": "0 1 * * 5", "cron_timezone":
      "UTC", "active": true}'
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      Content-Length:
      - '106'
      Content-type:
      - application/json
      PRIVATE-TOKEN:
      - oQ9_zgPgaqyyvW1GrnQY
      User-Agent:
      - python-gitlab/2.4.0
    method: POST
    uri: http://127.0.0.1:3000/api/v4/projects/20/pipeline_schedules
  response:
    body:
      string: '{"id":4,"description":"create_me","ref":"master","cron":"0 1 * * 5","cron_timezone":"UTC","next_run_at":"2020-08-28T01:19:00.000Z","active":true,"created_at":"2020-08-26T09:57:47.219Z","updated_at":"2020-08-26T09:57:47.219Z","owner":{"id":1,"name":"Administrator","username":"root","state":"active","avatar_url":"https://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80\u0026d=identicon","web_url":"http://127.0.0.1:3000/root"},"last_pipeline":null,"variables":[]}'
    headers:
      Cache-Control:
      - max-age=0, private, must-revalidate
      Content-Length:
      - '477'
      Content-Type:
      - application/json
      Date:
      - Wed, 26 Aug 2020 09:57:47 GMT
      Etag:
      - W/"73cdc123bfa3b79989870faf7ffd9a3d"
      Vary:
      - Origin
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - SAMEORIGIN
      X-Request-Id:
      - XFuoatbyd82
      X-Runtime:
      - '0.266767'
    status:
      code: 201
      message: Created
version: 1
