teamsnap_rb 2.4.0 → 2.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. checksums.yaml +4 -4
  2. data/.github/stale.yml +16 -0
  3. data/.github/workflows/ci.yml +25 -0
  4. data/.gitignore +1 -1
  5. data/.teamsnap/service.yml +18 -0
  6. data/CHANGELOG.md +12 -0
  7. data/CODEOWNERS +1 -0
  8. data/Gemfile +0 -2
  9. data/README.md +4 -6
  10. data/Rakefile +0 -5
  11. data/lib/teamsnap/api.rb +2 -1
  12. data/lib/teamsnap/auth_middleware.rb +2 -0
  13. data/lib/teamsnap/response.rb +7 -1
  14. data/lib/teamsnap/structure.rb +1 -1
  15. data/lib/teamsnap/version.rb +1 -1
  16. data/lib/teamsnap.rb +5 -1
  17. data/spec/cassettes/apiv3-init.yml +850 -236
  18. data/spec/cassettes/teamsnap__api/_run/when_creating/when_successful/can_parse_the_json.yml +73 -0
  19. data/spec/cassettes/teamsnap__api/_run/when_deleting/when_successful/handles_empty_response_body.yml +38 -0
  20. data/spec/cassettes/teamsnap__client/_api/Sends_the_proper_information_to_TeamSnap_Api_run.yml +87 -0
  21. data/spec/cassettes/teamsnap__client/when_calling_via_s_on_the_client/does_not_raise_an_error_when_the_HTTP_actions_are_called.yml +24 -17
  22. data/spec/cassettes/teamsnap__client/when_calling_via_s_on_the_client/passes_them_to_the_faraday_client_using_method_missing.yml +24 -17
  23. data/spec/cassettes/teamsnap__client/when_specifying_a_headers_flag/correctly_sets_the_ghost_header_flag.yml +846 -232
  24. data/spec/cassettes/teamsnap__client/when_specifying_a_headers_flag/won_t_set_feature_headers_without_the_header_variable_present.yml +847 -232
  25. data/spec/cassettes/teamsnap__collection/_items/returns_all_items_for_a_base_collection.yml +68 -63
  26. data/spec/cassettes/teamsnap__collection/adds_find_if_search_is_available.yml +44 -27
  27. data/spec/cassettes/teamsnap__collection/adds_href_to_items.yml +132 -33
  28. data/spec/cassettes/teamsnap__collection/can_follow_plural_links.yml +421 -136
  29. data/spec/cassettes/teamsnap__collection/can_follow_singular_links.yml +175 -59
  30. data/spec/cassettes/teamsnap__collection/can_handle_links_with_no_data.yml +155 -53
  31. data/spec/cassettes/teamsnap__collection/handles_executing_an_action_via_commands.yml +132 -33
  32. data/spec/cassettes/teamsnap__collection/handles_executing_an_action_via_commands_with_multiple_params.yml +75 -35
  33. data/spec/cassettes/teamsnap__collection/handles_fetching_data_via_queries.yml +44 -27
  34. data/spec/cassettes/teamsnap__collection/handles_queries_with_no_data.yml +36 -22
  35. data/spec/cassettes/teamsnap__collection/raises_an_exception_if_find_returns_nothing.yml +36 -22
  36. data/spec/cassettes/teamsnap__collection/supports_relations_with_expected_behaviors/when_a_plural_relation_is_called/responds_with_an_array_of_objects_when_successful.yml +63 -51
  37. data/spec/cassettes/teamsnap__collection/supports_relations_with_expected_behaviors/when_a_plural_relation_is_called/responds_with_an_empty_array_when_no_objects_exist.yml +57 -47
  38. data/spec/cassettes/teamsnap__collection/supports_relations_with_expected_behaviors/when_a_singular_relation_is_called/responds_with_nil_if_it_does_NOT_exist.yml +49 -42
  39. data/spec/cassettes/teamsnap__collection/supports_relations_with_expected_behaviors/when_a_singular_relation_is_called/responds_with_the_object_if_it_exists.yml +77 -53
  40. data/spec/cassettes/teamsnap__structure/_create_collection_class/registers_new_classes_via_introspection_of_the_root_collection.yml +36 -22
  41. data/spec/cassettes/teamsnap__structure/_create_collection_class/sets_the_href_attribute_on_the_new_class.yml +36 -22
  42. data/spec/cassettes/teamsnap__structure/_init/has_all_classes_in_schema_loaded_except_for_exceptions_list_endpoints.yml +24 -17
  43. data/spec/cassettes/teamsnap_rb/_bulk_load/can_handle_an_empty_bulk_load.yml +16 -16
  44. data/spec/cassettes/teamsnap_rb/_bulk_load/can_handle_an_error_with_bulk_load_without_a_team_id.yml +14 -14
  45. data/spec/cassettes/teamsnap_rb/_bulk_load/can_use_bulk_load.yml +291 -103
  46. data/spec/cassettes/teamsnap_rb/_client_send/when_sent_a_known_via_/accepts_test_file_arg_when_creating_HMAC.yml +82 -2653
  47. data/spec/cassettes/teamsnap_rb/_client_send/when_sent_a_known_via_/calls_DELETE_on_the_given_client.yml +67 -2639
  48. data/spec/cassettes/teamsnap_rb/_client_send/when_sent_a_known_via_/calls_GET_on_the_given_client.yml +24 -17
  49. data/spec/cassettes/teamsnap_rb/_client_send/when_sent_a_known_via_/calls_PATCH_on_the_given_client.yml +67 -2639
  50. data/spec/cassettes/teamsnap_rb/_client_send/when_sent_a_known_via_/calls_POST_on_the_given_client.yml +67 -2639
  51. data/spec/cassettes/teamsnap_rb/_run/processes_the_response.yml +93 -65
  52. data/spec/cassettes/uploading_files/uploads_a_file.yml +130 -31
  53. data/spec/cassettes/uploading_files/uploads_a_tempfile.yml +130 -31
  54. data/spec/features/uploading_files_spec.rb +2 -2
  55. data/spec/spec_helper.rb +0 -13
  56. data/spec/teamsnap/apiv_spec.rb +49 -1
  57. data/spec/teamsnap/client_spec.rb +4 -4
  58. data/spec/teamsnap/collection_spec.rb +5 -5
  59. data/spec/teamsnap/item_spec.rb +1 -1
  60. data/spec/teamsnap/structure_spec.rb +2 -2
  61. data/spec/teamsnap_spec.rb +4 -4
  62. data/teamsnap_rb.gemspec +5 -5
  63. metadata +35 -20
  64. data/.travis.yml +0 -10
