Sha256: fe39fc1c0f09477982a60240981dec9be27d5aa1aec76203e8b27499e34cc65d

Contents?: true

Size: 1.61 KB

Versions: 19

Compression:

Stored size: 1.61 KB

Contents

---
http_interactions:
- request:
    method: get
    uri: https://api.workos.com/directory_users
    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:
      - 67a36a16-8d82-495d-a4cd-11a42e6c111e
      Content-Type:
      - application/json; charset=utf-8
      Content-Length:
      - '222'
      Etag:
      - W/"de-33B+CY27z2HlOGKZPu4nzUVQpuI"
      Date:
      - Thu, 30 Apr 2020 06:23:44 GMT
      Via:
      - 1.1 vegur
    body:
      encoding: UTF-8
      string: '{"message":"Validation failed","errors":[{"field":"directory","code":"Please
        provide either \"directory\" or \"group\" parameters."},{"field":"group","code":"Please
        provide either \"directory\" or \"group\" parameters."}]}'
    http_version: 
  recorded_at: Thu, 30 Apr 2020 06:23:44 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_users.yml
workos-0.10.2 spec/support/fixtures/vcr_cassettes/directory_sync/list_users.yml
workos-0.10.1 spec/support/fixtures/vcr_cassettes/directory_sync/list_users.yml
workos-0.10.0 spec/support/fixtures/vcr_cassettes/directory_sync/list_users.yml
workos-0.9.2 spec/support/fixtures/vcr_cassettes/directory_sync/list_users.yml
workos-0.9.1 spec/support/fixtures/vcr_cassettes/directory_sync/list_users.yml
workos-0.9.0 spec/support/fixtures/vcr_cassettes/directory_sync/list_users.yml
workos-0.8.1 spec/support/fixtures/vcr_cassettes/directory_sync/list_users.yml
workos-0.8.0 spec/support/fixtures/vcr_cassettes/directory_sync/list_users.yml
workos-0.7.0 spec/support/fixtures/vcr_cassettes/directory_sync/list_users.yml
workos-0.6.0 spec/support/fixtures/vcr_cassettes/directory_sync/list_users.yml
workos-0.5.0 spec/support/fixtures/vcr_cassettes/directory_sync/list_users.yml
workos-0.4.2 spec/support/fixtures/vcr_cassettes/directory_sync/list_users.yml
workos-0.4.1 spec/support/fixtures/vcr_cassettes/directory_sync/list_users.yml
workos-0.4.0 spec/support/fixtures/vcr_cassettes/directory_sync/list_users.yml
workos-0.3.3 spec/support/fixtures/vcr_cassettes/directory_sync/list_users.yml
workos-0.3.2 spec/support/fixtures/vcr_cassettes/directory_sync/list_users.yml
workos-0.3.1 spec/support/fixtures/vcr_cassettes/directory_sync/list_users.yml
workos-0.3.0 spec/support/fixtures/vcr_cassettes/directory_sync/list_users.yml