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.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/.github/stale.yml +16 -0
  3. data/.gitignore +1 -1
  4. data/.travis.yml +5 -6
  5. data/CHANGELOG.md +7 -0
  6. data/Gemfile +1 -2
  7. data/README.md +0 -1
  8. data/Rakefile +0 -5
  9. data/lib/teamsnap.rb +5 -1
  10. data/lib/teamsnap/api.rb +2 -1
  11. data/lib/teamsnap/auth_middleware.rb +2 -0
  12. data/lib/teamsnap/response.rb +5 -1
  13. data/lib/teamsnap/version.rb +1 -1
  14. data/spec/cassettes/apiv3-init.yml +850 -236
  15. data/spec/cassettes/teamsnap__api/_run/when_creating/when_successful/can_parse_the_json.yml +73 -0
  16. data/spec/cassettes/teamsnap__api/_run/when_deleting/when_successful/handles_empty_response_body.yml +38 -0
  17. data/spec/cassettes/teamsnap__client/_api/Sends_the_proper_information_to_TeamSnap_Api_run.yml +87 -0
  18. 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
  19. data/spec/cassettes/teamsnap__client/when_calling_via_s_on_the_client/passes_them_to_the_faraday_client_using_method_missing.yml +24 -17
  20. data/spec/cassettes/teamsnap__client/when_specifying_a_headers_flag/correctly_sets_the_ghost_header_flag.yml +846 -232
  21. data/spec/cassettes/teamsnap__client/when_specifying_a_headers_flag/won_t_set_feature_headers_without_the_header_variable_present.yml +847 -232
  22. data/spec/cassettes/teamsnap__collection/_items/returns_all_items_for_a_base_collection.yml +68 -63
  23. data/spec/cassettes/teamsnap__collection/adds_find_if_search_is_available.yml +44 -27
  24. data/spec/cassettes/teamsnap__collection/adds_href_to_items.yml +132 -33
  25. data/spec/cassettes/teamsnap__collection/can_follow_plural_links.yml +421 -136
  26. data/spec/cassettes/teamsnap__collection/can_follow_singular_links.yml +175 -59
  27. data/spec/cassettes/teamsnap__collection/can_handle_links_with_no_data.yml +155 -53
  28. data/spec/cassettes/teamsnap__collection/handles_executing_an_action_via_commands.yml +132 -33
  29. data/spec/cassettes/teamsnap__collection/handles_executing_an_action_via_commands_with_multiple_params.yml +75 -35
  30. data/spec/cassettes/teamsnap__collection/handles_fetching_data_via_queries.yml +44 -27
  31. data/spec/cassettes/teamsnap__collection/handles_queries_with_no_data.yml +36 -22
  32. data/spec/cassettes/teamsnap__collection/raises_an_exception_if_find_returns_nothing.yml +36 -22
  33. 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
  34. 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
  35. 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
  36. 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
  37. data/spec/cassettes/teamsnap__structure/_create_collection_class/registers_new_classes_via_introspection_of_the_root_collection.yml +36 -22
  38. data/spec/cassettes/teamsnap__structure/_create_collection_class/sets_the_href_attribute_on_the_new_class.yml +36 -22
  39. data/spec/cassettes/teamsnap__structure/_init/has_all_classes_in_schema_loaded_except_for_exceptions_list_endpoints.yml +24 -17
  40. data/spec/cassettes/teamsnap_rb/_bulk_load/can_handle_an_empty_bulk_load.yml +16 -16
  41. data/spec/cassettes/teamsnap_rb/_bulk_load/can_handle_an_error_with_bulk_load_without_a_team_id.yml +14 -14
  42. data/spec/cassettes/teamsnap_rb/_bulk_load/can_use_bulk_load.yml +291 -103
  43. data/spec/cassettes/teamsnap_rb/_client_send/when_sent_a_known_via_/accepts_test_file_arg_when_creating_HMAC.yml +82 -2653
  44. data/spec/cassettes/teamsnap_rb/_client_send/when_sent_a_known_via_/calls_DELETE_on_the_given_client.yml +67 -2639
  45. data/spec/cassettes/teamsnap_rb/_client_send/when_sent_a_known_via_/calls_GET_on_the_given_client.yml +24 -17
  46. data/spec/cassettes/teamsnap_rb/_client_send/when_sent_a_known_via_/calls_PATCH_on_the_given_client.yml +67 -2639
  47. data/spec/cassettes/teamsnap_rb/_client_send/when_sent_a_known_via_/calls_POST_on_the_given_client.yml +67 -2639
  48. data/spec/cassettes/teamsnap_rb/_run/processes_the_response.yml +93 -65
  49. data/spec/cassettes/uploading_files/uploads_a_file.yml +130 -31
  50. data/spec/cassettes/uploading_files/uploads_a_tempfile.yml +130 -31
  51. data/spec/features/uploading_files_spec.rb +2 -2
  52. data/spec/spec_helper.rb +0 -13
  53. data/spec/teamsnap/apiv_spec.rb +49 -1
  54. data/spec/teamsnap/client_spec.rb +4 -4
  55. data/spec/teamsnap/collection_spec.rb +5 -5
  56. data/spec/teamsnap/item_spec.rb +1 -1
  57. data/spec/teamsnap/structure_spec.rb +2 -2
  58. data/spec/teamsnap_spec.rb +4 -4
  59. data/teamsnap_rb.gemspec +5 -5
  60. metadata +27 -14
@@ -2,15 +2,17 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: http://localhost:3000/members/disable_member?hmac_client_id=classic&hmac_nonce=41d93f13-90c3-41c4-a1ac-9f4080b4d30d&hmac_timestamp=1470941484
5
+ uri: http://localhost:3000/members/disable_member?hmac_client_id=classic_service&hmac_nonce=b4b5413b-9e7a-47d0-b701-44635ad55eb3&hmac_timestamp=1590177508
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: '{"member_id":1}'
9
9
  headers:
10
10
  User-Agent:
11
- - Faraday v0.9.2
11
+ - Faraday v0.17.3
12
12
  X-Teamsnap-Hmac:
13
- - 6138a8150c683194f0bff54e8c40988c72447dd30656f4bce36fc5cdb6d1a195
13
+ - a46452a05d28a4affee1cbe57713501804b690f97dea067b84591cc174dfb8b8
14
+ Expect:
15
+ - ''
14
16
  response:
15
17
  status:
16
18
  code: 200
@@ -20,58 +22,155 @@ http_interactions:
20
22
  - application/vnd.collection+json
21
23
  Location:
22
24
  - "/members/search?id=1"
23
- Content-Length:
24
- - '12237'
25
25
  X-Content-Type-Options:
26
26
  - nosniff
27
27
  ETag:
28
- - '"4544efbe584f2c4a626bbf202ce44bfa"'
28
+ - W/"70bd2750dae9f28a7a0fe9f7b854176f"
29
29
  Cache-Control:
30
30
  - max-age=0, private, must-revalidate
31
31
  X-Request-Id:
32
- - 76d8e6d6-c594-42b9-bf28-79fdfe71043e
32
+ - 57de741f-e062-4eb2-9837-6d02b11544f1
33
33
  X-Runtime:
34
- - '0.134075'
35
- Connection:
36
- - keep-alive
37
- Server:
38
- - thin
34
+ - '0.686530'
35
+ Vary:
36
+ - Origin
37
+ Content-Length:
38
+ - '24214'
39
39
  body:
40
40
  encoding: UTF-8
41
- string: '{"collection":{"version":"3.306.2","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
41
+ 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
42
42
  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
43
43
  is deprecated and will be removed in a future version, use is_address_hidden
44
- 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":"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"},{"rel":"member_files","href":"http://localhost:3000/member_files"},{"rel":"member_links","href":"http://localhost:3000/member_links"},{"rel":"member_payments","href":"http://localhost:3000/member_payments"},{"rel":"member_phone_numbers","href":"http://localhost:3000/member_phone_numbers"},{"rel":"member_preferences","href":"http://localhost:3000/members_preferences"},{"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/disable_member"}],"queries":[{"rel":"search","href":"http://localhost:3000/members/search","data":[{"name":"team_id","value":null},{"name":"user_id","value":null},{"name":"id","value":null},{"name":"page_size","value":null,"prompt":"The
44
+ 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
45
+ is deprecated and has been removed. Continued use of member_email_addresses
46
+ 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
47
+ is deprecated and has been removed. Continued use of member_phone_numbers
48
+ 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/disable_member"}],"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
45
49
  number of items to return for each page. Sending this parameter with the query
46
50
  will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
47
51
  number of the page to be returned. This requires that paging be turned on
48
52
  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
49
53
  a user ID, returns members directly associated with the user as well as members
50
- 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":"BETA:
51
- (this query is subject to change or suddenly disappear) Given a a team_id
52
- or division_id, returns all members that are commissioners of the divisions
53
- 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
54
+ 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
55
+ a a team_id or division_id, returns all members that are commissioners of
56
+ 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
54
57
  a user ID, returns all members associated with user''s active season teams. If
55
58
  include_archived_teams (boolean) parameter is supplied, members associated