@@ -2,15 +2,17 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://localhost:3000/?hmac_client_id=classic&hmac_nonce=a8b75355-2491-4e78-bafc-71205bc5bbd5&hmac_timestamp=1470941469
5
+ uri: http://localhost:3000/?hmac_client_id=classic_service&hmac_nonce=8128f31d-c6a7-4a0f-90a7-7a873142c025&hmac_timestamp=1590177532
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
10
  User-Agent:
11
- - Faraday v0.9.2
11
+ - Faraday v0.17.3
12
12
  X-Teamsnap-Hmac:
13
- - bc1330f5b5cd11cd4fe9d9785aa6f43119eefa2c4ef5884c436cc4374c286210
13
+ - '038b9ae75a6295c4c937ed6008cb71898d48e5baf7e6091c8ad688d41d354d98'
14
+ Expect:
15
+ - ''
14
16
  response:
15
17
  status:
16
18
  code: 200
@@ -18,25 +20,30 @@ http_interactions:
18
20
  headers:
19
21
  Content-Type:
20
22
  - application/vnd.collection+json
21
- Content-Length:
22
- - '10278'
23
23
  X-Content-Type-Options:
24
24
  - nosniff
25
25
  ETag:
26
- - '"8d95e732b0bd1e8305326203f7787e22"'
26
+ - W/"0b2c3177c63fab206e8d8fcf7b62d01d"
27
27
  Cache-Control:
28
28
  - max-age=0, private, must-revalidate
29
29
  X-Request-Id:
30
- - 0c4e141b-ec21-4a01-a9c5-813e04e9272e
30
+ - ebb6eb11-b4c7-4484-a313-6d40efa244da
31
31
  X-Runtime:
32
- - '0.038080'
33
- Connection:
34
- - keep-alive
35
- Server:
36
- - thin
32
+ - '0.655754'
33
+ Vary:
34
+ - Origin
35
+ Content-Length:
36
+ - '17540'
37
37
  body:
38
38
  encoding: UTF-8
