workosv2 2.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.github/CODEOWNERS +5 -0
- data/.github/pull_request_template.md +11 -0
- data/.github/renovate.json +5 -0
- data/.gitignore +49 -0
- data/.rspec +1 -0
- data/.rubocop.yml +24 -0
- data/.ruby-version +1 -0
- data/.semaphore/rubygems.yml +24 -0
- data/.semaphore/semaphore.yml +51 -0
- data/Gemfile +5 -0
- data/Gemfile.lock +126 -0
- data/Gemfile.lock.old +127 -0
- data/LICENSE +21 -0
- data/README.md +53 -0
- data/bin/build +3 -0
- data/bin/console +3 -0
- data/bin/docs +5 -0
- data/bin/publish +3 -0
- data/bin/tapioca +29 -0
- data/codecov.yml +12 -0
- data/docs/WorkOS/APIError.html +160 -0
- data/docs/WorkOS/AuditLog.html +235 -0
- data/docs/WorkOS/AuditTrail.html +235 -0
- data/docs/WorkOS/AuthenticationError.html +160 -0
- data/docs/WorkOS/Base.html +287 -0
- data/docs/WorkOS/Client.html +504 -0
- data/docs/WorkOS/InvalidRequestError.html +160 -0
- data/docs/WorkOS/Profile.html +788 -0
- data/docs/WorkOS/RequestError.html +135 -0
- data/docs/WorkOS/SSO.html +691 -0
- data/docs/WorkOS/Types/ProfileStruct.html +135 -0
- data/docs/WorkOS/Types/Provider.html +135 -0
- data/docs/WorkOS/Types.html +128 -0
- data/docs/WorkOS/WorkOSError.html +447 -0
- data/docs/WorkOS.html +324 -0
- data/docs/class_list.html +51 -0
- data/docs/css/common.css +1 -0
- data/docs/css/full_list.css +58 -0
- data/docs/css/style.css +496 -0
- data/docs/file.README.html +252 -0
- data/docs/file_list.html +56 -0
- data/docs/frames.html +17 -0
- data/docs/index.html +250 -0
- data/docs/js/app.js +314 -0
- data/docs/js/full_list.js +216 -0
- data/docs/js/jquery.js +4 -0
- data/docs/method_list.html +267 -0
- data/docs/top-level-namespace.html +110 -0
- data/lib/workosv2/audit_log_export.rb +55 -0
- data/lib/workosv2/audit_logs.rb +114 -0
- data/lib/workosv2/audit_trail.rb +111 -0
- data/lib/workosv2/challenge.rb +55 -0
- data/lib/workosv2/client.rb +186 -0
- data/lib/workosv2/configuration.rb +17 -0
- data/lib/workosv2/connection.rb +66 -0
- data/lib/workosv2/deprecated_hash_wrapper.rb +76 -0
- data/lib/workosv2/directory.rb +65 -0
- data/lib/workosv2/directory_group.rb +68 -0
- data/lib/workosv2/directory_sync.rb +218 -0
- data/lib/workosv2/directory_user.rb +97 -0
- data/lib/workosv2/errors.rb +81 -0
- data/lib/workosv2/event.rb +51 -0
- data/lib/workosv2/events.rb +52 -0
- data/lib/workosv2/factor.rb +54 -0
- data/lib/workosv2/hash_provider.rb +19 -0
- data/lib/workosv2/mfa.rb +178 -0
- data/lib/workosv2/organization.rb +57 -0
- data/lib/workosv2/organizations.rb +188 -0
- data/lib/workosv2/passwordless.rb +85 -0
- data/lib/workosv2/portal.rb +66 -0
- data/lib/workosv2/profile.rb +76 -0
- data/lib/workosv2/profile_and_token.rb +29 -0
- data/lib/workosv2/sso.rb +297 -0
- data/lib/workosv2/types/audit_log_export_struct.rb +17 -0
- data/lib/workosv2/types/challenge_struct.rb +18 -0
- data/lib/workosv2/types/connection_struct.rb +20 -0
- data/lib/workosv2/types/directory_group_struct.rb +19 -0
- data/lib/workosv2/types/directory_struct.rb +19 -0
- data/lib/workosv2/types/directory_user_struct.rb +26 -0
- data/lib/workosv2/types/event_struct.rb +15 -0
- data/lib/workosv2/types/factor_struct.rb +18 -0
- data/lib/workosv2/types/intent_enum.rb +17 -0
- data/lib/workosv2/types/list_struct.rb +13 -0
- data/lib/workosv2/types/organization_struct.rb +17 -0
- data/lib/workosv2/types/passwordless_session_struct.rb +17 -0
- data/lib/workosv2/types/profile_struct.rb +21 -0
- data/lib/workosv2/types/provider_enum.rb +15 -0
- data/lib/workosv2/types/verify_challenge_struct.rb +13 -0
- data/lib/workosv2/types/webhook_struct.rb +15 -0
- data/lib/workosv2/types.rb +25 -0
- data/lib/workosv2/verify_challenge.rb +39 -0
- data/lib/workosv2/version.rb +6 -0
- data/lib/workosv2/webhook.rb +51 -0
- data/lib/workosv2/webhooks.rb +217 -0
- data/lib/workosv2.rb +79 -0
- data/sorbet/config +2 -0
- data/sorbet/rbi/gems/addressable@2.8.0.rbi +290 -0
- data/sorbet/rbi/gems/ast@2.4.2.rbi +54 -0
- data/sorbet/rbi/gems/codecov@0.2.12.rbi +55 -0
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +8 -0
- data/sorbet/rbi/gems/crack@0.4.5.rbi +57 -0
- data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +185 -0
- data/sorbet/rbi/gems/docile@1.3.5.rbi +54 -0
- data/sorbet/rbi/gems/hashdiff@1.0.1.rbi +82 -0
- data/sorbet/rbi/gems/json@2.5.1.rbi +109 -0
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +8 -0
- data/sorbet/rbi/gems/parallel@1.20.1.rbi +113 -0
- data/sorbet/rbi/gems/parser@3.0.1.0.rbi +1187 -0
- data/sorbet/rbi/gems/pry@0.14.2.rbi +8 -0
- data/sorbet/rbi/gems/public_suffix@4.0.6.rbi +146 -0
- data/sorbet/rbi/gems/rainbow@3.0.0.rbi +153 -0
- data/sorbet/rbi/gems/rake@13.0.3.rbi +807 -0
- data/sorbet/rbi/gems/rbi@0.0.16.rbi +2118 -0
- data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +1117 -0
- data/sorbet/rbi/gems/rexml@3.2.5.rbi +709 -0
- data/sorbet/rbi/gems/rspec-core@3.9.3.rbi +2467 -0
- data/sorbet/rbi/gems/rspec-expectations@3.9.4.rbi +1569 -0
- data/sorbet/rbi/gems/rspec-mocks@3.9.1.rbi +1493 -0
- data/sorbet/rbi/gems/rspec-support@3.9.4.rbi +511 -0
- data/sorbet/rbi/gems/rspec@3.9.0.rbi +38 -0
- data/sorbet/rbi/gems/rubocop-ast@1.4.1.rbi +1881 -0
- data/sorbet/rbi/gems/rubocop@0.93.1.rbi +11497 -0
- data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +405 -0
- data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +89 -0
- data/sorbet/rbi/gems/simplecov@0.21.2.rbi +577 -0
- data/sorbet/rbi/gems/simplecov_json_formatter@0.1.2.rbi +8 -0
- data/sorbet/rbi/gems/spoom@1.1.15.rbi +1549 -0
- data/sorbet/rbi/gems/tapioca@0.7.3.rbi +1718 -0
- data/sorbet/rbi/gems/thor@1.2.1.rbi +844 -0
- data/sorbet/rbi/gems/unicode-display_width@1.7.0.rbi +22 -0
- data/sorbet/rbi/gems/unparser@0.6.2.rbi +8 -0
- data/sorbet/rbi/gems/vcr@5.0.0.rbi +699 -0
- data/sorbet/rbi/gems/webmock@3.12.2.rbi +662 -0
- data/sorbet/rbi/gems/yard-sorbet@0.8.0.rbi +268 -0
- data/sorbet/rbi/gems/yard@0.9.26.rbi +4048 -0
- data/sorbet/tapioca/config.yml +13 -0
- data/sorbet/tapioca/require.rb +4 -0
- data/spec/lib/workos/audit_logs_spec.rb +151 -0
- data/spec/lib/workos/audit_trail_spec.rb +146 -0
- data/spec/lib/workos/configuration_spec.rb +61 -0
- data/spec/lib/workos/directory_sync_spec.rb +492 -0
- data/spec/lib/workos/directory_user_spec.rb +36 -0
- data/spec/lib/workos/event_spec.rb +88 -0
- data/spec/lib/workos/mfa_spec.rb +281 -0
- data/spec/lib/workos/organizations_spec.rb +257 -0
- data/spec/lib/workos/passwordless_spec.rb +77 -0
- data/spec/lib/workos/portal_spec.rb +87 -0
- data/spec/lib/workos/sso_spec.rb +650 -0
- data/spec/lib/workos/webhooks_spec.rb +236 -0
- data/spec/spec_helper.rb +56 -0
- data/spec/support/fixtures/vcr_cassettes/audit_logs/create_event.yml +59 -0
- data/spec/support/fixtures/vcr_cassettes/audit_logs/create_event_custom_idempotency_key.yml +60 -0
- data/spec/support/fixtures/vcr_cassettes/audit_logs/create_event_invalid.yml +59 -0
- data/spec/support/fixtures/vcr_cassettes/audit_logs/create_export.yml +76 -0
- data/spec/support/fixtures/vcr_cassettes/audit_logs/create_export_with_filters.yml +77 -0
- data/spec/support/fixtures/vcr_cassettes/audit_logs/get_export.yml +73 -0
- data/spec/support/fixtures/vcr_cassettes/audit_trail/create_event.yml +65 -0
- data/spec/support/fixtures/vcr_cassettes/audit_trail/create_event_custom_idempotency_key.yml +67 -0
- data/spec/support/fixtures/vcr_cassettes/audit_trail/create_event_invalid.yml +68 -0
- data/spec/support/fixtures/vcr_cassettes/audit_trail/create_events_duplicate_idempotency_key_and_payload.yml +131 -0
- data/spec/support/fixtures/vcr_cassettes/audit_trail/create_events_duplicate_idempotency_key_different_payload.yml +134 -0
- data/spec/support/fixtures/vcr_cassettes/audit_trail/get_events.yml +61 -0
- data/spec/support/fixtures/vcr_cassettes/base/execute_request_unauthenticated.yml +66 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/delete_directory.yml +72 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/get_directory_with_invalid_id.yml +83 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/get_directory_with_valid_id.yml +84 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/get_group.yml +80 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/get_group_with_invalid_id.yml +62 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/get_user.yml +83 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/get_user_with_invalid_id.yml +62 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_directories/with_after.yml +87 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_directories/with_before.yml +89 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_directories/with_domain.yml +84 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_directories/with_limit.yml +85 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_directories/with_no_options.yml +93 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_directories/with_search.yml +85 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_groups/with_after.yml +90 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_groups/with_before.yml +90 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_groups/with_directory.yml +90 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_groups/with_limit.yml +84 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_groups/with_no_options.yml +84 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_groups/with_user.yml +82 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_users/with_after.yml +186 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_users/with_before.yml +88 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_users/with_directory.yml +194 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_users/with_group.yml +186 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_users/with_limit.yml +189 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_users/with_no_options.yml +74 -0
- data/spec/support/fixtures/vcr_cassettes/events/list_events_with_after.yml +80 -0
- data/spec/support/fixtures/vcr_cassettes/events/list_events_with_event.yml +80 -0
- data/spec/support/fixtures/vcr_cassettes/events/list_events_with_no_options.yml +80 -0
- data/spec/support/fixtures/vcr_cassettes/events/list_events_with_range.yml +80 -0
- data/spec/support/fixtures/vcr_cassettes/mfa/challenge_factor_generic_valid.yml +82 -0
- data/spec/support/fixtures/vcr_cassettes/mfa/challenge_factor_sms_valid.yml +82 -0
- data/spec/support/fixtures/vcr_cassettes/mfa/challenge_factor_totp_valid.yml +82 -0
- data/spec/support/fixtures/vcr_cassettes/mfa/delete_factor.yml +80 -0
- data/spec/support/fixtures/vcr_cassettes/mfa/enroll_factor_generic_valid.yml +82 -0
- data/spec/support/fixtures/vcr_cassettes/mfa/enroll_factor_sms_valid.yml +82 -0
- data/spec/support/fixtures/vcr_cassettes/mfa/enroll_factor_totp_valid.yml +82 -0
- data/spec/support/fixtures/vcr_cassettes/mfa/get_factor_invalid.yml +82 -0
- data/spec/support/fixtures/vcr_cassettes/mfa/get_factor_valid.yml +82 -0
- data/spec/support/fixtures/vcr_cassettes/mfa/verify_challenge_generic_expired.yml +84 -0
- data/spec/support/fixtures/vcr_cassettes/mfa/verify_challenge_generic_invalid.yml +84 -0
- data/spec/support/fixtures/vcr_cassettes/mfa/verify_challenge_generic_valid.yml +82 -0
- data/spec/support/fixtures/vcr_cassettes/mfa/verify_challenge_generic_valid_is_false.yml +82 -0
- data/spec/support/fixtures/vcr_cassettes/organization/create.yml +84 -0
- data/spec/support/fixtures/vcr_cassettes/organization/create_invalid.yml +72 -0
- data/spec/support/fixtures/vcr_cassettes/organization/create_with_duplicate_idempotency_key_and_different_payload.yml +155 -0
- data/spec/support/fixtures/vcr_cassettes/organization/create_with_duplicate_idempotency_key_and_payload.yml +154 -0
- data/spec/support/fixtures/vcr_cassettes/organization/create_with_idempotency_key.yml +79 -0
- data/spec/support/fixtures/vcr_cassettes/organization/delete.yml +72 -0
- data/spec/support/fixtures/vcr_cassettes/organization/delete_invalid.yml +72 -0
- data/spec/support/fixtures/vcr_cassettes/organization/get.yml +84 -0
- data/spec/support/fixtures/vcr_cassettes/organization/get_invalid.yml +72 -0
- data/spec/support/fixtures/vcr_cassettes/organization/list.yml +87 -0
- data/spec/support/fixtures/vcr_cassettes/organization/update.yml +84 -0
- data/spec/support/fixtures/vcr_cassettes/passwordless/create_session.yml +72 -0
- data/spec/support/fixtures/vcr_cassettes/passwordless/create_session_invalid.yml +73 -0
- data/spec/support/fixtures/vcr_cassettes/passwordless/send_session.yml +72 -0
- data/spec/support/fixtures/vcr_cassettes/passwordless/send_session_invalid.yml +73 -0
- data/spec/support/fixtures/vcr_cassettes/portal/generate_link_audit_logs.yml +72 -0
- data/spec/support/fixtures/vcr_cassettes/portal/generate_link_dsync.yml +72 -0
- data/spec/support/fixtures/vcr_cassettes/portal/generate_link_invalid.yml +72 -0
- data/spec/support/fixtures/vcr_cassettes/portal/generate_link_sso.yml +72 -0
- data/spec/support/fixtures/vcr_cassettes/sso/delete_connection_with_invalid_id.yml +72 -0
- data/spec/support/fixtures/vcr_cassettes/sso/delete_connection_with_valid_id.yml +70 -0
- data/spec/support/fixtures/vcr_cassettes/sso/get_connection_with_invalid_id.yml +72 -0
- data/spec/support/fixtures/vcr_cassettes/sso/get_connection_with_valid_id.yml +86 -0
- data/spec/support/fixtures/vcr_cassettes/sso/list_connections/with_after.yml +83 -0
- data/spec/support/fixtures/vcr_cassettes/sso/list_connections/with_before.yml +86 -0
- data/spec/support/fixtures/vcr_cassettes/sso/list_connections/with_connection_type.yml +90 -0
- data/spec/support/fixtures/vcr_cassettes/sso/list_connections/with_domain.yml +86 -0
- data/spec/support/fixtures/vcr_cassettes/sso/list_connections/with_limit.yml +83 -0
- data/spec/support/fixtures/vcr_cassettes/sso/list_connections/with_no_options.yml +89 -0
- data/spec/support/fixtures/vcr_cassettes/sso/list_connections/with_organization_id.yml +86 -0
- data/spec/support/fixtures/vcr_cassettes/sso/profile.yml +74 -0
- data/spec/support/profile.txt +1 -0
- data/spec/support/shared_examples/client_spec.rb +30 -0
- data/spec/support/webhook_payload.txt +1 -0
- data/workosv2.gemspec +38 -0
- metadata +531 -0
@@ -0,0 +1,73 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.workos.com/audit_logs/exports/audit_log_export_123
|
6
|
+
headers:
|
7
|
+
Content-Type:
|
8
|
+
- application/json
|
9
|
+
Accept-Encoding:
|
10
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
11
|
+
Accept:
|
12
|
+
- "*/*"
|
13
|
+
User-Agent:
|
14
|
+
- WorkOSV2; ruby/3.0.2; x86_64-darwin21; v2.5.1
|
15
|
+
Authorization:
|
16
|
+
- "Bearer example_api_key"
|
17
|
+
response:
|
18
|
+
status:
|
19
|
+
code: 200
|
20
|
+
message: OK
|
21
|
+
headers:
|
22
|
+
Date:
|
23
|
+
- Mon, 22 Aug 2022 17:47:49 GMT
|
24
|
+
Content-Type:
|
25
|
+
- application/json; charset=utf-8
|
26
|
+
Content-Length:
|
27
|
+
- "26"
|
28
|
+
Connection:
|
29
|
+
- keep-alive
|
30
|
+
Cf-Ray:
|
31
|
+
- 73ed6f92c9161847-ATL
|
32
|
+
Etag:
|
33
|
+
- W/"1a-pljHtlo127JYJR4E/RYOPb6ucbw"
|
34
|
+
Strict-Transport-Security:
|
35
|
+
- max-age=15552000; includeSubDomains
|
36
|
+
Vary:
|
37
|
+
- Origin, Accept-Encoding
|
38
|
+
Via:
|
39
|
+
- 1.1 spaces-router (a302eeabfffb)
|
40
|
+
Cf-Cache-Status:
|
41
|
+
- DYNAMIC
|
42
|
+
Access-Control-Allow-Credentials:
|
43
|
+
- "true"
|
44
|
+
Content-Security-Policy:
|
45
|
+
- "default-src 'self';base-uri 'self';block-all-mixed-content;font-src 'self'
|
46
|
+
https: data:;frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src
|
47
|
+
'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"
|
48
|
+
Expect-Ct:
|
49
|
+
- max-age=0
|
50
|
+
Referrer-Policy:
|
51
|
+
- no-referrer
|
52
|
+
X-Content-Type-Options:
|
53
|
+
- nosniff
|
54
|
+
X-Dns-Prefetch-Control:
|
55
|
+
- "off"
|
56
|
+
X-Download-Options:
|
57
|
+
- noopen
|
58
|
+
X-Frame-Options:
|
59
|
+
- SAMEORIGIN
|
60
|
+
X-Permitted-Cross-Domain-Policies:
|
61
|
+
- none
|
62
|
+
X-Request-Id:
|
63
|
+
- eb09b349-08f4-b79b-ccb2-87fa4609c1ee
|
64
|
+
X-Xss-Protection:
|
65
|
+
- "0"
|
66
|
+
Server:
|
67
|
+
- cloudflare
|
68
|
+
body:
|
69
|
+
encoding: UTF-8
|
70
|
+
string: '{"object":"audit_log_export","id":"audit_log_export_123","state":"ready","url":"https://audit-logs.com/download.csv","created_at":"2022-08-22T15:04:19.704Z","updated_at":"2022-08-22T15:04:19.704Z"}'
|
71
|
+
http_version:
|
72
|
+
recorded_at: Mon, 22 Aug 2022 17:47:49 GMT
|
73
|
+
recorded_with: VCR 5.0.0
|
@@ -0,0 +1,65 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.workos.com/events
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: '{"group":"Terrace House","location":"1.1.1.1","action":"house.created","action_type":"C","actor_name":"Daiki
|
9
|
+
Miyagi","actor_id":"user_12345","target_name":"Ryota Yamasato","target_id":"user_67890","occurred_at":"2020-01-10T15:30:00-05:00","metadata":{"a":"b"}}'
|
10
|
+
headers:
|
11
|
+
Content-Type:
|
12
|
+
- application/json
|
13
|
+
Accept-Encoding:
|
14
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
15
|
+
Accept:
|
16
|
+
- "*/*"
|
17
|
+
User-Agent:
|
18
|
+
- WorkOSV2; ruby/2.6.5; x86_64-darwin19; v0.1.0
|
19
|
+
Authorization:
|
20
|
+
- Bearer <API_KEY>
|
21
|
+
response:
|
22
|
+
status:
|
23
|
+
code: 201
|
24
|
+
message: Created
|
25
|
+
headers:
|
26
|
+
Server:
|
27
|
+
- Cowboy
|
28
|
+
Connection:
|
29
|
+
- keep-alive
|
30
|
+
Access-Control-Allow-Origin:
|
31
|
+
- https://dashboard.workos.com
|
32
|
+
Vary:
|
33
|
+
- Origin, Accept-Encoding
|
34
|
+
Access-Control-Allow-Credentials:
|
35
|
+
- 'true'
|
36
|
+
X-Dns-Prefetch-Control:
|
37
|
+
- 'off'
|
38
|
+
X-Frame-Options:
|
39
|
+
- SAMEORIGIN
|
40
|
+
Strict-Transport-Security:
|
41
|
+
- max-age=15552000; includeSubDomains
|
42
|
+
X-Download-Options:
|
43
|
+
- noopen
|
44
|
+
X-Content-Type-Options:
|
45
|
+
- nosniff
|
46
|
+
X-Xss-Protection:
|
47
|
+
- 1; mode=block
|
48
|
+
X-Request-Id:
|
49
|
+
- b0aea387-fce0-446b-95e9-600dd869a8b0
|
50
|
+
Content-Type:
|
51
|
+
- application/json; charset=utf-8
|
52
|
+
Content-Length:
|
53
|
+
- '16'
|
54
|
+
Etag:
|
55
|
+
- W/"10-oV4hJxRVSENxc/wX8+mA4/Pe4tA"
|
56
|
+
Date:
|
57
|
+
- Sat, 11 Jan 2020 04:24:02 GMT
|
58
|
+
Via:
|
59
|
+
- 1.1 vegur
|
60
|
+
body:
|
61
|
+
encoding: UTF-8
|
62
|
+
string: '{"success":true}'
|
63
|
+
http_version:
|
64
|
+
recorded_at: Sat, 11 Jan 2020 04:24:02 GMT
|
65
|
+
recorded_with: VCR 5.0.0
|
@@ -0,0 +1,67 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.workos.com/events
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: '{"group":"Terrace House","location":"1.1.1.1","action":"house.created","action_type":"C","actor_name":"Daiki
|
9
|
+
Miyagi","actor_id":"user_12345","target_name":"Ryota Yamasato","target_id":"user_67890","occurred_at":"2020-01-10T15:30:00-05:00","metadata":{"a":"b"}}'
|
10
|
+
headers:
|
11
|
+
Content-Type:
|
12
|
+
- application/json
|
13
|
+
Accept-Encoding:
|
14
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
15
|
+
Accept:
|
16
|
+
- "*/*"
|
17
|
+
User-Agent:
|
18
|
+
- WorkOSV2; ruby/2.6.5; x86_64-darwin19; v0.1.0
|
19
|
+
Authorization:
|
20
|
+
- Bearer <API_KEY>
|
21
|
+
Idempotency-Key:
|
22
|
+
- key
|
23
|
+
response:
|
24
|
+
status:
|
25
|
+
code: 201
|
26
|
+
message: Created
|
27
|
+
headers:
|
28
|
+
Server:
|
29
|
+
- Cowboy
|
30
|
+
Connection:
|
31
|
+
- keep-alive
|
32
|
+
Access-Control-Allow-Origin:
|
33
|
+
- https://dashboard.workos.com
|
34
|
+
Vary:
|
35
|
+
- Origin, Accept-Encoding
|
36
|
+
Access-Control-Allow-Credentials:
|
37
|
+
- 'true'
|
38
|
+
X-Dns-Prefetch-Control:
|
39
|
+
- 'off'
|
40
|
+
X-Frame-Options:
|
41
|
+
- SAMEORIGIN
|
42
|
+
Strict-Transport-Security:
|
43
|
+
- max-age=15552000; includeSubDomains
|
44
|
+
X-Download-Options:
|
45
|
+
- noopen
|
46
|
+
X-Content-Type-Options:
|
47
|
+
- nosniff
|
48
|
+
X-Xss-Protection:
|
49
|
+
- 1; mode=block
|
50
|
+
X-Request-Id:
|
51
|
+
- 1cf9b8e7-5910-4a6d-a333-46bcf841422e
|
52
|
+
Content-Type:
|
53
|
+
- application/json; charset=utf-8
|
54
|
+
Content-Length:
|
55
|
+
- '16'
|
56
|
+
Etag:
|
57
|
+
- W/"10-oV4hJxRVSENxc/wX8+mA4/Pe4tA"
|
58
|
+
Date:
|
59
|
+
- Sat, 11 Jan 2020 04:22:48 GMT
|
60
|
+
Via:
|
61
|
+
- 1.1 vegur
|
62
|
+
body:
|
63
|
+
encoding: UTF-8
|
64
|
+
string: '{"success":true}'
|
65
|
+
http_version:
|
66
|
+
recorded_at: Sat, 11 Jan 2020 04:22:48 GMT
|
67
|
+
recorded_with: VCR 5.0.0
|
@@ -0,0 +1,68 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.workos.com/events
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: '{"group":"Terrace House","location":"1.1.1.1","action":"house.created","actor_name":"Daiki
|
9
|
+
Miyagi","actor_id":"user_12345","target_name":"Ryota Yamasato","target_id":"user_67890","occurred_at":"2020-01-10T15:30:00-05:00","metadata":{"a":"b"}}'
|
10
|
+
headers:
|
11
|
+
Content-Type:
|
12
|
+
- application/json
|
13
|
+
Accept-Encoding:
|
14
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
15
|
+
Accept:
|
16
|
+
- "*/*"
|
17
|
+
User-Agent:
|
18
|
+
- WorkOSV2; ruby/2.6.5; x86_64-darwin19; v0.1.0
|
19
|
+
Authorization:
|
20
|
+
- Bearer <API_KEY>
|
21
|
+
response:
|
22
|
+
status:
|
23
|
+
code: 422
|
24
|
+
message: Unprocessable Entity
|
25
|
+
headers:
|
26
|
+
Server:
|
27
|
+
- Cowboy
|
28
|
+
Connection:
|
29
|
+
- keep-alive
|
30
|
+
Access-Control-Allow-Origin:
|
31
|
+
- https://dashboard.workos.com
|
32
|
+
Vary:
|
33
|
+
- Origin, Accept-Encoding
|
34
|
+
Access-Control-Allow-Credentials:
|
35
|
+
- 'true'
|
36
|
+
X-Dns-Prefetch-Control:
|
37
|
+
- 'off'
|
38
|
+
X-Frame-Options:
|
39
|
+
- SAMEORIGIN
|
40
|
+
Strict-Transport-Security:
|
41
|
+
- max-age=15552000; includeSubDomains
|
42
|
+
X-Download-Options:
|
43
|
+
- noopen
|
44
|
+
X-Content-Type-Options:
|
45
|
+
- nosniff
|
46
|
+
X-Xss-Protection:
|
47
|
+
- 1; mode=block
|
48
|
+
X-Request-Id:
|
49
|
+
- b5e5033d-4d6c-4459-9018-4746be643113
|
50
|
+
Request-Id:
|
51
|
+
- b5e5033d-4d6c-4459-9018-4746be643113
|
52
|
+
Content-Type:
|
53
|
+
- application/json; charset=utf-8
|
54
|
+
Content-Length:
|
55
|
+
- '104'
|
56
|
+
Etag:
|
57
|
+
- W/"68-JY6dzr9lnqlivbnfVxCBKwKt3Zc"
|
58
|
+
Date:
|
59
|
+
- Sat, 11 Jan 2020 02:32:14 GMT
|
60
|
+
Via:
|
61
|
+
- 1.1 vegur
|
62
|
+
body:
|
63
|
+
encoding: UTF-8
|
64
|
+
string: '{"message":"Validation failed","errors":[{"field":"action_type","code":"action_type
|
65
|
+
must be a string"}]}'
|
66
|
+
http_version:
|
67
|
+
recorded_at: Sat, 11 Jan 2020 02:32:14 GMT
|
68
|
+
recorded_with: VCR 5.0.0
|
@@ -0,0 +1,131 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.workos.com/events
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: '{"group":"Terrace House","location":"1.1.1.1","action":"house.created","action_type":"C","actor_name":"Daiki
|
9
|
+
Miyagi","actor_id":"user_12345","target_name":"Ryota Yamasato","target_id":"user_67890","occurred_at":"2020-01-10T15:30:00-05:00","metadata":{"a":"b"}}'
|
10
|
+
headers:
|
11
|
+
Content-Type:
|
12
|
+
- application/json
|
13
|
+
Accept-Encoding:
|
14
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
15
|
+
Accept:
|
16
|
+
- "*/*"
|
17
|
+
User-Agent:
|
18
|
+
- WorkOSV2; ruby/2.6.5; x86_64-darwin19; v0.1.0
|
19
|
+
Authorization:
|
20
|
+
- Bearer <API_KEY>
|
21
|
+
Idempotency-Key:
|
22
|
+
- foo
|
23
|
+
response:
|
24
|
+
status:
|
25
|
+
code: 201
|
26
|
+
message: Created
|
27
|
+
headers:
|
28
|
+
Server:
|
29
|
+
- Cowboy
|
30
|
+
Connection:
|
31
|
+
- keep-alive
|
32
|
+
Access-Control-Allow-Origin:
|
33
|
+
- https://dashboard.workos.com
|
34
|
+
Vary:
|
35
|
+
- Origin, Accept-Encoding
|
36
|
+
Access-Control-Allow-Credentials:
|
37
|
+
- 'true'
|
38
|
+
X-Dns-Prefetch-Control:
|
39
|
+
- 'off'
|
40
|
+
X-Frame-Options:
|
41
|
+
- SAMEORIGIN
|
42
|
+
Strict-Transport-Security:
|
43
|
+
- max-age=15552000; includeSubDomains
|
44
|
+
X-Download-Options:
|
45
|
+
- noopen
|
46
|
+
X-Content-Type-Options:
|
47
|
+
- nosniff
|
48
|
+
X-Xss-Protection:
|
49
|
+
- 1; mode=block
|
50
|
+
X-Request-Id:
|
51
|
+
- 495fd4e3-a66c-4154-8922-22fb3fb1f809
|
52
|
+
Content-Type:
|
53
|
+
- application/json; charset=utf-8
|
54
|
+
Content-Length:
|
55
|
+
- '16'
|
56
|
+
Etag:
|
57
|
+
- W/"10-oV4hJxRVSENxc/wX8+mA4/Pe4tA"
|
58
|
+
Date:
|
59
|
+
- Sat, 11 Jan 2020 04:25:32 GMT
|
60
|
+
Via:
|
61
|
+
- 1.1 vegur
|
62
|
+
body:
|
63
|
+
encoding: UTF-8
|
64
|
+
string: '{"success":true}'
|
65
|
+
http_version:
|
66
|
+
recorded_at: Sat, 11 Jan 2020 04:25:32 GMT
|
67
|
+
- request:
|
68
|
+
method: post
|
69
|
+
uri: https://api.workos.com/events
|
70
|
+
body:
|
71
|
+
encoding: UTF-8
|
72
|
+
string: '{"group":"Terrace House","location":"1.1.1.1","action":"house.created","action_type":"C","actor_name":"Daiki
|
73
|
+
Miyagi","actor_id":"user_12345","target_name":"Ryota Yamasato","target_id":"user_67890","occurred_at":"2020-01-10T15:30:00-05:00","metadata":{"a":"b"}}'
|
74
|
+
headers:
|
75
|
+
Content-Type:
|
76
|
+
- application/json
|
77
|
+
Accept-Encoding:
|
78
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
79
|
+
Accept:
|
80
|
+
- "*/*"
|
81
|
+
User-Agent:
|
82
|
+
- WorkOSV2; ruby/2.6.5; x86_64-darwin19; v0.1.0
|
83
|
+
Authorization:
|
84
|
+
- Bearer <API_KEY>
|
85
|
+
Idempotency-Key:
|
86
|
+
- foo
|
87
|
+
response:
|
88
|
+
status:
|
89
|
+
code: 201
|
90
|
+
message: Created
|
91
|
+
headers:
|
92
|
+
Server:
|
93
|
+
- Cowboy
|
94
|
+
Connection:
|
95
|
+
- keep-alive
|
96
|
+
Access-Control-Allow-Origin:
|
97
|
+
- https://dashboard.workos.com
|
98
|
+
Vary:
|
99
|
+
- Origin, Accept-Encoding
|
100
|
+
Access-Control-Allow-Credentials:
|
101
|
+
- 'true'
|
102
|
+
X-Dns-Prefetch-Control:
|
103
|
+
- 'off'
|
104
|
+
X-Frame-Options:
|
105
|
+
- SAMEORIGIN
|
106
|
+
Strict-Transport-Security:
|
107
|
+
- max-age=15552000; includeSubDomains
|
108
|
+
X-Download-Options:
|
109
|
+
- noopen
|
110
|
+
X-Content-Type-Options:
|
111
|
+
- nosniff
|
112
|
+
X-Xss-Protection:
|
113
|
+
- 1; mode=block
|
114
|
+
X-Request-Id:
|
115
|
+
- 66cf2a20-65a5-47ae-94f9-fd215f1705a3
|
116
|
+
Content-Type:
|
117
|
+
- application/json; charset=utf-8
|
118
|
+
Content-Length:
|
119
|
+
- '16'
|
120
|
+
Etag:
|
121
|
+
- W/"10-oV4hJxRVSENxc/wX8+mA4/Pe4tA"
|
122
|
+
Date:
|
123
|
+
- Sat, 11 Jan 2020 04:25:32 GMT
|
124
|
+
Via:
|
125
|
+
- 1.1 vegur
|
126
|
+
body:
|
127
|
+
encoding: UTF-8
|
128
|
+
string: '{"success":true}'
|
129
|
+
http_version:
|
130
|
+
recorded_at: Sat, 11 Jan 2020 04:25:32 GMT
|
131
|
+
recorded_with: VCR 5.0.0
|
@@ -0,0 +1,134 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.workos.com/events
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: '{"group":"Terrace House","location":"1.1.1.1","action":"house.created","action_type":"C","actor_name":"Daiki
|
9
|
+
Miyagi","actor_id":"user_12345","target_name":"Ryota Yamasato","target_id":"user_67890","occurred_at":"2020-01-10T15:30:00-05:00","metadata":{"a":"b"}}'
|
10
|
+
headers:
|
11
|
+
Content-Type:
|
12
|
+
- application/json
|
13
|
+
Accept-Encoding:
|
14
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
15
|
+
Accept:
|
16
|
+
- "*/*"
|
17
|
+
User-Agent:
|
18
|
+
- WorkOSV2; ruby/2.6.5; x86_64-darwin19; v0.1.0
|
19
|
+
Authorization:
|
20
|
+
- Bearer <API_KEY>
|
21
|
+
Idempotency-Key:
|
22
|
+
- bar
|
23
|
+
response:
|
24
|
+
status:
|
25
|
+
code: 201
|
26
|
+
message: Created
|
27
|
+
headers:
|
28
|
+
Server:
|
29
|
+
- Cowboy
|
30
|
+
Connection:
|
31
|
+
- keep-alive
|
32
|
+
Access-Control-Allow-Origin:
|
33
|
+
- https://dashboard.workos.com
|
34
|
+
Vary:
|
35
|
+
- Origin, Accept-Encoding
|
36
|
+
Access-Control-Allow-Credentials:
|
37
|
+
- 'true'
|
38
|
+
X-Dns-Prefetch-Control:
|
39
|
+
- 'off'
|
40
|
+
X-Frame-Options:
|
41
|
+
- SAMEORIGIN
|
42
|
+
Strict-Transport-Security:
|
43
|
+
- max-age=15552000; includeSubDomains
|
44
|
+
X-Download-Options:
|
45
|
+
- noopen
|
46
|
+
X-Content-Type-Options:
|
47
|
+
- nosniff
|
48
|
+
X-Xss-Protection:
|
49
|
+
- 1; mode=block
|
50
|
+
X-Request-Id:
|
51
|
+
- fb5891e8-eb0c-4257-b476-c5aea60623c3
|
52
|
+
Content-Type:
|
53
|
+
- application/json; charset=utf-8
|
54
|
+
Content-Length:
|
55
|
+
- '16'
|
56
|
+
Etag:
|
57
|
+
- W/"10-oV4hJxRVSENxc/wX8+mA4/Pe4tA"
|
58
|
+
Date:
|
59
|
+
- Sat, 11 Jan 2020 04:48:06 GMT
|
60
|
+
Via:
|
61
|
+
- 1.1 vegur
|
62
|
+
body:
|
63
|
+
encoding: UTF-8
|
64
|
+
string: '{"success":true}'
|
65
|
+
http_version:
|
66
|
+
recorded_at: Sat, 11 Jan 2020 04:48:06 GMT
|
67
|
+
- request:
|
68
|
+
method: post
|
69
|
+
uri: https://api.workos.com/events
|
70
|
+
body:
|
71
|
+
encoding: UTF-8
|
72
|
+
string: '{"group":"Terrace House","location":"1.1.1.1","action":"house.created","action_type":"C","actor_name":"Tetsuya
|
73
|
+
Sugaya","actor_id":"user_12345","target_name":"Ryota Yamasato","target_id":"user_67890","occurred_at":"2020-01-10T15:30:00-05:00","metadata":{"a":"b"}}'
|
74
|
+
headers:
|
75
|
+
Content-Type:
|
76
|
+
- application/json
|
77
|
+
Accept-Encoding:
|
78
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
79
|
+
Accept:
|
80
|
+
- "*/*"
|
81
|
+
User-Agent:
|
82
|
+
- WorkOSV2; ruby/2.6.5; x86_64-darwin19; v0.1.0
|
83
|
+
Authorization:
|
84
|
+
- Bearer <API_KEY>
|
85
|
+
Idempotency-Key:
|
86
|
+
- bar
|
87
|
+
response:
|
88
|
+
status:
|
89
|
+
code: 400
|
90
|
+
message: Bad Request
|
91
|
+
headers:
|
92
|
+
Server:
|
93
|
+
- Cowboy
|
94
|
+
Connection:
|
95
|
+
- keep-alive
|
96
|
+
Access-Control-Allow-Origin:
|
97
|
+
- https://dashboard.workos.com
|
98
|
+
Vary:
|
99
|
+
- Origin, Accept-Encoding
|
100
|
+
Access-Control-Allow-Credentials:
|
101
|
+
- 'true'
|
102
|
+
X-Dns-Prefetch-Control:
|
103
|
+
- 'off'
|
104
|
+
X-Frame-Options:
|
105
|
+
- SAMEORIGIN
|
106
|
+
Strict-Transport-Security:
|
107
|
+
- max-age=15552000; includeSubDomains
|
108
|
+
X-Download-Options:
|
109
|
+
- noopen
|
110
|
+
X-Content-Type-Options:
|
111
|
+
- nosniff
|
112
|
+
X-Xss-Protection:
|
113
|
+
- 1; mode=block
|
114
|
+
X-Request-Id:
|
115
|
+
- 3f060f0b-2c26-46c2-a2f8-76c4332e84aa
|
116
|
+
Request-Id:
|
117
|
+
- 3f060f0b-2c26-46c2-a2f8-76c4332e84aa
|
118
|
+
Content-Type:
|
119
|
+
- application/json; charset=utf-8
|
120
|
+
Content-Length:
|
121
|
+
- '128'
|
122
|
+
Etag:
|
123
|
+
- W/"80-jILfJK6SRXhN8oqz8Na6yutVwHM"
|
124
|
+
Date:
|
125
|
+
- Sat, 11 Jan 2020 04:48:06 GMT
|
126
|
+
Via:
|
127
|
+
- 1.1 vegur
|
128
|
+
body:
|
129
|
+
encoding: UTF-8
|
130
|
+
string: '{"message":"Another idempotency key (bar) with different request parameters
|
131
|
+
was found. Please use a different idempotency key."}'
|
132
|
+
http_version:
|
133
|
+
recorded_at: Sat, 11 Jan 2020 04:48:06 GMT
|
134
|
+
recorded_with: VCR 5.0.0
|
@@ -0,0 +1,61 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.workos.com/events
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ""
|
9
|
+
headers:
|
10
|
+
Content-Type:
|
11
|
+
- application/json
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
|
+
Accept:
|
15
|
+
- "*/*"
|
16
|
+
User-Agent:
|
17
|
+
- WorkOSV2; ruby/2.7.1; x86_64-darwin19; v0.4.0
|
18
|
+
Authorization:
|
19
|
+
- Bearer <API_KEY>
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
Vary:
|
26
|
+
- Origin, Accept-Encoding
|
27
|
+
Access-Control-Allow-Credentials:
|
28
|
+
- "true"
|
29
|
+
X-Dns-Prefetch-Control:
|
30
|
+
- "off"
|
31
|
+
X-Frame-Options:
|
32
|
+
- SAMEORIGIN
|
33
|
+
Strict-Transport-Security:
|
34
|
+
- max-age=15552000; includeSubDomains
|
35
|
+
X-Download-Options:
|
36
|
+
- noopen
|
37
|
+
X-Content-Type-Options:
|
38
|
+
- nosniff
|
39
|
+
X-Xss-Protection:
|
40
|
+
- 1; mode=block
|
41
|
+
X-Request-Id:
|
42
|
+
- ""
|
43
|
+
Content-Type:
|
44
|
+
- application/json; charset=utf-8
|
45
|
+
Etag:
|
46
|
+
- W/"1784-HtVN7X+AT30Dlt9nZrirP0nnyV8"
|
47
|
+
Date:
|
48
|
+
- Fri, 31 Jul 2020 14:41:12 GMT
|
49
|
+
Connection:
|
50
|
+
- keep-alive
|
51
|
+
Transfer-Encoding:
|
52
|
+
- chunked
|
53
|
+
body:
|
54
|
+
encoding: ASCII-8BIT
|
55
|
+
string:
|
56
|
+
'{"data":[{"object":"event","id":"evt_01EEJM9Q9SMC3W2SZDKA5VJ8XQ","group":"workos.com","location":"::1","latitude":null,"longitude":null,"type":"r","actor_name":"foo@example.com","actor_id":"user_01EEG9P7A1DA9VY9CX7GT47RPF","target_name":"api_key_query","target_id":"key_01EEG9MPHAYX46BBZKGK3BGQXJ","metadata":{"description":"User
|
57
|
+
viewed API key.","x_request_id":""},"occurred_at":"2020-07-31T14:27:00.384Z","action":{"object":"event_action","id":"evt_action_01EEGQXWAHB065P5JD0QDAAGDC","name":"user.viewed_api_key","client_id":"project_01DZB0E7HQMA6G85PQNHQJMZD0"}},{"object":"event","id":"evt_01EEJM9Q7GMR1VGT6VXN2N2JJQ","group":"workos.com","location":"::1","latitude":null,"longitude":null,"type":"r","actor_name":"foo@example.com","actor_id":"user_01EEG9P7A1DA9VY9CX7GT47RPF","target_name":"api_key_query","target_id":"key_01EEG9MPGM8KFT9VBQHJMV8YZB","metadata":{"description":"User
|
58
|
+
viewed API key.","x_request_id":""},"occurred_at":"2020-07-31T14:27:00.360Z","action":{"object":"event_action","id":"evt_action_01EEGQXWAHB065P5JD0QDAAGDC","name":"user.viewed_api_key","client_id":"project_01DZB0E7HQMA6G85PQNHQJMZD0"}}],"listMetadata":{"before":"evt_01EEJKZDAR6G4JHFQT4R3KSZDQ","after":null}}'
|
59
|
+
http_version:
|
60
|
+
recorded_at: Fri, 31 Jul 2020 14:41:12 GMT
|
61
|
+
recorded_with: VCR 5.0.0
|
@@ -0,0 +1,66 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.workos.com/events
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: "{}"
|
9
|
+
headers:
|
10
|
+
Content-Type:
|
11
|
+
- application/json
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
|
+
Accept:
|
15
|
+
- "*/*"
|
16
|
+
User-Agent:
|
17
|
+
- WorkOSV2; ruby/2.6.5; x86_64-darwin19; v0.1.0
|
18
|
+
Authorization:
|
19
|
+
- 'Bearer '
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 401
|
23
|
+
message: Unauthorized
|
24
|
+
headers:
|
25
|
+
Server:
|
26
|
+
- Cowboy
|
27
|
+
Connection:
|
28
|
+
- keep-alive
|
29
|
+
Access-Control-Allow-Origin:
|
30
|
+
- https://dashboard.workos-test.com
|
31
|
+
Vary:
|
32
|
+
- Origin, Accept-Encoding
|
33
|
+
Access-Control-Allow-Credentials:
|
34
|
+
- 'true'
|
35
|
+
X-Dns-Prefetch-Control:
|
36
|
+
- 'off'
|
37
|
+
X-Frame-Options:
|
38
|
+
- SAMEORIGIN
|
39
|
+
Strict-Transport-Security:
|
40
|
+
- max-age=15552000; includeSubDomains
|
41
|
+
X-Download-Options:
|
42
|
+
- noopen
|
43
|
+
X-Content-Type-Options:
|
44
|
+
- nosniff
|
45
|
+
X-Xss-Protection:
|
46
|
+
- 1; mode=block
|
47
|
+
X-Request-Id:
|
48
|
+
- 32a67a24-bfaf-4463-bf47-c407d54955d3
|
49
|
+
Request-Id:
|
50
|
+
- 32a67a24-bfaf-4463-bf47-c407d54955d3
|
51
|
+
Content-Type:
|
52
|
+
- application/json; charset=utf-8
|
53
|
+
Content-Length:
|
54
|
+
- '26'
|
55
|
+
Etag:
|
56
|
+
- W/"1a-pljHtlo127JYJR4E/RYOPb6ucbw"
|
57
|
+
Date:
|
58
|
+
- Sat, 11 Jan 2020 03:50:27 GMT
|
59
|
+
Via:
|
60
|
+
- 1.1 vegur
|
61
|
+
body:
|
62
|
+
encoding: UTF-8
|
63
|
+
string: '{"message":"Unauthorized"}'
|
64
|
+
http_version:
|
65
|
+
recorded_at: Sat, 11 Jan 2020 03:50:27 GMT
|
66
|
+
recorded_with: VCR 5.0.0
|