56
- with archived teams will be returned as well.","data":[{"name":"user_id","value":null},{"name":"include_archived_teams","value":null}]}],"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":"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
59
+ 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
60
+ the division and subdivision for the members meeting the search criteria.","data":[{"name":"division_id","value":null,"prompt":"Id
61
+ of the division and descendants to search"},{"name":"is_unassigned","value":null,"prompt":"true/false
62
+ - For all members in a division that aren''t assigned to a team. Not used
63
+ if blank."},{"name":"is_activated","value":null,"prompt":"true/false - For
64
+ all members in a division that have a user. Not used if blank."},{"name":"is_commissioner","value":null,"prompt":"true/false
65
+ - For all members in a division that are or are not a commissioner. Not used
66
+ if blank."},{"name":"is_ownership_pending","value":null,"prompt":"true/false
67
+ - Find all members in a division that are or are not pending ownership. Not
68
+ used if blank."},{"name":"page_size","value":null,"prompt":"The number of
69
+ items to return for each page. Sending this parameter with the query will
70
+ enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
71
+ number of the page to be returned. This requires that paging be turned on
72
+ by also providing the page_size parameter."}]},{"rel":"advanced_division_search","href":"http://localhost:3000/members/advanced_division_search","prompt":"Searches
73
+ the division and subdivision for the members meeting the search criteria.
74
+ Searches using this endpoint accept additional parameters. You can search
75
+ for equality by formatting the string as ''operator:equals,value:<SEARCH STRING>''.
76
+ You can also search inquality by using not_equals as ''operator:not_equals,value:<SEARCH
77
+ STRING>''. You may search for additional parameters by sending them as an
78
+ array, for instance: ?birthday[]=operator:less_than,value:2016-02-02&birthday[]=operator:greater_than,value:2010-02-02.
79
+ Other operators are less_than_or_equal and greater_than_or_equal","data":[{"name":"division_id","value":null,"prompt":"Id
80
+ of the division and descendants to search"},{"name":"id","value":null,"prompt":"Id
81
+ of the member to search"},{"name":"user_id","value":null,"prompt":"Id of the
82
+ user to search"},{"name":"is_commissioner","value":null,"prompt":"true/false
83
+ - For all members in a division that are or are not a commissioner. Not used
84
+ if blank."},{"name":"birthday","value":null,"prompt":"date - Accepts advanced
85
+ search operators ''less_than'' and ''greater_than''."},{"name":"team_id","value":null,"prompt":"integer
86
+ - Find all members in a division with the specified team_id(s)."},{"name":"is_coach","value":null,"prompt":"true/false
87
+ - Find all members in a division that are or are not a coach. Not used if
88
+ blank."},{"name":"is_manager","value":null,"prompt":"true/false - Find all
89
+ 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
90
+ - Find all members in a division that are or are not a players. Not used if
91
+ blank."},{"name":"is_owner","value":null,"prompt":"true/false - Find all members
92
+ in a division that are or are not owners. Not used if blank."},{"name":"is_ownership_pending","value":null,"prompt":"true/false
93
+ - Find all members in a division that are or are not pending ownership. Not
94
+ used if blank."},{"name":"gender","value":null,"prompt":"Male/Female - Find
95
+ all members in a division with the specified gender."},{"name":"first_name","value":null,"prompt":"string
96
+ - Accepts advanced search operators ''equals'', ''contains'' and ''starts_with''."},{"name":"last_name","value":null,"prompt":"string
97
+ - Accepts advanced search operators ''equals'', ''contains'' and ''starts_with''."},{"name":"email","value":null,"prompt":"string
98
+ - Accepts advanced search operators ''equals'', ''contains'' and ''starts_with''."},{"name":"custom_field","value":null,"prompt":"string
99
+ - Required advanced search parameter of ''id'' that should be the id of the
100
+ custom field to be searched on. Accepts advanced search operators ''equals'',
101
+ ''contains'' and ''starts_with''."},{"name":"registration_form_id","value":null,"prompt":"string
102
+ - Find all members in a division with the specified registration_form_id."},{"name":"registration_form_line_item_id","value":null,"prompt":"string
103
+ - 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
104
+ - 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
105
+ - For all members in a division that are assigned to a team. Not used if blank."},{"name":"is_activated","value":null,"prompt":"true/false
106
+ - For all members in a division that have a user. Not used if blank."},{"name":"checkout_type","value":null,"prompt":"string
107
+ - Search for a registration checkout type. Valid values are: \"1\" - In Progress,
108
+ \"2\" - Pay Now, \"3\" - Installment Plan, \"4\" - Pay Offline, \"5\" - No
109
+ Fees"},{"name":"signup_status","value":null,"prompt":"string - Search for
110
+ a registration based on it''s signup status. Value values are: \"authorized\"
111
+ - Authorized, \"refunded\" - Refunded, \"failed\" - Failed, \"active\" - Active,
112
+ \"canceled\" - Canceled, \"charged_back\" - Charged Back, \"on_checkout\"
113
+ - On Checkout, \"paid\" - Paid"},{"name":"search_subdivisions","value":null,"prompt":"true/false
114
+ - Search all the subdivisions of the division provided. True by default."},{"name":"batch_invoice_id","value":null,"prompt":"Id
115
+ of batch invoice to search"},{"name":"invoice_status","value":null,"prompt":"string
116
+ - Search for all members based on a selected batch_invoice_id invoice status,
117
+ valid values are: \"open\", \"submitted\", \"pending\", \"paid\", \"canceled\""},{"name":"pending_assignments","value":null,"prompt":"string
118
+ - Search pending assignments for members. \"include\", \"exclude\", \"only\".
119
+ \"exclude\" is the default"},{"name":"page_size","value":null,"prompt":"The
120
+ number of items to return for each page. Sending this parameter with the query
121
+ will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
122
+ number of the page to be returned. This requires that paging be turned on
123
+ 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
57
124
  source_member_ids (array) and a destination_team_id, source members and related
58
125
  member data will be imported to the destination team. Newly created members
59
126
  will be returned.","data":[{"name":"source_member_ids","value":null},{"name":"destination_team_id","value":null},{"name":"send_invites","value":null,"prompt":"Whether
60
127
  or not to create and send invitations for each imported member. Valid values
61
- are either ''true'' or ''false'' and will default to ''false''"}]},{"rel":"division_search","href":"http://localhost:3000/members/division_search","prompt":"BETA:
62
- (This endpoint subject to change) Searches the division and subdivision for
63
- the members meeting the search criteria.","data":[{"name":"division_id","value":null,"prompt":"Id
64
- of the division and descendants to search"},{"name":"is_unassigned","value":null,"prompt":"true/false
65
- - For all members in a division that aren''t assigned to a team. Not used
66
- if blank."},{"name":"is_activated","value":null,"prompt":"true/false - For
67
- all members in a division that have a user. Not used if blank."}]}],"items":[{"href":"http://localhost:3000/members/1","data":[{"name":"id","value":1},{"name":"type","value":"member"},{"name":"address_city","value":null},{"name":"address_state","value":null},{"name":"address_street1","value":null},{"name":"address_street2","value":null},{"name":"address_zip","value":null},{"name":"birthday","value":""},{"name":"first_name","value":"Commie"},{"name":"gender","value":null},{"name":"has_facebook_post_scores_enabled","value":false},{"name":"hide_address","value":null,"deprecated":true,"prompt":"hide_address
128
+ are either ''true'' or ''false'' and will default to ''false''"}]},{"rel":"bulk_delete","href":"http://localhost:3000/members/bulk_delete","prompt":"Delete
129
+ one or many members.","data":[{"name":"member_id","value":null,"prompt":"The
130
+ id of the member to be deleted, this can either be passed as a comma-delimited
131
+ 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
132
+ one or many members to a new division and/or team.","data":[{"name":"member_id","value":null,"prompt":"The
133
+ id of the member or members to be moved, this can either be passed as a comma-delimited
134
+ 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
135
+ one or many pending members to their division and/or team.","data":[{"name":"member_id","value":null,"prompt":"The
136
+ id of the pending member or pending members to be moved, this can either be
137
+ passed as a comma-delimited list of integers or as an array if the post data
138
+ is JSON."},{"name":"division_id","value":null,"prompt":"The id of the division
139
+ or divisions to determine pending members, this can either be passed as a
140
+ comma-delimited list of integers or as an array if the post data is JSON."},{"name":"team_id","value":null,"prompt":"The
141
+ id of the team or teams to determine pending members, this can either be passed
142
+ 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
143
+ one or many pending members from a division and/or team.","data":[{"name":"member_id","value":null,"prompt":"The
144
+ id of the pending member or pending members to be moved, this can either be
145
+ passed as a comma-delimited list of integers or as an array if the post data
146
+ is JSON."},{"name":"division_id","value":null,"prompt":"The id of the division
147
+ or divisions to determine pending members, this can either be passed as a
148
+ comma-delimited list of integers or as an array if the post data is JSON."},{"name":"team_id","value":null,"prompt":"The
149
+ id of the team or teams to determine pending members, this can either be passed
150
+ as a comma-delimited list of integers or as an array if the post data is JSON."}]}],"items":[{"href":"http://localhost:3000/members/1","data":[{"name":"id","value":1,"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":3,"type":"String"},{"name":"first_name","value":"Deion","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
151
+ is deprecated and has been removed. Continued use of has_facebook_post_scores_enabled
152
+ is not recommended it will no longer be stored."},{"name":"hide_address","value":null,"type":"Boolean","deprecated":true,"prompt":"hide_address
68
153
  is deprecated and will be removed in a future version, use is_address_hidden
69
- instead."},{"name":"is_address_hidden","value":null},{"name":"hide_age","value":null,"deprecated":true,"prompt":"hide_age
70
- is deprecated and will be removed in a future version, use is_age_hidden instead."},{"name":"is_age_hidden","value":null},{"name":"is_commissioner","value":true},{"name":"invitation_code","value":null},{"name":"invitation_declined","value":null},{"name":"is_activated","value":false},{"name":"is_pushable","value":false},{"name":"is_alertable","value":false},{"name":"is_emailable","value":true},{"name":"is_invitable","value":false},{"name":"is_invited","value":false},{"name":"is_manager","value":true},{"name":"is_non_player","value":true},{"name":"is_owner","value":true},{"name":"is_ownership_pending","value":null},{"name":"jersey_number","value":null},{"name":"last_logged_in_at","value":null,"deprecated":true,"prompt":"%{field}
71
- is deprecated and has been removed. Continued use of %{field} is not recommended
72
- it will no longer be stored."},{"name":"last_name","value":"Commish"},{"name":"position","value":null},{"name":"team_id","value":null},{"name":"user_id","value":null},{"name":"updated_at","value":"2016-08-11T18:51:25Z","type":"DateTime"},{"name":"created_at","value":"2016-08-10T23:47:21Z","type":"DateTime"}],"links":[{"rel":"assignments","href":"http://localhost:3000/assignments/search?member_id=1"},{"rel":"availabilities","href":"http://localhost:3000/availabilities/search?member_id=1"},{"rel":"broadcast_email_attachments","href":"http://localhost:3000/broadcast_email_attachments/search?member_id=1"},{"rel":"broadcast_emails","href":"http://localhost:3000/broadcast_emails/search?member_id=1"},{"rel":"broadcast_alerts","href":"http://localhost:3000/broadcast_alerts/search?member_id=1"},{"rel":"contact_email_addresses","href":"http://localhost:3000/contact_email_addresses/search?member_id=1"},{"rel":"contact_phone_numbers","href":"http://localhost:3000/contact_phone_numbers/search?member_id=1"},{"rel":"contacts","href":"http://localhost:3000/contacts/search?member_id=1"},{"rel":"custom_data","href":"http://localhost:3000/custom_data/search?member_id=1"},{"rel":"custom_fields","href":"http://localhost:3000/custom_fields/search?"},{"rel":"league_custom_data","href":"http://localhost:3000/league_custom_data/search?member_id=1"},{"rel":"league_custom_fields","href":"http://localhost:3000/league_custom_fields/search?"},{"rel":"forum_posts","href":"http://localhost:3000/forum_posts/search?member_id=1"},{"rel":"forum_subscriptions","href":"http://localhost:3000/forum_subscriptions/search?member_id=1"},{"rel":"forum_topics","href":"http://localhost:3000/forum_topics/search?"},{"rel":"league_registrant_documents","href":"http://localhost:3000/league_registrant_documents/search?member_id=1"},{"rel":"member_assignments","href":"http://localhost:3000/member_assignments/search?member_id=1"},{"rel":"member_balances","href":"http://localhost:3000/member_balances/search?member_id=1"},{"rel":"member_email_addresses","href":"http://localhost:3000/member_email_addresses/search?member_id=1"},{"rel":"member_files","href":"http://localhost:3000/member_files/search?member_id=1"},{"rel":"member_links","href":"http://localhost:3000/member_links/search?member_id=1"},{"rel":"member_payments","href":"http://localhost:3000/member_payments/search?member_id=1"},{"rel":"member_phone_numbers","href":"http://localhost:3000/member_phone_numbers/search?member_id=1"},{"rel":"member_photos","href":"http://localhost:3000/member_photos/search?member_id=1"},{"rel":"member_preferences","href":"http://localhost:3000/members_preferences/1"},{"rel":"member_statistics","href":"http://localhost:3000/member_statistics/search?member_id=1"},{"rel":"message_data","href":"http://localhost:3000/message_data/search?member_id=1"},{"rel":"messages","href":"http://localhost:3000/messages/search?member_id=1"},{"rel":"statistic_data","href":"http://localhost:3000/statistic_data/search?member_id=1"},{"rel":"team","href":"http://localhost:3000/teams/"},{"rel":"team_media","href":"http://localhost:3000/team_media/search?member_id=1"},{"rel":"team_medium_comments","href":"http://localhost:3000/team_medium_comments/search?member_id=1"},{"rel":"tracked_item_statuses","href":"http://localhost:3000/tracked_item_statuses/search?member_id=1"}],"rel":"member-1"}]}}'
154
+ instead."},{"name":"is_address_hidden","value":null,"type":"Boolean"},{"name":"hide_age","value":null,"type":"Boolean","deprecated":true,"prompt":"hide_age
155
+ 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
156
+ 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}
157
+ is deprecated and will be removed in a future version, use %{new} instead."},{"name":"is_activated","value":false,"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
158
+ is deprecated and has been removed. Continued use of is_selectable_for_chat
159
+ 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
160
+ is deprecated and has been removed. Continued use of is_invitable is not
161
+ recommended it will no longer be stored."},{"name":"is_invited","value":false,"type":"Boolean","deprecated":true,"prompt":"is_invited
162
+ is deprecated and has been removed. Continued use of is_invited is not recommended
163
+ 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
164
+ is deprecated and has been removed. Continued use of last_logged_in_at is
165
+ not recommended it will no longer be stored."},{"name":"last_name","value":"Sanders","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":5,"type":"String"},{"name":"team_id","value":null,"type":"String"},{"name":"user_id","value":null,"type":"String","deprecated":true,"prompt":"user_id
166
+ is deprecated and has been removed. Continued use of user_id is not recommended
167
+ 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:28Z","type":"DateTime"},{"name":"created_at","value":"2020-05-22T19:56:08Z","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=1"},{"rel":"availabilities","href":"http://localhost:3000/availabilities/search?member_id=1"},{"rel":"broadcast_email_attachments","href":"http://localhost:3000/broadcast_email_attachments/search?member_id=1"},{"rel":"broadcast_emails","href":"http://localhost:3000/broadcast_emails/search?member_id=1"},{"rel":"broadcast_alerts","href":"http://localhost:3000/broadcast_alerts/search?member_id=1"},{"rel":"contact_email_addresses","href":"http://localhost:3000/contact_email_addresses/search?member_id=1"},{"rel":"contact_phone_numbers","href":"http://localhost:3000/contact_phone_numbers/search?member_id=1"},{"rel":"contacts","href":"http://localhost:3000/contacts/search?member_id=1"},{"rel":"custom_data","href":"http://localhost:3000/custom_data/search?member_id=1"},{"rel":"custom_fields","href":"http://localhost:3000/custom_fields/search?"},{"rel":"division","href":"http://localhost:3000/divisions/3"},{"rel":"invoice_recipients_invoices_aggregates","href":"http://localhost:3000/invoice_recipients_invoices_aggregates/search?member_id=1"},{"rel":"league_custom_data","href":"http://localhost:3000/league_custom_data/search?member_id=1"},{"rel":"league_custom_fields","href":"http://localhost:3000/league_custom_fields/search?"},{"rel":"forum_posts","href":"http://localhost:3000/forum_posts/search?member_id=1"},{"rel":"forum_subscriptions","href":"http://localhost:3000/forum_subscriptions/search?member_id=1"},{"rel":"forum_topics","href":"http://localhost:3000/forum_topics/search?"},{"rel":"league_registrant_documents","href":"http://localhost:3000/league_registrant_documents/search?member_id=1"},{"rel":"member_assignments","href":"http://localhost:3000/member_assignments/search?member_id=1"},{"rel":"member_balances","href":"http://localhost:3000/member_balances/search?member_id=1"},{"rel":"member_email_addresses","href":"http://localhost:3000/member_email_addresses/search?member_id=1","prompt":"member_email_addresses
168
+ is deprecated and has been removed. Continued use of member_email_addresses
169
+ is not recommended it will no longer be stored."},{"rel":"member_files","href":"http://localhost:3000/member_files/search?member_id=1"},{"rel":"member_links","href":"http://localhost:3000/member_links/search?member_id=1"},{"rel":"member_payments","href":"http://localhost:3000/member_payments/search?member_id=1"},{"rel":"member_phone_numbers","href":"http://localhost:3000/member_phone_numbers/search?member_id=1","prompt":"member_phone_numbers
170
+ is deprecated and has been removed. Continued use of member_phone_numbers
171
+ is not recommended it will no longer be stored."},{"rel":"member_photos","href":"http://localhost:3000/member_photos/search?member_id=1"},{"rel":"member_preferences","href":"http://localhost:3000/members_preferences/1"},{"rel":"member_registration_signups","href":"http://localhost:3000/member_registration_signups/search?member_id=1"},{"rel":"member_statistics","href":"http://localhost:3000/member_statistics/search?member_id=1"},{"rel":"message_data","href":"http://localhost:3000/message_data/search?member_id=1"},{"rel":"messages","href":"http://localhost:3000/messages/search?member_id=1"},{"rel":"registration_form","href":"http://localhost:3000/registration_forms/5"},{"rel":"statistic_data","href":"http://localhost:3000/statistic_data/search?member_id=1"},{"rel":"team","href":"http://localhost:3000/teams/"},{"rel":"team_media","href":"http://localhost:3000/team_media/search?member_id=1"},{"rel":"team_medium_comments","href":"http://localhost:3000/team_medium_comments/search?member_id=1"},{"rel":"tracked_item_statuses","href":"http://localhost:3000/tracked_item_statuses/search?member_id=1"}],"rel":"member-1"}]}}'
73
172
  http_version: '1.1'