39
- string: '{"collection":{"version":"3.306.2","href":"http://localhost:3000/","rel":"root","links":[{"rel":"apiv2_root","href":"http://localhost:3003"},{"rel":"authorization","href":"http://localhost:3004"},{"rel":"apn_devices","href":"http://localhost:3000/apn_devices"},{"rel":"assignments","href":"http://localhost:3000/assignments"},{"rel":"availabilities","href":"http://localhost:3000/availabilities"},{"rel":"broadcast_email_attachments","href":"http://localhost:3000/broadcast_email_attachments"},{"rel":"broadcast_emails","href":"http://localhost:3000/broadcast_emails"},{"rel":"broadcast_alerts","href":"http://localhost:3000/broadcast_alerts"},{"rel":"contact_email_addresses","href":"http://localhost:3000/contact_email_addresses"},{"rel":"contact_phone_numbers","href":"http://localhost:3000/contact_phone_numbers"},{"rel":"contacts","href":"http://localhost:3000/contacts"},{"rel":"countries","href":"http://localhost:3000/countries"},{"rel":"custom_data","href":"http://localhost:3000/custom_data"},{"rel":"custom_fields","href":"http://localhost:3000/custom_fields"},{"rel":"league_custom_data","href":"http://localhost:3000/league_custom_data"},{"rel":"league_custom_fields","href":"http://localhost:3000/league_custom_fields"},{"rel":"divisions","href":"http://localhost:3000/divisions"},{"rel":"division_contact_email_addresses","href":"http://localhost:3000/division_contact_email_addresses"},{"rel":"division_contact_phone_numbers","href":"http://localhost:3000/division_contact_phone_numbers"},{"rel":"division_contacts","href":"http://localhost:3000/division_contacts"},{"rel":"division_events","href":"http://localhost:3000/division_events"},{"rel":"division_locations","href":"http://localhost:3000/division_locations"},{"rel":"division_member_email_addresses","href":"http://localhost:3000/division_member_email_addresses"},{"rel":"division_member_phone_numbers","href":"http://localhost:3000/division_member_phone_numbers"},{"rel":"division_members","href":"http://localhost:3000/division_members"},{"rel":"division_members_preferences","href":"http://localhost:3000/division_members_preferences"},{"rel":"division_events_imports","href":"http://localhost:3000/division_events_imports"},{"rel":"division_team_standings","href":"http://localhost:3000/division_team_standings"},{"rel":"divisions_preferences","href":"http://localhost:3000/divisions_preferences"},{"rel":"event_statistics","href":"http://localhost:3000/event_statistics"},{"rel":"events","href":"http://localhost:3000/events"},{"rel":"facebook_pages","href":"http://localhost:3000/facebook_pages"},{"rel":"forecasts","href":"http://localhost:3000/forecasts"},{"rel":"forum_posts","href":"http://localhost:3000/forum_posts"},{"rel":"forum_subscriptions","href":"http://localhost:3000/forum_subscriptions"},{"rel":"forum_topics","href":"http://localhost:3000/forum_topics"},{"rel":"geocoded_locations","href":"http://localhost:3000/geocoded_locations"},{"rel":"gcm_devices","href":"http://localhost:3000/gcm_devices"},{"rel":"league_registrant_documents","href":"http://localhost:3000/league_registrant_documents"},{"rel":"locations","href":"http://localhost:3000/locations"},{"rel":"me","href":"http://localhost:3000/me"},{"rel":"member_assignments","href":"http://localhost:3000/member_assignments"},{"rel":"member_email_addresses","href":"http://localhost:3000/member_email_addresses"},{"rel":"member_balances","href":"http://localhost:3000/member_balances"},{"rel":"member_files","href":"http://localhost:3000/member_files"},{"rel":"member_links","href":"http://localhost:3000/member_links"},{"rel":"member_payments","href":"http://localhost:3000/member_payments"},{"rel":"member_phone_numbers","href":"http://localhost:3000/member_phone_numbers"},{"rel":"member_photos","href":"http://localhost:3000/member_photos"},{"rel":"member_statistics","href":"http://localhost:3000/member_statistics"},{"rel":"members","href":"http://localhost:3000/members"},{"rel":"members_preferences","href":"http://localhost:3000/members_preferences"},{"rel":"message_data","href":"http://localhost:3000/message_data"},{"rel":"messages","href":"http://localhost:3000/messages"},{"rel":"opponents","href":"http://localhost:3000/opponents"},{"rel":"opponents_results","href":"http://localhost:3000/opponents_results"},{"rel":"payment_notes","href":"http://localhost:3000/payment_notes"},{"rel":"paypal_currencies","href":"http://localhost:3000/paypal_currencies"},{"rel":"plans","href":"http://localhost:3000/plans"},{"rel":"plans_all","href":"http://localhost:3000/plans/all"},{"rel":"public_features","href":"http://localhost:3000/public_features"},{"rel":"schemas","href":"http://localhost:3000/schemas"},{"rel":"sms_gateways","href":"http://localhost:3000/sms_gateways"},{"rel":"sponsors","href":"http://localhost:3000/sponsors"},{"rel":"sports","href":"http://localhost:3000/sports"},{"rel":"statistics","href":"http://localhost:3000/statistics"},{"rel":"statistic_aggregates","href":"http://localhost:3000/statistic_aggregates"},{"rel":"statistic_data","href":"http://localhost:3000/statistic_data"},{"rel":"statistic_groups","href":"http://localhost:3000/statistic_groups"},{"rel":"team_fees","href":"http://localhost:3000/team_fees"},{"rel":"team_media","href":"http://localhost:3000/team_media"},{"rel":"team_medium_comments","href":"http://localhost:3000/team_medium_comments"},{"rel":"team_media_groups","href":"http://localhost:3000/team_media_groups"},{"rel":"team_photos","href":"http://localhost:3000/team_photos"},{"rel":"team_public_sites","href":"http://localhost:3000/team_public_sites"},{"rel":"teams","href":"http://localhost:3000/teams"},{"rel":"teams_paypal_preferences","href":"http://localhost:3000/teams_paypal_preferences"},{"rel":"teams_preferences","href":"http://localhost:3000/teams_preferences"},{"rel":"teams_results","href":"http://localhost:3000/teams_results"},{"rel":"team_statistics","href":"http://localhost:3000/team_statistics"},{"rel":"time_zones","href":"http://localhost:3000/time_zones"},{"rel":"tracked_item_statuses","href":"http://localhost:3000/tracked_item_statuses"},{"rel":"tracked_items","href":"http://localhost:3000/tracked_items"},{"rel":"tsl_metadata","href":"http://localhost:3000/tsl_metadata"},{"rel":"tsl_chats","href":"http://localhost:3000/tsl_chats"},{"rel":"tsl_photos","href":"http://localhost:3000/tsl_photos"},{"rel":"tsl_scores","href":"http://localhost:3000/tsl_scores"},{"rel":"users","href":"http://localhost:3000/users"},{"rel":"dude","href":"http://localhost:3000/dude"},{"rel":"sweet","href":"http://localhost:3000/sweet"},{"rel":"random","href":"http://localhost:3000/random"},{"rel":"xyzzy","href":"http://localhost:3000/xyzzy"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/"}],"queries":[{"rel":"bulk_load","href":"http://localhost:3000/bulk_load","prompt":"Returns
39
+ string: '{"collection":{"version":"3.854.0","href":"http://localhost:3000/","rel":"root","links":[{"rel":"advertisements","href":"http://localhost:3000/advertisements"},{"rel":"apiv2_root","href":"http://localhost:3003"},{"rel":"authorization","href":"http://localhost:3004","prompt":"authorization
40
+ is deprecated and will be removed in a future version, use authorization_root
41
+ instead."},{"rel":"authorization_root","href":"http://localhost:3004"},{"rel":"authorization_magic_links","href":"http://localhost:3004/magic_links"},{"rel":"authorization_password_resets","href":"http://localhost:3004/password_resets"},{"rel":"authorization_tokens","href":"http://localhost:3004/oauth/token"},{"rel":"authorization_user_registrations","href":"http://localhost:3004/user_registrations"},{"rel":"authorization_user_registration_initializations","href":"http://localhost:3004/user_registration_initializations"},{"rel":"authorization_users","href":"http://localhost:3004/users"},{"rel":"android_subscriptions","href":"http://localhost:3000/android_subscriptions"},{"rel":"apple_paid_features","href":"http://localhost:3000/apple_paid_features"},{"rel":"apn_devices","href":"http://localhost:3000/apn_devices"},{"rel":"assignments","href":"http://localhost:3000/assignments"},{"rel":"availabilities","href":"http://localhost:3000/availabilities"},{"rel":"availability_summaries","href":"http://localhost:3000/availability_summaries"},{"rel":"batch_invoices","href":"http://localhost:3000/batch_invoices"},{"rel":"batch_invoices_aggregates","href":"http://localhost:3000/batch_invoices_aggregates"},{"rel":"batch_invoice_line_items","href":"http://localhost:3000/batch_invoice_line_items"},{"rel":"batch_invoice_payment_schedules","href":"http://localhost:3000/batch_invoice_payment_schedules"},{"rel":"batch_invoice_payment_schedule_details","href":"http://localhost:3000/batch_invoice_payment_schedule_details"},{"rel":"broadcast_email_attachments","href":"http://localhost:3000/broadcast_email_attachments"},{"rel":"broadcast_emails","href":"http://localhost:3000/broadcast_emails"},{"rel":"broadcast_alerts","href":"http://localhost:3000/broadcast_alerts"},{"rel":"contact_email_addresses","href":"http://localhost:3000/contact_email_addresses"},{"rel":"contact_phone_numbers","href":"http://localhost:3000/contact_phone_numbers"},{"rel":"contacts","href":"http://localhost:3000/contacts"},{"rel":"countries","href":"http://localhost:3000/countries"},{"rel":"currencies","href":"http://localhost:3000/currencies"},{"rel":"custom_data","href":"http://localhost:3000/custom_data"},{"rel":"custom_fields","href":"http://localhost:3000/custom_fields"},{"rel":"league_custom_data","href":"http://localhost:3000/league_custom_data"},{"rel":"league_custom_fields","href":"http://localhost:3000/league_custom_fields"},{"rel":"divisions","href":"http://localhost:3000/divisions"},{"rel":"division_aggregates","href":"http://localhost:3000/division_aggregates"},{"rel":"division_behaviors","href":"http://localhost:3000/division_behaviors"},{"rel":"division_contact_email_addresses","href":"http://localhost:3000/division_contact_email_addresses"},{"rel":"division_contact_phone_numbers","href":"http://localhost:3000/division_contact_phone_numbers"},{"rel":"division_contacts","href":"http://localhost:3000/division_contacts"},{"rel":"division_events","href":"http://localhost:3000/division_events"},{"rel":"division_structure_health_data","href":"http://localhost:3000/division_structure_health_data"},{"rel":"division_locations","href":"http://localhost:3000/division_locations"},{"rel":"division_member_email_addresses","href":"http://localhost:3000/division_member_email_addresses"},{"rel":"division_member_phone_numbers","href":"http://localhost:3000/division_member_phone_numbers"},{"rel":"division_members","href":"http://localhost:3000/division_members"},{"rel":"division_members_preferences","href":"http://localhost:3000/division_members_preferences"},{"rel":"division_rate_packages","href":"http://localhost:3000/division_rate_packages"},{"rel":"division_events_imports","href":"http://localhost:3000/division_events_imports"},{"rel":"division_stores","href":"http://localhost:3000/division_stores"},{"rel":"division_regsaver_options","href":"http://localhost:3000/division_regsaver_options"},{"rel":"division_team_standings","href":"http://localhost:3000/division_team_standings"},{"rel":"divisions_preferences","href":"http://localhost:3000/divisions_preferences"},{"rel":"event_statistics","href":"http://localhost:3000/event_statistics"},{"rel":"events","href":"http://localhost:3000/events"},{"rel":"event_lineups","href":"http://localhost:3000/event_lineups"},{"rel":"event_lineup_entries","href":"http://localhost:3000/event_lineup_entries"},{"rel":"facebook_pages","href":"http://localhost:3000/facebook_pages","prompt":"%{old}
42
+ is deprecated and will be removed in a future version, use %{new} instead."},{"rel":"forecasts","href":"http://localhost:3000/forecasts"},{"rel":"forum_posts","href":"http://localhost:3000/forum_posts"},{"rel":"forum_subscriptions","href":"http://localhost:3000/forum_subscriptions"},{"rel":"forum_topics","href":"http://localhost:3000/forum_topics"},{"rel":"fundraising_campaigns","href":"http://localhost:3000/fundraising_campaigns"},{"rel":"geocoded_locations","href":"http://localhost:3000/geocoded_locations"},{"rel":"gcm_devices","href":"http://localhost:3000/gcm_devices"},{"rel":"card_feed","href":"http://host.docker.internal:4008/cards"},{"rel":"invitations","href":"http://localhost:3000/invitations"},{"rel":"invoices","href":"http://localhost:3000/invoices"},{"rel":"invoice_line_items","href":"http://localhost:3000/invoice_line_items"},{"rel":"invoice_messages","href":"http://localhost:3000/invoice_messages"},{"rel":"invoice_payment_options_amounts","href":"http://localhost:3000/invoice_payment_options_amounts"},{"rel":"invoice_schedule_payment_options_amounts","href":"http://localhost:3000/invoice_schedule_payment_options_amounts"},{"rel":"invoice_schedule_payments_payment_options_amounts","href":"http://localhost:3000/invoice_schedule_payments_payment_options_amounts"},{"rel":"invoice_payments","href":"http://localhost:3000/invoice_payments"},{"rel":"invoice_payment_schedules","href":"http://localhost:3000/invoice_payment_schedules"},{"rel":"invoice_payment_transactions","href":"http://localhost:3000/invoice_payment_transactions"},{"rel":"invoice_recipients","href":"http://localhost:3000/invoice_recipients"},{"rel":"invoice_recipients_invoices_aggregates","href":"http://localhost:3000/invoice_recipients_invoices_aggregates"},{"rel":"invoicing_health_data","href":"http://localhost:3000/invoicing_health_data"},{"rel":"league_registrant_documents","href":"http://localhost:3000/league_registrant_documents"},{"rel":"locations","href":"http://localhost:3000/locations"},{"rel":"me","href":"http://localhost:3000/me"},{"rel":"member_assignments","href":"http://localhost:3000/member_assignments"},{"rel":"member_email_addresses","href":"http://localhost:3000/member_email_addresses","prompt":"member_email_addresses
43
+ is deprecated and will be removed in a future version, use contact_email_addresses
44
+ instead."},{"rel":"member_balances","href":"http://localhost:3000/member_balances"},{"rel":"member_files","href":"http://localhost:3000/member_files"},{"rel":"member_links","href":"http://localhost:3000/member_links"},{"rel":"member_payments","href":"http://localhost:3000/member_payments"},{"rel":"member_phone_numbers","href":"http://localhost:3000/member_phone_numbers","prompt":"member_phone_numbers
45
+ is deprecated and will be removed in a future version, use contact_phone_numbers
46
+ instead."},{"rel":"member_photos","href":"http://localhost:3000/member_photos"},{"rel":"member_registration_signups","href":"http://localhost:3000/member_registration_signups"},{"rel":"member_statistics","href":"http://localhost:3000/member_statistics"},{"rel":"members","href":"http://localhost:3000/members"},{"rel":"members_preferences","href":"http://localhost:3000/members_preferences"},{"rel":"message_data","href":"http://localhost:3000/message_data"},{"rel":"messages","href":"http://localhost:3000/messages"},{"rel":"message_reply_statuses","href":"http://localhost:3000/message_reply_statuses"},{"rel":"mobile_advertising_identities","href":"http://localhost:3000/mobile_advertising_identities"},{"rel":"opponents","href":"http://localhost:3000/opponents"},{"rel":"opponents_results","href":"http://localhost:3000/opponents_results"},{"rel":"partners_user_preferences","href":"http://localhost:3000/partners_user_preferences"},{"rel":"partners_preferences","href":"http://localhost:3000/partners_preferences"},{"rel":"pay_invoice_details","href":"http://localhost:3000/pay_invoice_details"},{"rel":"payment_method_wepay_credit_cards","href":"http://localhost:3000/payment_method_wepay_credit_cards"},{"rel":"payment_notes","href":"http://localhost:3000/payment_notes"},{"rel":"payment_options","href":"http://localhost:3000/payment_options"},{"rel":"payment_providers","href":"http://localhost:3000/payment_providers"},{"rel":"paypal_currencies","href":"http://localhost:3000/paypal_currencies"},{"rel":"plans","href":"http://localhost:3000/plans"},{"rel":"plans_all","href":"http://localhost:3000/plans/all"},{"rel":"program_members","href":"http://localhost:3000/program_members"},{"rel":"program_memberships","href":"http://localhost:3000/program_memberships"},{"rel":"promotion_exclusions","href":"http://localhost:3000/promotion_exclusions"},{"rel":"public_features","href":"http://localhost:3000/public_features"},{"rel":"registration_signups","href":"http://localhost:3000/registration_signups"},{"rel":"registration_signup_statuses","href":"http://localhost:3000/registration_signup_statuses"},{"rel":"registration_forms","href":"http://localhost:3000/registration_forms"},{"rel":"registration_form_line_items","href":"http://localhost:3000/registration_form_line_items"},{"rel":"registration_form_line_item_options","href":"http://localhost:3000/registration_form_line_item_options"},{"rel":"registration_health_data","href":"http://localhost:3000/registration_health_data"},{"rel":"registration_dates_aggregates","href":"http://localhost:3000/registration_dates_aggregates"},{"rel":"reigning_champs","href":"http://localhost:3000/reigning_champs"},{"rel":"schemas","href":"http://localhost:3000/schemas"},{"rel":"sms_gateways","href":"http://localhost:3000/sms_gateways"},{"rel":"sponsors","href":"http://localhost:3000/sponsors"},{"rel":"sports","href":"http://localhost:3000/sports"},{"rel":"sport_positions","href":"http://localhost:3000/sport_positions"},{"rel":"statistics","href":"http://localhost:3000/statistics"},{"rel":"statistic_aggregates","href":"http://localhost:3000/statistic_aggregates"},{"rel":"statistic_data","href":"http://localhost:3000/statistic_data"},{"rel":"statistic_groups","href":"http://localhost:3000/statistic_groups"},{"rel":"stripe_accounts","href":"http://localhost:3000/stripe_accounts"},{"rel":"stripe_account_access_grants","href":"http://localhost:3000/stripe_account_access_grants"},{"rel":"suggested_assignments","href":"http://localhost:3000/suggested_assignments"},{"rel":"team_chat_users","href":"http://localhost:3000/team_chat_users"},{"rel":"team_fees","href":"http://localhost:3000/team_fees"},{"rel":"team_media","href":"http://localhost:3000/team_media"},{"rel":"team_medium_comments","href":"http://localhost:3000/team_medium_comments"},{"rel":"team_media_groups","href":"http://localhost:3000/team_media_groups"},{"rel":"team_names","href":"http://localhost:3000/team_names"},{"rel":"team_photos","href":"http://localhost:3000/team_photos"},{"rel":"team_public_sites","href":"http://localhost:3000/team_public_sites"},{"rel":"teams","href":"http://localhost:3000/teams"},{"rel":"teams_paypal_preferences","href":"http://localhost:3000/teams_paypal_preferences"},{"rel":"teams_preferences","href":"http://localhost:3000/teams_preferences"},{"rel":"teams_results","href":"http://localhost:3000/teams_results"},{"rel":"team_statistics","href":"http://localhost:3000/team_statistics"},{"rel":"team_stores","href":"http://localhost:3000/team_stores"},{"rel":"wepay_account_access_grants","href":"http://localhost:3000/wepay_account_access_grants"},{"rel":"time_zones","href":"http://localhost:3000/time_zones"},{"rel":"tracked_item_statuses","href":"http://localhost:3000/tracked_item_statuses"},{"rel":"tracked_items","href":"http://localhost:3000/tracked_items"},{"rel":"tsl_metadata","href":"http://localhost:3000/tsl_metadata"},{"rel":"tsl_chats","href":"http://localhost:3000/tsl_chats"},{"rel":"tsl_photos","href":"http://localhost:3000/tsl_photos"},{"rel":"tsl_scores","href":"http://localhost:3000/tsl_scores"},{"rel":"user_team_experiences","href":"http://localhost:3000/user_team_experiences"},{"rel":"users","href":"http://localhost:3000/users"},{"rel":"wepay_accounts","href":"http://localhost:3000/wepay_accounts"},{"rel":"wepay_invoice_payment_details","href":"http://localhost:3000/wepay_invoice_payment_details"},{"rel":"dude","href":"http://localhost:3000/dude"},{"rel":"sweet","href":"http://localhost:3000/sweet"},{"rel":"random","href":"http://localhost:3000/random"},{"rel":"xyzzy","href":"http://localhost:3000/xyzzy"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/"}],"queries":[{"rel":"bulk_load","href":"http://localhost:3000/bulk_load","prompt":"Returns
40
47
  a heterogeneous collection of the specified types for a specified team or
