Sha256: 9c11763393c5c296192d82b733cfdc98be189fe3b5baa80a5f9ab07ade9f4e52

Contents?: true

Size: 1.57 KB

Versions: 27

Compression:

Stored size: 1.57 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://gitlab.com/api/v4/projects/donaldduck%2Ftestproject/labels
    body:
      encoding: US-ASCII
      string: name=my_label&color=%23123456
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
      Host:
      - gitlab.com
      Private-Token:
      - "<GITLAB_CREDENTIALS>"
  response:
    status:
      code: 201
      message: Created
    headers:
      Server:
      - nginx
      Date:
      - Tue, 03 Jul 2018 16:44:14 GMT
      Content-Type:
      - application/json
      Content-Length:
      - '180'
      Cache-Control:
      - max-age=0, private, must-revalidate
      Etag:
      - W/"9ccd74bc7bedefbbc67c4783b163c8fc"
      Vary:
      - Origin
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - SAMEORIGIN
      X-Request-Id:
      - fb041fb4-a96d-4230-9eac-514d9db1a9f0
      X-Runtime:
      - '0.253058'
      Strict-Transport-Security:
      - max-age=31536000
      Ratelimit-Limit:
      - '600'
      Ratelimit-Observed:
      - '2'
      Ratelimit-Remaining:
      - '598'
      Ratelimit-Reset:
      - '1530636314'
      Ratelimit-Resettime:
      - Wed, 03 Jul 2018 16:45:14 GMT
    body:
      encoding: UTF-8
      string: '{"id":123456,"name":"my_label","color":"#123456","description":null,"open_issues_count":0,"closed_issues_count":0,"open_merge_requests_count":0,"priority":null,"subscribed":false}'
    http_version: 
  recorded_at: Tue, 03 Jul 2018 16:44:15 GMT
recorded_with: VCR 3.0.3

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
geet-0.22.0 spec/vcr_cassettes/gitlab_com/create_label.yml
geet-0.21.0 spec/vcr_cassettes/gitlab_com/create_label.yml
geet-0.19.0 spec/vcr_cassettes/gitlab_com/create_label.yml
geet-0.18.0 spec/vcr_cassettes/gitlab_com/create_label.yml
geet-0.17.0 spec/vcr_cassettes/gitlab_com/create_label.yml
geet-0.16.0 spec/vcr_cassettes/gitlab_com/create_label.yml
geet-0.15.0 spec/vcr_cassettes/gitlab_com/create_label.yml
geet-0.14.0 spec/vcr_cassettes/gitlab_com/create_label.yml
geet-0.13.0 spec/vcr_cassettes/gitlab_com/create_label.yml
geet-0.12.0 spec/vcr_cassettes/gitlab_com/create_label.yml
geet-0.11.0 spec/vcr_cassettes/gitlab_com/create_label.yml
geet-0.10.0 spec/vcr_cassettes/gitlab_com/create_label.yml
geet-0.9.0 spec/vcr_cassettes/gitlab_com/create_label.yml
geet-0.8.0 spec/vcr_cassettes/gitlab_com/create_label.yml
geet-0.7.0 spec/vcr_cassettes/gitlab_com/create_label.yml
geet-0.6.0 spec/vcr_cassettes/gitlab_com/create_label.yml
geet-0.5.0 spec/vcr_cassettes/gitlab_com/create_label.yml
geet-0.4.4 spec/vcr_cassettes/gitlab_com/create_label.yml
geet-0.4.3 spec/vcr_cassettes/gitlab_com/create_label.yml
geet-0.4.2 spec/vcr_cassettes/gitlab_com/create_label.yml