74
173
  adapter_metadata:
75
- effective_url: http://localhost:3000/members/disable_member?hmac_client_id=classic&hmac_nonce=41d93f13-90c3-41c4-a1ac-9f4080b4d30d&hmac_timestamp=1470941484
76
- recorded_at: Thu, 11 Aug 2016 18:51:25 GMT
77
- recorded_with: VCR 2.9.3
174
+ effective_url: http://localhost:3000/members/disable_member?hmac_client_id=classic_service&hmac_nonce=b4b5413b-9e7a-47d0-b701-44635ad55eb3&hmac_timestamp=1590177508
175
+ recorded_at: Fri, 22 May 2020 19:58:28 GMT
176
+ recorded_with: VCR 5.1.0
@@ -5,13 +5,15 @@ http_interactions:
5
5
  uri: http://localhost:3000/teams/invite
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"team_id":1,"member_id":[9,11],"notify_as_member_id":3,"introduction":"Welcome!
8
+ string: '{"team_id":1,"member_id":[75,76],"notify_as_member_id":3,"introduction":"Welcome!
9
9
  This is our team\n ...the superstars!"}'
10
10
  headers:
11
11
  User-Agent:
12
- - Faraday v0.9.2
12
+ - Faraday v0.17.3
13
13
  Authorization:
14
14
  - Bearer 6-classic-dont_tell_the_cops
15
+ Expect:
16
+ - ''
15
17
  response:
16
18
  status:
17
19
  code: 202
@@ -19,31 +21,23 @@ http_interactions:
19
21
  headers:
20
22
  Content-Type:
21
23
  - application/vnd.collection+json
22
- Content-Length:
23
- - '18710'
24
24
  X-Content-Type-Options:
25
25
  - nosniff
26
- X-RateLimit-Limit:
27
- - '5000'
28
- X-RateLimit-Remaining:
29
- - '4997'
30
- X-RateLimit-Reset:
31
- - '1470944882'
32
26
  Cache-Control:
33
27
  - no-cache
34
28
  X-Request-Id:
35
- - 62ee1018-7f4e-44b8-88a1-f6c79ac8e696
29
+ - 660e35b2-598d-4d0c-99f9-3fa4c33e349c
36
30
  X-Runtime:
37
- - '0.408468'
38
- Connection:
39
- - keep-alive
40
- Server:
41
- - thin
31
+ - '1.490104'
32
+ Vary:
33
+ - Origin
34
+ Content-Length:
35
+ - '28139'
42
36
  body:
43
37
  encoding: UTF-8
44
- string: '{"collection":{"version":"3.306.2","href":"http://localhost:3000/teams","rel":"teams","template":{"data":[{"name":"name","value":null},{"name":"location_country","value":null},{"name":"location_postal_code","value":null},{"name":"time_zone","value":null,"prompt":"The
38
+ string: '{"collection":{"version":"3.854.0","href":"http://localhost:3000/teams","rel":"teams","template":{"data":[{"name":"name","value":null},{"name":"location_country","value":null},{"name":"location_postal_code","value":null},{"name":"time_zone","value":null,"prompt":"The
45
39
  time_zone parameter is required when creating a team, but for changing a team''s
46
- time_zone, use the update_time_zone command"},{"name":"sport_id","value":null},{"name":"division_id","value":null},{"name":"division_name","value":null},{"name":"season_name","value":null},{"name":"league_name","value":null},{"name":"league_url","value":null},{"name":"owner_first_name","value":null},{"name":"owner_last_name","value":null},{"name":"owner_email","value":null},{"name":"is_ownership_pending","value":null},{"name":"type","value":"team"}]},"links":[{"rel":"active_season_team","href":"http://localhost:3000/teams"},{"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":"commissioners","href":"http://localhost:3000/members"},{"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_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_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_team_standings","href":"http://localhost:3000/division_team_standings"},{"rel":"event_statistics","href":"http://localhost:3000/event_statistics"},{"rel":"events","href":"http://localhost:3000/events"},{"rel":"events_overview","href":"http://localhost:3000/events/overview"},{"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_custom_data","href":"http://localhost:3000/league_custom_data"},{"rel":"league_custom_fields","href":"http://localhost:3000/league_custom_fields"},{"rel":"league_registrant_documents","href":"http://localhost:3000/league_registrant_documents"},{"rel":"locations","href":"http://localhost:3000/locations"},{"rel":"managers","href":"http://localhost:3000/members"},{"rel":"member_balances","href":"http://localhost:3000/member_balances"},{"rel":"member_email_addresses","href":"http://localhost:3000/member_email_addresses"},{"rel":"member_files","href":"http://localhost:3000/member_files"},{"rel":"member_links","href":"http://localhost:3000/member_links"},{"rel":"member_payments","href":"http://localhost:3000/member_payments"},{"rel":"member_phone_numbers","href":"http://localhost:3000/member_phone_numbers"},{"rel":"member_photos","href":"http://localhost:3000/member_photos"},{"rel":"member_statistics","href":"http://localhost:3000/member_statistics"},{"rel":"members","href":"http://localhost:3000/members"},{"rel":"members_preferences","href":"http://localhost:3000/members_preferences"},{"rel":"message_data","href":"http://localhost:3000/message_data"},{"rel":"messages","href":"http://localhost:3000/messages"},{"rel":"opponents","href":"http://localhost:3000/opponents"},{"rel":"opponents_results","href":"http://localhost:3000/opponents_results"},{"rel":"owner","href":"http://localhost:3000/members"},{"rel":"payment_notes","href":"http://localhost:3000/payment_notes"},{"rel":"paypal_currency","href":"http://localhost:3000/paypal_currencies"},{"rel":"plan","href":"http://localhost:3000/plans"},{"rel":"sponsors","href":"http://localhost:3000/sponsors"},{"rel":"sport","href":"http://localhost:3000/sports"},{"rel":"statistic","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_group","href":"http://localhost:3000/statistic_groups"},{"rel":"team_fees","href":"http://localhost:3000/team_fees"},{"rel":"team_media","href":"http://localhost:3000/team_media"},{"rel":"team_medium_comments","href":"http://localhost:3000/team_medium_comments"},{"rel":"team_media_groups","href":"http://localhost:3000/team_media_groups"},{"rel":"team_paypal_preferences","href":"http://localhost:3000/teams_paypal_preferences"},{"rel":"team_photos","href":"http://localhost:3000/team_photos"},{"rel":"team_preferences","href":"http://localhost:3000/teams_preferences"},{"rel":"team_public_site","href":"http://localhost:3000/team_public_sites"},{"rel":"team_results","href":"http://localhost:3000/teams_results"},{"rel":"team_statistics","href":"http://localhost:3000/team_statistics"},{"rel":"tracked_item_statuses","href":"http://localhost:3000/tracked_item_statuses"},{"rel":"tracked_items","href":"http://localhost:3000/tracked_items"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/teams/invite"}],"queries":[{"rel":"search","href":"http://localhost:3000/teams/search","sort":["name"],"data":[{"name":"id","value":null},{"name":"team_id","value":null},{"name":"user_id","value":null},{"name":"division_id","value":null},{"name":"page_size","value":null,"prompt":"The
40
+ time_zone, use the update_time_zone command"},{"name":"sport_id","value":null},{"name":"division_id","value":null},{"name":"division_name","value":null},{"name":"season_name","value":null},{"name":"league_name","value":null},{"name":"league_url","value":null},{"name":"owner_first_name","value":null},{"name":"owner_last_name","value":null},{"name":"owner_email","value":null},{"name":"is_ownership_pending","value":null},{"name":"type","value":"team"}]},"links":[{"rel":"advertisements","href":"http://localhost:3000/advertisements"},{"rel":"active_season_team","href":"http://localhost:3000/teams"},{"rel":"assignments","href":"http://localhost:3000/assignments"},{"rel":"availabilities","href":"http://localhost:3000/availabilities"},{"rel":"batch_invoices","href":"http://localhost:3000/batch_invoices"},{"rel":"batch_invoices_aggregates","href":"http://localhost:3000/batch_invoices_aggregates"},{"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":"commissioners","href":"http://localhost:3000/members"},{"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_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_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_team_standings","href":"http://localhost:3000/division_team_standings"},{"rel":"event_statistics","href":"http://localhost:3000/event_statistics"},{"rel":"events","href":"http://localhost:3000/events"},{"rel":"events_overview","href":"http://localhost:3000/events/overview"},{"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_custom_data","href":"http://localhost:3000/league_custom_data"},{"rel":"league_custom_fields","href":"http://localhost:3000/league_custom_fields"},{"rel":"league_registrant_documents","href":"http://localhost:3000/league_registrant_documents"},{"rel":"locations","href":"http://localhost:3000/locations"},{"rel":"managers","href":"http://localhost:3000/members"},{"rel":"member_balances","href":"http://localhost:3000/member_balances"},{"rel":"member_email_addresses","href":"http://localhost:3000/member_email_addresses"},{"rel":"member_files","href":"http://localhost:3000/member_files"},{"rel":"member_links","href":"http://localhost:3000/member_links"},{"rel":"member_payments","href":"http://localhost:3000/member_payments"},{"rel":"member_phone_numbers","href":"http://localhost:3000/member_phone_numbers"},{"rel":"member_photos","href":"http://localhost:3000/member_photos"},{"rel":"member_statistics","href":"http://localhost:3000/member_statistics"},{"rel":"members","href":"http://localhost:3000/members"},{"rel":"members_preferences","href":"http://localhost:3000/members_preferences"},{"rel":"message_data","href":"http://localhost:3000/message_data"},{"rel":"messages","href":"http://localhost:3000/messages"},{"rel":"opponents","href":"http://localhost:3000/opponents"},{"rel":"opponents_results","href":"http://localhost:3000/opponents_results"},{"rel":"owner","href":"http://localhost:3000/members"},{"rel":"payment_notes","href":"http://localhost:3000/payment_notes"},{"rel":"paypal_currency","href":"http://localhost:3000/paypal_currencies"},{"rel":"plan","href":"http://localhost:3000/plans"},{"rel":"sponsors","href":"http://localhost:3000/sponsors"},{"rel":"sport","href":"http://localhost:3000/sports"},{"rel":"sport_positions","href":"http://localhost:3000/sport_positions"},{"rel":"statistic","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_group","href":"http://localhost:3000/statistic_groups"},{"rel":"team_fees","href":"http://localhost:3000/team_fees"},{"rel":"team_media","href":"http://localhost:3000/team_media"},{"rel":"team_medium_comments","href":"http://localhost:3000/team_medium_comments"},{"rel":"team_media_groups","href":"http://localhost:3000/team_media_groups"},{"rel":"team_paypal_preferences","href":"http://localhost:3000/teams_paypal_preferences"},{"rel":"team_photos","href":"http://localhost:3000/team_photos"},{"rel":"team_preferences","href":"http://localhost:3000/teams_preferences"},{"rel":"team_public_site","href":"http://localhost:3000/team_public_sites"},{"rel":"team_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":"tracked_item_statuses","href":"http://localhost:3000/tracked_item_statuses"},{"rel":"tracked_items","href":"http://localhost:3000/tracked_items"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/teams/invite"}],"queries":[{"rel":"search","href":"http://localhost:3000/teams/search","sort":["name"],"data":[{"name":"id","value":null},{"name":"team_id","value":null},{"name":"user_id","value":null},{"name":"division_id","value":null},{"name":"page_size","value":null,"prompt":"The
47
41
  number of items to return for each page. Sending this parameter with the query
48
42
  will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
49
43
  number of the page to be returned. This requires that paging be turned on
@@ -52,31 +46,77 @@ http_interactions:
52
46
  ''desc''."}]},{"rel":"available_for_statistic_import","href":"http://localhost:3000/teams/available_for_statistic_import","prompt":"Finds
53
47
  all teams accessible to current user that have the provided sport_id and have
54
48
  at least one statistic to import","data":[{"name":"sport_id","value":null}]},{"rel":"active_teams","href":"http://localhost:3000/teams/active","prompt":"Finds