41
48
  teams. Additional filters can be passed into requested types by passing them
42
49
  in the url''s querystring as type__filter=value (i.e. ?event__start_date=2015-01-01).
@@ -60,12 +67,12 @@ http_interactions:
60
67
  returned."},{"name":"types","value":null,"prompt":"A comma separated list
61
68
  of singular types that you want returned. You may also specify a query by
62
69
  proceeding the type with a ''__<query_name>''. For instance ''member__personas''
63
- will use ''personas'' query on the ''members'' endpoint."}]},{"rel":"me","href":"http://localhost:3000/me"},{"rel":"feature","href":"http://localhost:3000/feature","data":[{"name":"id","value":null},{"name":"type","value":null},{"name":"feature_name","value":null}]},{"rel":"forecast","href":"http://localhost:3000/forecasts/search","data":[{"name":"team_id","value":null}]},{"rel":"geocode","href":"http://localhost:3000/geocoded_locations/search","data":[{"name":"country","value":null},{"name":"postal_code","value":null}]},{"rel":"generate_firebase_token","href":"http://localhost:3000/generate_firebase_token","data":[{"name":"team_id","value":null},{"name":"version","value":null}]},{"rel":"invitation_finder","href":"http://localhost:3000/invitation_finder","data":[{"name":"email_address","value":null}]}],"commands":[{"rel":"send_invitations","href":"http://localhost:3000/send_invitations","prompt":"Send
70
+ will use ''personas'' query on the ''members'' endpoint."}]},{"rel":"me","href":"http://localhost:3000/me"},{"rel":"feature","href":"http://localhost:3000/feature","data":[{"name":"id","value":null},{"name":"type","value":null},{"name":"feature_name","value":null}]},{"rel":"partners_preferences","href":"http://localhost:3000/partners_preferences/search","data":[{"name":"user_id","value":null},{"name":"team_id","value":null},{"name":"member_id","value":null},{"name":"partner_id","value":null},{"name":"partner_name","value":null}]},{"rel":"partners_user_preferences","href":"http://localhost:3000/partners_user_preferences/search","data":[{"name":"user_id","value":null},{"name":"team_id","value":null},{"name":"partner_preference_id","value":null}]},{"rel":"forecast","href":"http://localhost:3000/forecasts/search","data":[{"name":"team_id","value":null},{"name":"event_id","value":null},{"name":"day_index","value":null}]},{"rel":"geocode","href":"http://localhost:3000/geocoded_locations/search","data":[{"name":"country","value":null},{"name":"postal_code","value":null}]},{"rel":"generate_firebase_token","href":"http://localhost:3000/generate_firebase_token","data":[{"name":"team_id","value":null},{"name":"version","value":null}]},{"rel":"invitation_finder","href":"http://localhost:3000/invitation_finder","data":[{"name":"email_address","value":null}]},{"rel":"messaging_permissions","href":"http://localhost:3000/messaging_permissions","data":[{"name":"team_id","value":null}]}],"commands":[{"rel":"send_invitations","href":"http://localhost:3000/send_invitations","prompt":"Send
64
71
  any pending invitations for a specified email address","data":[{"name":"email_address","value":null}]},{"rel":"welcome","href":"http://localhost:3000/welcome","prompt":"Send
65
72
  a welcome email to an unregistered user to start the registration process","data":[{"name":"email_address","value":null},{"name":"client_id","value":null},{"name":"redirect_uri","value":null}]},{"rel":"initiate_registration","href":"http://localhost:3000/initiate_registration","prompt":"Send
66
73
  a signup email to an unregistered user to start the registration process","data":[{"name":"email_address","value":null},{"name":"client_id","value":null},{"name":"redirect_uri","value":null}]}]}}'
67
74
  http_version: '1.1'
68
75
  adapter_metadata:
69
- effective_url: http://localhost:3000/?hmac_client_id=classic&hmac_nonce=a8b75355-2491-4e78-bafc-71205bc5bbd5&hmac_timestamp=1470941469
70
- recorded_at: Thu, 11 Aug 2016 18:51:09 GMT
71
- recorded_with: VCR 2.9.3
76
+ effective_url: http://localhost:3000/?hmac_client_id=classic_service&hmac_nonce=8128f31d-c6a7-4a0f-90a7-7a873142c025&hmac_timestamp=1590177532
77
+ recorded_at: Fri, 22 May 2020 19:58:53 GMT
78
+ recorded_with: VCR 5.1.0