Sha256: c605ab96c89c5ddc87877b7db3edc3e2ba396e8b4c946d5f775af3fbba88055c

Contents?: true

Size: 1.6 KB

Versions: 19

Compression:

Stored size: 1.6 KB

Contents

---
http_interactions:
- request:
    method: get
    uri: https://api.workos.com/directory_groups
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Content-Type:
      - application/json
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - WorkOS; ruby/2.7.1; x86_64-darwin19; v0.2.3
      Authorization:
      - Bearer <API_KEY>
  response:
    status:
      code: 422
      message: Unprocessable Entity
    headers:
      Server:
      - Cowboy
      Connection:
      - keep-alive
      Vary:
      - Origin, Accept-Encoding
      Access-Control-Allow-Credentials:
      - 'true'
      X-Dns-Prefetch-Control:
      - 'off'
      X-Frame-Options:
      - SAMEORIGIN
      Strict-Transport-Security:
      - max-age=15552000; includeSubDomains
      X-Download-Options:
      - noopen
      X-Content-Type-Options:
      - nosniff
      X-Xss-Protection:
      - 1; mode=block
      X-Request-Id:
      - 3ffb5dc0-7dbe-453f-9514-6e50363b413e
      Content-Type:
      - application/json; charset=utf-8
      Content-Length:
      - '219'
      Etag:
      - W/"db-gphk1TAe8P3eXtQnl1v8qxKQjZs"
      Date:
      - Thu, 30 Apr 2020 06:24:08 GMT
      Via:
      - 1.1 vegur
    body:
      encoding: UTF-8
      string: '{"message":"Validation failed","errors":[{"field":"directory","code":"Please
        provide either \"directory\" or \"user\" parameters."},{"field":"user","code":"Please
        provide either \"directory\" or \"user\" parameters."}]}'
    http_version: 
  recorded_at: Thu, 30 Apr 2020 06:24:08 GMT
recorded_with: VCR 5.0.0

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
workos-0.10.3 spec/support/fixtures/vcr_cassettes/directory_sync/list_groups.yml
workos-0.10.2 spec/support/fixtures/vcr_cassettes/directory_sync/list_groups.yml
workos-0.10.1 spec/support/fixtures/vcr_cassettes/directory_sync/list_groups.yml
workos-0.10.0 spec/support/fixtures/vcr_cassettes/directory_sync/list_groups.yml
workos-0.9.2 spec/support/fixtures/vcr_cassettes/directory_sync/list_groups.yml
workos-0.9.1 spec/support/fixtures/vcr_cassettes/directory_sync/list_groups.yml
workos-0.9.0 spec/support/fixtures/vcr_cassettes/directory_sync/list_groups.yml
workos-0.8.1 spec/support/fixtures/vcr_cassettes/directory_sync/list_groups.yml
workos-0.8.0 spec/support/fixtures/vcr_cassettes/directory_sync/list_groups.yml
workos-0.7.0 spec/support/fixtures/vcr_cassettes/directory_sync/list_groups.yml
workos-0.6.0 spec/support/fixtures/vcr_cassettes/directory_sync/list_groups.yml
workos-0.5.0 spec/support/fixtures/vcr_cassettes/directory_sync/list_groups.yml
workos-0.4.2 spec/support/fixtures/vcr_cassettes/directory_sync/list_groups.yml
workos-0.4.1 spec/support/fixtures/vcr_cassettes/directory_sync/list_groups.yml
workos-0.4.0 spec/support/fixtures/vcr_cassettes/directory_sync/list_groups.yml
workos-0.3.3 spec/support/fixtures/vcr_cassettes/directory_sync/list_groups.yml
workos-0.3.2 spec/support/fixtures/vcr_cassettes/directory_sync/list_groups.yml
workos-0.3.1 spec/support/fixtures/vcr_cassettes/directory_sync/list_groups.yml
workos-0.3.0 spec/support/fixtures/vcr_cassettes/directory_sync/list_groups.yml