55
- all active teams for a given user. Excludes archived seasons and retired teams.","data":[{"name":"user_id","value":null}]}],"commands":[{"rel":"invite","href":"http://localhost:3000/teams/invite","prompt":"invite
49
+ all active teams for a given user. Excludes archived seasons and retired teams.","data":[{"name":"user_id","value":null},{"name":"division_id","value":null}]},{"rel":"division_search","href":"http://localhost:3000/teams/division_search","prompt":"Search
50
+ the teams on the division_id and its descendants or a commissioner''s user_id.","data":[{"name":"division_id","value":null},{"name":"user_id","value":null},{"name":"is_active","value":null},{"name":"is_commissioner","value":null},{"name":"page_size","value":null,"prompt":"The
51
+ number of items to return for each page. Sending this parameter with the query
52
+ will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
53
+ number of the page to be returned. This requires that paging be turned on
54
+ by also providing the page_size parameter."}]}],"commands":[{"rel":"invite","href":"http://localhost:3000/teams/invite","prompt":"invite
56
55
  team members or contacts to join TeamSnap.","data":[{"name":"team_id","value":null},{"name":"contact_id","value":null},{"name":"member_id","value":null},{"name":"introduction","value":null},{"name":"notify_as_member_id","value":null}]},{"rel":"update_time_zone","href":"http://localhost:3000/teams/update_time_zone","prompt":"Update
57
56
  team''s time zone. This is currently the only method of updating a team''s
58
- time zone.","data":[{"name":"team_id","value":null},{"name":"time_zone","value":null},{"name":"offset_team_times","value":null}]},{"rel":"reset_statistics","href":"http://localhost:3000/teams/reset_statistics","prompt":"Deletes
57
+ time zone.","data":[{"name":"team_id","value":null},{"name":"time_zone","value":null},{"name":"offset_team_times","value":null,"deprecated":true,"prompt":"%{old}
58
+ is deprecated and will be removed in a future version, use %{new} instead."}]},{"rel":"reset_statistics","href":"http://localhost:3000/teams/reset_statistics","prompt":"Deletes
59
59
  all data, categories and groups for a given team_id","data":[{"name":"team_id","value":null}]},{"rel":"invite_team_owners","href":"http://localhost:3000/teams/invite_team_owners","prompt":"Beta:
60
60
  (This endpoint subject to change) Allow commissioners to send invitations
61
61
  to all owners on active teams in the division.","data":[{"name":"id","value":null}]},{"rel":"change_owner","href":"http://localhost:3000/teams/change_owner","prompt":"Beta:
62
62
  (This endpoint subject to change) Allow commissioners to change the owner
63
- of a league team.","data":[{"name":"team_id","value":null},{"name":"member_id","value":null}]},{"rel":"division_search","href":"http://localhost:3000/teams/division_search","prompt":"Beta:
64
- (This endpoint subject to change) Search the teams on the division_id and
65
- it''s descendants.","data":[{"name":"division_id","value":null},{"name":"is_active","value":null}]}],"items":[{"href":"http://localhost:3000/members/9","data":[{"name":"id","value":9},{"name":"type","value":"member"},{"name":"address_city","value":null},{"name":"address_state","value":null},{"name":"address_street1","value":null},{"name":"address_street2","value":null},{"name":"address_zip","value":null},{"name":"birthday","value":""},{"name":"first_name","value":"Uninvited
66
- 1"},{"name":"gender","value":null},{"name":"has_facebook_post_scores_enabled","value":false},{"name":"hide_address","value":null,"deprecated":true,"prompt":"hide_address
63
+ of a league team.","data":[{"name":"team_id","value":null},{"name":"member_id","value":null}]},{"rel":"toggle_team_visibility_on_dashboard","href":"http://localhost:3000/teams/toggle_team_visibility_on_dashboard","prompt":"Toggles
64
+ the visibility of teams on the list of active teams, per user. Requires a
65
+ single id or a comma separated list of ''team_id''s","data":[{"name":"team_ids","value":null}]},{"rel":"send_upsell_message_from_owner","href":"http://localhost:3000/teams/send_upsell_message_from_owner","prompt":"Send
66
+ an upsell email to the team owner.","data":[{"name":"team_id","value":null},{"name":"feature","value":null}]},{"rel":"send_upsell_message_from_contact","href":"http://localhost:3000/teams/send_upsell_message_from_contact","prompt":"Send
67
+ an upsell email to the team owner from a contact.","data":[{"name":"team_id","value":null},{"name":"contact_id","value":null},{"name":"feature","value":null}]},{"rel":"update_team_plan","href":"http://localhost:3000/teams/update_team_plan","prompt":"Update
68
+ team''s plan. Requires a single id or a comma separated list of ''team_id''s
69
+ and a plan_id.","data":[{"name":"team_ids","value":null},{"name":"plan_id","value":null}]},{"rel":"apply_promotion","href":"http://localhost:3000/teams/apply_promotion","prompt":"Apply
70
+ a promotion to a team. Requires a single id or a comma separated list of ''team_id''s,
71
+ promotion_name, promotion_length and a plan_id.","data":[{"name":"team_ids","value":null},{"name":"promotion_name","value":null},{"name":"promotion_length","value":null},{"name":"plan_id","value":null}]},{"rel":"enable_fundraising","href":"http://localhost:3000/teams/enable_fundraising","prompt":"Enable
72
+ fundraising for a team. Requires a single team_id and goal_cents as the fundraising
73
+ goal.","data":[{"name":"team_id","value":null},{"name":"goal_cents","value":null}]}],"items":[{"href":"http://localhost:3000/members/75","data":[{"name":"id","value":75,"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":null,"type":"String"},{"name":"first_name","value":"Uninvited
74
+ 0","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
75
+ is deprecated and has been removed. Continued use of has_facebook_post_scores_enabled
76
+ is not recommended it will no longer be stored."},{"name":"hide_address","value":null,"type":"Boolean","deprecated":true,"prompt":"hide_address
67
77
  is deprecated and will be removed in a future version, use is_address_hidden
68
- instead."},{"name":"is_address_hidden","value":null},{"name":"hide_age","value":null,"deprecated":true,"prompt":"hide_age
69
- is deprecated and will be removed in a future version, use is_age_hidden instead."},{"name":"is_age_hidden","value":null},{"name":"is_commissioner","value":false},{"name":"invitation_code","value":"1b85d2acdc6035c33190557b"},{"name":"invitation_declined","value":null},{"name":"is_activated","value":false},{"name":"is_pushable","value":false},{"name":"is_alertable","value":false},{"name":"is_emailable","value":true},{"name":"is_invitable","value":true},{"name":"is_invited","value":true},{"name":"is_manager","value":false},{"name":"is_non_player","value":false},{"name":"is_owner","value":false},{"name":"is_ownership_pending","value":null},{"name":"jersey_number","value":null},{"name":"last_logged_in_at","value":null,"deprecated":true,"prompt":"%{field}
70
- is deprecated and has been removed. Continued use of %{field} is not recommended
71
- it will no longer be stored."},{"name":"last_name","value":"Player"},{"name":"position","value":null},{"name":"team_id","value":1},{"name":"user_id","value":null},{"name":"updated_at","value":"2016-08-11T16:47:51Z","type":"DateTime"},{"name":"created_at","value":"2016-08-10T23:47:22Z","type":"DateTime"}],"links":[{"rel":"assignments","href":"http://localhost:3000/assignments/search?member_id=9"},{"rel":"availabilities","href":"http://localhost:3000/availabilities/search?member_id=9"},{"rel":"broadcast_email_attachments","href":"http://localhost:3000/broadcast_email_attachments/search?member_id=9"},{"rel":"broadcast_emails","href":"http://localhost:3000/broadcast_emails/search?member_id=9"},{"rel":"broadcast_alerts","href":"http://localhost:3000/broadcast_alerts/search?member_id=9"},{"rel":"contact_email_addresses","href":"http://localhost:3000/contact_email_addresses/search?member_id=9"},{"rel":"contact_phone_numbers","href":"http://localhost:3000/contact_phone_numbers/search?member_id=9"},{"rel":"contacts","href":"http://localhost:3000/contacts/search?member_id=9"},{"rel":"custom_data","href":"http://localhost:3000/custom_data/search?member_id=9"},{"rel":"custom_fields","href":"http://localhost:3000/custom_fields/search?team_id=1"},{"rel":"league_custom_data","href":"http://localhost:3000/league_custom_data/search?member_id=9"},{"rel":"league_custom_fields","href":"http://localhost:3000/league_custom_fields/search?team_id=1"},{"rel":"forum_posts","href":"http://localhost:3000/forum_posts/search?member_id=9"},{"rel":"forum_subscriptions","href":"http://localhost:3000/forum_subscriptions/search?member_id=9"},{"rel":"forum_topics","href":"http://localhost:3000/forum_topics/search?team_id=1"},{"rel":"league_registrant_documents","href":"http://localhost:3000/league_registrant_documents/search?member_id=9"},{"rel":"member_assignments","href":"http://localhost:3000/member_assignments/search?member_id=9"},{"rel":"member_balances","href":"http://localhost:3000/member_balances/search?member_id=9"},{"rel":"member_email_addresses","href":"http://localhost:3000/member_email_addresses/search?member_id=9"},{"rel":"member_files","href":"http://localhost:3000/member_files/search?member_id=9"},{"rel":"member_links","href":"http://localhost:3000/member_links/search?member_id=9"},{"rel":"member_payments","href":"http://localhost:3000/member_payments/search?member_id=9"},{"rel":"member_phone_numbers","href":"http://localhost:3000/member_phone_numbers/search?member_id=9"},{"rel":"member_photos","href":"http://localhost:3000/member_photos/search?member_id=9"},{"rel":"member_preferences","href":"http://localhost:3000/members_preferences/9"},{"rel":"member_statistics","href":"http://localhost:3000/member_statistics/search?member_id=9"},{"rel":"message_data","href":"http://localhost:3000/message_data/search?member_id=9"},{"rel":"messages","href":"http://localhost:3000/messages/search?member_id=9"},{"rel":"statistic_data","href":"http://localhost:3000/statistic_data/search?member_id=9"},{"rel":"team","href":"http://localhost:3000/teams/1"},{"rel":"team_media","href":"http://localhost:3000/team_media/search?member_id=9"},{"rel":"team_medium_comments","href":"http://localhost:3000/team_medium_comments/search?member_id=9"},{"rel":"tracked_item_statuses","href":"http://localhost:3000/tracked_item_statuses/search?member_id=9"}],"rel":"member-9"},{"href":"http://localhost:3000/members/11","data":[{"name":"id","value":11},{"name":"type","value":"member"},{"name":"address_city","value":null},{"name":"address_state","value":null},{"name":"address_street1","value":null},{"name":"address_street2","value":null},{"name":"address_zip","value":null},{"name":"birthday","value":""},{"name":"first_name","value":"Invited
72
- 0"},{"name":"gender","value":null},{"name":"has_facebook_post_scores_enabled","value":false},{"name":"hide_address","value":null,"deprecated":true,"prompt":"hide_address
78
+ instead."},{"name":"is_address_hidden","value":null,"type":"Boolean"},{"name":"hide_age","value":null,"type":"Boolean","deprecated":true,"prompt":"hide_age
79
+ 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":"14019a0bcd37ce190e9c02c1","type":"String","deprecated":true,"prompt":"invitation_code
80
+ 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}
81
+ is deprecated and will be removed in a future version, use %{new} instead."},{"name":"is_activated","value":false,"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
82
+ is deprecated and has been removed. Continued use of is_selectable_for_chat
83
+ 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":true,"type":"Boolean"},{"name":"is_invitable","value":true,"type":"Boolean","deprecated":true,"prompt":"is_invitable
84
+ is deprecated and has been removed. Continued use of is_invitable is not
85
+ recommended it will no longer be stored."},{"name":"is_invited","value":true,"type":"Boolean","deprecated":true,"prompt":"is_invited
86
+ is deprecated and has been removed. Continued use of is_invited is not recommended
87
+ 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
88
+ is deprecated and has been removed. Continued use of last_logged_in_at is
89
+ 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":null,"type":"String"},{"name":"team_id","value":1,"type":"String"},{"name":"user_id","value":null,"type":"String","deprecated":true,"prompt":"user_id
90
+ is deprecated and has been removed. Continued use of user_id is not recommended
91
+ 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:21Z","type":"DateTime"},{"name":"created_at","value":"2020-05-22T19:56:15Z","type":"DateTime"},{"name":"source_member_id","value":null,"type":"String"},{"name":"phone_numbers","value":[],"type":"Array[String]"},{"name":"email_addresses","value":["john56@doe.com","jane856@doe.com","jane671@doe.com","jane555@doe.com","jane959@doe.com"],"type":"Array[String]"}],"links":[{"rel":"assignments","href":"http://localhost:3000/assignments/search?member_id=75"},{"rel":"availabilities","href":"http://localhost:3000/availabilities/search?member_id=75"},{"rel":"broadcast_email_attachments","href":"http://localhost:3000/broadcast_email_attachments/search?member_id=75"},{"rel":"broadcast_emails","href":"http://localhost:3000/broadcast_emails/search?member_id=75"},{"rel":"broadcast_alerts","href":"http://localhost:3000/broadcast_alerts/search?member_id=75"},{"rel":"contact_email_addresses","href":"http://localhost:3000/contact_email_addresses/search?member_id=75"},{"rel":"contact_phone_numbers","href":"http://localhost:3000/contact_phone_numbers/search?member_id=75"},{"rel":"contacts","href":"http://localhost:3000/contacts/search?member_id=75"},{"rel":"custom_data","href":"http://localhost:3000/custom_data/search?member_id=75"},{"rel":"custom_fields","href":"http://localhost:3000/custom_fields/search?team_id=1"},{"rel":"division","href":"http://localhost:3000/divisions/"},{"rel":"invoice_recipients_invoices_aggregates","href":"http://localhost:3000/invoice_recipients_invoices_aggregates/search?member_id=75"},{"rel":"league_custom_data","href":"http://localhost:3000/league_custom_data/search?member_id=75"},{"rel":"league_custom_fields","href":"http://localhost:3000/league_custom_fields/search?team_id=1"},{"rel":"forum_posts","href":"http://localhost:3000/forum_posts/search?member_id=75"},{"rel":"forum_subscriptions","href":"http://localhost:3000/forum_subscriptions/search?member_id=75"},{"rel":"forum_topics","href":"http://localhost:3000/forum_topics/search?team_id=1"},{"rel":"league_registrant_documents","href":"http://localhost:3000/league_registrant_documents/search?member_id=75"},{"rel":"member_assignments","href":"http://localhost:3000/member_assignments/search?member_id=75"},{"rel":"member_balances","href":"http://localhost:3000/member_balances/search?member_id=75"},{"rel":"member_email_addresses","href":"http://localhost:3000/member_email_addresses/search?member_id=75","prompt":"member_email_addresses
92
+ is deprecated and has been removed. Continued use of member_email_addresses
93
+ is not recommended it will no longer be stored."},{"rel":"member_files","href":"http://localhost:3000/member_files/search?member_id=75"},{"rel":"member_links","href":"http://localhost:3000/member_links/search?member_id=75"},{"rel":"member_payments","href":"http://localhost:3000/member_payments/search?member_id=75"},{"rel":"member_phone_numbers","href":"http://localhost:3000/member_phone_numbers/search?member_id=75","prompt":"member_phone_numbers
94
+ is deprecated and has been removed. Continued use of member_phone_numbers
95
+ is not recommended it will no longer be stored."},{"rel":"member_photos","href":"http://localhost:3000/member_photos/search?member_id=75"},{"rel":"member_preferences","href":"http://localhost:3000/members_preferences/75"},{"rel":"member_registration_signups","href":"http://localhost:3000/member_registration_signups/search?member_id=75"},{"rel":"member_statistics","href":"http://localhost:3000/member_statistics/search?member_id=75"},{"rel":"message_data","href":"http://localhost:3000/message_data/search?member_id=75"},{"rel":"messages","href":"http://localhost:3000/messages/search?member_id=75"},{"rel":"registration_form","href":"http://localhost:3000/registration_forms/"},{"rel":"statistic_data","href":"http://localhost:3000/statistic_data/search?member_id=75"},{"rel":"team","href":"http://localhost:3000/teams/1"},{"rel":"team_media","href":"http://localhost:3000/team_media/search?member_id=75"},{"rel":"team_medium_comments","href":"http://localhost:3000/team_medium_comments/search?member_id=75"},{"rel":"tracked_item_statuses","href":"http://localhost:3000/tracked_item_statuses/search?member_id=75"}],"rel":"member-75"},{"href":"http://localhost:3000/members/76","data":[{"name":"id","value":76,"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":null,"type":"String"},{"name":"first_name","value":"Uninvited
96
+ 1","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
97
+ is deprecated and has been removed. Continued use of has_facebook_post_scores_enabled
98
+ is not recommended it will no longer be stored."},{"name":"hide_address","value":null,"type":"Boolean","deprecated":true,"prompt":"hide_address
73
99
  is deprecated and will be removed in a future version, use is_address_hidden
