Sha256: 403a5ea645f70e4d904aa5d7b6f91c1e7e25261017711d6fc5ca5f7548144b74

Contents?: true

Size: 1.57 KB

Versions: 6

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":1234565,"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

6 entries across 6 versions & 1 rubygems

Version Path
geet-0.3.13 spec/vcr_cassettes/gitlab_com/create_label.yml
geet-0.3.12 spec/vcr_cassettes/gitlab_com/create_label.yml
geet-0.3.11 spec/vcr_cassettes/gitlab_com/create_label.yml
geet-0.3.10 spec/vcr_cassettes/gitlab_com/create_label.yml
geet-0.3.9 spec/vcr_cassettes/gitlab_com/create_label.yml
geet-0.3.8 spec/vcr_cassettes/gitlab_com/create_label.yml