teamsnap_rb 2.4.0 → 2.4.1
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 +4 -4
- data/.github/stale.yml +16 -0
- data/.gitignore +1 -1
- data/.travis.yml +5 -6
- data/CHANGELOG.md +7 -0
- data/Gemfile +1 -2
- data/README.md +0 -1
- data/Rakefile +0 -5
- data/lib/teamsnap.rb +5 -1
- data/lib/teamsnap/api.rb +2 -1
- data/lib/teamsnap/auth_middleware.rb +2 -0
- data/lib/teamsnap/response.rb +5 -1
- data/lib/teamsnap/version.rb +1 -1
- data/spec/cassettes/apiv3-init.yml +850 -236
- data/spec/cassettes/teamsnap__api/_run/when_creating/when_successful/can_parse_the_json.yml +73 -0
- data/spec/cassettes/teamsnap__api/_run/when_deleting/when_successful/handles_empty_response_body.yml +38 -0
- data/spec/cassettes/teamsnap__client/_api/Sends_the_proper_information_to_TeamSnap_Api_run.yml +87 -0
- 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
- data/spec/cassettes/teamsnap__client/when_calling_via_s_on_the_client/passes_them_to_the_faraday_client_using_method_missing.yml +24 -17
- data/spec/cassettes/teamsnap__client/when_specifying_a_headers_flag/correctly_sets_the_ghost_header_flag.yml +846 -232
- data/spec/cassettes/teamsnap__client/when_specifying_a_headers_flag/won_t_set_feature_headers_without_the_header_variable_present.yml +847 -232
- data/spec/cassettes/teamsnap__collection/_items/returns_all_items_for_a_base_collection.yml +68 -63
- data/spec/cassettes/teamsnap__collection/adds_find_if_search_is_available.yml +44 -27
- data/spec/cassettes/teamsnap__collection/adds_href_to_items.yml +132 -33
- data/spec/cassettes/teamsnap__collection/can_follow_plural_links.yml +421 -136
- data/spec/cassettes/teamsnap__collection/can_follow_singular_links.yml +175 -59
- data/spec/cassettes/teamsnap__collection/can_handle_links_with_no_data.yml +155 -53
- data/spec/cassettes/teamsnap__collection/handles_executing_an_action_via_commands.yml +132 -33
- data/spec/cassettes/teamsnap__collection/handles_executing_an_action_via_commands_with_multiple_params.yml +75 -35
- data/spec/cassettes/teamsnap__collection/handles_fetching_data_via_queries.yml +44 -27
- data/spec/cassettes/teamsnap__collection/handles_queries_with_no_data.yml +36 -22
- data/spec/cassettes/teamsnap__collection/raises_an_exception_if_find_returns_nothing.yml +36 -22
- 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
- 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
- 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
- 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
- data/spec/cassettes/teamsnap__structure/_create_collection_class/registers_new_classes_via_introspection_of_the_root_collection.yml +36 -22
- data/spec/cassettes/teamsnap__structure/_create_collection_class/sets_the_href_attribute_on_the_new_class.yml +36 -22
- data/spec/cassettes/teamsnap__structure/_init/has_all_classes_in_schema_loaded_except_for_exceptions_list_endpoints.yml +24 -17
- data/spec/cassettes/teamsnap_rb/_bulk_load/can_handle_an_empty_bulk_load.yml +16 -16
- data/spec/cassettes/teamsnap_rb/_bulk_load/can_handle_an_error_with_bulk_load_without_a_team_id.yml +14 -14
- data/spec/cassettes/teamsnap_rb/_bulk_load/can_use_bulk_load.yml +291 -103
- data/spec/cassettes/teamsnap_rb/_client_send/when_sent_a_known_via_/accepts_test_file_arg_when_creating_HMAC.yml +82 -2653
- data/spec/cassettes/teamsnap_rb/_client_send/when_sent_a_known_via_/calls_DELETE_on_the_given_client.yml +67 -2639
- data/spec/cassettes/teamsnap_rb/_client_send/when_sent_a_known_via_/calls_GET_on_the_given_client.yml +24 -17
- data/spec/cassettes/teamsnap_rb/_client_send/when_sent_a_known_via_/calls_PATCH_on_the_given_client.yml +67 -2639
- data/spec/cassettes/teamsnap_rb/_client_send/when_sent_a_known_via_/calls_POST_on_the_given_client.yml +67 -2639
- data/spec/cassettes/teamsnap_rb/_run/processes_the_response.yml +93 -65
- data/spec/cassettes/uploading_files/uploads_a_file.yml +130 -31
- data/spec/cassettes/uploading_files/uploads_a_tempfile.yml +130 -31
- data/spec/features/uploading_files_spec.rb +2 -2
- data/spec/spec_helper.rb +0 -13
- data/spec/teamsnap/apiv_spec.rb +49 -1
- data/spec/teamsnap/client_spec.rb +4 -4
- data/spec/teamsnap/collection_spec.rb +5 -5
- data/spec/teamsnap/item_spec.rb +1 -1
- data/spec/teamsnap/structure_spec.rb +2 -2
- data/spec/teamsnap_spec.rb +4 -4
- data/teamsnap_rb.gemspec +5 -5
- metadata +27 -14
@@ -2,15 +2,17 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://localhost:3000/?hmac_client_id=
|
5
|
+
uri: http://localhost:3000/?hmac_client_id=classic_service&hmac_nonce=1d21ab48-2e1f-426e-a394-0f6e2bad0fdb&hmac_timestamp=1590177527
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Faraday v0.
|
11
|
+
- Faraday v0.17.3
|
12
12
|
X-Teamsnap-Hmac:
|
13
|
-
-
|
13
|
+
- ef2a319010218ce35eebd91dfb4fa9e5c79748510e9ee0f8cab794c815442d60
|
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
|
-
-
|
26
|
+
- W/"0b2c3177c63fab206e8d8fcf7b62d01d"
|
27
27
|
Cache-Control:
|
28
28
|
- max-age=0, private, must-revalidate
|
29
29
|
X-Request-Id:
|
30
|
-
-
|
30
|
+
- 3f70990d-13d2-4760-b572-1f153cd952db
|
31
31
|
X-Runtime:
|
32
|
-
- '0.
|
33
|
-
|
34
|
-
-
|
35
|
-
|
36
|
-
-
|
32
|
+
- '0.401429'
|
33
|
+
Vary:
|
34
|
+
- Origin
|
35
|
+
Content-Length:
|
36
|
+
- '17540'
|
37
37
|
body:
|
38
38
|
encoding: UTF-8
|
39
|
-
string: '{"collection":{"version":"3.
|
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,25 +67,27 @@ 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=
|
70
|
-
recorded_at:
|
76
|
+
effective_url: http://localhost:3000/?hmac_client_id=classic_service&hmac_nonce=1d21ab48-2e1f-426e-a394-0f6e2bad0fdb&hmac_timestamp=1590177527
|
77
|
+
recorded_at: Fri, 22 May 2020 19:58:48 GMT
|
71
78
|
- request:
|
72
79
|
method: get
|
73
|
-
uri: http://localhost:3000/?hmac_client_id=
|
80
|
+
uri: http://localhost:3000/?hmac_client_id=classic_service&hmac_nonce=f52f703c-5840-4f09-97c3-c66fefff7a9e&hmac_timestamp=1590177528
|
74
81
|
body:
|
75
82
|
encoding: US-ASCII
|
76
83
|
string: ''
|
77
84
|
headers:
|
78
85
|
User-Agent:
|
79
|
-
- Faraday v0.
|
86
|
+
- Faraday v0.17.3
|
80
87
|
X-Teamsnap-Hmac:
|
81
|
-
-
|
88
|
+
- 4e90d578246b0dc538dad074eba91a6659773d1bca5ba8d98d478fdbd7c64401
|
89
|
+
Expect:
|
90
|
+
- ''
|
82
91
|
response:
|
83
92
|
status:
|
84
93
|
code: 200
|
@@ -86,25 +95,30 @@ http_interactions:
|
|
86
95
|
headers:
|
87
96
|
Content-Type:
|
88
97
|
- application/vnd.collection+json
|
89
|
-
Content-Length:
|
90
|
-
- '10278'
|
91
98
|
X-Content-Type-Options:
|
92
99
|
- nosniff
|
93
100
|
ETag:
|
94
|
-
-
|
101
|
+
- W/"0b2c3177c63fab206e8d8fcf7b62d01d"
|
95
102
|
Cache-Control:
|
96
103
|
- max-age=0, private, must-revalidate
|
97
104
|
X-Request-Id:
|
98
|
-
-
|
105
|
+
- f2d5b257-a014-4214-8ee5-eada827381f4
|
99
106
|
X-Runtime:
|
100
|
-
- '0.
|
101
|
-
|
102
|
-
-
|
103
|
-
|
104
|
-
-
|
107
|
+
- '0.441761'
|
108
|
+
Vary:
|
109
|
+
- Origin
|
110
|
+
Content-Length:
|
111
|
+
- '17540'
|
105
112
|
body:
|
106
113
|
encoding: UTF-8
|
107
|
-
string: '{"collection":{"version":"3.
|
114
|
+
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
|
115
|
+
is deprecated and will be removed in a future version, use authorization_root
|
116
|
+
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}
|
117
|
+
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
|
118
|
+
is deprecated and will be removed in a future version, use contact_email_addresses
|
119
|
+
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
|
120
|
+
is deprecated and will be removed in a future version, use contact_phone_numbers
|
121
|
+
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
|
108
122
|
a heterogeneous collection of the specified types for a specified team or
|
109
123
|
teams. Additional filters can be passed into requested types by passing them
|
110
124
|
in the url''s querystring as type__filter=value (i.e. ?event__start_date=2015-01-01).
|
@@ -128,25 +142,27 @@ http_interactions:
|
|
128
142
|
returned."},{"name":"types","value":null,"prompt":"A comma separated list
|
129
143
|
of singular types that you want returned. You may also specify a query by
|
130
144
|
proceeding the type with a ''__<query_name>''. For instance ''member__personas''
|
131
|
-
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
|
145
|
+
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
|
132
146
|
any pending invitations for a specified email address","data":[{"name":"email_address","value":null}]},{"rel":"welcome","href":"http://localhost:3000/welcome","prompt":"Send
|
133
147
|
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
|
134
148
|
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}]}]}}'
|
135
149
|
http_version: '1.1'
|
136
150
|
adapter_metadata:
|
137
|
-
effective_url: http://localhost:3000/?hmac_client_id=
|
138
|
-
recorded_at:
|
151
|
+
effective_url: http://localhost:3000/?hmac_client_id=classic_service&hmac_nonce=f52f703c-5840-4f09-97c3-c66fefff7a9e&hmac_timestamp=1590177528
|
152
|
+
recorded_at: Fri, 22 May 2020 19:58:48 GMT
|
139
153
|
- request:
|
140
154
|
method: get
|
141
|
-
uri: http://localhost:3000/?hmac_client_id=
|
155
|
+
uri: http://localhost:3000/?hmac_client_id=classic_service&hmac_nonce=45a3483a-dc0f-4495-92b6-d92fa5b56034&hmac_timestamp=1590177528
|
142
156
|
body:
|
143
157
|
encoding: US-ASCII
|
144
158
|
string: ''
|
145
159
|
headers:
|
146
160
|
User-Agent:
|
147
|
-
- Faraday v0.
|
161
|
+
- Faraday v0.17.3
|
148
162
|
X-Teamsnap-Hmac:
|
149
|
-
-
|
163
|
+
- b0e29f50297f61b5313efb286ea100a682cadbc3f45bc0a8415ce7cf2a058a29
|
164
|
+
Expect:
|
165
|
+
- ''
|
150
166
|
response:
|
151
167
|
status:
|
152
168
|
code: 200
|
@@ -154,25 +170,30 @@ http_interactions:
|
|
154
170
|
headers:
|
155
171
|
Content-Type:
|
156
172
|
- application/vnd.collection+json
|
157
|
-
Content-Length:
|
158
|
-
- '10278'
|
159
173
|
X-Content-Type-Options:
|
160
174
|
- nosniff
|
161
175
|
ETag:
|
162
|
-
-
|
176
|
+
- W/"0b2c3177c63fab206e8d8fcf7b62d01d"
|
163
177
|
Cache-Control:
|
164
178
|
- max-age=0, private, must-revalidate
|
165
179
|
X-Request-Id:
|
166
|
-
-
|
180
|
+
- ae54e739-e94f-4a77-a0b9-2781cacd7311
|
167
181
|
X-Runtime:
|
168
|
-
- '0.
|
169
|
-
|
170
|
-
-
|
171
|
-
|
172
|
-
-
|
182
|
+
- '0.410640'
|
183
|
+
Vary:
|
184
|
+
- Origin
|
185
|
+
Content-Length:
|
186
|
+
- '17540'
|
173
187
|
body:
|
174
188
|
encoding: UTF-8
|
175
|
-
string: '{"collection":{"version":"3.
|
189
|
+
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
|
190
|
+
is deprecated and will be removed in a future version, use authorization_root
|
191
|
+
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}
|
192
|
+
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
|
193
|
+
is deprecated and will be removed in a future version, use contact_email_addresses
|
194
|
+
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
|
195
|
+
is deprecated and will be removed in a future version, use contact_phone_numbers
|
196
|
+
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
|
176
197
|
a heterogeneous collection of the specified types for a specified team or
|
177
198
|
teams. Additional filters can be passed into requested types by passing them
|
178
199
|
in the url''s querystring as type__filter=value (i.e. ?event__start_date=2015-01-01).
|
@@ -196,25 +217,27 @@ http_interactions:
|
|
196
217
|
returned."},{"name":"types","value":null,"prompt":"A comma separated list
|
197
218
|
of singular types that you want returned. You may also specify a query by
|
198
219
|
proceeding the type with a ''__<query_name>''. For instance ''member__personas''
|
199
|
-
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
|
220
|
+
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
|
200
221
|
any pending invitations for a specified email address","data":[{"name":"email_address","value":null}]},{"rel":"welcome","href":"http://localhost:3000/welcome","prompt":"Send
|
201
222
|
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
|
202
223
|
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}]}]}}'
|
203
224
|
http_version: '1.1'
|
204
225
|
adapter_metadata:
|
205
|
-
effective_url: http://localhost:3000/?hmac_client_id=
|
206
|
-
recorded_at:
|
226
|
+
effective_url: http://localhost:3000/?hmac_client_id=classic_service&hmac_nonce=45a3483a-dc0f-4495-92b6-d92fa5b56034&hmac_timestamp=1590177528
|
227
|
+
recorded_at: Fri, 22 May 2020 19:58:49 GMT
|
207
228
|
- request:
|
208
229
|
method: get
|
209
|
-
uri: http://localhost:3000/?hmac_client_id=
|
230
|
+
uri: http://localhost:3000/?hmac_client_id=classic_service&hmac_nonce=526d24d5-92cd-4ae1-b8a0-006414b94bc6&hmac_timestamp=1590177529
|
210
231
|
body:
|
211
232
|
encoding: US-ASCII
|
212
233
|
string: ''
|
213
234
|
headers:
|
214
235
|
User-Agent:
|
215
|
-
- Faraday v0.
|
236
|
+
- Faraday v0.17.3
|
216
237
|
X-Teamsnap-Hmac:
|
217
|
-
-
|
238
|
+
- 4c819c8344a97d4c08bb80a54d749d5440447246aef2e79f091c6ceb42d8eaa5
|
239
|
+
Expect:
|
240
|
+
- ''
|
218
241
|
response:
|
219
242
|
status:
|
220
243
|
code: 200
|
@@ -222,25 +245,30 @@ http_interactions:
|
|
222
245
|
headers:
|
223
246
|
Content-Type:
|
224
247
|
- application/vnd.collection+json
|
225
|
-
Content-Length:
|
226
|
-
- '10278'
|
227
248
|
X-Content-Type-Options:
|
228
249
|
- nosniff
|
229
250
|
ETag:
|
230
|
-
-
|
251
|
+
- W/"0b2c3177c63fab206e8d8fcf7b62d01d"
|
231
252
|
Cache-Control:
|
232
253
|
- max-age=0, private, must-revalidate
|
233
254
|
X-Request-Id:
|
234
|
-
-
|
255
|
+
- f7cd512d-0876-4adc-8e5f-8132b48013df
|
235
256
|
X-Runtime:
|
236
|
-
- '0.
|
237
|
-
|
238
|
-
-
|
239
|
-
|
240
|
-
-
|
257
|
+
- '0.373355'
|
258
|
+
Vary:
|
259
|
+
- Origin
|
260
|
+
Content-Length:
|
261
|
+
- '17540'
|
241
262
|
body:
|
242
263
|
encoding: UTF-8
|
243
|
-
string: '{"collection":{"version":"3.
|
264
|
+
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
|
265
|
+
is deprecated and will be removed in a future version, use authorization_root
|
266
|
+
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}
|
267
|
+
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
|
268
|
+
is deprecated and will be removed in a future version, use contact_email_addresses
|
269
|
+
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
|
270
|
+
is deprecated and will be removed in a future version, use contact_phone_numbers
|
271
|
+
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
|
244
272
|
a heterogeneous collection of the specified types for a specified team or
|
245
273
|
teams. Additional filters can be passed into requested types by passing them
|
246
274
|
in the url''s querystring as type__filter=value (i.e. ?event__start_date=2015-01-01).
|
@@ -264,12 +292,12 @@ http_interactions:
|
|
264
292
|
returned."},{"name":"types","value":null,"prompt":"A comma separated list
|
265
293
|
of singular types that you want returned. You may also specify a query by
|
266
294
|
proceeding the type with a ''__<query_name>''. For instance ''member__personas''
|
267
|
-
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
|
295
|
+
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
|
268
296
|
any pending invitations for a specified email address","data":[{"name":"email_address","value":null}]},{"rel":"welcome","href":"http://localhost:3000/welcome","prompt":"Send
|
269
297
|
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
|
270
298
|
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}]}]}}'
|
271
299
|
http_version: '1.1'
|
272
300
|
adapter_metadata:
|
273
|
-
effective_url: http://localhost:3000/?hmac_client_id=
|
274
|
-
recorded_at:
|
275
|
-
recorded_with: VCR
|
301
|
+
effective_url: http://localhost:3000/?hmac_client_id=classic_service&hmac_nonce=526d24d5-92cd-4ae1-b8a0-006414b94bc6&hmac_timestamp=1590177529
|
302
|
+
recorded_at: Fri, 22 May 2020 19:58:49 GMT
|
303
|
+
recorded_with: VCR 5.1.0
|
@@ -5,12 +5,14 @@ http_interactions:
|
|
5
5
|
uri: http://localhost:3000/members/upload_member_photo
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
|
-
string: member_id=6&file=teamsnap.png=application/octet-stream=/Users/
|
8
|
+
string: member_id=6&file=teamsnap.png=application/octet-stream=/Users/ryanwi/dev/teamsnap/teamsnap_rb/support/teamsnap.png
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Faraday v0.
|
11
|
+
- Faraday v0.17.3
|
12
12
|
Authorization:
|
13
13
|
- Bearer 7-js_frontend-dont_tell_the_cops
|
14
|
+
Expect:
|
15
|
+
- ''
|
14
16
|
response:
|
15
17
|
status:
|
16
18
|
code: 200
|
@@ -18,58 +20,155 @@ http_interactions:
|
|
18
20
|
headers:
|
19
21
|
Content-Type:
|
20
22
|
- application/vnd.collection+json
|
21
|
-
Content-Length:
|
22
|
-
- '12779'
|
23
23
|
X-Content-Type-Options:
|
24
24
|
- nosniff
|
25
25
|
ETag:
|
26
|
-
-
|
26
|
+
- W/"30ca288304ca464eefd198c8e0bec7cd"
|
27
27
|
Cache-Control:
|
28
28
|
- max-age=0, private, must-revalidate
|
29
29
|
X-Request-Id:
|
30
|
-
-
|
30
|
+
- 1e28583f-3db8-4e32-9852-e8363268be86
|
31
31
|
X-Runtime:
|
32
|
-
- '3.
|
33
|
-
|
34
|
-
-
|
35
|
-
|
36
|
-
-
|
32
|
+
- '3.473749'
|
33
|
+
Vary:
|
34
|
+
- Origin
|
35
|
+
Content-Length:
|
36
|
+
- '24730'
|
37
37
|
body:
|
38
38
|
encoding: UTF-8
|
39
|
-
string: '{"collection":{"version":"3.
|
39
|
+
string: '{"collection":{"version":"3.854.0","href":"http://localhost:3000/members","rel":"members","template":{"data":[{"name":"first_name","value":null},{"name":"last_name","value":null},{"name":"gender","value":null},{"name":"position","value":null},{"name":"is_manager","value":null},{"name":"birthday","value":null},{"name":"hide_age","value":null,"deprecated":true,"prompt":"hide_age
|
40
40
|
is deprecated and will be removed in a future version, use is_age_hidden instead."},{"name":"is_age_hidden","value":null},{"name":"hide_address","value":null,"deprecated":true,"prompt":"hide_address
|
41
41
|
is deprecated and will be removed in a future version, use is_address_hidden
|
42
|
-
instead."},{"name":"is_address_hidden","value":null},{"name":"is_non_player","value":null},{"name":"address_street1","value":null},{"name":"address_street2","value":null},{"name":"address_city","value":null},{"name":"address_state","value":null},{"name":"address_zip","value":null},{"name":"jersey_number","value":null},{"name":"team_id","value":null},{"name":"is_ownership_pending","value":null},{"name":"type","value":"member"}]},"links":[{"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":"custom_data","href":"http://localhost:3000/custom_data"},{"rel":"custom_fields","href":"http://localhost:3000/custom_fields"},{"rel":"
|
42
|
+
instead."},{"name":"is_address_hidden","value":null},{"name":"is_non_player","value":null},{"name":"address_street1","value":null},{"name":"address_street2","value":null},{"name":"address_city","value":null},{"name":"address_state","value":null},{"name":"address_zip","value":null},{"name":"jersey_number","value":null},{"name":"team_id","value":null},{"name":"is_ownership_pending","value":null},{"name":"source_action","value":null},{"name":"type","value":"member"}]},"links":[{"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":"custom_data","href":"http://localhost:3000/custom_data"},{"rel":"custom_fields","href":"http://localhost:3000/custom_fields"},{"rel":"division","href":"http://localhost:3000/divisions"},{"rel":"league_custom_data","href":"http://localhost:3000/league_custom_data"},{"rel":"league_custom_fields","href":"http://localhost:3000/league_custom_fields"},{"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":"league_registrant_documents","href":"http://localhost:3000/league_registrant_documents"},{"rel":"member_assignments","href":"http://localhost:3000/member_assignments"},{"rel":"member_balances","href":"http://localhost:3000/member_balances"},{"rel":"member_email_addresses","href":"http://localhost:3000/member_email_addresses","prompt":"member_email_addresses
|
43
|
+
is deprecated and has been removed. Continued use of member_email_addresses
|
44
|
+
is not recommended it will no longer be stored."},{"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 has been removed. Continued use of member_phone_numbers
|
46
|
+
is not recommended it will no longer be stored."},{"rel":"member_preferences","href":"http://localhost:3000/members_preferences"},{"rel":"member_registration_signups","href":"http://localhost:3000/member_registration_signups"},{"rel":"member_statistics","href":"http://localhost:3000/member_statistics"},{"rel":"message_data","href":"http://localhost:3000/message_data"},{"rel":"messages","href":"http://localhost:3000/messages"},{"rel":"statistic_data","href":"http://localhost:3000/statistic_data"},{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"team_media","href":"http://localhost:3000/team_media"},{"rel":"team_medium_comments","href":"http://localhost:3000/team_medium_comments"},{"rel":"tracked_item_statuses","href":"http://localhost:3000/tracked_item_statuses"},{"rel":"user","href":"http://localhost:3000/users"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/members/upload_member_photo"}],"queries":[{"rel":"search","href":"http://localhost:3000/members/search","data":[{"name":"division_id","value":null},{"name":"team_id","value":null},{"name":"user_id","value":null},{"name":"id","value":null},{"name":"can_receive_push_notifications","value":null},{"name":"page_size","value":null,"prompt":"The
|
43
47
|
number of items to return for each page. Sending this parameter with the query
|
44
48
|
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
45
49
|
number of the page to be returned. This requires that paging be turned on
|
46
50
|
by also providing the page_size parameter."}]},{"rel":"managers","href":"http://localhost:3000/members/managers","data":[{"name":"team_id","value":null}]},{"rel":"personas","href":"http://localhost:3000/members/personas","prompt":"Given
|
47
51
|
a user ID, returns members directly associated with the user as well as members
|
48
|
-
associated with the user via a shared access contact.","data":[{"name":"user_id","value":null}]},{"rel":"owner","href":"http://localhost:3000/members/owner","data":[{"name":"team_id","value":null}]},{"rel":"commissioners","href":"http://localhost:3000/members/commissioners","prompt":"
|
49
|
-
|
50
|
-
|
51
|
-
that the team is in.","data":[{"name":"team_id","value":null},{"name":"division_id","value":null}]},{"rel":"importable_members","href":"http://localhost:3000/members/importable_members","prompt":"Given
|
52
|
+
associated with the user via a shared access contact.","data":[{"name":"user_id","value":null}]},{"rel":"owner","href":"http://localhost:3000/members/owner","data":[{"name":"team_id","value":null}]},{"rel":"commissioners","href":"http://localhost:3000/members/commissioners","prompt":"Given
|
53
|
+
a a team_id or division_id, returns all members that are commissioners of
|
54
|
+
the divisions that the team is in.","data":[{"name":"team_id","value":null},{"name":"division_id","value":null}]},{"rel":"importable_members","href":"http://localhost:3000/members/importable_members","prompt":"Given
|
52
55
|
a user ID, returns all members associated with user''s active season teams. If
|
53
56
|
include_archived_teams (boolean) parameter is supplied, members associated
|
54
|
-
with archived teams will be returned as well.","data":[{"name":"user_id","value":null},{"name":"include_archived_teams","value":null}]}
|
57
|
+
with archived teams will be returned as well.","data":[{"name":"user_id","value":null},{"name":"include_archived_teams","value":null}]},{"rel":"division_search","href":"http://localhost:3000/members/division_search","prompt":"Searches
|
58
|
+
the division and subdivision for the members meeting the search criteria.","data":[{"name":"division_id","value":null,"prompt":"Id
|
59
|
+
of the division and descendants to search"},{"name":"is_unassigned","value":null,"prompt":"true/false
|
60
|
+
- For all members in a division that aren''t assigned to a team. Not used
|
61
|
+
if blank."},{"name":"is_activated","value":null,"prompt":"true/false - For
|
62
|
+
all members in a division that have a user. Not used if blank."},{"name":"is_commissioner","value":null,"prompt":"true/false
|
63
|
+
- For all members in a division that are or are not a commissioner. Not used
|
64
|
+
if blank."},{"name":"is_ownership_pending","value":null,"prompt":"true/false
|
65
|
+
- Find all members in a division that are or are not pending ownership. Not
|
66
|
+
used if blank."},{"name":"page_size","value":null,"prompt":"The number of
|
67
|
+
items to return for each page. Sending this parameter with the query will
|
68
|
+
enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
69
|
+
number of the page to be returned. This requires that paging be turned on
|
70
|
+
by also providing the page_size parameter."}]},{"rel":"advanced_division_search","href":"http://localhost:3000/members/advanced_division_search","prompt":"Searches
|
71
|
+
the division and subdivision for the members meeting the search criteria.
|
72
|
+
Searches using this endpoint accept additional parameters. You can search
|
73
|
+
for equality by formatting the string as ''operator:equals,value:<SEARCH STRING>''.
|
74
|
+
You can also search inquality by using not_equals as ''operator:not_equals,value:<SEARCH
|
75
|
+
STRING>''. You may search for additional parameters by sending them as an
|
76
|
+
array, for instance: ?birthday[]=operator:less_than,value:2016-02-02&birthday[]=operator:greater_than,value:2010-02-02.
|
77
|
+
Other operators are less_than_or_equal and greater_than_or_equal","data":[{"name":"division_id","value":null,"prompt":"Id
|
78
|
+
of the division and descendants to search"},{"name":"id","value":null,"prompt":"Id
|
79
|
+
of the member to search"},{"name":"user_id","value":null,"prompt":"Id of the
|
80
|
+
user to search"},{"name":"is_commissioner","value":null,"prompt":"true/false
|
81
|
+
- For all members in a division that are or are not a commissioner. Not used
|
82
|
+
if blank."},{"name":"birthday","value":null,"prompt":"date - Accepts advanced
|
83
|
+
search operators ''less_than'' and ''greater_than''."},{"name":"team_id","value":null,"prompt":"integer
|
84
|
+
- Find all members in a division with the specified team_id(s)."},{"name":"is_coach","value":null,"prompt":"true/false
|
85
|
+
- Find all members in a division that are or are not a coach. Not used if
|
86
|
+
blank."},{"name":"is_manager","value":null,"prompt":"true/false - Find all
|
87
|
+
members in a division that are or are not a team manager. Not used if blank."},{"name":"is_non_player","value":null,"prompt":"true/false
|
88
|
+
- Find all members in a division that are or are not a players. Not used if
|
89
|
+
blank."},{"name":"is_owner","value":null,"prompt":"true/false - Find all members
|
90
|
+
in a division that are or are not owners. Not used if blank."},{"name":"is_ownership_pending","value":null,"prompt":"true/false
|
91
|
+
- Find all members in a division that are or are not pending ownership. Not
|
92
|
+
used if blank."},{"name":"gender","value":null,"prompt":"Male/Female - Find
|
93
|
+
all members in a division with the specified gender."},{"name":"first_name","value":null,"prompt":"string
|
94
|
+
- Accepts advanced search operators ''equals'', ''contains'' and ''starts_with''."},{"name":"last_name","value":null,"prompt":"string
|
95
|
+
- Accepts advanced search operators ''equals'', ''contains'' and ''starts_with''."},{"name":"email","value":null,"prompt":"string
|
96
|
+
- Accepts advanced search operators ''equals'', ''contains'' and ''starts_with''."},{"name":"custom_field","value":null,"prompt":"string
|
97
|
+
- Required advanced search parameter of ''id'' that should be the id of the
|
98
|
+
custom field to be searched on. Accepts advanced search operators ''equals'',
|
99
|
+
''contains'' and ''starts_with''."},{"name":"registration_form_id","value":null,"prompt":"string
|
100
|
+
- Find all members in a division with the specified registration_form_id."},{"name":"registration_form_line_item_id","value":null,"prompt":"string
|
101
|
+
- Find all members in a division who have selected the specified registration_form_line_item_id."},{"name":"registration_form_line_item_option_id","value":null,"prompt":"string
|
102
|
+
- Find all members in a division who have selected a given registration_form_line_item_option_id."},{"name":"is_assigned","value":null,"prompt":"true/false
|
103
|
+
- For all members in a division that are assigned to a team. Not used if blank."},{"name":"is_activated","value":null,"prompt":"true/false
|
104
|
+
- For all members in a division that have a user. Not used if blank."},{"name":"checkout_type","value":null,"prompt":"string
|
105
|
+
- Search for a registration checkout type. Valid values are: \"1\" - In Progress,
|
106
|
+
\"2\" - Pay Now, \"3\" - Installment Plan, \"4\" - Pay Offline, \"5\" - No
|
107
|
+
Fees"},{"name":"signup_status","value":null,"prompt":"string - Search for
|
108
|
+
a registration based on it''s signup status. Value values are: \"authorized\"
|
109
|
+
- Authorized, \"refunded\" - Refunded, \"failed\" - Failed, \"active\" - Active,
|
110
|
+
\"canceled\" - Canceled, \"charged_back\" - Charged Back, \"on_checkout\"
|
111
|
+
- On Checkout, \"paid\" - Paid"},{"name":"search_subdivisions","value":null,"prompt":"true/false
|
112
|
+
- Search all the subdivisions of the division provided. True by default."},{"name":"batch_invoice_id","value":null,"prompt":"Id
|
113
|
+
of batch invoice to search"},{"name":"invoice_status","value":null,"prompt":"string
|
114
|
+
- Search for all members based on a selected batch_invoice_id invoice status,
|
115
|
+
valid values are: \"open\", \"submitted\", \"pending\", \"paid\", \"canceled\""},{"name":"pending_assignments","value":null,"prompt":"string
|
116
|
+
- Search pending assignments for members. \"include\", \"exclude\", \"only\".
|
117
|
+
\"exclude\" is the default"},{"name":"page_size","value":null,"prompt":"The
|
118
|
+
number of items to return for each page. Sending this parameter with the query
|
119
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
120
|
+
number of the page to be returned. This requires that paging be turned on
|
121
|
+
by also providing the page_size parameter."}]}],"commands":[{"rel":"disable_member","href":"http://localhost:3000/members/disable_member","data":[{"name":"member_id","value":null}]},{"rel":"upload_member_photo","href":"http://localhost:3000/members/upload_member_photo","data":[{"name":"member_id","value":null},{"name":"file","value":null},{"name":"x","value":null},{"name":"y","value":null},{"name":"width","value":null},{"name":"height","value":null}]},{"rel":"remove_member_photo","href":"http://localhost:3000/members/remove_member_photo","data":[{"name":"member_id","value":null}]},{"rel":"set_commissioner_access","href":"http://localhost:3000/members/set_commissioner_access","data":[{"name":"member_id","value":null},{"name":"division_id","value":null}]},{"rel":"generate_member_thumbnail","href":"http://localhost:3000/members/generate_member_thumbnail","data":[{"name":"member_id","value":null},{"name":"x","value":null},{"name":"y","value":null},{"name":"width","value":null},{"name":"height","value":null}]},{"rel":"import_from_team","href":"http://localhost:3000/members/import_from_team","prompt":"Given
|
55
122
|
source_member_ids (array) and a destination_team_id, source members and related
|
56
123
|
member data will be imported to the destination team. Newly created members
|
57
124
|
will be returned.","data":[{"name":"source_member_ids","value":null},{"name":"destination_team_id","value":null},{"name":"send_invites","value":null,"prompt":"Whether
|
58
125
|
or not to create and send invitations for each imported member. Valid values
|
59
|
-
are either ''true'' or ''false'' and will default to ''false''"}]},{"rel":"
|
60
|
-
|
61
|
-
the
|
62
|
-
of the
|
63
|
-
|
64
|
-
|
65
|
-
|
126
|
+
are either ''true'' or ''false'' and will default to ''false''"}]},{"rel":"bulk_delete","href":"http://localhost:3000/members/bulk_delete","prompt":"Delete
|
127
|
+
one or many members.","data":[{"name":"member_id","value":null,"prompt":"The
|
128
|
+
id of the member to be deleted, this can either be passed as a comma-delimited
|
129
|
+
list of integers or as an array if the post data is JSON."}]},{"rel":"move_member","href":"http://localhost:3000/members/move_member","prompt":"Move
|
130
|
+
one or many members to a new division and/or team.","data":[{"name":"member_id","value":null,"prompt":"The
|
131
|
+
id of the member or members to be moved, this can either be passed as a comma-delimited
|
132
|
+
list of integers or as an array if the post data is JSON."},{"name":"division_id","value":null},{"name":"team_id","value":null},{"name":"pending","value":null}]},{"rel":"move_pending_member","href":"http://localhost:3000/members/move_pending_member","prompt":"Move
|
133
|
+
one or many pending members to their division and/or team.","data":[{"name":"member_id","value":null,"prompt":"The
|
134
|
+
id of the pending member or pending members to be moved, this can either be
|
135
|
+
passed as a comma-delimited list of integers or as an array if the post data
|
136
|
+
is JSON."},{"name":"division_id","value":null,"prompt":"The id of the division
|
137
|
+
or divisions to determine pending members, this can either be passed as a
|
138
|
+
comma-delimited list of integers or as an array if the post data is JSON."},{"name":"team_id","value":null,"prompt":"The
|
139
|
+
id of the team or teams to determine pending members, this can either be passed
|
140
|
+
as a comma-delimited list of integers or as an array if the post data is JSON."}]},{"rel":"delete_pending_member","href":"http://localhost:3000/members/delete_pending_member","prompt":"Delete
|
141
|
+
one or many pending members from a division and/or team.","data":[{"name":"member_id","value":null,"prompt":"The
|
142
|
+
id of the pending member or pending members to be moved, this can either be
|
143
|
+
passed as a comma-delimited list of integers or as an array if the post data
|
144
|
+
is JSON."},{"name":"division_id","value":null,"prompt":"The id of the division
|
145
|
+
or divisions to determine pending members, this can either be passed as a
|
146
|
+
comma-delimited list of integers or as an array if the post data is JSON."},{"name":"team_id","value":null,"prompt":"The
|
147
|
+
id of the team or teams to determine pending members, this can either be passed
|
148
|
+
as a comma-delimited list of integers or as an array if the post data is JSON."}]}],"items":[{"href":"http://localhost:3000/members/6","data":[{"name":"id","value":6,"type":"String"},{"name":"type","value":"member","type":"String"},{"name":"address_city","value":null,"type":"String"},{"name":"address_state","value":null,"type":"String"},{"name":"address_street1","value":null,"type":"String"},{"name":"address_street2","value":null,"type":"String"},{"name":"address_zip","value":null,"type":"String"},{"name":"birthday","value":"","type":"String"},{"name":"division_id","value":1,"type":"String"},{"name":"first_name","value":"Reggie","type":"String"},{"name":"gender","value":null,"type":"String"},{"name":"has_facebook_post_scores_enabled","value":false,"type":"Boolean","deprecated":true,"prompt":"has_facebook_post_scores_enabled
|
149
|
+
is deprecated and has been removed. Continued use of has_facebook_post_scores_enabled
|
150
|
+
is not recommended it will no longer be stored."},{"name":"hide_address","value":null,"type":"Boolean","deprecated":true,"prompt":"hide_address
|
66
151
|
is deprecated and will be removed in a future version, use is_address_hidden
|
67
|
-
instead."},{"name":"is_address_hidden","value":null},{"name":"hide_age","value":null,"deprecated":true,"prompt":"hide_age
|
68
|
-
is deprecated and will be removed in a future version, use is_age_hidden instead."},{"name":"is_age_hidden","value":null
|
69
|
-
is deprecated and
|
70
|
-
|
152
|
+
instead."},{"name":"is_address_hidden","value":null,"type":"Boolean"},{"name":"hide_age","value":null,"type":"Boolean","deprecated":true,"prompt":"hide_age
|
153
|
+
is deprecated and will be removed in a future version, use is_age_hidden instead."},{"name":"is_age_hidden","value":null,"type":"Boolean"},{"name":"invitation_code","value":null,"type":"String","deprecated":true,"prompt":"invitation_code
|
154
|
+
is deprecated and will be removed in a future version, use is_invited instead."},{"name":"invitation_declined","value":null,"type":"Boolean","deprecated":true,"prompt":"%{old}
|
155
|
+
is deprecated and will be removed in a future version, use %{new} instead."},{"name":"is_activated","value":true,"type":"Boolean"},{"name":"is_commissioner","value":false,"type":"Boolean"},{"name":"is_league_owner","value":false,"type":"Boolean"},{"name":"is_pushable","value":false,"type":"Boolean"},{"name":"is_selectable_for_chat","value":false,"type":"Boolean","deprecated":true,"prompt":"is_selectable_for_chat
|
156
|
+
is deprecated and has been removed. Continued use of is_selectable_for_chat
|
157
|
+
is not recommended it will no longer be stored."},{"name":"is_shown_unreachable_for_chat_banner","value":true,"type":"Boolean"},{"name":"is_alertable","value":false,"type":"Boolean"},{"name":"is_emailable","value":false,"type":"Boolean"},{"name":"is_invitable","value":false,"type":"Boolean","deprecated":true,"prompt":"is_invitable
|
158
|
+
is deprecated and has been removed. Continued use of is_invitable is not
|
159
|
+
recommended it will no longer be stored."},{"name":"is_invited","value":false,"type":"Boolean","deprecated":true,"prompt":"is_invited
|
160
|
+
is deprecated and has been removed. Continued use of is_invited is not recommended
|
161
|
+
it will no longer be stored."},{"name":"is_coach","value":false,"type":"Boolean"},{"name":"is_manager","value":false,"type":"Boolean"},{"name":"is_non_player","value":false,"type":"Boolean"},{"name":"is_owner","value":false,"type":"Boolean"},{"name":"is_ownership_pending","value":null,"type":"Boolean"},{"name":"is_pending","value":false,"type":"Boolean"},{"name":"is_editable","value":false,"type":"Boolean"},{"name":"is_deletable","value":false,"type":"Boolean"},{"name":"jersey_number","value":null,"type":"String"},{"name":"last_logged_in_at","value":null,"type":"DateTime","deprecated":true,"prompt":"last_logged_in_at
|
162
|
+
is deprecated and has been removed. Continued use of last_logged_in_at is
|
163
|
+
not recommended it will no longer be stored."},{"name":"last_name","value":"Player","type":"String"},{"name":"position","value":null,"type":"String"},{"name":"pending_team_id","value":null,"type":"String"},{"name":"pending_division_id","value":null,"type":"String"},{"name":"registration_form_id","value":1,"type":"String"},{"name":"team_id","value":null,"type":"String"},{"name":"user_id","value":7,"type":"String","deprecated":true,"prompt":"user_id
|
164
|
+
is deprecated and has been removed. Continued use of user_id is not recommended
|
165
|
+
it will no longer be stored."},{"name":"person_uuid","value":null,"type":"String"},{"name":"role_uuid","value":null,"type":"String"},{"name":"updated_at","value":"2020-05-22T19:58:47Z","type":"DateTime"},{"name":"created_at","value":"2020-05-22T19:56:09Z","type":"DateTime"},{"name":"source_member_id","value":null,"type":"String"},{"name":"phone_numbers","value":[],"type":"Array[String]"},{"name":"email_addresses","value":[],"type":"Array[String]"}],"links":[{"rel":"assignments","href":"http://localhost:3000/assignments/search?member_id=6"},{"rel":"availabilities","href":"http://localhost:3000/availabilities/search?member_id=6"},{"rel":"broadcast_email_attachments","href":"http://localhost:3000/broadcast_email_attachments/search?member_id=6"},{"rel":"broadcast_emails","href":"http://localhost:3000/broadcast_emails/search?member_id=6"},{"rel":"broadcast_alerts","href":"http://localhost:3000/broadcast_alerts/search?member_id=6"},{"rel":"contact_email_addresses","href":"http://localhost:3000/contact_email_addresses/search?member_id=6"},{"rel":"contact_phone_numbers","href":"http://localhost:3000/contact_phone_numbers/search?member_id=6"},{"rel":"contacts","href":"http://localhost:3000/contacts/search?member_id=6"},{"rel":"custom_data","href":"http://localhost:3000/custom_data/search?member_id=6"},{"rel":"custom_fields","href":"http://localhost:3000/custom_fields/search?"},{"rel":"division","href":"http://localhost:3000/divisions/1"},{"rel":"invoice_recipients_invoices_aggregates","href":"http://localhost:3000/invoice_recipients_invoices_aggregates/search?member_id=6"},{"rel":"league_custom_data","href":"http://localhost:3000/league_custom_data/search?member_id=6"},{"rel":"league_custom_fields","href":"http://localhost:3000/league_custom_fields/search?"},{"rel":"forum_posts","href":"http://localhost:3000/forum_posts/search?member_id=6"},{"rel":"forum_subscriptions","href":"http://localhost:3000/forum_subscriptions/search?member_id=6"},{"rel":"forum_topics","href":"http://localhost:3000/forum_topics/search?"},{"rel":"league_registrant_documents","href":"http://localhost:3000/league_registrant_documents/search?member_id=6"},{"rel":"member_assignments","href":"http://localhost:3000/member_assignments/search?member_id=6"},{"rel":"member_balances","href":"http://localhost:3000/member_balances/search?member_id=6"},{"rel":"member_email_addresses","href":"http://localhost:3000/member_email_addresses/search?member_id=6","prompt":"member_email_addresses
|
166
|
+
is deprecated and has been removed. Continued use of member_email_addresses
|
167
|
+
is not recommended it will no longer be stored."},{"rel":"member_files","href":"http://localhost:3000/member_files/search?member_id=6"},{"rel":"member_links","href":"http://localhost:3000/member_links/search?member_id=6"},{"rel":"member_payments","href":"http://localhost:3000/member_payments/search?member_id=6"},{"rel":"member_phone_numbers","href":"http://localhost:3000/member_phone_numbers/search?member_id=6","prompt":"member_phone_numbers
|
168
|
+
is deprecated and has been removed. Continued use of member_phone_numbers
|
169
|
+
is not recommended it will no longer be stored."},{"rel":"member_photo","href":"http://9720728c11b014fc3f7c-401599d8c2efd31ed32bcf970d759503.r67.cf1.rackcdn.com/roster_full_photos/6/original/df7c620a-4a8c-4901-9206-4e5d947ec106.png"},{"rel":"member_photo_file","href":"http://localhost:3000/member_photo_files/6-1590177526"},{"rel":"member_photos","href":"http://localhost:3000/member_photos/search?member_id=6"},{"rel":"member_preferences","href":"http://localhost:3000/members_preferences/6"},{"rel":"member_registration_signups","href":"http://localhost:3000/member_registration_signups/search?member_id=6"},{"rel":"member_statistics","href":"http://localhost:3000/member_statistics/search?member_id=6"},{"rel":"member_thumbnail","href":"http://9720728c11b014fc3f7c-401599d8c2efd31ed32bcf970d759503.r67.cf1.rackcdn.com/roster_thumb_photos/6/thumb/df7c620a-4a8c-4901-9206-4e5d947ec106.png"},{"rel":"message_data","href":"http://localhost:3000/message_data/search?member_id=6"},{"rel":"messages","href":"http://localhost:3000/messages/search?member_id=6"},{"rel":"registration_form","href":"http://localhost:3000/registration_forms/1"},{"rel":"statistic_data","href":"http://localhost:3000/statistic_data/search?member_id=6"},{"rel":"team","href":"http://localhost:3000/teams/"},{"rel":"team_media","href":"http://localhost:3000/team_media/search?member_id=6"},{"rel":"team_medium_comments","href":"http://localhost:3000/team_medium_comments/search?member_id=6"},{"rel":"tracked_item_statuses","href":"http://localhost:3000/tracked_item_statuses/search?member_id=6"},{"rel":"user","href":"http://localhost:3000/users/7"}],"rel":"member-6"}]}}'
|
71
170
|
http_version: '1.1'
|
72
171
|
adapter_metadata:
|
73
172
|
effective_url: http://localhost:3000/members/upload_member_photo
|
74
|
-
recorded_at:
|
75
|
-
recorded_with: VCR
|
173
|
+
recorded_at: Fri, 22 May 2020 19:58:47 GMT
|
174
|
+
recorded_with: VCR 5.1.0
|