74
- instead."},{"name":"is_address_hidden","value":null},{"name":"hide_age","value":null,"deprecated":true,"prompt":"hide_age
75
- is deprecated and will be removed in a future version, use is_age_hidden instead."},{"name":"is_age_hidden","value":null},{"name":"is_commissioner","value":false},{"name":"invitation_code","value":"r69f215d1a1f3c7246782dea7"},{"name":"invitation_declined","value":null},{"name":"is_activated","value":false},{"name":"is_pushable","value":false},{"name":"is_alertable","value":false},{"name":"is_emailable","value":true},{"name":"is_invitable","value":true},{"name":"is_invited","value":true},{"name":"is_manager","value":false},{"name":"is_non_player","value":false},{"name":"is_owner","value":false},{"name":"is_ownership_pending","value":null},{"name":"jersey_number","value":null},{"name":"last_logged_in_at","value":null,"deprecated":true,"prompt":"%{field}
76
- is deprecated and has been removed. Continued use of %{field} is not recommended
77
- it will no longer be stored."},{"name":"last_name","value":"Player"},{"name":"position","value":null},{"name":"team_id","value":1},{"name":"user_id","value":null},{"name":"updated_at","value":"2016-08-10T23:47:22Z","type":"DateTime"},{"name":"created_at","value":"2016-08-10T23:47:22Z","type":"DateTime"}],"links":[{"rel":"assignments","href":"http://localhost:3000/assignments/search?member_id=11"},{"rel":"availabilities","href":"http://localhost:3000/availabilities/search?member_id=11"},{"rel":"broadcast_email_attachments","href":"http://localhost:3000/broadcast_email_attachments/search?member_id=11"},{"rel":"broadcast_emails","href":"http://localhost:3000/broadcast_emails/search?member_id=11"},{"rel":"broadcast_alerts","href":"http://localhost:3000/broadcast_alerts/search?member_id=11"},{"rel":"contact_email_addresses","href":"http://localhost:3000/contact_email_addresses/search?member_id=11"},{"rel":"contact_phone_numbers","href":"http://localhost:3000/contact_phone_numbers/search?member_id=11"},{"rel":"contacts","href":"http://localhost:3000/contacts/search?member_id=11"},{"rel":"custom_data","href":"http://localhost:3000/custom_data/search?member_id=11"},{"rel":"custom_fields","href":"http://localhost:3000/custom_fields/search?team_id=1"},{"rel":"league_custom_data","href":"http://localhost:3000/league_custom_data/search?member_id=11"},{"rel":"league_custom_fields","href":"http://localhost:3000/league_custom_fields/search?team_id=1"},{"rel":"forum_posts","href":"http://localhost:3000/forum_posts/search?member_id=11"},{"rel":"forum_subscriptions","href":"http://localhost:3000/forum_subscriptions/search?member_id=11"},{"rel":"forum_topics","href":"http://localhost:3000/forum_topics/search?team_id=1"},{"rel":"league_registrant_documents","href":"http://localhost:3000/league_registrant_documents/search?member_id=11"},{"rel":"member_assignments","href":"http://localhost:3000/member_assignments/search?member_id=11"},{"rel":"member_balances","href":"http://localhost:3000/member_balances/search?member_id=11"},{"rel":"member_email_addresses","href":"http://localhost:3000/member_email_addresses/search?member_id=11"},{"rel":"member_files","href":"http://localhost:3000/member_files/search?member_id=11"},{"rel":"member_links","href":"http://localhost:3000/member_links/search?member_id=11"},{"rel":"member_payments","href":"http://localhost:3000/member_payments/search?member_id=11"},{"rel":"member_phone_numbers","href":"http://localhost:3000/member_phone_numbers/search?member_id=11"},{"rel":"member_photos","href":"http://localhost:3000/member_photos/search?member_id=11"},{"rel":"member_preferences","href":"http://localhost:3000/members_preferences/11"},{"rel":"member_statistics","href":"http://localhost:3000/member_statistics/search?member_id=11"},{"rel":"message_data","href":"http://localhost:3000/message_data/search?member_id=11"},{"rel":"messages","href":"http://localhost:3000/messages/search?member_id=11"},{"rel":"statistic_data","href":"http://localhost:3000/statistic_data/search?member_id=11"},{"rel":"team","href":"http://localhost:3000/teams/1"},{"rel":"team_media","href":"http://localhost:3000/team_media/search?member_id=11"},{"rel":"team_medium_comments","href":"http://localhost:3000/team_medium_comments/search?member_id=11"},{"rel":"tracked_item_statuses","href":"http://localhost:3000/tracked_item_statuses/search?member_id=11"}],"rel":"member-11"}]}}'
100
+ instead."},{"name":"is_address_hidden","value":null,"type":"Boolean"},{"name":"hide_age","value":null,"type":"Boolean","deprecated":true,"prompt":"hide_age
101
+ 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":"4c0fc04334f9858bbaefda19","type":"String","deprecated":true,"prompt":"invitation_code
102
+ 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}
103
+ is deprecated and will be removed in a future version, use %{new} instead."},{"name":"is_activated","value":false,"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
104
+ is deprecated and has been removed. Continued use of is_selectable_for_chat
105
+ 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":true,"type":"Boolean"},{"name":"is_invitable","value":true,"type":"Boolean","deprecated":true,"prompt":"is_invitable
106
+ is deprecated and has been removed. Continued use of is_invitable is not
107
+ recommended it will no longer be stored."},{"name":"is_invited","value":true,"type":"Boolean","deprecated":true,"prompt":"is_invited
108
+ is deprecated and has been removed. Continued use of is_invited is not recommended
109
+ 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
110
+ is deprecated and has been removed. Continued use of last_logged_in_at is
111
+ 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":null,"type":"String"},{"name":"team_id","value":1,"type":"String"},{"name":"user_id","value":null,"type":"String","deprecated":true,"prompt":"user_id
112
+ is deprecated and has been removed. Continued use of user_id is not recommended
113
+ 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:21Z","type":"DateTime"},{"name":"created_at","value":"2020-05-22T19:56:15Z","type":"DateTime"},{"name":"source_member_id","value":null,"type":"String"},{"name":"phone_numbers","value":[],"type":"Array[String]"},{"name":"email_addresses","value":["john316@doe.com","jane590@doe.com","jane288@doe.com","jane917@doe.com","jane935@doe.com"],"type":"Array[String]"}],"links":[{"rel":"assignments","href":"http://localhost:3000/assignments/search?member_id=76"},{"rel":"availabilities","href":"http://localhost:3000/availabilities/search?member_id=76"},{"rel":"broadcast_email_attachments","href":"http://localhost:3000/broadcast_email_attachments/search?member_id=76"},{"rel":"broadcast_emails","href":"http://localhost:3000/broadcast_emails/search?member_id=76"},{"rel":"broadcast_alerts","href":"http://localhost:3000/broadcast_alerts/search?member_id=76"},{"rel":"contact_email_addresses","href":"http://localhost:3000/contact_email_addresses/search?member_id=76"},{"rel":"contact_phone_numbers","href":"http://localhost:3000/contact_phone_numbers/search?member_id=76"},{"rel":"contacts","href":"http://localhost:3000/contacts/search?member_id=76"},{"rel":"custom_data","href":"http://localhost:3000/custom_data/search?member_id=76"},{"rel":"custom_fields","href":"http://localhost:3000/custom_fields/search?team_id=1"},{"rel":"division","href":"http://localhost:3000/divisions/"},{"rel":"invoice_recipients_invoices_aggregates","href":"http://localhost:3000/invoice_recipients_invoices_aggregates/search?member_id=76"},{"rel":"league_custom_data","href":"http://localhost:3000/league_custom_data/search?member_id=76"},{"rel":"league_custom_fields","href":"http://localhost:3000/league_custom_fields/search?team_id=1"},{"rel":"forum_posts","href":"http://localhost:3000/forum_posts/search?member_id=76"},{"rel":"forum_subscriptions","href":"http://localhost:3000/forum_subscriptions/search?member_id=76"},{"rel":"forum_topics","href":"http://localhost:3000/forum_topics/search?team_id=1"},{"rel":"league_registrant_documents","href":"http://localhost:3000/league_registrant_documents/search?member_id=76"},{"rel":"member_assignments","href":"http://localhost:3000/member_assignments/search?member_id=76"},{"rel":"member_balances","href":"http://localhost:3000/member_balances/search?member_id=76"},{"rel":"member_email_addresses","href":"http://localhost:3000/member_email_addresses/search?member_id=76","prompt":"member_email_addresses
114
+ is deprecated and has been removed. Continued use of member_email_addresses
115
+ is not recommended it will no longer be stored."},{"rel":"member_files","href":"http://localhost:3000/member_files/search?member_id=76"},{"rel":"member_links","href":"http://localhost:3000/member_links/search?member_id=76"},{"rel":"member_payments","href":"http://localhost:3000/member_payments/search?member_id=76"},{"rel":"member_phone_numbers","href":"http://localhost:3000/member_phone_numbers/search?member_id=76","prompt":"member_phone_numbers
116
+ is deprecated and has been removed. Continued use of member_phone_numbers
117
+ is not recommended it will no longer be stored."},{"rel":"member_photos","href":"http://localhost:3000/member_photos/search?member_id=76"},{"rel":"member_preferences","href":"http://localhost:3000/members_preferences/76"},{"rel":"member_registration_signups","href":"http://localhost:3000/member_registration_signups/search?member_id=76"},{"rel":"member_statistics","href":"http://localhost:3000/member_statistics/search?member_id=76"},{"rel":"message_data","href":"http://localhost:3000/message_data/search?member_id=76"},{"rel":"messages","href":"http://localhost:3000/messages/search?member_id=76"},{"rel":"registration_form","href":"http://localhost:3000/registration_forms/"},{"rel":"statistic_data","href":"http://localhost:3000/statistic_data/search?member_id=76"},{"rel":"team","href":"http://localhost:3000/teams/1"},{"rel":"team_media","href":"http://localhost:3000/team_media/search?member_id=76"},{"rel":"team_medium_comments","href":"http://localhost:3000/team_medium_comments/search?member_id=76"},{"rel":"tracked_item_statuses","href":"http://localhost:3000/tracked_item_statuses/search?member_id=76"}],"rel":"member-76"}]}}'
78
118
  http_version: '1.1'
79
119
  adapter_metadata:
80
120
  effective_url: http://localhost:3000/teams/invite
81
- recorded_at: Thu, 11 Aug 2016 18:51:25 GMT
82
- recorded_with: VCR 2.9.3
121
+ recorded_at: Fri, 22 May 2020 19:58:21 GMT
122
+ recorded_with: VCR 5.1.0
@@ -2,15 +2,17 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://localhost:3000/teams/search?id=1&hmac_client_id=classic&hmac_nonce=6c66d094-194b-494a-a2fb-1125c5df21c8&hmac_timestamp=1470941486
5
+ uri: http://localhost:3000/teams/search?id=1&hmac_client_id=classic_service&hmac_nonce=9ea7953d-ea31-4366-a83f-bd2bd0b84426&hmac_timestamp=1590177505
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
10
  User-Agent:
11
- - Faraday v0.9.2
11
+ - Faraday v0.17.3
12
12
  X-Teamsnap-Hmac:
13
- - 5c7d4522727ccf1bf83351aaf7faddd0a7480cbacad1ac857fa4e3d763a1a6ee
13
+ - a60c69ad3c78a68ca9ed7b20e989ca7b57acdf43efb0e944342f7c4b0bf40f40
14
+ Expect:
15
+ - ''
14
16
  response:
15
17
  status:
16
18
  code: 200
@@ -18,27 +20,25 @@ http_interactions:
18
20
  headers:
19
21
  Content-Type:
20
22
  - application/vnd.collection+json
21
- Content-Length:
22
- - '17336'
23
23
  X-Content-Type-Options:
24
24
  - nosniff
25
25
  ETag:
26
- - '"25a0de50bfdb13b0ccda28fcd95b8b58"'
26
+ - W/"b5967b2af37d629a967b0f91fd901e17"
27
27
  Cache-Control:
28
28
  - max-age=0, private, must-revalidate
29
29
  X-Request-Id:
30
- - d575dae0-6b60-46dc-a7d5-7fc17e9f3e18
30
+ - 86292552-a12a-49d0-b010-a53814d1afa4
31
31
  X-Runtime:
32
- - '0.062511'
33
- Connection:
34
- - keep-alive
35
- Server:
36
- - thin
32
+ - '0.580396'
33
+ Vary:
34
+ - Origin
35
+ Content-Length:
36
+ - '23104'
37
37
  body:
38
38
  encoding: UTF-8
39
- string: '{"collection":{"version":"3.306.2","href":"http://localhost:3000/teams","rel":"teams","template":{"data":[{"name":"name","value":null},{"name":"location_country","value":null},{"name":"location_postal_code","value":null},{"name":"time_zone","value":null,"prompt":"The
39
+ string: '{"collection":{"version":"3.854.0","href":"http://localhost:3000/teams","rel":"teams","template":{"data":[{"name":"name","value":null},{"name":"location_country","value":null},{"name":"location_postal_code","value":null},{"name":"time_zone","value":null,"prompt":"The
40
40
  time_zone parameter is required when creating a team, but for changing a team''s
41
- time_zone, use the update_time_zone command"},{"name":"sport_id","value":null},{"name":"division_id","value":null},{"name":"division_name","value":null},{"name":"season_name","value":null},{"name":"league_name","value":null},{"name":"league_url","value":null},{"name":"owner_first_name","value":null},{"name":"owner_last_name","value":null},{"name":"owner_email","value":null},{"name":"is_ownership_pending","value":null},{"name":"type","value":"team"}]},"links":[{"rel":"active_season_team","href":"http://localhost:3000/teams"},{"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":"commissioners","href":"http://localhost:3000/members"},{"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_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_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_team_standings","href":"http://localhost:3000/division_team_standings"},{"rel":"event_statistics","href":"http://localhost:3000/event_statistics"},{"rel":"events","href":"http://localhost:3000/events"},{"rel":"events_overview","href":"http://localhost:3000/events/overview"},{"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_custom_data","href":"http://localhost:3000/league_custom_data"},{"rel":"league_custom_fields","href":"http://localhost:3000/league_custom_fields"},{"rel":"league_registrant_documents","href":"http://localhost:3000/league_registrant_documents"},{"rel":"locations","href":"http://localhost:3000/locations"},{"rel":"managers","href":"http://localhost:3000/members"},{"rel":"member_balances","href":"http://localhost:3000/member_balances"},{"rel":"member_email_addresses","href":"http://localhost:3000/member_email_addresses"},{"rel":"member_files","href":"http://localhost:3000/member_files"},{"rel":"member_links","href":"http://localhost:3000/member_links"},{"rel":"member_payments","href":"http://localhost:3000/member_payments"},{"rel":"member_phone_numbers","href":"http://localhost:3000/member_phone_numbers"},{"rel":"member_photos","href":"http://localhost:3000/member_photos"},{"rel":"member_statistics","href":"http://localhost:3000/member_statistics"},{"rel":"members","href":"http://localhost:3000/members"},{"rel":"members_preferences","href":"http://localhost:3000/members_preferences"},{"rel":"message_data","href":"http://localhost:3000/message_data"},{"rel":"messages","href":"http://localhost:3000/messages"},{"rel":"opponents","href":"http://localhost:3000/opponents"},{"rel":"opponents_results","href":"http://localhost:3000/opponents_results"},{"rel":"owner","href":"http://localhost:3000/members"},{"rel":"payment_notes","href":"http://localhost:3000/payment_notes"},{"rel":"paypal_currency","href":"http://localhost:3000/paypal_currencies"},{"rel":"plan","href":"http://localhost:3000/plans"},{"rel":"sponsors","href":"http://localhost:3000/sponsors"},{"rel":"sport","href":"http://localhost:3000/sports"},{"rel":"statistic","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_group","href":"http://localhost:3000/statistic_groups"},{"rel":"team_fees","href":"http://localhost:3000/team_fees"},{"rel":"team_media","href":"http://localhost:3000/team_media"},{"rel":"team_medium_comments","href":"http://localhost:3000/team_medium_comments"},{"rel":"team_media_groups","href":"http://localhost:3000/team_media_groups"},{"rel":"team_paypal_preferences","href":"http://localhost:3000/teams_paypal_preferences"},{"rel":"team_photos","href":"http://localhost:3000/team_photos"},{"rel":"team_preferences","href":"http://localhost:3000/teams_preferences"},{"rel":"team_public_site","href":"http://localhost:3000/team_public_sites"},{"rel":"team_results","href":"http://localhost:3000/teams_results"},{"rel":"team_statistics","href":"http://localhost:3000/team_statistics"},{"rel":"tracked_item_statuses","href":"http://localhost:3000/tracked_item_statuses"},{"rel":"tracked_items","href":"http://localhost:3000/tracked_items"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/teams/search?id=1"}],"queries":[{"rel":"search","href":"http://localhost:3000/teams/search","sort":["name"],"data":[{"name":"id","value":null},{"name":"team_id","value":null},{"name":"user_id","value":null},{"name":"division_id","value":null},{"name":"page_size","value":null,"prompt":"The
41
+ time_zone, use the update_time_zone command"},{"name":"sport_id","value":null},{"name":"division_id","value":null},{"name":"division_name","value":null},{"name":"season_name","value":null},{"name":"league_name","value":null},{"name":"league_url","value":null},{"name":"owner_first_name","value":null},{"name":"owner_last_name","value":null},{"name":"owner_email","value":null},{"name":"is_ownership_pending","value":null},{"name":"type","value":"team"}]},"links":[{"rel":"advertisements","href":"http://localhost:3000/advertisements"},{"rel":"active_season_team","href":"http://localhost:3000/teams"},{"rel":"assignments","href":"http://localhost:3000/assignments"},{"rel":"availabilities","href":"http://localhost:3000/availabilities"},{"rel":"batch_invoices","href":"http://localhost:3000/batch_invoices"},{"rel":"batch_invoices_aggregates","href":"http://localhost:3000/batch_invoices_aggregates"},{"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":"commissioners","href":"http://localhost:3000/members"},{"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_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_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_team_standings","href":"http://localhost:3000/division_team_standings"},{"rel":"event_statistics","href":"http://localhost:3000/event_statistics"},{"rel":"events","href":"http://localhost:3000/events"},{"rel":"events_overview","href":"http://localhost:3000/events/overview"},{"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_custom_data","href":"http://localhost:3000/league_custom_data"},{"rel":"league_custom_fields","href":"http://localhost:3000/league_custom_fields"},{"rel":"league_registrant_documents","href":"http://localhost:3000/league_registrant_documents"},{"rel":"locations","href":"http://localhost:3000/locations"},{"rel":"managers","href":"http://localhost:3000/members"},{"rel":"member_balances","href":"http://localhost:3000/member_balances"},{"rel":"member_email_addresses","href":"http://localhost:3000/member_email_addresses"},{"rel":"member_files","href":"http://localhost:3000/member_files"},{"rel":"member_links","href":"http://localhost:3000/member_links"},{"rel":"member_payments","href":"http://localhost:3000/member_payments"},{"rel":"member_phone_numbers","href":"http://localhost:3000/member_phone_numbers"},{"rel":"member_photos","href":"http://localhost:3000/member_photos"},{"rel":"member_statistics","href":"http://localhost:3000/member_statistics"},{"rel":"members","href":"http://localhost:3000/members"},{"rel":"members_preferences","href":"http://localhost:3000/members_preferences"},{"rel":"message_data","href":"http://localhost:3000/message_data"},{"rel":"messages","href":"http://localhost:3000/messages"},{"rel":"opponents","href":"http://localhost:3000/opponents"},{"rel":"opponents_results","href":"http://localhost:3000/opponents_results"},{"rel":"owner","href":"http://localhost:3000/members"},{"rel":"payment_notes","href":"http://localhost:3000/payment_notes"},{"rel":"paypal_currency","href":"http://localhost:3000/paypal_currencies"},{"rel":"plan","href":"http://localhost:3000/plans"},{"rel":"sponsors","href":"http://localhost:3000/sponsors"},{"rel":"sport","href":"http://localhost:3000/sports"},{"rel":"sport_positions","href":"http://localhost:3000/sport_positions"},{"rel":"statistic","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_group","href":"http://localhost:3000/statistic_groups"},{"rel":"team_fees","href":"http://localhost:3000/team_fees"},{"rel":"team_media","href":"http://localhost:3000/team_media"},{"rel":"team_medium_comments","href":"http://localhost:3000/team_medium_comments"},{"rel":"team_media_groups","href":"http://localhost:3000/team_media_groups"},{"rel":"team_paypal_preferences","href":"http://localhost:3000/teams_paypal_preferences"},{"rel":"team_photos","href":"http://localhost:3000/team_photos"},{"rel":"team_preferences","href":"http://localhost:3000/teams_preferences"},{"rel":"team_public_site","href":"http://localhost:3000/team_public_sites"},{"rel":"team_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":"tracked_item_statuses","href":"http://localhost:3000/tracked_item_statuses"},{"rel":"tracked_items","href":"http://localhost:3000/tracked_items"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/teams/search?id=1"}],"queries":[{"rel":"search","href":"http://localhost:3000/teams/search","sort":["name"],"data":[{"name":"id","value":null},{"name":"team_id","value":null},{"name":"user_id","value":null},{"name":"division_id","value":null},{"name":"page_size","value":null,"prompt":"The
42
42
  number of items to return for each page. Sending this parameter with the query
43
43
  will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
44
44
  number of the page to be returned. This requires that paging be turned on
@@ -47,24 +47,41 @@ http_interactions:
47
47
  ''desc''."}]},{"rel":"available_for_statistic_import","href":"http://localhost:3000/teams/available_for_statistic_import","prompt":"Finds
48
48
  all teams accessible to current user that have the provided sport_id and have
49
49
  at least one statistic to import","data":[{"name":"sport_id","value":null}]},{"rel":"active_teams","href":"http://localhost:3000/teams/active","prompt":"Finds
50
- all active teams for a given user. Excludes archived seasons and retired teams.","data":[{"name":"user_id","value":null}]}],"commands":[{"rel":"invite","href":"http://localhost:3000/teams/invite","prompt":"invite
50
+ all active teams for a given user. Excludes archived seasons and retired teams.","data":[{"name":"user_id","value":null},{"name":"division_id","value":null}]},{"rel":"division_search","href":"http://localhost:3000/teams/division_search","prompt":"Search
51
+ the teams on the division_id and its descendants or a commissioner''s user_id.","data":[{"name":"division_id","value":null},{"name":"user_id","value":null},{"name":"is_active","value":null},{"name":"is_commissioner","value":null},{"name":"page_size","value":null,"prompt":"The
52
+ number of items to return for each page. Sending this parameter with the query
53
+ will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
54
+ number of the page to be returned. This requires that paging be turned on
55
+ by also providing the page_size parameter."}]}],"commands":[{"rel":"invite","href":"http://localhost:3000/teams/invite","prompt":"invite
51
56
  team members or contacts to join TeamSnap.","data":[{"name":"team_id","value":null},{"name":"contact_id","value":null},{"name":"member_id","value":null},{"name":"introduction","value":null},{"name":"notify_as_member_id","value":null}]},{"rel":"update_time_zone","href":"http://localhost:3000/teams/update_time_zone","prompt":"Update
52
57
  team''s time zone. This is currently the only method of updating a team''s
53
- time zone.","data":[{"name":"team_id","value":null},{"name":"time_zone","value":null},{"name":"offset_team_times","value":null}]},{"rel":"reset_statistics","href":"http://localhost:3000/teams/reset_statistics","prompt":"Deletes
58
+ time zone.","data":[{"name":"team_id","value":null},{"name":"time_zone","value":null},{"name":"offset_team_times","value":null,"deprecated":true,"prompt":"%{old}
59
+ is deprecated and will be removed in a future version, use %{new} instead."}]},{"rel":"reset_statistics","href":"http://localhost:3000/teams/reset_statistics","prompt":"Deletes
54
60
  all data, categories and groups for a given team_id","data":[{"name":"team_id","value":null}]},{"rel":"invite_team_owners","href":"http://localhost:3000/teams/invite_team_owners","prompt":"Beta:
55
61
  (This endpoint subject to change) Allow commissioners to send invitations
56
62
  to all owners on active teams in the division.","data":[{"name":"id","value":null}]},{"rel":"change_owner","href":"http://localhost:3000/teams/change_owner","prompt":"Beta:
57
63
  (This endpoint subject to change) Allow commissioners to change the owner
58
- of a league team.","data":[{"name":"team_id","value":null},{"name":"member_id","value":null}]},{"rel":"division_search","href":"http://localhost:3000/teams/division_search","prompt":"Beta:
59
- (This endpoint subject to change) Search the teams on the division_id and
60
- it''s descendants.","data":[{"name":"division_id","value":null},{"name":"is_active","value":null}]}],"items":[{"href":"http://localhost:3000/teams/1","data":[{"name":"id","value":1},{"name":"type","value":"team"},{"name":"active_season_team_id","value":null},{"name":"division_name","value":null},{"name":"division_id","value":null},{"name":"is_archived_season","value":false},{"name":"is_retired","value":false},{"name":"league_name","value":null},{"name":"league_url","value":null},{"name":"is_in_league","value":false},{"name":"location_country","value":"United
61
- States"},{"name":"location_postal_code","value":"80951"},{"name":"location_latitude","value":null},{"name":"location_longitude","value":null},{"name":"name","value":"Base
62
- Team"},{"name":"plan_id","value":14},{"name":"billed_at","value":"2016-08-10T07:00:00Z"},{"name":"season_name","value":null},{"name":"sport_id","value":1},{"name":"time_zone","value":"Mountain
63
- Time (US & Canada)"},{"name":"time_zone_description","value":"Mountain Time
64
- (US & Canada)"},{"name":"time_zone_iana_name","value":"America/Denver"},{"name":"time_zone_offset","value":"-07:00"},{"name":"updated_at","value":"2016-08-10T23:47:23Z","type":"DateTime"},{"name":"created_at","value":"2016-08-10T23:47:20Z","type":"DateTime"},{"name":"has_reached_roster_limit","value":false},{"name":"roster_limit","value":30},{"name":"has_exportable_media","value":false},{"name":"can_export_media","value":false},{"name":"last_accessed_at","value":null,"type":"DateTime"},{"name":"media_storage_used","value":0},{"name":"humanized_media_storage_used","value":"0
65
- B"}],"links":[{"rel":"assignments","href":"http://localhost:3000/assignments/search?team_id=1"},{"rel":"availabilities","href":"http://localhost:3000/availabilities/search?team_id=1"},{"rel":"broadcast_email_attachments","href":"http://localhost:3000/broadcast_email_attachments/search?team_id=1"},{"rel":"broadcast_emails","href":"http://localhost:3000/broadcast_emails/search?team_id=1"},{"rel":"broadcast_alerts","href":"http://localhost:3000/broadcast_alerts/search?team_id=1"},{"rel":"calendar_http","href":"http://86ed2e8eefaaee16c4b7-16391cffaf9272bff70e93998d553c16.r2.cf1.rackcdn.com/team_schedule/b36a1370-4182-0134-945b-245e60c7d3c3.ics"},{"rel":"calendar_http_games_only","href":"http://86ed2e8eefaaee16c4b7-16391cffaf9272bff70e93998d553c16.r2.cf1.rackcdn.com/team_schedule/filter/games/b36a1370-4182-0134-945b-245e60c7d3c3.ics"},{"rel":"calendar_webcal","href":"webcal://86ed2e8eefaaee16c4b7-16391cffaf9272bff70e93998d553c16.r2.cf1.rackcdn.com/team_schedule/b36a1370-4182-0134-945b-245e60c7d3c3.ics"},{"rel":"calendar_webcal_games_only","href":"webcal://86ed2e8eefaaee16c4b7-16391cffaf9272bff70e93998d553c16.r2.cf1.rackcdn.com/team_schedule/filter/games/b36a1370-4182-0134-945b-245e60c7d3c3.ics"},{"rel":"commissioners","href":"http://localhost:3000/members/commissioners?team_id=1"},{"rel":"contact_email_addresses","href":"http://localhost:3000/contact_email_addresses/search?team_id=1"},{"rel":"contact_phone_numbers","href":"http://localhost:3000/contact_phone_numbers/search?team_id=1"},{"rel":"contacts","href":"http://localhost:3000/contacts/search?team_id=1"},{"rel":"custom_data","href":"http://localhost:3000/custom_data/search?team_id=1"},{"rel":"custom_fields","href":"http://localhost:3000/custom_fields/search?team_id=1"},{"rel":"division_contact_email_addresses","href":"http://localhost:3000/division_contact_email_addresses/search?team_id=1"},{"rel":"division_contact_phone_numbers","href":"http://localhost:3000/division_contact_phone_numbers/search?team_id=1"},{"rel":"division_contacts","href":"http://localhost:3000/division_contacts/search?team_id=1"},{"rel":"division_locations","href":"http://localhost:3000/division_locations/search?team_id=1"},{"rel":"division_member_email_addresses","href":"http://localhost:3000/division_member_email_addresses/search?team_id=1"},{"rel":"division_member_phone_numbers","href":"http://localhost:3000/division_member_phone_numbers/search?team_id=1"},{"rel":"division_members","href":"http://localhost:3000/division_members/search?team_id=1"},{"rel":"division_members_preferences","href":"http://localhost:3000/division_members_preferences/search?team_id=1"},{"rel":"division_team_standings","href":"http://localhost:3000/division_team_standings/search?team_id=1"},{"rel":"forum_posts","href":"http://localhost:3000/forum_posts/search?team_id=1"},{"rel":"forum_subscriptions","href":"http://localhost:3000/forum_subscriptions/search?team_id=1"},{"rel":"forum_topics","href":"http://localhost:3000/forum_topics/search?team_id=1"},{"rel":"event_statistics","href":"http://localhost:3000/event_statistics/search?team_id=1"},{"rel":"events","href":"http://localhost:3000/events/search?team_id=1"},{"rel":"events_csv_export","href":"http://localhost:3000/exports/events_csv?hs=YszGJFFtdkxT%252Ba08BS5xyp1dHMOjVVvQPmlGdCebDpafs9qC6iM2Wgap55%252FDtoxV"},{"rel":"events_overview","href":"http://localhost:3000/events/overview?team_id=1"},{"rel":"league_custom_data","href":"http://localhost:3000/league_custom_data/search?team_id=1"},{"rel":"league_custom_fields","href":"http://localhost:3000/league_custom_fields/search?team_id=1"},{"rel":"league_registrant_documents","href":"http://localhost:3000/league_registrant_documents/search?member_id=1"},{"rel":"locations","href":"http://localhost:3000/locations/search?team_id=1"},{"rel":"managers","href":"http://localhost:3000/members/managers?team_id=1"},{"rel":"member_balances","href":"http://localhost:3000/member_balances/search?team_id=1"},{"rel":"member_email_addresses","href":"http://localhost:3000/member_email_addresses/search?team_id=1"},{"rel":"member_files","href":"http://localhost:3000/member_files/search?team_id=1"},{"rel":"member_links","href":"http://localhost:3000/member_links/search?team_id=1"},{"rel":"member_payments","href":"http://localhost:3000/member_payments/search?team_id=1"},{"rel":"member_phone_numbers","href":"http://localhost:3000/member_phone_numbers/search?team_id=1"},{"rel":"member_photos","href":"http://localhost:3000/member_photos/search?team_id=1"},{"rel":"member_statistics","href":"http://localhost:3000/member_statistics/search?team_id=1"},{"rel":"members","href":"http://localhost:3000/members/search?team_id=1"},{"rel":"members_csv_export","href":"http://localhost:3000/exports/members_csv?hs=YszGJFFtdkxT%252Ba08BS5xyp1dHMOjVVvQPmlGdCebDpafs9qC6iM2Wgap55%252FDtoxV"},{"rel":"members_preferences","href":"http://localhost:3000/members_preferences/search?team_id=1"},{"rel":"message_data","href":"http://localhost:3000/message_data/search?team_id=1"},{"rel":"messages","href":"http://localhost:3000/messages/search?team_id=1"},{"rel":"opponents","href":"http://localhost:3000/opponents/search?team_id=1"},{"rel":"opponents_results","href":"http://localhost:3000/opponents_results/search?team_id=1"},{"rel":"owner","href":"http://localhost:3000/members/owner?team_id=1"},{"rel":"payment_notes","href":"http://localhost:3000/payment_notes/search?team_id=1"},{"rel":"paypal_currency","href":"http://localhost:3000/paypal_currencies/search?team_id=1"},{"rel":"plan","href":"http://localhost:3000/plans/14"},{"rel":"sponsors","href":"http://localhost:3000/sponsors/search?team_id=1"},{"rel":"sport","href":"http://localhost:3000/sports/1"},{"rel":"statistics","href":"http://localhost:3000/statistics/search?team_id=1"},{"rel":"statistic_aggregates","href":"http://localhost:3000/statistic_aggregates/search?team_id=1"},{"rel":"statistic_data","href":"http://localhost:3000/statistic_data/search?team_id=1"},{"rel":"statistic_groups","href":"http://localhost:3000/statistic_groups/search?team_id=1"},{"rel":"team_fees","href":"http://localhost:3000/team_fees/search?team_id=1"},{"rel":"team_media","href":"http://localhost:3000/team_media/search?team_id=1"},{"rel":"team_medium_comments","href":"http://localhost:3000/team_medium_comments/search?team_id=1"},{"rel":"team_media_groups","href":"http://localhost:3000/team_media_groups/search?team_id=1"},{"rel":"team_paypal_preferences","href":"http://localhost:3000/teams_paypal_preferences/1"},{"rel":"team_photos","href":"http://localhost:3000/team_photos/search"},{"rel":"team_preferences","href":"http://localhost:3000/teams_preferences/1"},{"rel":"team_public_site","href":"http://localhost:3000/team_public_sites/1"},{"rel":"team_results","href":"http://localhost:3000/teams_results/1"},{"rel":"team_statistics","href":"http://localhost:3000/team_statistics/search?team_id=1"},{"rel":"tracked_item_statuses","href":"http://localhost:3000/tracked_item_statuses/search?team_id=1"},{"rel":"tracked_items","href":"http://localhost:3000/tracked_items/search?team_id=1"}],"rel":"team-1"}]}}'
64
+ of a league team.","data":[{"name":"team_id","value":null},{"name":"member_id","value":null}]},{"rel":"toggle_team_visibility_on_dashboard","href":"http://localhost:3000/teams/toggle_team_visibility_on_dashboard","prompt":"Toggles
65
+ the visibility of teams on the list of active teams, per user. Requires a
66
+ single id or a comma separated list of ''team_id''s","data":[{"name":"team_ids","value":null}]},{"rel":"send_upsell_message_from_owner","href":"http://localhost:3000/teams/send_upsell_message_from_owner","prompt":"Send
67
+ an upsell email to the team owner.","data":[{"name":"team_id","value":null},{"name":"feature","value":null}]},{"rel":"send_upsell_message_from_contact","href":"http://localhost:3000/teams/send_upsell_message_from_contact","prompt":"Send
68
+ an upsell email to the team owner from a contact.","data":[{"name":"team_id","value":null},{"name":"contact_id","value":null},{"name":"feature","value":null}]},{"rel":"update_team_plan","href":"http://localhost:3000/teams/update_team_plan","prompt":"Update
69
+ team''s plan. Requires a single id or a comma separated list of ''team_id''s
70
+ and a plan_id.","data":[{"name":"team_ids","value":null},{"name":"plan_id","value":null}]},{"rel":"apply_promotion","href":"http://localhost:3000/teams/apply_promotion","prompt":"Apply
71
+ a promotion to a team. Requires a single id or a comma separated list of ''team_id''s,
72
+ promotion_name, promotion_length and a plan_id.","data":[{"name":"team_ids","value":null},{"name":"promotion_name","value":null},{"name":"promotion_length","value":null},{"name":"plan_id","value":null}]},{"rel":"enable_fundraising","href":"http://localhost:3000/teams/enable_fundraising","prompt":"Enable
73
+ fundraising for a team. Requires a single team_id and goal_cents as the fundraising
74
+ goal.","data":[{"name":"team_id","value":null},{"name":"goal_cents","value":null}]}],"items":[{"href":"http://localhost:3000/teams/1","data":[{"name":"id","value":1,"type":"String"},{"name":"type","value":"team","type":"String"},{"name":"active_season_team_id","value":null,"type":"String"},{"name":"division_name","value":null,"type":"String"},{"name":"division_id","value":null,"type":"String"},{"name":"division_root_id","value":null,"type":"Integer"},{"name":"is_archived_season","value":false,"type":"Boolean"},{"name":"is_hidden_on_dashboard","value":false,"type":"Boolean"},{"name":"is_retired","value":false,"type":"Boolean"},{"name":"league_name","value":null,"type":"String"},{"name":"league_url","value":null,"type":"String"},{"name":"is_in_league","value":false,"type":"Boolean"},{"name":"location_country","value":"United
75
+ States","type":"String"},{"name":"location_postal_code","value":"80951","type":"String"},{"name":"location_latitude","value":null,"type":"String"},{"name":"location_longitude","value":null,"type":"String"},{"name":"location_state","value":null,"type":"String"},{"name":"name","value":"Base
76
+ Team","type":"String"},{"name":"non_player_member_count","value":1,"type":"Integer"},{"name":"plan_id","value":14,"type":"String"},{"name":"player_member_count","value":12,"type":"Integer"},{"name":"billed_at","value":"2020-05-22T00:00:00Z","type":"DateTime"},{"name":"season_name","value":null,"type":"String"},{"name":"sport_id","value":1,"type":"String"},{"name":"time_zone","value":"Mountain
77
+ Time (US & Canada)","type":"String"},{"name":"time_zone_description","value":"Mountain
78
+ Time (US & Canada)","type":"String"},{"name":"time_zone_iana_name","value":"America/Denver","type":"String"},{"name":"time_zone_offset","value":"-07:00","type":"String"},{"name":"active_payment_provider","value":"offline","type":"String"},{"name":"default_payment_provider","value":"stripe","type":"String"},{"name":"updated_at","value":"2020-05-22T19:56:15Z","type":"DateTime"},{"name":"created_at","value":"2020-05-22T19:56:05Z","type":"DateTime"},{"name":"has_reached_roster_limit","value":false,"type":"Boolean","deprecated":true,"prompt":"has_reached_roster_limit
79
+ is deprecated and will be removed in a future version, use has_reached_member_limit
80
+ instead."},{"name":"has_reached_member_limit","value":false,"type":"Boolean"},{"name":"roster_limit","value":15,"type":"Boolean","deprecated":true,"prompt":"roster_limit
81
+ is deprecated and will be removed in a future version, use member_limit instead."},{"name":"member_limit","value":15,"type":"Integer"},{"name":"has_exportable_media","value":false,"type":"Boolean"},{"name":"can_export_media","value":false,"type":"Boolean"},{"name":"last_accessed_at","value":null,"type":"DateTime"},{"name":"media_storage_used","value":0,"type":"Integer"},{"name":"humanized_media_storage_used","value":"0
82
+ B","type":"String"},{"name":"is_game_day","value":false,"type":"Boolean"},{"name":"is_gateway_required_for_sms","value":false,"type":"Boolean"},{"name":"has_plaay_video","value":false,"type":"Boolean"}],"links":[{"rel":"advertisements","href":"http://localhost:3000/advertisements/search?team_id=1"},{"rel":"assignments","href":"http://localhost:3000/assignments/search?team_id=1"},{"rel":"availabilities","href":"http://localhost:3000/availabilities/search?team_id=1"},{"rel":"availabilities_csv_export","href":"http://localhost:3000/exports/availabilities_csv?hs=YszGJFFtdkxT%252Ba08BS5xyp1dHMOjVVvQPmlGdCebDpafs9qC6iM2Wgap55%252FDtoxV"},{"rel":"batch_invoices","href":"http://localhost:3000/batch_invoices/search?team_id=1"},{"rel":"batch_invoices_aggregates","href":"http://localhost:3000/batch_invoices_aggregates/search?team_id=1"},{"rel":"broadcast_email_attachments","href":"http://localhost:3000/broadcast_email_attachments/search?team_id=1"},{"rel":"broadcast_emails","href":"http://localhost:3000/broadcast_emails/search?team_id=1"},{"rel":"broadcast_alerts","href":"http://localhost:3000/broadcast_alerts/search?team_id=1"},{"rel":"calendar_http","href":"http://86ed2e8eefaaee16c4b7-16391cffaf9272bff70e93998d553c16.r2.cf1.rackcdn.com/team_schedule/32322520-7e94-0138-2c42-095d1336e8e6.ics"},{"rel":"calendar_http_games_only","href":"http://86ed2e8eefaaee16c4b7-16391cffaf9272bff70e93998d553c16.r2.cf1.rackcdn.com/team_schedule/filter/games/32322520-7e94-0138-2c42-095d1336e8e6.ics"},{"rel":"calendar_webcal","href":"webcal://86ed2e8eefaaee16c4b7-16391cffaf9272bff70e93998d553c16.r2.cf1.rackcdn.com/team_schedule/32322520-7e94-0138-2c42-095d1336e8e6.ics"},{"rel":"calendar_webcal_games_only","href":"webcal://86ed2e8eefaaee16c4b7-16391cffaf9272bff70e93998d553c16.r2.cf1.rackcdn.com/team_schedule/filter/games/32322520-7e94-0138-2c42-095d1336e8e6.ics"},{"rel":"commissioners","href":"http://localhost:3000/members/commissioners?team_id=1"},{"rel":"contact_email_addresses","href":"http://localhost:3000/contact_email_addresses/search?team_id=1"},{"rel":"contact_phone_numbers","href":"http://localhost:3000/contact_phone_numbers/search?team_id=1"},{"rel":"contacts","href":"http://localhost:3000/contacts/search?team_id=1"},{"rel":"custom_data","href":"http://localhost:3000/custom_data/search?team_id=1"},{"rel":"custom_fields","href":"http://localhost:3000/custom_fields/search?team_id=1"},{"rel":"division_contact_email_addresses","href":"http://localhost:3000/division_contact_email_addresses/search?team_id=1"},{"rel":"division_contact_phone_numbers","href":"http://localhost:3000/division_contact_phone_numbers/search?team_id=1"},{"rel":"division_contacts","href":"http://localhost:3000/division_contacts/search?team_id=1"},{"rel":"division_locations","href":"http://localhost:3000/division_locations/search?team_id=1"},{"rel":"division_member_email_addresses","href":"http://localhost:3000/division_member_email_addresses/search?team_id=1"},{"rel":"division_member_phone_numbers","href":"http://localhost:3000/division_member_phone_numbers/search?team_id=1"},{"rel":"division_members","href":"http://localhost:3000/division_members/search?team_id=1"},{"rel":"division_members_preferences","href":"http://localhost:3000/division_members_preferences/search?team_id=1"},{"rel":"division_team_standings","href":"http://localhost:3000/division_team_standings/search?team_id=1"},{"rel":"forum_posts","href":"http://localhost:3000/forum_posts/search?team_id=1"},{"rel":"forum_subscriptions","href":"http://localhost:3000/forum_subscriptions/search?team_id=1"},{"rel":"forum_topics","href":"http://localhost:3000/forum_topics/search?team_id=1"},{"rel":"event_statistics","href":"http://localhost:3000/event_statistics/search?team_id=1"},{"rel":"events","href":"http://localhost:3000/events/search?team_id=1"},{"rel":"events_csv_export","href":"http://localhost:3000/exports/events_csv?hs=YszGJFFtdkxT%252Ba08BS5xyp1dHMOjVVvQPmlGdCebDpafs9qC6iM2Wgap55%252FDtoxV"},{"rel":"events_overview","href":"http://localhost:3000/events/overview?team_id=1"},{"rel":"invoices_aggregates","href":"http://localhost:3000/invoices_aggregates/search?team_id=1"},{"rel":"invoice_recipients_invoices_aggregates","href":"http://localhost:3000/invoice_recipients_invoices_aggregates/search?team_id=1"},{"rel":"granted_wepay_account","href":"http://localhost:3000/wepay_accounts/search?is_granted=true&team_id=1"},{"rel":"league_custom_data","href":"http://localhost:3000/league_custom_data/search?team_id=1"},{"rel":"league_custom_fields","href":"http://localhost:3000/league_custom_fields/search?team_id=1"},{"rel":"league_registrant_documents","href":"http://localhost:3000/league_registrant_documents/search?member_id=1"},{"rel":"locations","href":"http://localhost:3000/locations/search?team_id=1"},{"rel":"managers","href":"http://localhost:3000/members/managers?team_id=1"},{"rel":"member_balances","href":"http://localhost:3000/member_balances/search?team_id=1"},{"rel":"member_email_addresses","href":"http://localhost:3000/member_email_addresses/search?team_id=1"},{"rel":"member_files","href":"http://localhost:3000/member_files/search?team_id=1"},{"rel":"member_links","href":"http://localhost:3000/member_links/search?team_id=1"},{"rel":"member_payments","href":"http://localhost:3000/member_payments/search?team_id=1"},{"rel":"member_phone_numbers","href":"http://localhost:3000/member_phone_numbers/search?team_id=1"},{"rel":"member_photos","href":"http://localhost:3000/member_photos/search?team_id=1"},{"rel":"member_statistics","href":"http://localhost:3000/member_statistics/search?team_id=1"},{"rel":"members","href":"http://localhost:3000/members/search?team_id=1"},{"rel":"members_csv_export","href":"http://localhost:3000/exports/members_csv?hs=YszGJFFtdkxT%252Ba08BS5xyp1dHMOjVVvQPmlGdCebDpafs9qC6iM2Wgap55%252FDtoxV"},{"rel":"members_preferences","href":"http://localhost:3000/members_preferences/search?team_id=1"},{"rel":"message_data","href":"http://localhost:3000/message_data/search?team_id=1"},{"rel":"messages","href":"http://localhost:3000/messages/search?team_id=1"},{"rel":"messaging_permissions","href":"http://localhost:3000/messaging_permissions?team_id=1"},{"rel":"opponents","href":"http://localhost:3000/opponents/search?team_id=1"},{"rel":"opponents_results","href":"http://localhost:3000/opponents_results/search?team_id=1"},{"rel":"owner","href":"http://localhost:3000/members/owner?team_id=1"},{"rel":"partners_preferences_flip_give","href":"http://localhost:3000/partners_preferences/search?partner_id=36&team_id=1"},{"rel":"payment_notes","href":"http://localhost:3000/payment_notes/search?team_id=1"},{"rel":"paypal_currency","href":"http://localhost:3000/paypal_currencies/search?team_id=1"},{"rel":"plan","href":"http://localhost:3000/plans/14"},{"rel":"sponsors","href":"http://localhost:3000/sponsors/search?team_id=1"},{"rel":"sport","href":"http://localhost:3000/sports/1"},{"rel":"sport_positions","href":"http://localhost:3000/sport_positions/search?sport_id=1"},{"rel":"statistics","href":"http://localhost:3000/statistics/search?team_id=1"},{"rel":"statistic_aggregates","href":"http://localhost:3000/statistic_aggregates/search?team_id=1"},{"rel":"statistic_data","href":"http://localhost:3000/statistic_data/search?team_id=1"},{"rel":"statistic_groups","href":"http://localhost:3000/statistic_groups/search?team_id=1"},{"rel":"stripe_accounts","href":"http://localhost:3000/stripe_accounts/search?team_id=1"},{"rel":"team_fees","href":"http://localhost:3000/team_fees/search?team_id=1"},{"rel":"team_logo_photo_file","href":"http://localhost:3000/photo_files/sport_logo/1-1590177362"},{"rel":"team_media","href":"http://localhost:3000/team_media/search?team_id=1"},{"rel":"team_medium_comments","href":"http://localhost:3000/team_medium_comments/search?team_id=1"},{"rel":"team_media_groups","href":"http://localhost:3000/team_media_groups/search?team_id=1"},{"rel":"team_paypal_preferences","href":"http://localhost:3000/teams_paypal_preferences/1"},{"rel":"team_photos","href":"http://localhost:3000/team_photos/search"},{"rel":"team_preferences","href":"http://localhost:3000/teams_preferences/1"},{"rel":"team_public_site","href":"http://localhost:3000/team_public_sites/1"},{"rel":"team_results","href":"http://localhost:3000/teams_results/1"},{"rel":"team_statistics","href":"http://localhost:3000/team_statistics/search?team_id=1"},{"rel":"team_stores","href":"http://localhost:3000/team_stores/search?team_id=1"},{"rel":"team_store","href":"https://team-store.pod-hashrocket.teamsnap.com/teams/1/store"},{"rel":"tracked_item_statuses","href":"http://localhost:3000/tracked_item_statuses/search?team_id=1"},{"rel":"tracked_items","href":"http://localhost:3000/tracked_items/search?team_id=1"},{"rel":"team_chat","href":"https://live-dev-1-1.firebaseio.com"},{"rel":"wepay_accounts","href":"http://localhost:3000/wepay_accounts/search?team_id=1"}],"rel":"team-1"}]}}'
66
83
  http_version: '1.1'
67
84
  adapter_metadata:
68
- effective_url: http://localhost:3000/teams/search?id=1&hmac_client_id=classic&hmac_nonce=6c66d094-194b-494a-a2fb-1125c5df21c8&hmac_timestamp=1470941486
69
- recorded_at: Thu, 11 Aug 2016 18:51:26 GMT
70
- recorded_with: VCR 2.9.3
85
+ effective_url: http://localhost:3000/teams/search?id=1&hmac_client_id=classic_service&hmac_nonce=9ea7953d-ea31-4366-a83f-bd2bd0b84426&hmac_timestamp=1590177505
86
+ recorded_at: Fri, 22 May 2020 19:58:26 GMT
87
+ recorded_with: VCR 5.1.0