teamsnap_rb 2.0.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/teamsnap.rb +9 -1
- data/lib/teamsnap/client.rb +12 -14
- data/lib/teamsnap/version.rb +1 -1
- data/spec/cassettes/apiv3-init.yml +431 -490
- data/spec/cassettes/teamsnap__client/when_specifying_a_headers_flag/correctly_sets_the_ghost_header_flag.yml +859 -0
- data/spec/cassettes/teamsnap__client/when_specifying_a_headers_flag/won_t_set_feature_headers_without_the_header_variable_present.yml +858 -0
- data/spec/teamsnap/client_spec.rb +26 -1
- metadata +7 -3
@@ -0,0 +1,858 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://localhost:3000?hmac_client_id=classic&hmac_nonce=74a55a39-65b7-4a6c-97ab-2005d9ca7969&hmac_timestamp=1502467983
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.11.0
|
12
|
+
X-Teamsnap-Hmac:
|
13
|
+
- 7660b6e3ddf08abc86f9b36e9daad39f35cb06cf8bbc908eddee81f14f90c07f
|
14
|
+
Expect:
|
15
|
+
- ''
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Content-Type:
|
22
|
+
- application/vnd.collection+json
|
23
|
+
Content-Length:
|
24
|
+
- '12973'
|
25
|
+
X-Content-Type-Options:
|
26
|
+
- nosniff
|
27
|
+
ETag:
|
28
|
+
- W/"e1b2e279aa731982074cc934d6d8eab7"
|
29
|
+
Cache-Control:
|
30
|
+
- max-age=0, private, must-revalidate
|
31
|
+
X-Request-Id:
|
32
|
+
- 69040e15-ec64-4cbc-a66d-a4615d657066
|
33
|
+
X-Runtime:
|
34
|
+
- '0.050717'
|
35
|
+
Connection:
|
36
|
+
- keep-alive
|
37
|
+
Server:
|
38
|
+
- thin
|
39
|
+
body:
|
40
|
+
encoding: UTF-8
|
41
|
+
string: '{"collection":{"version":"3.523.0","href":"http://localhost:3000/","rel":"root","links":[{"rel":"apiv2_root","href":"http://localhost:3003"},{"rel":"authorization","href":"http://localhost:3004","prompt":"authorization
|
42
|
+
is deprecated and will be removed in a future version, use authorization_root
|
43
|
+
instead."},{"rel":"authorization_root","href":"http://localhost:3004"},{"rel":"authorization_magic_links","href":"http://localhost:3004/magic_links"},{"rel":"authorization_password_resets","href":"http://localhost:3004/password_resets"},{"rel":"authorization_tokens","href":"http://localhost:3004/oauth/token"},{"rel":"authorization_user_registrations","href":"http://localhost:3004/user_registrations"},{"rel":"authorization_user_registration_initializations","href":"http://localhost:3004/user_registration_initializations"},{"rel":"authorization_users","href":"http://localhost:3004/users"},{"rel":"apple_paid_features","href":"http://localhost:3000/apple_paid_features"},{"rel":"apn_devices","href":"http://localhost:3000/apn_devices"},{"rel":"assignments","href":"http://localhost:3000/assignments"},{"rel":"availabilities","href":"http://localhost:3000/availabilities"},{"rel":"batch_invoices","href":"http://localhost:3000/batch_invoices"},{"rel":"batch_invoice_line_items","href":"http://localhost:3000/batch_invoice_line_items"},{"rel":"broadcast_email_attachments","href":"http://localhost:3000/broadcast_email_attachments"},{"rel":"broadcast_emails","href":"http://localhost:3000/broadcast_emails"},{"rel":"broadcast_alerts","href":"http://localhost:3000/broadcast_alerts"},{"rel":"contact_email_addresses","href":"http://localhost:3000/contact_email_addresses"},{"rel":"contact_phone_numbers","href":"http://localhost:3000/contact_phone_numbers"},{"rel":"contacts","href":"http://localhost:3000/contacts"},{"rel":"countries","href":"http://localhost:3000/countries"},{"rel":"custom_data","href":"http://localhost:3000/custom_data"},{"rel":"custom_fields","href":"http://localhost:3000/custom_fields"},{"rel":"league_custom_data","href":"http://localhost:3000/league_custom_data"},{"rel":"league_custom_fields","href":"http://localhost:3000/league_custom_fields"},{"rel":"divisions","href":"http://localhost:3000/divisions"},{"rel":"division_aggregates","href":"http://localhost:3000/division_aggregates"},{"rel":"division_contact_email_addresses","href":"http://localhost:3000/division_contact_email_addresses"},{"rel":"division_contact_phone_numbers","href":"http://localhost:3000/division_contact_phone_numbers"},{"rel":"division_contacts","href":"http://localhost:3000/division_contacts"},{"rel":"division_events","href":"http://localhost:3000/division_events"},{"rel":"division_locations","href":"http://localhost:3000/division_locations"},{"rel":"division_member_email_addresses","href":"http://localhost:3000/division_member_email_addresses"},{"rel":"division_member_phone_numbers","href":"http://localhost:3000/division_member_phone_numbers"},{"rel":"division_members","href":"http://localhost:3000/division_members"},{"rel":"division_members_preferences","href":"http://localhost:3000/division_members_preferences"},{"rel":"division_rate_packages","href":"http://localhost:3000/division_rate_packages"},{"rel":"division_events_imports","href":"http://localhost:3000/division_events_imports"},{"rel":"division_team_standings","href":"http://localhost:3000/division_team_standings"},{"rel":"divisions_preferences","href":"http://localhost:3000/divisions_preferences"},{"rel":"event_statistics","href":"http://localhost:3000/event_statistics"},{"rel":"events","href":"http://localhost:3000/events"},{"rel":"experiments","href":"http://localhost:3000/experiments"},{"rel":"facebook_pages","href":"http://localhost:3000/facebook_pages","prompt":"%{old}
|
44
|
+
is deprecated and will be removed in a future version, use %{new} instead."},{"rel":"forecasts","href":"http://localhost:3000/forecasts"},{"rel":"forum_posts","href":"http://localhost:3000/forum_posts"},{"rel":"forum_subscriptions","href":"http://localhost:3000/forum_subscriptions"},{"rel":"forum_topics","href":"http://localhost:3000/forum_topics"},{"rel":"geocoded_locations","href":"http://localhost:3000/geocoded_locations"},{"rel":"gcm_devices","href":"http://localhost:3000/gcm_devices"},{"rel":"invitations","href":"http://localhost:3000/invitations"},{"rel":"invoices","href":"http://localhost:3000/invoices"},{"rel":"invoice_line_items","href":"http://localhost:3000/invoice_line_items"},{"rel":"invoice_recipients","href":"http://localhost:3000/invoice_recipients"},{"rel":"invoice_transactions","href":"http://localhost:3000/invoice_transactions"},{"rel":"league_registrant_documents","href":"http://localhost:3000/league_registrant_documents"},{"rel":"locations","href":"http://localhost:3000/locations"},{"rel":"me","href":"http://localhost:3000/me"},{"rel":"member_assignments","href":"http://localhost:3000/member_assignments"},{"rel":"member_email_addresses","href":"http://localhost:3000/member_email_addresses","prompt":"member_email_addresses
|
45
|
+
is deprecated and will be removed in a future version, use contact_email_addresses
|
46
|
+
instead."},{"rel":"member_balances","href":"http://localhost:3000/member_balances"},{"rel":"member_files","href":"http://localhost:3000/member_files"},{"rel":"member_links","href":"http://localhost:3000/member_links"},{"rel":"member_payments","href":"http://localhost:3000/member_payments"},{"rel":"member_phone_numbers","href":"http://localhost:3000/member_phone_numbers","prompt":"member_phone_numbers
|
47
|
+
is deprecated and will be removed in a future version, use contact_phone_numbers
|
48
|
+
instead."},{"rel":"member_photos","href":"http://localhost:3000/member_photos"},{"rel":"member_registration_signups","href":"http://localhost:3000/member_registration_signups"},{"rel":"member_statistics","href":"http://localhost:3000/member_statistics"},{"rel":"members","href":"http://localhost:3000/members"},{"rel":"members_preferences","href":"http://localhost:3000/members_preferences"},{"rel":"message_data","href":"http://localhost:3000/message_data"},{"rel":"messages","href":"http://localhost:3000/messages"},{"rel":"opponents","href":"http://localhost:3000/opponents"},{"rel":"opponents_results","href":"http://localhost:3000/opponents_results"},{"rel":"payment_method_wepay_credit_cards","href":"http://localhost:3000/payment_method_wepay_credit_cards"},{"rel":"payment_notes","href":"http://localhost:3000/payment_notes"},{"rel":"payment_providers","href":"http://localhost:3000/payment_providers"},{"rel":"paypal_currencies","href":"http://localhost:3000/paypal_currencies"},{"rel":"plans","href":"http://localhost:3000/plans"},{"rel":"plans_all","href":"http://localhost:3000/plans/all"},{"rel":"public_features","href":"http://localhost:3000/public_features"},{"rel":"registration_signup_statuses","href":"http://localhost:3000/registration_signup_statuses"},{"rel":"registration_forms","href":"http://localhost:3000/registration_forms"},{"rel":"registration_form_line_items","href":"http://localhost:3000/registration_form_line_items"},{"rel":"registration_form_line_item_options","href":"http://localhost:3000/registration_form_line_item_options"},{"rel":"schemas","href":"http://localhost:3000/schemas"},{"rel":"sms_gateways","href":"http://localhost:3000/sms_gateways"},{"rel":"sponsors","href":"http://localhost:3000/sponsors"},{"rel":"sports","href":"http://localhost:3000/sports"},{"rel":"statistics","href":"http://localhost:3000/statistics"},{"rel":"statistic_aggregates","href":"http://localhost:3000/statistic_aggregates"},{"rel":"statistic_data","href":"http://localhost:3000/statistic_data"},{"rel":"statistic_groups","href":"http://localhost:3000/statistic_groups"},{"rel":"team_fees","href":"http://localhost:3000/team_fees"},{"rel":"team_media","href":"http://localhost:3000/team_media"},{"rel":"team_medium_comments","href":"http://localhost:3000/team_medium_comments"},{"rel":"team_media_groups","href":"http://localhost:3000/team_media_groups"},{"rel":"team_photos","href":"http://localhost:3000/team_photos"},{"rel":"team_public_sites","href":"http://localhost:3000/team_public_sites"},{"rel":"teams","href":"http://localhost:3000/teams"},{"rel":"teams_paypal_preferences","href":"http://localhost:3000/teams_paypal_preferences"},{"rel":"teams_preferences","href":"http://localhost:3000/teams_preferences"},{"rel":"teams_results","href":"http://localhost:3000/teams_results"},{"rel":"team_statistics","href":"http://localhost:3000/team_statistics"},{"rel":"time_zones","href":"http://localhost:3000/time_zones"},{"rel":"tracked_item_statuses","href":"http://localhost:3000/tracked_item_statuses"},{"rel":"tracked_items","href":"http://localhost:3000/tracked_items"},{"rel":"tsl_metadata","href":"http://localhost:3000/tsl_metadata"},{"rel":"tsl_chats","href":"http://localhost:3000/tsl_chats"},{"rel":"tsl_photos","href":"http://localhost:3000/tsl_photos"},{"rel":"tsl_scores","href":"http://localhost:3000/tsl_scores"},{"rel":"users","href":"http://localhost:3000/users"},{"rel":"wepay_accounts","href":"http://localhost:3000/wepay_accounts"},{"rel":"dude","href":"http://localhost:3000/dude"},{"rel":"sweet","href":"http://localhost:3000/sweet"},{"rel":"random","href":"http://localhost:3000/random"},{"rel":"xyzzy","href":"http://localhost:3000/xyzzy"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/?hmac_nonce=74a55a39-65b7-4a6c-97ab-2005d9ca7969&hmac_timestamp=1502467983"}],"queries":[{"rel":"bulk_load","href":"http://localhost:3000/bulk_load","prompt":"Returns
|
49
|
+
a heterogeneous collection of the specified types for a specified team or
|
50
|
+
teams. Additional filters can be passed into requested types by passing them
|
51
|
+
in the url''s querystring as type__filter=value (i.e. ?event__start_date=2015-01-01).
|
52
|
+
Any filter can be passed that is available on the search for the specified
|
53
|
+
type.","data":[{"name":"team_id","value":null,"prompt":"The team_id(s) to
|
54
|
+
return results for, this can be a single id or a comma-separated list of ids."},{"name":"scope_to","value":null,"prompt":"A
|
55
|
+
comma separated list of singular types that you would like to scope the rest
|
56
|
+
of the related result sets to. For instance, scoping assignments to events
|
57
|
+
and providing a filter on events will return only assignments for the events
|
58
|
+
returned."},{"name":"types","value":null,"prompt":"A comma separated list
|
59
|
+
of singular types that you want returned."}]},{"rel":"query","href":"http://localhost:3000/q","prompt":"Returns
|
60
|
+
a heterogeneous collection of the specified types. You must pass at least
|
61
|
+
one valid filter in, filters can be passed into requested types by passing
|
62
|
+
them in the url''s querystring as type__filter=value (i.e. ?event__start_date=2015-01-01).
|
63
|
+
Any filter can be passed that is available on the search for the specified
|
64
|
+
type. Types can also be filtered by using the ''scope_to'' parameter. Unfiltered
|
65
|
+
searches will return as empty.","data":[{"name":"scope_to","value":null,"prompt":"A
|
66
|
+
comma separated list of singular types that you would like to scope the rest
|
67
|
+
of the related result sets to. For instance, scoping assignments to events
|
68
|
+
and providing a filter on events will return only assignments for the events
|
69
|
+
returned."},{"name":"types","value":null,"prompt":"A comma separated list
|
70
|
+
of singular types that you want returned. You may also specify a query by
|
71
|
+
proceeding the type with a ''__<query_name>''. For instance ''member__personas''
|
72
|
+
will use ''personas'' query on the ''members'' endpoint."}]},{"rel":"me","href":"http://localhost:3000/me"},{"rel":"feature","href":"http://localhost:3000/feature","data":[{"name":"id","value":null},{"name":"type","value":null},{"name":"feature_name","value":null}]},{"rel":"forecast","href":"http://localhost:3000/forecasts/search","data":[{"name":"team_id","value":null}]},{"rel":"geocode","href":"http://localhost:3000/geocoded_locations/search","data":[{"name":"country","value":null},{"name":"postal_code","value":null}]},{"rel":"generate_firebase_token","href":"http://localhost:3000/generate_firebase_token","data":[{"name":"team_id","value":null},{"name":"version","value":null}]},{"rel":"invitation_finder","href":"http://localhost:3000/invitation_finder","data":[{"name":"email_address","value":null}]}],"commands":[{"rel":"send_invitations","href":"http://localhost:3000/send_invitations","prompt":"Send
|
73
|
+
any pending invitations for a specified email address","data":[{"name":"email_address","value":null}]},{"rel":"welcome","href":"http://localhost:3000/welcome","prompt":"Send
|
74
|
+
a welcome email to an unregistered user to start the registration process","data":[{"name":"email_address","value":null},{"name":"client_id","value":null},{"name":"redirect_uri","value":null}]},{"rel":"initiate_registration","href":"http://localhost:3000/initiate_registration","prompt":"Send
|
75
|
+
a signup email to an unregistered user to start the registration process","data":[{"name":"email_address","value":null},{"name":"client_id","value":null},{"name":"redirect_uri","value":null}]}]}}'
|
76
|
+
http_version: '1.1'
|
77
|
+
adapter_metadata:
|
78
|
+
effective_url: http://localhost:3000/?hmac_client_id=classic&hmac_nonce=74a55a39-65b7-4a6c-97ab-2005d9ca7969&hmac_timestamp=1502467983
|
79
|
+
recorded_at: Fri, 11 Aug 2017 16:13:03 GMT
|
80
|
+
- request:
|
81
|
+
method: get
|
82
|
+
uri: http://localhost:3000/schemas?hmac_client_id=classic&hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983
|
83
|
+
body:
|
84
|
+
encoding: US-ASCII
|
85
|
+
string: ''
|
86
|
+
headers:
|
87
|
+
User-Agent:
|
88
|
+
- Faraday v0.11.0
|
89
|
+
X-Teamsnap-Hmac:
|
90
|
+
- aa658ffc96149ac5dca2758626d122c979cabf91283d038afb8c795fbc439844
|
91
|
+
Expect:
|
92
|
+
- ''
|
93
|
+
response:
|
94
|
+
status:
|
95
|
+
code: 200
|
96
|
+
message: OK
|
97
|
+
headers:
|
98
|
+
Content-Type:
|
99
|
+
- application/json
|
100
|
+
Content-Length:
|
101
|
+
- '183892'
|
102
|
+
X-Content-Type-Options:
|
103
|
+
- nosniff
|
104
|
+
ETag:
|
105
|
+
- W/"1618e561c650862b7c3497fdbc97b9ba"
|
106
|
+
Cache-Control:
|
107
|
+
- max-age=0, private, must-revalidate
|
108
|
+
X-Request-Id:
|
109
|
+
- b21f7358-0558-4474-b5cf-99f26dced8f0
|
110
|
+
X-Runtime:
|
111
|
+
- '0.239361'
|
112
|
+
Connection:
|
113
|
+
- keep-alive
|
114
|
+
Server:
|
115
|
+
- thin
|
116
|
+
body:
|
117
|
+
encoding: UTF-8
|
118
|
+
string: '[{"collection":{"version":"3.523.0","href":"http://localhost:3000/","rel":"root","links":[{"rel":"apiv2_root","href":"http://localhost:3003"},{"rel":"authorization","href":"http://localhost:3004","prompt":"authorization
|
119
|
+
is deprecated and will be removed in a future version, use authorization_root
|
120
|
+
instead."},{"rel":"authorization_root","href":"http://localhost:3004"},{"rel":"authorization_magic_links","href":"http://localhost:3004/magic_links"},{"rel":"authorization_password_resets","href":"http://localhost:3004/password_resets"},{"rel":"authorization_tokens","href":"http://localhost:3004/oauth/token"},{"rel":"authorization_user_registrations","href":"http://localhost:3004/user_registrations"},{"rel":"authorization_user_registration_initializations","href":"http://localhost:3004/user_registration_initializations"},{"rel":"authorization_users","href":"http://localhost:3004/users"},{"rel":"apple_paid_features","href":"http://localhost:3000/apple_paid_features"},{"rel":"apn_devices","href":"http://localhost:3000/apn_devices"},{"rel":"assignments","href":"http://localhost:3000/assignments"},{"rel":"availabilities","href":"http://localhost:3000/availabilities"},{"rel":"batch_invoices","href":"http://localhost:3000/batch_invoices"},{"rel":"batch_invoice_line_items","href":"http://localhost:3000/batch_invoice_line_items"},{"rel":"broadcast_email_attachments","href":"http://localhost:3000/broadcast_email_attachments"},{"rel":"broadcast_emails","href":"http://localhost:3000/broadcast_emails"},{"rel":"broadcast_alerts","href":"http://localhost:3000/broadcast_alerts"},{"rel":"contact_email_addresses","href":"http://localhost:3000/contact_email_addresses"},{"rel":"contact_phone_numbers","href":"http://localhost:3000/contact_phone_numbers"},{"rel":"contacts","href":"http://localhost:3000/contacts"},{"rel":"countries","href":"http://localhost:3000/countries"},{"rel":"custom_data","href":"http://localhost:3000/custom_data"},{"rel":"custom_fields","href":"http://localhost:3000/custom_fields"},{"rel":"league_custom_data","href":"http://localhost:3000/league_custom_data"},{"rel":"league_custom_fields","href":"http://localhost:3000/league_custom_fields"},{"rel":"divisions","href":"http://localhost:3000/divisions"},{"rel":"division_aggregates","href":"http://localhost:3000/division_aggregates"},{"rel":"division_contact_email_addresses","href":"http://localhost:3000/division_contact_email_addresses"},{"rel":"division_contact_phone_numbers","href":"http://localhost:3000/division_contact_phone_numbers"},{"rel":"division_contacts","href":"http://localhost:3000/division_contacts"},{"rel":"division_events","href":"http://localhost:3000/division_events"},{"rel":"division_locations","href":"http://localhost:3000/division_locations"},{"rel":"division_member_email_addresses","href":"http://localhost:3000/division_member_email_addresses"},{"rel":"division_member_phone_numbers","href":"http://localhost:3000/division_member_phone_numbers"},{"rel":"division_members","href":"http://localhost:3000/division_members"},{"rel":"division_members_preferences","href":"http://localhost:3000/division_members_preferences"},{"rel":"division_rate_packages","href":"http://localhost:3000/division_rate_packages"},{"rel":"division_events_imports","href":"http://localhost:3000/division_events_imports"},{"rel":"division_team_standings","href":"http://localhost:3000/division_team_standings"},{"rel":"divisions_preferences","href":"http://localhost:3000/divisions_preferences"},{"rel":"event_statistics","href":"http://localhost:3000/event_statistics"},{"rel":"events","href":"http://localhost:3000/events"},{"rel":"experiments","href":"http://localhost:3000/experiments"},{"rel":"facebook_pages","href":"http://localhost:3000/facebook_pages","prompt":"%{old}
|
121
|
+
is deprecated and will be removed in a future version, use %{new} instead."},{"rel":"forecasts","href":"http://localhost:3000/forecasts"},{"rel":"forum_posts","href":"http://localhost:3000/forum_posts"},{"rel":"forum_subscriptions","href":"http://localhost:3000/forum_subscriptions"},{"rel":"forum_topics","href":"http://localhost:3000/forum_topics"},{"rel":"geocoded_locations","href":"http://localhost:3000/geocoded_locations"},{"rel":"gcm_devices","href":"http://localhost:3000/gcm_devices"},{"rel":"invitations","href":"http://localhost:3000/invitations"},{"rel":"invoices","href":"http://localhost:3000/invoices"},{"rel":"invoice_line_items","href":"http://localhost:3000/invoice_line_items"},{"rel":"invoice_recipients","href":"http://localhost:3000/invoice_recipients"},{"rel":"invoice_transactions","href":"http://localhost:3000/invoice_transactions"},{"rel":"league_registrant_documents","href":"http://localhost:3000/league_registrant_documents"},{"rel":"locations","href":"http://localhost:3000/locations"},{"rel":"me","href":"http://localhost:3000/me"},{"rel":"member_assignments","href":"http://localhost:3000/member_assignments"},{"rel":"member_email_addresses","href":"http://localhost:3000/member_email_addresses","prompt":"member_email_addresses
|
122
|
+
is deprecated and will be removed in a future version, use contact_email_addresses
|
123
|
+
instead."},{"rel":"member_balances","href":"http://localhost:3000/member_balances"},{"rel":"member_files","href":"http://localhost:3000/member_files"},{"rel":"member_links","href":"http://localhost:3000/member_links"},{"rel":"member_payments","href":"http://localhost:3000/member_payments"},{"rel":"member_phone_numbers","href":"http://localhost:3000/member_phone_numbers","prompt":"member_phone_numbers
|
124
|
+
is deprecated and will be removed in a future version, use contact_phone_numbers
|
125
|
+
instead."},{"rel":"member_photos","href":"http://localhost:3000/member_photos"},{"rel":"member_registration_signups","href":"http://localhost:3000/member_registration_signups"},{"rel":"member_statistics","href":"http://localhost:3000/member_statistics"},{"rel":"members","href":"http://localhost:3000/members"},{"rel":"members_preferences","href":"http://localhost:3000/members_preferences"},{"rel":"message_data","href":"http://localhost:3000/message_data"},{"rel":"messages","href":"http://localhost:3000/messages"},{"rel":"opponents","href":"http://localhost:3000/opponents"},{"rel":"opponents_results","href":"http://localhost:3000/opponents_results"},{"rel":"payment_method_wepay_credit_cards","href":"http://localhost:3000/payment_method_wepay_credit_cards"},{"rel":"payment_notes","href":"http://localhost:3000/payment_notes"},{"rel":"payment_providers","href":"http://localhost:3000/payment_providers"},{"rel":"paypal_currencies","href":"http://localhost:3000/paypal_currencies"},{"rel":"plans","href":"http://localhost:3000/plans"},{"rel":"plans_all","href":"http://localhost:3000/plans/all"},{"rel":"public_features","href":"http://localhost:3000/public_features"},{"rel":"registration_signup_statuses","href":"http://localhost:3000/registration_signup_statuses"},{"rel":"registration_forms","href":"http://localhost:3000/registration_forms"},{"rel":"registration_form_line_items","href":"http://localhost:3000/registration_form_line_items"},{"rel":"registration_form_line_item_options","href":"http://localhost:3000/registration_form_line_item_options"},{"rel":"schemas","href":"http://localhost:3000/schemas"},{"rel":"sms_gateways","href":"http://localhost:3000/sms_gateways"},{"rel":"sponsors","href":"http://localhost:3000/sponsors"},{"rel":"sports","href":"http://localhost:3000/sports"},{"rel":"statistics","href":"http://localhost:3000/statistics"},{"rel":"statistic_aggregates","href":"http://localhost:3000/statistic_aggregates"},{"rel":"statistic_data","href":"http://localhost:3000/statistic_data"},{"rel":"statistic_groups","href":"http://localhost:3000/statistic_groups"},{"rel":"team_fees","href":"http://localhost:3000/team_fees"},{"rel":"team_media","href":"http://localhost:3000/team_media"},{"rel":"team_medium_comments","href":"http://localhost:3000/team_medium_comments"},{"rel":"team_media_groups","href":"http://localhost:3000/team_media_groups"},{"rel":"team_photos","href":"http://localhost:3000/team_photos"},{"rel":"team_public_sites","href":"http://localhost:3000/team_public_sites"},{"rel":"teams","href":"http://localhost:3000/teams"},{"rel":"teams_paypal_preferences","href":"http://localhost:3000/teams_paypal_preferences"},{"rel":"teams_preferences","href":"http://localhost:3000/teams_preferences"},{"rel":"teams_results","href":"http://localhost:3000/teams_results"},{"rel":"team_statistics","href":"http://localhost:3000/team_statistics"},{"rel":"time_zones","href":"http://localhost:3000/time_zones"},{"rel":"tracked_item_statuses","href":"http://localhost:3000/tracked_item_statuses"},{"rel":"tracked_items","href":"http://localhost:3000/tracked_items"},{"rel":"tsl_metadata","href":"http://localhost:3000/tsl_metadata"},{"rel":"tsl_chats","href":"http://localhost:3000/tsl_chats"},{"rel":"tsl_photos","href":"http://localhost:3000/tsl_photos"},{"rel":"tsl_scores","href":"http://localhost:3000/tsl_scores"},{"rel":"users","href":"http://localhost:3000/users"},{"rel":"wepay_accounts","href":"http://localhost:3000/wepay_accounts"},{"rel":"dude","href":"http://localhost:3000/dude"},{"rel":"sweet","href":"http://localhost:3000/sweet"},{"rel":"random","href":"http://localhost:3000/random"},{"rel":"xyzzy","href":"http://localhost:3000/xyzzy"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"bulk_load","href":"http://localhost:3000/bulk_load","prompt":"Returns
|
126
|
+
a heterogeneous collection of the specified types for a specified team or
|
127
|
+
teams. Additional filters can be passed into requested types by passing them
|
128
|
+
in the url''s querystring as type__filter=value (i.e. ?event__start_date=2015-01-01).
|
129
|
+
Any filter can be passed that is available on the search for the specified
|
130
|
+
type.","data":[{"name":"team_id","value":null,"prompt":"The team_id(s) to
|
131
|
+
return results for, this can be a single id or a comma-separated list of ids."},{"name":"scope_to","value":null,"prompt":"A
|
132
|
+
comma separated list of singular types that you would like to scope the rest
|
133
|
+
of the related result sets to. For instance, scoping assignments to events
|
134
|
+
and providing a filter on events will return only assignments for the events
|
135
|
+
returned."},{"name":"types","value":null,"prompt":"A comma separated list
|
136
|
+
of singular types that you want returned."}]},{"rel":"query","href":"http://localhost:3000/q","prompt":"Returns
|
137
|
+
a heterogeneous collection of the specified types. You must pass at least
|
138
|
+
one valid filter in, filters can be passed into requested types by passing
|
139
|
+
them in the url''s querystring as type__filter=value (i.e. ?event__start_date=2015-01-01).
|
140
|
+
Any filter can be passed that is available on the search for the specified
|
141
|
+
type. Types can also be filtered by using the ''scope_to'' parameter. Unfiltered
|
142
|
+
searches will return as empty.","data":[{"name":"scope_to","value":null,"prompt":"A
|
143
|
+
comma separated list of singular types that you would like to scope the rest
|
144
|
+
of the related result sets to. For instance, scoping assignments to events
|
145
|
+
and providing a filter on events will return only assignments for the events
|
146
|
+
returned."},{"name":"types","value":null,"prompt":"A comma separated list
|
147
|
+
of singular types that you want returned. You may also specify a query by
|
148
|
+
proceeding the type with a ''__<query_name>''. For instance ''member__personas''
|
149
|
+
will use ''personas'' query on the ''members'' endpoint."}]},{"rel":"me","href":"http://localhost:3000/me"},{"rel":"feature","href":"http://localhost:3000/feature","data":[{"name":"id","value":null},{"name":"type","value":null},{"name":"feature_name","value":null}]},{"rel":"forecast","href":"http://localhost:3000/forecasts/search","data":[{"name":"team_id","value":null}]},{"rel":"geocode","href":"http://localhost:3000/geocoded_locations/search","data":[{"name":"country","value":null},{"name":"postal_code","value":null}]},{"rel":"generate_firebase_token","href":"http://localhost:3000/generate_firebase_token","data":[{"name":"team_id","value":null},{"name":"version","value":null}]},{"rel":"invitation_finder","href":"http://localhost:3000/invitation_finder","data":[{"name":"email_address","value":null}]}],"commands":[{"rel":"send_invitations","href":"http://localhost:3000/send_invitations","prompt":"Send
|
150
|
+
any pending invitations for a specified email address","data":[{"name":"email_address","value":null}]},{"rel":"welcome","href":"http://localhost:3000/welcome","prompt":"Send
|
151
|
+
a welcome email to an unregistered user to start the registration process","data":[{"name":"email_address","value":null},{"name":"client_id","value":null},{"name":"redirect_uri","value":null}]},{"rel":"initiate_registration","href":"http://localhost:3000/initiate_registration","prompt":"Send
|
152
|
+
a signup email to an unregistered user to start the registration process","data":[{"name":"email_address","value":null},{"name":"client_id","value":null},{"name":"redirect_uri","value":null}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/apple_paid_features","rel":"apple_paid_features","links":[{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/apple_paid_features?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/apple_paid_features/search","data":[{"name":"id","value":null},{"name":"page_size","value":null,"prompt":"The
|
153
|
+
number of items to return for each page. Sending this parameter with the query
|
154
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
155
|
+
number of the page to be returned. This requires that paging be turned on
|
156
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/apn_devices","rel":"apn_devices","template":{"data":[{"name":"token","value":null},{"name":"app_version","value":null}]},"links":[{"rel":"user","href":"http://localhost:3000/users"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/apn_devices?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/apn_devices/search","data":[{"name":"id","value":null},{"name":"user_id","value":null},{"name":"page_size","value":null,"prompt":"The
|
157
|
+
number of items to return for each page. Sending this parameter with the query
|
158
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
159
|
+
number of the page to be returned. This requires that paging be turned on
|
160
|
+
by also providing the page_size parameter."}]}],"commands":[{"rel":"send_push","href":"http://localhost:3000/apn_devices/send_push","data":[{"name":"device_token","value":null}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/assignments","rel":"assignments","template":{"data":[{"name":"description","value":null},{"name":"event_id","value":null},{"name":"create_as_member_id","value":null},{"name":"member_id","value":null,"deprecated":true,"prompt":"member_id
|
161
|
+
is deprecated and has been removed. Continued use of member_id is not recommended
|
162
|
+
it will no longer be stored."},{"name":"type","value":"assignment"}]},"links":[{"rel":"event","href":"http://localhost:3000/events"},{"rel":"member","href":"http://localhost:3000/members"},{"rel":"member_assignments","href":"http://localhost:3000/member_assignments"},{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/assignments?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/assignments/search","data":[{"name":"team_id","value":null},{"name":"event_id","value":null},{"name":"member_id","value":null},{"name":"started_before","value":null},{"name":"started_after","value":null},{"name":"id","value":null},{"name":"page_size","value":null,"prompt":"The
|
163
|
+
number of items to return for each page. Sending this parameter with the query
|
164
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
165
|
+
number of the page to be returned. This requires that paging be turned on
|
166
|
+
by also providing the page_size parameter."}]}],"commands":[{"rel":"create_bulk_assignments","href":"http://localhost:3000/assignments/create_bulk_assignments","prompt":"aaa","data":[{"name":"event_set","value":null,"prompt":"A
|
167
|
+
comma-delimited string of keywords and/or event_ids. Keywords include ''future_events'',
|
168
|
+
''future_games'', and ''future_games_and_events''"},{"name":"create_as_member_id","value":null,"prompt":"aaa"},{"name":"team_id","value":null,"prompt":"aaa"},{"name":"description","value":null,"prompt":"aaa"},{"name":"member_id","value":null,"prompt":"aaa"}]},{"rel":"send_assignment_emails","href":"http://localhost:3000/assignments/send_assignment_emails","prompt":"BETA:
|
169
|
+
(This endpoint subject to change) Notifies all members on the team via email
|
170
|
+
regarding upcoming event assignments.","data":[{"name":"event_ids","value":null,"prompt":"A
|
171
|
+
comma-delimited list of event ids."},{"name":"message","value":null},{"name":"sending_member_id","value":null},{"name":"team_id","value":null}]},{"rel":"reorder_assignments","href":"http://localhost:3000/assignments/reorder","prompt":"reorder
|
172
|
+
the assignments based on the sorted_ids provided","data":[{"name":"event_id","value":null},{"name":"sorted_ids","value":null,"prompt":"An
|
173
|
+
array of the ids in the order that they are to be moved to"}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/availabilities","rel":"availabilities","template":{"data":[{"name":"status_code","value":null},{"name":"notes","value":null},{"name":"event_id","value":null},{"name":"member_id","value":null},{"name":"notes_author_member_id","value":null},{"name":"source","value":null},{"name":"type","value":"availability"}]},"links":[{"rel":"event","href":"http://localhost:3000/events"},{"rel":"member","href":"http://localhost:3000/members"},{"rel":"notes_author_member","href":"http://localhost:3000/members"},{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/availabilities?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/availabilities/search","sort":["event_id","start_date"],"data":[{"name":"team_id","value":null},{"name":"event_id","value":null},{"name":"member_id","value":null},{"name":"started_before","value":null},{"name":"started_after","value":null},{"name":"id","value":null},{"name":"page_size","value":null,"prompt":"The
|
174
|
+
number of items to return for each page. Sending this parameter with the query
|
175
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
176
|
+
number of the page to be returned. This requires that paging be turned on
|
177
|
+
by also providing the page_size parameter."},{"name":"sort_event_id","value":null,"prompt":"Sort
|
178
|
+
the returned dataset based on the event_id field, valid values are ''asc''
|
179
|
+
or ''desc''."},{"name":"sort_start_date","value":null,"prompt":"Sort the returned
|
180
|
+
dataset based on the start_date field, valid values are ''asc'' or ''desc''."}]}],"commands":[{"rel":"bulk_mark_unset_availabilities","href":"http://localhost:3000/availabilities/bulk_mark_unset_availabilities","prompt":"Mark
|
181
|
+
all future unset availabilities to specified status_code for the specified
|
182
|
+
member_id","data":[{"name":"status_code","value":null},{"name":"member_id","value":null},{"name":"started_after","value":null}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/batch_invoices","rel":"batch_invoices","prompt":"Beta:
|
183
|
+
(This endpoint is subject to change) Returns batch invoices for a division","template":{"data":[{"name":"division_id","value":null},{"name":"title","value":null},{"name":"description","value":null},{"name":"due_at","value":null},{"name":"is_recipient_paying_transaction_fees","value":null},{"name":"type","value":"batch_invoice"}]},"links":[{"rel":"division","href":"http://localhost:3000/divisions"},{"rel":"invoice_line_items","href":"http://localhost:3000/invoice_line_items"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/batch_invoices?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/batch_invoices/search","data":[{"name":"id","value":null},{"name":"division_id","value":null},{"name":"page_size","value":null,"prompt":"The
|
184
|
+
number of items to return for each page. Sending this parameter with the query
|
185
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
186
|
+
number of the page to be returned. This requires that paging be turned on
|
187
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/batch_invoice_line_items","rel":"batch_invoice_line_items","prompt":"Beta:
|
188
|
+
(This endpoint is subject to change) Returns batch invoice line items for
|
189
|
+
a batch invoice","template":{"data":[{"name":"batch_invoice_id","value":null},{"name":"invoice_category_id","value":null},{"name":"description","value":null},{"name":"quantity","value":null},{"name":"amount","value":null},{"name":"type","value":null}]},"links":[{"rel":"batch_invoice","href":"http://localhost:3000/batch_invoices"},{"rel":"division","href":"http://localhost:3000/divisions"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/batch_invoice_line_items?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/batch_invoice_line_items/search","data":[{"name":"id","value":null},{"name":"batch_invoice_id","value":null},{"name":"page_size","value":null,"prompt":"The
|
190
|
+
number of items to return for each page. Sending this parameter with the query
|
191
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
192
|
+
number of the page to be returned. This requires that paging be turned on
|
193
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/broadcast_email_attachments","rel":"broadcast_email_attachments","template":{"data":[{"name":"broadcast_email_id","value":null},{"name":"member_id","value":null},{"name":"caption","value":null},{"name":"file","value":null},{"name":"type","value":"broadcast_email_attachment"}]},"links":[{"rel":"broadcast_email","href":"http://localhost:3000/broadcast_emails"},{"rel":"member","href":"http://localhost:3000/members"},{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/broadcast_email_attachments?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/broadcast_email_attachments/search","data":[{"name":"id","value":null},{"name":"broadcast_email_id","value":null},{"name":"member_id","value":null},{"name":"team_id","value":null},{"name":"page_size","value":null,"prompt":"The
|
194
|
+
number of items to return for each page. Sending this parameter with the query
|
195
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
196
|
+
number of the page to be returned. This requires that paging be turned on
|
197
|
+
by also providing the page_size parameter."}]}],"commands":[{"rel":"upload_broadcast_email_attachment","href":"http://localhost:3000/broadcast_email_attachments/upload_broadcast_email_attachment","data":[{"name":"broadcast_email_id","value":null},{"name":"member_id","value":null},{"name":"file","value":null}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/broadcast_emails","rel":"broadcast_emails","template":{"data":[{"name":"attachments","value":null},{"name":"body","value":null},{"name":"from_email_address","value":null},{"name":"is_draft","value":null},{"name":"member_id","value":null},{"name":"contact_id","value":null},{"name":"recipient_ids","value":null},{"name":"subject","value":null},{"name":"team_id","value":null},{"name":"type","value":"broadcast_email"},{"name":"division_id","value":null},{"name":"recipient_division_ids","value":null},{"name":"recipient_team_ids","value":null},{"name":"recipient_manager_team_ids","value":null},{"name":"recipient_unnassigned","value":null},{"name":"recipient_all_commissioners","value":null},{"name":"is_league","value":null}]},"links":[{"rel":"broadcast_email_attachments","href":"http://localhost:3000/broadcast_email_attachments"},{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"member","href":"http://localhost:3000/members"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/broadcast_emails?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/broadcast_emails/search","sort":["created_at"],"data":[{"name":"id","value":null},{"name":"member_id","value":null},{"name":"team_id","value":null},{"name":"page_size","value":null,"prompt":"The
|
198
|
+
number of items to return for each page. Sending this parameter with the query
|
199
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
200
|
+
number of the page to be returned. This requires that paging be turned on
|
201
|
+
by also providing the page_size parameter."},{"name":"sort_created_at","value":null,"prompt":"Sort
|
202
|
+
the returned dataset based on the created_at field, valid values are ''asc''
|
203
|
+
or ''desc''."}]}],"commands":[{"rel":"bulk_delete","href":"http://localhost:3000/broadcast_emails/bulk_delete","prompt":"Delete
|
204
|
+
several broadcast_emails with a single command.","data":[{"name":"id","value":null}]},{"rel":"unflag_spam","href":"http://localhost:3000/broadcast_emails/unflag_spam","prompt":"Unflag
|
205
|
+
an email as spam, this is an internal command only accessible to internal
|
206
|
+
TeamSnap services.","data":[{"name":"id","value":null}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/broadcast_alerts","rel":"broadcast_alerts","template":{"data":[{"name":"body","value":null},{"name":"team_id","value":null},{"name":"member_id","value":null},{"name":"contact_id","value":null},{"name":"recipient_ids","value":null},{"name":"type","value":"broadcast_alert"}]},"links":[{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"member","href":"http://localhost:3000/members"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/broadcast_alerts?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/broadcast_alerts/search","data":[{"name":"id","value":null},{"name":"member_id","value":null},{"name":"team_id","value":null},{"name":"page_size","value":null,"prompt":"The
|
207
|
+
number of items to return for each page. Sending this parameter with the query
|
208
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
209
|
+
number of the page to be returned. This requires that paging be turned on
|
210
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/contact_email_addresses","rel":"contact_email_addresses","template":{"data":[{"name":"label","value":null},{"name":"email","value":null},{"name":"receives_team_emails","value":null},{"name":"is_hidden","value":null},{"name":"contact_id","value":null},{"name":"type","value":"contact_email_address"}]},"links":[{"rel":"contact","href":"http://localhost:3000/contacts"},{"rel":"member","href":"http://localhost:3000/members"},{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/contact_email_addresses?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/contact_email_addresses/search","data":[{"name":"contact_id","value":null},{"name":"member_id","value":null},{"name":"team_id","value":null},{"name":"id","value":null},{"name":"email","value":null},{"name":"page_size","value":null,"prompt":"The
|
211
|
+
number of items to return for each page. Sending this parameter with the query
|
212
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
213
|
+
number of the page to be returned. This requires that paging be turned on
|
214
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/contact_phone_numbers","rel":"contact_phone_numbers","template":{"data":[{"name":"label","value":null},{"name":"phone_number","value":null},{"name":"preferred","value":null,"deprecated":true,"prompt":"preferred
|
215
|
+
is deprecated and will be removed in a future version, use is_preferred instead."},{"name":"is_preferred","value":null},{"name":"contact_id","value":null},{"name":"sms_enabled","value":null},{"name":"sms_gateway_id","value":null},{"name":"is_hidden","value":null},{"name":"type","value":"contact_phone_number"}]},"links":[{"rel":"contact","href":"http://localhost:3000/contacts"},{"rel":"member","href":"http://localhost:3000/members"},{"rel":"sms_gateway","href":"http://localhost:3000/sms_gateways"},{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/contact_phone_numbers?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/contact_phone_numbers/search","data":[{"name":"team_id","value":null},{"name":"id","value":null},{"name":"contact_id","value":null},{"name":"member_id","value":null},{"name":"page_size","value":null,"prompt":"The
|
216
|
+
number of items to return for each page. Sending this parameter with the query
|
217
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
218
|
+
number of the page to be returned. This requires that paging be turned on
|
219
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/contacts","rel":"contacts","template":{"data":[{"name":"label","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":"address_country","value":null},{"name":"first_name","value":null},{"name":"last_name","value":null},{"name":"hide_address","value":null,"deprecated":true,"prompt":"hide_address
|
220
|
+
is deprecated and will be removed in a future version, use is_address_hidden
|
221
|
+
instead."},{"name":"is_address_hidden","value":null},{"name":"allow_shared_access","value":null},{"name":"member_id","value":null},{"name":"type","value":"contact"}]},"links":[{"rel":"contact_email_addresses","href":"http://localhost:3000/contact_email_addresses"},{"rel":"contact_phone_numbers","href":"http://localhost:3000/contact_phone_numbers"},{"rel":"member","href":"http://localhost:3000/members"},{"rel":"message_data","href":"http://localhost:3000/message_data"},{"rel":"messages","href":"http://localhost:3000/messages"},{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"user","href":"http://localhost:3000/users"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/contacts?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/contacts/search","data":[{"name":"team_id","value":null},{"name":"member_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
|
222
|
+
number of items to return for each page. Sending this parameter with the query
|
223
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
224
|
+
number of the page to be returned. This requires that paging be turned on
|
225
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/countries","rel":"countries","links":[{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/countries?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/countries/search","data":[{"name":"id","value":null},{"name":"name","value":null}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/custom_data","rel":"custom_data","template":{"data":[{"name":"member_id","value":null},{"name":"custom_field_id","value":null},{"name":"value","value":null},{"name":"is_private","value":null},{"name":"type","value":"custom_datum"}]},"links":[{"rel":"custom_field","href":"http://localhost:3000/custom_fields"},{"rel":"member","href":"http://localhost:3000/members"},{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/custom_data?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/custom_data/search","data":[{"name":"id","value":null},{"name":"team_id","value":null},{"name":"member_id","value":null},{"name":"custom_field_id","value":null},{"name":"page_size","value":null,"prompt":"The
|
226
|
+
number of items to return for each page. Sending this parameter with the query
|
227
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
228
|
+
number of the page to be returned. This requires that paging be turned on
|
229
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/custom_fields","rel":"custom_fields","template":{"data":[{"name":"team_id","value":null},{"name":"name","value":null},{"name":"kind","value":null},{"name":"options","value":null},{"name":"help_text","value":null},{"name":"type","value":"custom_field"}]},"links":[{"rel":"custom_data","href":"http://localhost:3000/custom_data"},{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/custom_fields?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/custom_fields/search","data":[{"name":"id","value":null},{"name":"team_id","value":null},{"name":"page_size","value":null,"prompt":"The
|
230
|
+
number of items to return for each page. Sending this parameter with the query
|
231
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
232
|
+
number of the page to be returned. This requires that paging be turned on
|
233
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/league_custom_data","rel":"league_custom_data","template":{"data":[{"name":"member_id","value":null},{"name":"league_custom_field_id","value":null},{"name":"value","value":null},{"name":"is_private","value":null},{"name":"type","value":"league_custom_datum"}]},"links":[{"rel":"league_custom_field","href":"http://localhost:3000/league_custom_fields"},{"rel":"member","href":"http://localhost:3000/members"},{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/league_custom_data?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/league_custom_data/search","data":[{"name":"id","value":null},{"name":"team_id","value":null},{"name":"member_id","value":null},{"name":"division_id","value":null},{"name":"league_custom_field_id","value":null},{"name":"page_size","value":null,"prompt":"The
|
234
|
+
number of items to return for each page. Sending this parameter with the query
|
235
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
236
|
+
number of the page to be returned. This requires that paging be turned on
|
237
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/league_custom_fields","rel":"league_custom_fields","links":[{"rel":"teams","href":"http://localhost:3000/teams"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"league_custom_data","href":"http://localhost:3000/league_custom_data"},{"rel":"self","href":"http://localhost:3000/league_custom_fields?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/league_custom_fields/search","data":[{"name":"id","value":null},{"name":"team_id","value":null},{"name":"division_id","value":null},{"name":"page_size","value":null,"prompt":"The
|
238
|
+
number of items to return for each page. Sending this parameter with the query
|
239
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
240
|
+
number of the page to be returned. This requires that paging be turned on
|
241
|
+
by also providing the page_size parameter."}]}],"commands":[{"rel":"reorder","href":"http://localhost:3000/league_custom_fields/reorder","prompt":"Given
|
242
|
+
`sorted_ids` (array) ordered in relation to the field''s desired `position`,
|
243
|
+
sorts fields by assigning new `position` values relative to the field index
|
244
|
+
in the `sorted_ids` array.","data":[{"name":"sorted_ids","value":null},{"name":"division_id","value":null}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/divisions","prompt":"Divisions
|
245
|
+
are used to represent our leagues. They are organized into a hierarchical
|
246
|
+
tree data structure and stored as nested sets. Each set is grouped by its
|
247
|
+
''root_id'' which is the ''division_id'' of the root node of that league tree.","rel":"divisions","template":{"data":[{"name":"type","value":"division"},{"name":"parent_id","value":null},{"name":"name","value":null},{"name":"billing_address","value":null},{"name":"country","value":null},{"name":"postal_code","value":null},{"name":"time_zone","value":null},{"name":"sport_id","value":null},{"name":"season_name","value":null},{"name":"parent_division_name","value":null},{"name":"league_name","value":null},{"name":"league_url","value":null}]},"links":[{"rel":"teams","href":"http://localhost:3000/teams"},{"rel":"division_events","href":"http://localhost:3000/division_events"},{"rel":"plan","href":"http://localhost:3000/plans"},{"rel":"registration_forms","href":"http://localhost:3000/registration_forms"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/divisions?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/divisions/search","data":[{"name":"id","value":null},{"name":"persistent_uuid","value":null},{"name":"user_id","value":null},{"name":"parent_id","value":null},{"name":"is_root","value":null},{"name":"is_trial","value":null},{"name":"page_size","value":null,"prompt":"The
|
248
|
+
number of items to return for each page. Sending this parameter with the query
|
249
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
250
|
+
number of the page to be returned. This requires that paging be turned on
|
251
|
+
by also providing the page_size parameter."}]},{"rel":"ancestors","href":"http://localhost:3000/divisions/ancestors","prompt":"Returns
|
252
|
+
all the nested set ancestors of the given division.","data":[{"name":"id","value":null}]},{"rel":"descendants","href":"http://localhost:3000/divisions/descendants","prompt":"Returns
|
253
|
+
all the nested set descendants of the given division.","data":[{"name":"id","value":null}]},{"rel":"children","href":"http://localhost:3000/divisions/children","prompt":"Returns
|
254
|
+
all the nested set children of the given division.","data":[{"name":"id","value":null},{"name":"is_archived","value":null},{"name":"is_disabled","value":null}]},{"rel":"leaves","href":"http://localhost:3000/divisions/children","prompt":"Beta:
|
255
|
+
(This endpoint subject to change) Returns all the nested set leaves of the
|
256
|
+
given division. A leaf is a division that has no child divisions.","data":[{"name":"id","value":null}]},{"rel":"active_trials","href":"http://localhost:3000/divisions/active_trials","prompt":"Finds
|
257
|
+
all active trial divisions for a given user. Excludes archived and disabled
|
258
|
+
divisions.","data":[{"name":"user_id","value":null}]},{"rel":"active_divisions","href":"http://localhost:3000/divisions/active","prompt":"Finds
|
259
|
+
all active root divisions for a given owner or commissioner. Excludes archived
|
260
|
+
and disabled divisions.","data":[{"name":"user_id","value":null}]},{"rel":"tree","href":"http://localhost:3000/divisions/tree","prompt":"Beta:
|
261
|
+
(This endpoint subject to change) Return the ancestors, the division and the
|
262
|
+
children divisions.","data":[{"name":"id","value":null}]}],"commands":[{"rel":"create_root","href":"http://localhost:3000/divisions/create_root","prompt":"Create
|
263
|
+
root divisions, this is an internal command only accessible to internal TeamSnap
|
264
|
+
services.","data":[{"name":"name","value":null},{"name":"sport_id","value":null},{"name":"country","value":null},{"name":"time_zone","value":null},{"name":"postal_code","value":null},{"name":"teams_in_plan","value":null},{"name":"league_owner_email","value":null},{"name":"league_owner_phone_number","value":null},{"name":"league_owner_first_name","value":null},{"name":"league_owner_last_name","value":null}]},{"rel":"update_plan","href":"http://localhost:3000/divisions/update_plan","prompt":"Update
|
265
|
+
the root division''s plan or number of teams (teams_in_plan). This is an internal
|
266
|
+
command only accessible to internal TeamSnap services.","data":[{"name":"division_id","value":null},{"name":"persistent_uuid","value":null},{"name":"plan_id","value":null},{"name":"teams_in_plan","value":null}]},{"rel":"enable","href":"http://localhost:3000/divisions/enable","prompt":"Enable
|
267
|
+
a root division. This is an internal command only accessible to internal TeamSnap
|
268
|
+
services.","data":[{"name":"division_id","value":null},{"name":"persistent_uuid","value":null}]},{"rel":"disable","href":"http://localhost:3000/divisions/disable","prompt":"Disable
|
269
|
+
a root division. This is an internal command only accessible to internal TeamSnap
|
270
|
+
services.","data":[{"name":"division_id","value":null},{"name":"persistent_uuid","value":null}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/division_aggregates","rel":"division_aggregates","prompt":"BETA:
|
271
|
+
(This endpoint subject to change) Returns a collection of aggregated numbers
|
272
|
+
around a division and it''s descendants.","links":[{"rel":"division","href":"http://localhost:3000/divisions"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/division_aggregates?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/division_aggregates/search","data":[{"name":"division_id","value":null},{"name":"page_size","value":null,"prompt":"The
|
273
|
+
number of items to return for each page. Sending this parameter with the query
|
274
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
275
|
+
number of the page to be returned. This requires that paging be turned on
|
276
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/division_contact_email_addresses","rel":"division_contact_email_addresses","template":{"data":[{"name":"label","value":null},{"name":"email","value":null},{"name":"receives_team_emails","value":null},{"name":"is_hidden","value":null},{"name":"contact_id","value":null},{"name":"type","value":"division_contact_email_address"}]},"links":[{"rel":"contact","href":"http://localhost:3000/contacts"},{"rel":"division_contact","href":"http://localhost:3000/division_contacts"},{"rel":"division_member","href":"http://localhost:3000/division_members"},{"rel":"member","href":"http://localhost:3000/members"},{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/division_contact_email_addresses?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/division_contact_email_addresses/search","data":[{"name":"contact_id","value":null},{"name":"team_id","value":null},{"name":"id","value":null},{"name":"page_size","value":null,"prompt":"The
|
277
|
+
number of items to return for each page. Sending this parameter with the query
|
278
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
279
|
+
number of the page to be returned. This requires that paging be turned on
|
280
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/division_contact_phone_numbers","rel":"division_contact_phone_numbers","template":{"data":[{"name":"label","value":null},{"name":"phone_number","value":null},{"name":"preferred","value":null,"deprecated":true,"prompt":"preferred
|
281
|
+
is deprecated and will be removed in a future version, use is_preferred instead."},{"name":"is_preferred","value":null},{"name":"contact_id","value":null},{"name":"sms_enabled","value":null},{"name":"sms_gateway_id","value":null},{"name":"is_hidden","value":null},{"name":"type","value":"division_contact_phone_number"}]},"links":[{"rel":"contact","href":"http://localhost:3000/contacts"},{"rel":"division_contact","href":"http://localhost:3000/division_contacts"},{"rel":"division_member","href":"http://localhost:3000/division_members"},{"rel":"member","href":"http://localhost:3000/members"},{"rel":"sms_gateway","href":"http://localhost:3000/sms_gateways"},{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/division_contact_phone_numbers?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/division_contact_phone_numbers/search","data":[{"name":"team_id","value":null},{"name":"id","value":null},{"name":"contact_id","value":null},{"name":"page_size","value":null,"prompt":"The
|
282
|
+
number of items to return for each page. Sending this parameter with the query
|
283
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
284
|
+
number of the page to be returned. This requires that paging be turned on
|
285
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/division_contacts","rel":"division_contacts","template":{"data":[{"name":"label","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":"address_country","value":null},{"name":"first_name","value":null},{"name":"last_name","value":null},{"name":"hide_address","value":null,"deprecated":true,"prompt":"hide_address
|
286
|
+
is deprecated and will be removed in a future version, use is_address_hidden
|
287
|
+
instead."},{"name":"is_address_hidden","value":null},{"name":"allow_shared_access","value":null},{"name":"member_id","value":null},{"name":"type","value":"division_contact"}]},"links":[{"rel":"contact_email_addresses","href":"http://localhost:3000/contact_email_addresses"},{"rel":"contact_phone_numbers","href":"http://localhost:3000/contact_phone_numbers"},{"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_member","href":"http://localhost:3000/division_members"},{"rel":"member","href":"http://localhost:3000/members"},{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"user","href":"http://localhost:3000/users"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/division_contacts?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/division_contacts/search","data":[{"name":"team_id","value":null},{"name":"member_id","value":null},{"name":"id","value":null},{"name":"page_size","value":null,"prompt":"The
|
288
|
+
number of items to return for each page. Sending this parameter with the query
|
289
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
290
|
+
number of the page to be returned. This requires that paging be turned on
|
291
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/division_events","rel":"division_events","prompt":"BETA:
|
292
|
+
(This endpoint subject to change) Returns a collection associated with a division''s
|
293
|
+
events","template":{"data":[{"name":"event_type","value":"event"},{"name":"duration_in_minutes","value":null},{"name":"duration_in_hours","value":null},{"name":"icon_color","value":null},{"name":"is_canceled","value":null},{"name":"is_tbd","value":null},{"name":"label","value":null},{"name":"location_id","value":null},{"name":"additional_location_details","value":null},{"name":"minutes_to_arrive_early","value":null},{"name":"name","value":null},{"name":"notes","value":null},{"name":"notify_team","value":null},{"name":"notify_team_as_member_id","value":null},{"name":"opponent_id","value":null},{"name":"start_date","value":null},{"name":"team_id","value":null},{"name":"division_id","value":null},{"name":"time_zone","value":null},{"name":"game_type_code","value":null},{"name":"doesnt_count_towards_record","value":null},{"name":"is_editing_restricted","value":null,"prompt":"This
|
294
|
+
is an optional boolean value. When set to `true`, the created event will only
|
295
|
+
be editable by the oauth application that created the event. This option is
|
296
|
+
restricted to first-party applicaitons"}]},"links":[{"rel":"assignments","href":"http://localhost:3000/assignments"},{"rel":"availabilities","href":"http://localhost:3000/availabilities"},{"rel":"division_event_import","href":"http://localhost:3000/division_events_imports"},{"rel":"division_location","href":"http://localhost:3000/division_locations"},{"rel":"event_statistics","href":"http://localhost:3000/event_statistics"},{"rel":"location","href":"http://localhost:3000/locations"},{"rel":"opponent","href":"http://localhost:3000/opponents"},{"rel":"statistic_data","href":"http://localhost:3000/statistic_data"},{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/division_events?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/division_events/search","sort":["start_date"],"data":[{"name":"division_id","value":null},{"name":"id","value":null},{"name":"division_event_import_id","value":null},{"name":"division_location_id","value":null},{"name":"started_after","value":null},{"name":"is_game","value":null},{"name":"repeating_uuid","value":null},{"name":"page_size","value":null,"prompt":"The
|
297
|
+
number of items to return for each page. Sending this parameter with the query
|
298
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
299
|
+
number of the page to be returned. This requires that paging be turned on
|
300
|
+
by also providing the page_size parameter."},{"name":"sort_start_date","value":null,"prompt":"Sort
|
301
|
+
the returned dataset based on the start_date field, valid values are ''asc''
|
302
|
+
or ''desc''."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/division_locations","rel":"division_locations","template":{"data":[{"name":"name","value":null},{"name":"url","value":null},{"name":"phone","value":null},{"name":"notes","value":null},{"name":"address","value":null},{"name":"division_id","value":null},{"name":"type","value":"division_location"}]},"links":[{"rel":"events","href":"http://localhost:3000/events"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/division_locations?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/division_locations/search","data":[{"name":"division_id","value":null},{"name":"team_id","value":null},{"name":"id","value":null},{"name":"page_size","value":null,"prompt":"The
|
303
|
+
number of items to return for each page. Sending this parameter with the query
|
304
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
305
|
+
number of the page to be returned. This requires that paging be turned on
|
306
|
+
by also providing the page_size parameter."}]}],"commands":[{"rel":"import_from_division","href":"http://localhost:3000/division_locations/import_from_division","prompt":"Copy
|
307
|
+
the specified ''source_division_location_ids'' to the specified ''destination_division_id''.","data":[{"name":"destination_division_id","value":null},{"name":"source_location_ids","value":null}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/division_member_email_addresses","rel":"division_member_email_addresses","template":{"data":[{"name":"member_id","value":null},{"name":"label","value":null},{"name":"email","value":null},{"name":"receives_team_emails","value":null},{"name":"is_hidden","value":null},{"name":"type","value":"division_member_email_address"}]},"links":[{"rel":"member","href":"http://localhost:3000/members"},{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/division_member_email_addresses?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/division_member_email_addresses/search","data":[{"name":"team_id","value":null},{"name":"member_id","value":null},{"name":"id","value":null},{"name":"page_size","value":null,"prompt":"The
|
308
|
+
number of items to return for each page. Sending this parameter with the query
|
309
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
310
|
+
number of the page to be returned. This requires that paging be turned on
|
311
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/division_member_phone_numbers","rel":"division_member_phone_numbers","template":{"data":[{"name":"label","value":null},{"name":"phone_number","value":null},{"name":"preferred","value":null,"deprecated":true,"prompt":"preferred
|
312
|
+
is deprecated and will be removed in a future version, use is_preferred instead."},{"name":"is_preferred","value":null},{"name":"member_id","value":null},{"name":"sms_enabled","value":null},{"name":"sms_gateway_id","value":null},{"name":"is_hidden","value":null},{"name":"type","value":"division_member_phone_number"}]},"links":[{"rel":"member","href":"http://localhost:3000/members"},{"rel":"sms_gateway","href":"http://localhost:3000/sms_gateways"},{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/division_member_phone_numbers?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/division_member_phone_numbers/search","data":[{"name":"team_id","value":null},{"name":"id","value":null},{"name":"member_id","value":null},{"name":"page_size","value":null,"prompt":"The
|
313
|
+
number of items to return for each page. Sending this parameter with the query
|
314
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
315
|
+
number of the page to be returned. This requires that paging be turned on
|
316
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/division_members","rel":"division_members","queries":[{"rel":"search","href":"http://localhost:3000/division_members/search","data":[{"name":"team_id","value":null,"prompt":"Find
|
317
|
+
a division member by the id of the team they are a commissioner of."},{"name":"division_id","value":null},{"name":"user_id","value":null},{"name":"id","value":null},{"name":"birthday_month","value":null,"prompt":"Find
|
318
|
+
a division member by the month of their birthday."},{"name":"is_commissioner","value":null},{"name":"is_ownership_pending","value":null},{"name":"is_unassigned","value":null},{"name":"page_size","value":null,"prompt":"The
|
319
|
+
number of items to return for each page. Sending this parameter with the query
|
320
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
321
|
+
number of the page to be returned. This requires that paging be turned on
|
322
|
+
by also providing the page_size parameter."}]}],"links":[{"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":"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_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_member_preferences","href":"http://localhost:3000/division_members_preferences"},{"rel":"forum_posts","href":"http://localhost:3000/forum_posts"},{"rel":"member_email_addresses","href":"http://localhost:3000/member_email_addresses"},{"rel":"member_phone_numbers","href":"http://localhost:3000/member_phone_numbers"},{"rel":"member_preferences","href":"http://localhost:3000/members_preferences"},{"rel":"message_data","href":"http://localhost:3000/message_data"},{"rel":"messages","href":"http://localhost:3000/messages"},{"rel":"user","href":"http://localhost:3000/users"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/division_members?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/division_members_preferences","rel":"members_preferences","template":{"data":[{"name":"assignments_hide_past","value":null},{"name":"schedule_hide_past","value":null},{"name":"availability_show_past","value":null},{"name":"schedule_show_for_code","value":null},{"name":"reminders_send_event","value":null,"deprecated":true,"prompt":"reminders_send_event
|
323
|
+
is deprecated and will be removed in a future version, use event_reminder_preference
|
324
|
+
instead."},{"name":"reminders_send_game","value":null,"deprecated":true,"prompt":"reminders_send_game
|
325
|
+
is deprecated and will be removed in a future version, use game_reminder_preference
|
326
|
+
instead."},{"name":"reminders_send_days_before_game","value":null},{"name":"reminders_send_days_before_event","value":null},{"name":"reminders_send_manager_game","value":null},{"name":"reminders_send_manager_event","value":null},{"name":"reminders_send_manager_days_before_game","value":null},{"name":"reminders_send_manager_days_before_event","value":null},{"name":"mobile_send_push_messages","value":null},{"name":"public_site_show_thumbnail","value":null},{"name":"public_site_show_last_name","value":null},{"name":"facebook_post_scores","value":null,"deprecated":true,"prompt":"facebook_post_scores
|
327
|
+
is deprecated and has been removed. Continued use of facebook_post_scores
|
328
|
+
is not recommended it will no longer be stored."},{"name":"facebook_post_scores_to_page_id","value":null,"deprecated":true,"prompt":"facebook_post_scores_to_page_id
|
329
|
+
is deprecated and has been removed. Continued use of facebook_post_scores_to_page_id
|
330
|
+
is not recommended it will no longer be stored."},{"name":"facebook_post_scores_to_page_name","value":null,"deprecated":true,"prompt":"facebook_post_scores_to_page_name
|
331
|
+
is deprecated and has been removed. Continued use of facebook_post_scores_to_page_name
|
332
|
+
is not recommended it will no longer be stored."},{"name":"facebook_post_scores_to_wall","value":null,"deprecated":true,"prompt":"facebook_post_scores_to_wall
|
333
|
+
is deprecated and has been removed. Continued use of facebook_post_scores_to_wall
|
334
|
+
is not recommended it will no longer be stored."},{"name":"facebook_only_post_wins","value":null,"deprecated":true,"prompt":"facebook_only_post_wins
|
335
|
+
is deprecated and has been removed. Continued use of facebook_only_post_wins
|
336
|
+
is not recommended it will no longer be stored."},{"name":"facebook_polite_scores","value":null,"deprecated":true,"prompt":"facebook_polite_scores
|
337
|
+
is deprecated and has been removed. Continued use of facebook_polite_scores
|
338
|
+
is not recommended it will no longer be stored."},{"name":"facebook_page_access_token","value":null,"deprecated":true,"prompt":"facebook_page_access_token
|
339
|
+
is deprecated and has been removed. Continued use of facebook_page_access_token
|
340
|
+
is not recommended it will no longer be stored."},{"name":"game_reminder_preference","value":null,"prompt":"Valid
|
341
|
+
values are ''team'', ''member'' and ''none''."},{"name":"event_reminder_preference","value":null,"prompt":"Valid
|
342
|
+
values are ''team'', ''member'' and ''none''."},{"name":"type","value":"member_preferences"}]},"links":[{"rel":"member","href":"http://localhost:3000/members"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/division_members_preferences?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/members_preferences/search","data":[{"name":"team_id","value":null},{"name":"id","value":null},{"name":"page_size","value":null,"prompt":"The
|
343
|
+
number of items to return for each page. Sending this parameter with the query
|
344
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
345
|
+
number of the page to be returned. This requires that paging be turned on
|
346
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/division_rate_packages","rel":"division_rate_packages","prompt":"BETA:
|
347
|
+
(This endpoint subject to change) Returns a collection associated with a division''s
|
348
|
+
rate packages.","links":[{"rel":"division","href":"http://localhost:3000/divisions"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/division_rate_packages?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/division_rate_packages/search","data":[{"name":"id","value":null},{"name":"division_id","value":null},{"name":"page_size","value":null,"prompt":"The
|
349
|
+
number of items to return for each page. Sending this parameter with the query
|
350
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
351
|
+
number of the page to be returned. This requires that paging be turned on
|
352
|
+
by also providing the page_size parameter."}]},{"rel":"active","href":"http://localhost:3000/division_rate_packages/active","data":[{"name":"division_id","value":null}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/division_events_imports","rel":"division_events_imports","links":[{"rel":"divisions","href":"http://localhost:3000/divisions"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/division_events_imports?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"commands":[{"rel":"create_events_import","href":"http://localhost:3000/division_events_imports/create_events_import","prompt":"Upload
|
353
|
+
CSV for importing events to a league/division","data":[{"name":"division_id","value":null},{"name":"file","value":null}]},{"rel":"delete_imported_events","href":"http://localhost:3000/division_events_imports/delete_imported_events","prompt":"Delete
|
354
|
+
events created from a previous division events import. Accepts id parameter
|
355
|
+
for import.","data":[{"name":"division_id","value":null},{"name":"division_events_import_id","value":null}]},{"rel":"process_import","href":"http://localhost:3000/division_events_imports/process_import","prompt":"Creates
|
356
|
+
league events from uploaded CSV file.","data":[{"name":"id","value":null}]}],"queries":[{"rel":"search","href":"http://localhost:3000/division_events_imports/search","data":[{"name":"division_id","value":null},{"name":"id","value":null},{"name":"page_size","value":null,"prompt":"The
|
357
|
+
number of items to return for each page. Sending this parameter with the query
|
358
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
359
|
+
number of the page to be returned. This requires that paging be turned on
|
360
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/division_team_standings","rel":"division_team_standings","links":[{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/division_team_standings?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/division_team_standings/search","data":[{"name":"team_id","value":null},{"name":"page_size","value":null,"prompt":"The
|
361
|
+
number of items to return for each page. Sending this parameter with the query
|
362
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
363
|
+
number of the page to be returned. This requires that paging be turned on
|
364
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/divisions_preferences","rel":"divisions_preferences","prompt":"BETA:
|
365
|
+
(This endpoint subject to change) Returns a collection associated with a division''s
|
366
|
+
preferences","template":{"data":[{"name":"alternate_sport_name","value":null},{"name":"assignments_enable_for_code","value":null},{"name":"availabilities_sort_order","value":null},{"name":"availability_event_cutoff","value":null},{"name":"availability_game_cutoff","value":null},{"name":"can_have_subdivisions","value":null},{"name":"can_team_add_members","value":null},{"name":"can_team_delete_members","value":null},{"name":"color_scheme_cd","value":null},{"name":"currency_symbol","value":null},{"name":"has_tracked_items_for_non_players","value":null},{"name":"has_payments_for_non_players","value":null},{"name":"has_international_date","value":null},{"name":"has_international_time","value":null},{"name":"is_announcement_above_home_photo","value":null},{"name":"is_assignments_enabled","value":null},{"name":"is_availabilities_enabled","value":null},{"name":"is_coed","value":null},{"name":"is_event_reminders_enabled","value":null},{"name":"is_game_reminders_enabled","value":null},{"name":"is_header_hidden","value":null},{"name":"is_league_controlling_settings","value":null},{"name":"is_marketplace_enabled","value":null},{"name":"is_multi_sport","value":null},{"name":"is_payments_private","value":null},{"name":"is_registration_enabled","value":null},{"name":"is_roster_importable","value":null},{"name":"is_payments_enabled","value":null},{"name":"is_schedule_enabled","value":null},{"name":"is_sponsor_editable_for_non_commissioners","value":null},{"name":"is_standings_enabled","value":null},{"name":"is_statistics_enabled","value":null},{"name":"is_team_media_enabled","value":null},{"name":"is_tracked_items_enabled","value":null},{"name":"is_tracked_items_private","value":null},{"name":"is_tracking_points","value":null},{"name":"is_youth","value":null},{"name":"member_sort_order","value":null},{"name":"type","value":"division_preferences"}]},"links":[{"rel":"division","href":"http://localhost:3000/divisions"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/divisions_preferences?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"},{"rel":"paypal_currency","href":"http://localhost:3000/paypal_currencies"}],"queries":[{"rel":"search","href":"http://localhost:3000/divisions_preferences/search","data":[{"name":"id","value":null},{"name":"division_id","value":null},{"name":"user_id","value":null},{"name":"page_size","value":null,"prompt":"The
|
367
|
+
number of items to return for each page. Sending this parameter with the query
|
368
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
369
|
+
number of the page to be returned. This requires that paging be turned on
|
370
|
+
by also providing the page_size parameter."}]}],"commands":[{"rel":"upload_division_logo","href":"http://localhost:3000/divisions_preferences/upload_division_logo","prompt":"Upload
|
371
|
+
a division logo. This must be a multi-part POST.","data":[{"name":"division_preferences_id","value":null},{"name":"file","value":null}]},{"rel":"remove_division_logo","href":"http://localhost:3000/divisions_preferences/remove_division_logo","prompt":"Remove
|
372
|
+
a division logo.","data":[{"name":"division_preferences_id","value":null}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/event_statistics","rel":"event_statistics","links":[{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/event_statistics?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"},{"rel":"event","href":"http://localhost:3000/events"},{"rel":"statistic","href":"http://localhost:3000/statistics"},{"rel":"team","href":"http://localhost:3000/teams"}],"queries":[{"rel":"search","href":"http://localhost:3000/event_statistics/search","data":[{"name":"id","value":null},{"name":"statistic_id","value":null},{"name":"event_id","value":null},{"name":"team_id","value":null}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/events","rel":"events","template":{"data":[{"name":"type","value":"event"},{"name":"additional_location_details","value":null},{"name":"browser_time_zone","value":null},{"name":"division_location_id","value":null},{"name":"doesnt_count_towards_record","value":null},{"name":"duration_in_minutes","value":null},{"name":"game_type_code","value":null},{"name":"icon_color","value":null},{"name":"is_canceled","value":null},{"name":"is_game","value":null},{"name":"is_overtime","value":null},{"name":"is_shootout","value":null},{"name":"is_tbd","value":null},{"name":"label","value":null},{"name":"location_id","value":null},{"name":"minutes_to_arrive_early","value":null},{"name":"name","value":null},{"name":"notes","value":null},{"name":"notify_opponent","value":null},{"name":"notify_opponent_contacts_email","value":null},{"name":"notify_opponent_contacts_name","value":null},{"name":"notify_opponent_notes","value":null},{"name":"notify_team","value":null},{"name":"notify_team_as_member_id","value":null},{"name":"opponent_id","value":null},{"name":"points_for_opponent","value":null},{"name":"points_for_team","value":null},{"name":"repeating_include","value":null,"prompt":"When
|
373
|
+
updating a repeating event, this is a required field. Values are: \"all\"
|
374
|
+
- updates all events in this series, \"future\" - updates this event and all
|
375
|
+
that occur after, \"none\" - only updates a single event."},{"name":"repeating_type_code","value":null,"prompt":"A
|
376
|
+
code for the frequency of the repeated event, this is required with the \"repeating_include\"
|
377
|
+
attribute when creating a repeating event. Valid values are: \"1\" - repeat
|
378
|
+
an event daily, \"2\" - repeat an event weekly."},{"name":"repeating_until","value":null,"prompt":"A
|
379
|
+
date when the repeating event should end, this is inclusive so an event will
|
380
|
+
be created on this day if it falls before the next event specified by \"repeating_type_code\".
|
381
|
+
This attribute is required with \"repeating_type_code\" when creating a repeating
|
382
|
+
event."},{"name":"results","value":null},{"name":"results_url","value":null},{"name":"shootout_points_for_opponent","value":null},{"name":"shootout_points_for_team","value":null},{"name":"start_date","value":null},{"name":"team_id","value":null},{"name":"time_zone","value":null},{"name":"tracks_availability","value":null},{"name":"uniform","value":null}]},"links":[{"rel":"assignments","href":"http://localhost:3000/assignments"},{"rel":"availabilities","href":"http://localhost:3000/availabilities"},{"rel":"division_location","href":"http://localhost:3000/division_locations"},{"rel":"event_statistics","href":"http://localhost:3000/event_statistics"},{"rel":"location","href":"http://localhost:3000/locations"},{"rel":"opponent","href":"http://localhost:3000/opponents"},{"rel":"statistic_data","href":"http://localhost:3000/statistic_data"},{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/events?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","sort":["start_date"],"href":"http://localhost:3000/events/search","data":[{"name":"team_id","value":null},{"name":"location_id","value":null},{"name":"opponent_id","value":null},{"name":"started_after","value":null},{"name":"started_before","value":null},{"name":"repeating_uuid","value":null},{"name":"id","value":null},{"name":"is_game","value":null},{"name":"updated_since","value":null},{"name":"page_size","value":null,"prompt":"The
|
383
|
+
number of items to return for each page. Sending this parameter with the query
|
384
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
385
|
+
number of the page to be returned. This requires that paging be turned on
|
386
|
+
by also providing the page_size parameter."},{"name":"sort_start_date","value":null,"prompt":"Sort
|
387
|
+
the returned dataset based on the start_date field, valid values are ''asc''
|
388
|
+
or ''desc''."}]},{"rel":"search_games","href":"http://localhost:3000/events/search_games","data":[{"name":"team_id","value":null},{"name":"page_size","value":null,"prompt":"The
|
389
|
+
number of items to return for each page. Sending this parameter with the query
|
390
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
391
|
+
number of the page to be returned. This requires that paging be turned on
|
392
|
+
by also providing the page_size parameter."}]},{"rel":"overview","href":"http://localhost:3000/events/overview","data":[{"name":"team_id","value":null}]}],"commands":[{"rel":"send_availability_reminders","href":"http://localhost:3000/events/send_availability_reminders","prompt":"members_to_notify
|
393
|
+
= [member_id, member_id]","data":[{"name":"id","value":null},{"name":"members_to_notify","value":null},{"name":"notify_team_as_member_id","value":null}]},{"rel":"update_final_score","href":"http://localhost:3000/events/update_final_score","prompt":"Update
|
394
|
+
the final score for an event","data":[{"name":"id","value":null},{"name":"points_for_team","value":null},{"name":"points_for_opponent","value":null},{"name":"shootout_points_for_team","value":null},{"name":"shootout_points_for_opponent","value":null},{"name":"is_overtime","value":null},{"name":"is_shootout","value":null},{"name":"results","value":null},{"name":"results_url","value":null}]},{"rel":"bulk_create","href":"http://localhost:3000/events/bulk_create","prompt":"event_ids
|
395
|
+
= [event_id, event_id]","data":[{"name":"templates","value":null},{"name":"team_id","value":null},{"name":"notify_team_as_member_id","value":null},{"name":"notify_team","value":null}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/experiments","rel":"experiments","links":[{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/experiments?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/experiments/search","data":[{"name":"id","value":null},{"name":"team_id","value":null},{"name":"user_id","value":null},{"name":"page_size","value":null,"prompt":"The
|
396
|
+
number of items to return for each page. Sending this parameter with the query
|
397
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
398
|
+
number of the page to be returned. This requires that paging be turned on
|
399
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/facebook_pages","rel":"facebook_pages","links":[{"rel":"user","href":"http://localhost:3000/users"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/facebook_pages?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/facebook_pages/search","data":[{"name":"page_size","value":null,"prompt":"The
|
400
|
+
number of items to return for each page. Sending this parameter with the query
|
401
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
402
|
+
number of the page to be returned. This requires that paging be turned on
|
403
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/forecasts","rel":"forecasts","links":[{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/forecasts?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/forecasts/search","data":[{"name":"team_id","value":null},{"name":"page_size","value":null,"prompt":"The
|
404
|
+
number of items to return for each page. Sending this parameter with the query
|
405
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
406
|
+
number of the page to be returned. This requires that paging be turned on
|
407
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/forum_posts","rel":"forum_posts","template":{"data":[{"name":"forum_topic_id","value":null},{"name":"division_member_id","value":null},{"name":"member_id","value":null},{"name":"message","value":null},{"name":"broadcast_to_team","value":null},{"name":"type","value":"forum_post"}]},"links":[{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"forum_topic","href":"http://localhost:3000/forum_topics"},{"rel":"division_member","href":"http://localhost:3000/division_members"},{"rel":"member","href":"http://localhost:3000/members"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/forum_posts?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/forum_posts/search","data":[{"name":"forum_topic_id","value":null},{"name":"id","value":null},{"name":"division_member_id","value":null},{"name":"member_id","value":null},{"name":"team_id","value":null},{"name":"page_size","value":null,"prompt":"The
|
408
|
+
number of items to return for each page. Sending this parameter with the query
|
409
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
410
|
+
number of the page to be returned. This requires that paging be turned on
|
411
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/forum_subscriptions","rel":"forum_subscriptions","template":{"data":[{"name":"forum_topic_id","value":null},{"name":"member_id","value":null},{"name":"type","value":"forum_subscription"}]},"links":[{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"forum_topic","href":"http://localhost:3000/forum_topics"},{"rel":"member","href":"http://localhost:3000/members"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/forum_subscriptions?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/forum_subscriptions/search","data":[{"name":"forum_topic_id","value":null},{"name":"id","value":null},{"name":"member_id","value":null},{"name":"team_id","value":null},{"name":"page_size","value":null,"prompt":"The
|
412
|
+
number of items to return for each page. Sending this parameter with the query
|
413
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
414
|
+
number of the page to be returned. This requires that paging be turned on
|
415
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/forum_topics","rel":"forum_topics","template":{"data":[{"name":"title","value":null},{"name":"is_announcement","value":null},{"name":"team_id","value":null},{"name":"type","value":"forum_topic"}]},"links":[{"rel":"forum_posts","href":"http://localhost:3000/forum_posts"},{"rel":"forum_subscriptions","href":"http://localhost:3000/forum_subscriptions"},{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/forum_topics?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/forum_topics/search","data":[{"name":"team_id","value":null},{"name":"id","value":null},{"name":"page_size","value":null,"prompt":"The
|
416
|
+
number of items to return for each page. Sending this parameter with the query
|
417
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
418
|
+
number of the page to be returned. This requires that paging be turned on
|
419
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/geocoded_locations","rel":"geocoded_locations","links":[{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/geocoded_locations?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/geocoded_locations/search","data":[{"name":"country","value":null},{"name":"postal_code","value":null},{"name":"page_size","value":null,"prompt":"The
|
420
|
+
number of items to return for each page. Sending this parameter with the query
|
421
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
422
|
+
number of the page to be returned. This requires that paging be turned on
|
423
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/gcm_devices","rel":"gcm_devices","template":{"data":[{"name":"registration_id","value":null},{"name":"app_version","value":null}]},"links":[{"rel":"user","href":"http://localhost:3000/users"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/gcm_devices?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/gcm_devices/search","data":[{"name":"id","value":null},{"name":"user_id","value":null},{"name":"page_size","value":null,"prompt":"The
|
424
|
+
number of items to return for each page. Sending this parameter with the query
|
425
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
426
|
+
number of the page to be returned. This requires that paging be turned on
|
427
|
+
by also providing the page_size parameter."}]}],"commands":[{"rel":"send_push","href":"http://localhost:3000/gcm_devices/send_push","data":[{"name":"registration_id","value":null}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/invitations","rel":"invitations","template":{"data":[{"name":"code","value":null},{"name":"is_invited","value":null},{"name":"is_complete","value":null}]},"links":[{"rel":"member_email_addresses","href":"http://localhost:3000/member_email_addresses"},{"rel":"contact_email_addresses","href":"http://localhost:3000/contact_email_addresses"}],"queries":[{"rel":"search","href":"http://localhost:3000/invitations/search","data":[{"name":"code","value":null},{"name":"page_size","value":null,"prompt":"The
|
428
|
+
number of items to return for each page. Sending this parameter with the query
|
429
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
430
|
+
number of the page to be returned. This requires that paging be turned on
|
431
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/invoices","rel":"invoices","prompt":"Beta:
|
432
|
+
(This endpoint is subject to change) Returns invoices","template":{"data":[{"name":"batch_invoice_id","value":null},{"name":"member_id","value":null},{"name":"invoice_status_id","value":null},{"name":"sent_at","value":null},{"name":"due_at","value":null},{"name":"type","value":"invoice"}]},"links":[{"rel":"batch_invoice","href":"http://localhost:3000/batch_invoices"},{"rel":"division","href":"http://localhost:3000/divisions"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/invoices?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/invoices/search","data":[{"name":"id","value":null},{"name":"batch_invoice_id","value":null},{"name":"page_size","value":null,"prompt":"The
|
433
|
+
number of items to return for each page. Sending this parameter with the query
|
434
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
435
|
+
number of the page to be returned. This requires that paging be turned on
|
436
|
+
by also providing the page_size parameter."}]}],"commands":[{"rel":"create_for_batch_invoice","href":"http://localhost:3000/invoices/create_for_batch_invoice","prompt":"member_ids
|
437
|
+
= [member_id, member_id]","data":[{"name":"batch_invoice_id","value":null},{"name":"member_ids","value":null}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/invoice_line_items","rel":"invoice_line_items","prompt":"Beta:
|
438
|
+
(This endpoint is subject to change) Returns invoice_line_items","template":{"data":[{"name":"invoice_id","value":null},{"name":"invoice_category_id","value":null},{"name":"description","value":null},{"name":"quantity","value":null},{"name":"amount","value":null},{"name":"type","value":null}]},"links":[{"rel":"invoice","href":"http://localhost:3000/invoices"},{"rel":"batch_invoice","href":"http://localhost:3000/batch_invoices"},{"rel":"division","href":"http://localhost:3000/divisions"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/invoice_line_items?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/invoice_line_items/search","data":[{"name":"id","value":null},{"name":"invoice_id","value":null},{"name":"page_size","value":null,"prompt":"The
|
439
|
+
number of items to return for each page. Sending this parameter with the query
|
440
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
441
|
+
number of the page to be returned. This requires that paging be turned on
|
442
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/invoice_recipients","rel":"invoice_recipients","prompt":"Beta:
|
443
|
+
(This endpoint is subject to change) Returns invoice_recipients","template":{"data":[{"name":"invoice_id","value":null},{"name":"invoiceable_id","value":null},{"name":"invoiceable_type","value":null},{"name":"invoice_to","value":null},{"name":"type","value":"invoice_recipient"}]},"links":[{"rel":"invoice","href":"http://localhost:3000/invoices"},{"rel":"division","href":"http://localhost:3000/divisions"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/invoice_recipients?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/invoice_recipients/search","data":[{"name":"id","value":null},{"name":"invoice_id","value":null},{"name":"page_size","value":null,"prompt":"The
|
444
|
+
number of items to return for each page. Sending this parameter with the query
|
445
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
446
|
+
number of the page to be returned. This requires that paging be turned on
|
447
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/invoice_transactions","rel":"invoice_transactions","prompt":"Beta:
|
448
|
+
(This endpoint is subject to change) Returns invoice_transactions","template":{"data":[{"name":"invoice_id","value":null},{"name":"amount","value":null},{"name":"entry_type","value":null},{"name":"reference_id","value":null},{"name":"reference_type","value":null},{"name":"transferred_to","value":null},{"name":"transferred_from","value":null},{"name":"last_transacted_at","value":null}]},"links":[{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/invoice_transactions?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/invoice_transactions/search","data":[{"name":"id","value":null},{"name":"invoice_id","value":null},{"name":"page_size","value":null,"prompt":"The
|
449
|
+
number of items to return for each page. Sending this parameter with the query
|
450
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
451
|
+
number of the page to be returned. This requires that paging be turned on
|
452
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/league_registrant_documents","rel":"league_registrant_documents","links":[{"rel":"member","href":"http://localhost:3000/members","prompt":"member
|
453
|
+
is deprecated and will be removed in a future version, use members instead."},{"rel":"members","href":"http://localhost:3000/members"},{"rel":"team","href":"http://localhost:3000/teams","prompt":"team
|
454
|
+
is deprecated and will be removed in a future version, use teams instead."},{"rel":"teams","href":"http://localhost:3000/teams"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/league_registrant_documents?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/league_registrant_documents/search","data":[{"name":"team_id","value":null},{"name":"member_id","value":null},{"name":"id","value":null},{"name":"page_size","value":null,"prompt":"The
|
455
|
+
number of items to return for each page. Sending this parameter with the query
|
456
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
457
|
+
number of the page to be returned. This requires that paging be turned on
|
458
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/locations","rel":"locations","template":{"data":[{"name":"name","value":null},{"name":"url","value":null},{"name":"phone","value":null},{"name":"notes","value":null},{"name":"address","value":null},{"name":"team_id","value":null},{"name":"type","value":"location"}]},"links":[{"rel":"events","href":"http://localhost:3000/events"},{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/locations?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/locations/search","data":[{"name":"team_id","value":null},{"name":"id","value":null},{"name":"page_size","value":null,"prompt":"The
|
459
|
+
number of items to return for each page. Sending this parameter with the query
|
460
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
461
|
+
number of the page to be returned. This requires that paging be turned on
|
462
|
+
by also providing the page_size parameter."}]}],"commands":[{"rel":"import_from_team","href":"http://localhost:3000/locations/import_from_team","prompt":"Copy
|
463
|
+
the specified ''source_location_ids'' to the specified ''destination_team_id''.","data":[{"name":"destination_team_id","value":null},{"name":"source_location_ids","value":null}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/member_assignments","rel":"member_assignments","template":{"data":[{"name":"assignment_id","value":null},{"name":"member_id","value":null},{"name":"type","value":"member_assignment"}]},"links":[{"rel":"assignment","href":"http://localhost:3000/assignments"},{"rel":"event","href":"http://localhost:3000/events"},{"rel":"member","href":"http://localhost:3000/members"},{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/member_assignments?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/member_assignments/search","data":[{"name":"assignment_id","value":null},{"name":"event_id","value":null},{"name":"member_id","value":null},{"name":"team_id","value":null},{"name":"id","value":null},{"name":"page_size","value":null,"prompt":"The
|
464
|
+
number of items to return for each page. Sending this parameter with the query
|
465
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
466
|
+
number of the page to be returned. This requires that paging be turned on
|
467
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/member_email_addresses","rel":"member_email_addresses","template":{"data":[{"name":"member_id","value":null},{"name":"label","value":null},{"name":"email","value":null},{"name":"receives_team_emails","value":null},{"name":"is_hidden","value":null},{"name":"type","value":"member_email_address"}]},"links":[{"rel":"member","href":"http://localhost:3000/members"},{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/member_email_addresses?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/member_email_addresses/search","data":[{"name":"team_id","value":null},{"name":"member_id","value":null},{"name":"id","value":null},{"name":"email","value":null},{"name":"page_size","value":null,"prompt":"The
|
468
|
+
number of items to return for each page. Sending this parameter with the query
|
469
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
470
|
+
number of the page to be returned. This requires that paging be turned on
|
471
|
+
by also providing the page_size parameter."}]}],"commands":[{"rel":"invite","href":"http://localhost:3000/member_email_addresses/invite","prompt":"BETA:
|
472
|
+
Invite member email addresses to join TeamSnap.","data":[{"name":"team_id","value":null},{"name":"member_id","value":null},{"name":"member_email_address_ids","value":null},{"name":"introduction","value":null},{"name":"notify_as_member_id","value":null}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/member_balances","rel":"member_balances","links":[{"rel":"member","href":"http://localhost:3000/members"},{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/member_balances?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/member_balances/search","data":[{"name":"member_id","value":null},{"name":"team_id","value":null},{"name":"page_size","value":null,"prompt":"The
|
473
|
+
number of items to return for each page. Sending this parameter with the query
|
474
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
475
|
+
number of the page to be returned. This requires that paging be turned on
|
476
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/member_files","rel":"member_files","template":{"data":[{"name":"member_id","value":null},{"name":"is_private","value":null},{"name":"description","value":null},{"name":"type","value":"member_file"}]},"links":[{"rel":"member","href":"http://localhost:3000/members"},{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/member_files?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/member_files/search","data":[{"name":"team_id","value":null},{"name":"member_id","value":null},{"name":"id","value":null},{"name":"page_size","value":null,"prompt":"The
|
477
|
+
number of items to return for each page. Sending this parameter with the query
|
478
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
479
|
+
number of the page to be returned. This requires that paging be turned on
|
480
|
+
by also providing the page_size parameter."}]}],"commands":[{"rel":"upload_member_file","href":"http://localhost:3000/member_files/upload_member_file","prompt":"Upload
|
481
|
+
a member file. This must be a multi-part POST.","data":[{"name":"member_file_id","value":null},{"name":"file","value":null}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/member_links","rel":"member_links","template":{"data":[{"name":"member_id","value":null},{"name":"url","value":null},{"name":"is_private","value":null},{"name":"description","value":null},{"name":"type","value":"member_link"}]},"links":[{"rel":"member","href":"http://localhost:3000/members"},{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/member_links?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/member_links/search","data":[{"name":"team_id","value":null},{"name":"member_id","value":null},{"name":"id","value":null},{"name":"page_size","value":null,"prompt":"The
|
482
|
+
number of items to return for each page. Sending this parameter with the query
|
483
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
484
|
+
number of the page to be returned. This requires that paging be turned on
|
485
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/member_payments","rel":"member_payments","template":{"data":[{"name":"amount_paid","value":null},{"name":"amount_due","value":null},{"name":"is_applicable","value":null},{"name":"member_id","value":null},{"name":"note","value":null},{"name":"team_fee_id","value":null},{"name":"type","value":"member_payment"}]},"links":[{"rel":"member","href":"http://localhost:3000/members"},{"rel":"payment_notes","href":"http://localhost:3000/payment_notes"},{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"team_fee","href":"http://localhost:3000/team_fees"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/member_payments?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/member_payments/search","data":[{"name":"id","value":null},{"name":"member_id","value":null},{"name":"team_fee_id","value":null},{"name":"team_id","value":null},{"name":"page_size","value":null,"prompt":"The
|
486
|
+
number of items to return for each page. Sending this parameter with the query
|
487
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
488
|
+
number of the page to be returned. This requires that paging be turned on
|
489
|
+
by also providing the page_size parameter."}]}],"commands":[{"rel":"transaction","href":"http://localhost:3000/member_payments/transaction","prompt":"Add
|
490
|
+
or subtract money from the amount paid on a Member Payment.","data":[{"name":"member_payment_id","value":null},{"name":"amount","value":null},{"name":"note","value":null}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/member_phone_numbers","rel":"member_phone_numbers","template":{"data":[{"name":"label","value":null},{"name":"phone_number","value":null},{"name":"preferred","value":null,"deprecated":true,"prompt":"preferred
|
491
|
+
is deprecated and will be removed in a future version, use is_preferred instead."},{"name":"is_preferred","value":null},{"name":"member_id","value":null},{"name":"sms_enabled","value":null},{"name":"sms_gateway_id","value":null},{"name":"is_hidden","value":null},{"name":"type","value":"member_phone_number"}]},"links":[{"rel":"member","href":"http://localhost:3000/members"},{"rel":"sms_gateway","href":"http://localhost:3000/sms_gateways"},{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/member_phone_numbers?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/member_phone_numbers/search","data":[{"name":"team_id","value":null},{"name":"id","value":null},{"name":"member_id","value":null},{"name":"page_size","value":null,"prompt":"The
|
492
|
+
number of items to return for each page. Sending this parameter with the query
|
493
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
494
|
+
number of the page to be returned. This requires that paging be turned on
|
495
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/member_photos","rel":"member_photos","prompt":"BETA:
|
496
|
+
(This endpoint is subject to change) Returns a collection of member photos.","links":[{"rel":"member","href":"http://localhost:3000/members"},{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"user","href":"http://localhost:3000/users"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/member_photos?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/member_photos/search","data":[{"name":"id","value":null},{"name":"member_id","value":null},{"name":"team_id","value":null},{"name":"height","value":null},{"name":"width","value":null},{"name":"crop","value":null},{"name":"page_size","value":null,"prompt":"The
|
497
|
+
number of items to return for each page. Sending this parameter with the query
|
498
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
499
|
+
number of the page to be returned. This requires that paging be turned on
|
500
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","prompt":"BETA:
|
501
|
+
(This endpoint subject to change) Returns a collection of a division''s registration
|
502
|
+
signups.","href":"http://localhost:3000/member_registration_signups","rel":"member_registration_signups","links":[{"rel":"division","href":"http://localhost:3000/divisions"},{"rel":"member","href":"http://localhost:3000/members"},{"rel":"registration_form","href":"http://localhost:3000/registration_forms"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/member_registration_signups?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/member_registration_signups/search","data":[{"name":"member_id","value":null},{"name":"division_id","value":null},{"name":"id","value":null},{"name":"page_size","value":null,"prompt":"The
|
503
|
+
number of items to return for each page. Sending this parameter with the query
|
504
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
505
|
+
number of the page to be returned. This requires that paging be turned on
|
506
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/member_statistics","rel":"member_statistics","links":[{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/member_statistics?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"},{"rel":"member","href":"http://localhost:3000/members"},{"rel":"statistic","href":"http://localhost:3000/statistics"},{"rel":"team","href":"http://localhost:3000/teams"}],"queries":[{"rel":"search","href":"http://localhost:3000/member_statistics/search","data":[{"name":"id","value":null},{"name":"statistic_id","value":null},{"name":"member_id","value":null},{"name":"team_id","value":null}]}]}},{"collection":{"version":"3.523.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
|
507
|
+
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
|
508
|
+
is deprecated and will be removed in a future version, use is_address_hidden
|
509
|
+
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":"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":"%{old}
|
510
|
+
is deprecated and will be removed in a future version, use %{new} instead."},{"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":"%{old}
|
511
|
+
is deprecated and will be removed in a future version, use %{new} instead."},{"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?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"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
|
512
|
+
number of items to return for each page. Sending this parameter with the query
|
513
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
514
|
+
number of the page to be returned. This requires that paging be turned on
|
515
|
+
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
|
516
|
+
a user ID, returns members directly associated with the user as well as members
|
517
|
+
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:
|
518
|
+
(this query is subject to change or suddenly disappear) Given a a team_id
|
519
|
+
or division_id, returns all members that are commissioners of the divisions
|
520
|
+
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
|
521
|
+
a user ID, returns all members associated with user''s active season teams. If
|
522
|
+
include_archived_teams (boolean) parameter is supplied, members associated
|
523
|
+
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":"BETA:
|
524
|
+
(This endpoint subject to change) Searches the division and subdivision for
|
525
|
+
the members meeting the search criteria.","data":[{"name":"division_id","value":null,"prompt":"Id
|
526
|
+
of the division and descendants to search"},{"name":"is_unassigned","value":null,"prompt":"true/false
|
527
|
+
- For all members in a division that aren''t assigned to a team. Not used
|
528
|
+
if blank."},{"name":"is_activated","value":null,"prompt":"true/false - For
|
529
|
+
all members in a division that have a user. Not used if blank."},{"name":"is_commissioner","value":null,"prompt":"true/false
|
530
|
+
- For all members in a division that are or are not a commissioner. Not used
|
531
|
+
if blank."},{"name":"is_ownership_pending","value":null,"prompt":"true/false
|
532
|
+
- Find all members in a division that are or are not pending ownership. Not
|
533
|
+
used if blank."},{"name":"page_size","value":null,"prompt":"The number of
|
534
|
+
items to return for each page. Sending this parameter with the query will
|
535
|
+
enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
536
|
+
number of the page to be returned. This requires that paging be turned on
|
537
|
+
by also providing the page_size parameter."}]},{"rel":"advanced_division_search","href":"http://localhost:3000/members/advanced_division_search","prompt":"BETA:
|
538
|
+
(This endpoint subject to change) Searches the division and subdivision for
|
539
|
+
the members meeting the search criteria. Searches using this endpoint accept
|
540
|
+
additional parameters. You can search for equality by formatting the string
|
541
|
+
as ''operator:equals,value:<SEARCH STRING>''. You can also search inquality
|
542
|
+
by using not_equals as ''operator:not_equals,value:<SEARCH STRING>''. You
|
543
|
+
may search for additional parameters by sending them as an array, for instance:
|
544
|
+
?birthday[]=operator:less_than,value:2016-02-02&birthday[]=operator:greater_than,value:2010-02-02.
|
545
|
+
Other operatores are less_than_or_equal and greater_than_or_equal","data":[{"name":"division_id","value":null,"prompt":"Id
|
546
|
+
of the division and descendants to search"},{"name":"id","value":null,"prompt":"Id
|
547
|
+
of the member to search"},{"name":"user_id","value":null,"prompt":"Id of the
|
548
|
+
user to search"},{"name":"is_commissioner","value":null,"prompt":"true/false
|
549
|
+
- For all members in a division that are or are not a commissioner. Not used
|
550
|
+
if blank."},{"name":"birthday","value":null,"prompt":"date - Accepts advanced
|
551
|
+
search operators ''less_than'' and ''greater_than''."},{"name":"team_id","value":null,"prompt":"integer
|
552
|
+
- Find all members in a division with the specified team_id(s)."},{"name":"is_manager","value":null,"prompt":"true/false
|
553
|
+
- Find all members in a division that are or are not a team manager. Not used
|
554
|
+
if blank."},{"name":"is_owner","value":null,"prompt":"true/false - Find all
|
555
|
+
members in a division that are or are not owners. Not used if blank."},{"name":"is_ownership_pending","value":null,"prompt":"true/false
|
556
|
+
- Find all members in a division that are or are not pending ownership. Not
|
557
|
+
used if blank."},{"name":"gender","value":null,"prompt":"Male/Female - Find
|
558
|
+
all members in a division with the specified gender."},{"name":"first_name","value":null,"prompt":"string
|
559
|
+
- Accepts advanced search operators ''equals'', ''contains'' and ''starts_with''."},{"name":"last_name","value":null,"prompt":"string
|
560
|
+
- Accepts advanced search operators ''equals'', ''contains'' and ''starts_with''."},{"name":"email","value":null,"prompt":"string
|
561
|
+
- Accepts advanced search operators ''equals'', ''contains'' and ''starts_with''."},{"name":"custom_field","value":null,"prompt":"string
|
562
|
+
- Required advanced search parameter of ''id'' that should be the id of the
|
563
|
+
custom field to be searched on. Accepts advanced search operators ''equals'',
|
564
|
+
''contains'' and ''starts_with''."},{"name":"registration_form_id","value":null,"prompt":"string
|
565
|
+
- Find all members in a division with the specified registration_form_id."},{"name":"is_assigned","value":null,"prompt":"true/false
|
566
|
+
- For all members in a division that are assigned to a team. Not used if blank."},{"name":"is_activated","value":null,"prompt":"true/false
|
567
|
+
- For all members in a division that have a user. Not used if blank."},{"name":"checkout_type","value":null,"prompt":"string
|
568
|
+
- Search for a registration checkout type. Valid values are: \"1\" - In Progress,
|
569
|
+
\"2\" - Pay Now, \"3\" - Installment Plan, \"4\" - Pay Offline, \"5\" - No
|
570
|
+
Fees"},{"name":"signup_status","value":null,"prompt":"string - Search for
|
571
|
+
a registration based on it''s signup status. Value values are: \"authorized\"
|
572
|
+
- Authorized, \"refunded\" - Refunded, \"failed\" - Failed, \"active\" - Active,
|
573
|
+
\"canceled\" - Canceled, \"charged_back\" - Charged Back, \"on_checkout\"
|
574
|
+
- On Checkout, \"paid\" - Paid"},{"name":"search_subdivisions","value":null,"prompt":"true/false
|
575
|
+
- Search all the subdivisions of the division provided. True by default."},{"name":"page_size","value":null,"prompt":"The
|
576
|
+
number of items to return for each page. Sending this parameter with the query
|
577
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
578
|
+
number of the page to be returned. This requires that paging be turned on
|
579
|
+
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
|
580
|
+
source_member_ids (array) and a destination_team_id, source members and related
|
581
|
+
member data will be imported to the destination team. Newly created members
|
582
|
+
will be returned.","data":[{"name":"source_member_ids","value":null},{"name":"destination_team_id","value":null},{"name":"send_invites","value":null,"prompt":"Whether
|
583
|
+
or not to create and send invitations for each imported member. Valid values
|
584
|
+
are either ''true'' or ''false'' and will default to ''false''"}]},{"rel":"bulk_delete","href":"http://localhost:3000/members/bulk_delete","prompt":"Delete
|
585
|
+
one or many members.","data":[{"name":"member_id","value":null,"prompt":"The
|
586
|
+
id of the member to be deleted, this can either be passed as a comma-delimited
|
587
|
+
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
|
588
|
+
one or many members to a new division and/or team.","data":[{"name":"member_id","value":null,"prompt":"The
|
589
|
+
id of the member or members to be moved, this can either be passed as a comma-delimited
|
590
|
+
list of integers or as an array if the post data is JSON."},{"name":"division_id","value":null},{"name":"team_id","value":null}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/members_preferences","rel":"members_preferences","template":{"data":[{"name":"assignments_hide_past","value":null},{"name":"schedule_hide_past","value":null},{"name":"availability_show_past","value":null},{"name":"schedule_show_for_code","value":null},{"name":"reminders_send_event","value":null,"deprecated":true,"prompt":"reminders_send_event
|
591
|
+
is deprecated and will be removed in a future version, use event_reminder_preference
|
592
|
+
instead."},{"name":"reminders_send_game","value":null,"deprecated":true,"prompt":"reminders_send_game
|
593
|
+
is deprecated and will be removed in a future version, use game_reminder_preference
|
594
|
+
instead."},{"name":"reminders_send_days_before_game","value":null},{"name":"reminders_send_days_before_event","value":null},{"name":"reminders_send_manager_game","value":null},{"name":"reminders_send_manager_event","value":null},{"name":"reminders_send_manager_days_before_game","value":null},{"name":"reminders_send_manager_days_before_event","value":null},{"name":"mobile_send_push_messages","value":null},{"name":"public_site_show_thumbnail","value":null},{"name":"public_site_show_last_name","value":null},{"name":"facebook_post_scores","value":null,"deprecated":true,"prompt":"facebook_post_scores
|
595
|
+
is deprecated and has been removed. Continued use of facebook_post_scores
|
596
|
+
is not recommended it will no longer be stored."},{"name":"facebook_post_scores_to_page_id","value":null,"deprecated":true,"prompt":"facebook_post_scores_to_page_id
|
597
|
+
is deprecated and has been removed. Continued use of facebook_post_scores_to_page_id
|
598
|
+
is not recommended it will no longer be stored."},{"name":"facebook_post_scores_to_page_name","value":null,"deprecated":true,"prompt":"facebook_post_scores_to_page_name
|
599
|
+
is deprecated and has been removed. Continued use of facebook_post_scores_to_page_name
|
600
|
+
is not recommended it will no longer be stored."},{"name":"facebook_post_scores_to_wall","value":null,"deprecated":true,"prompt":"facebook_post_scores_to_wall
|
601
|
+
is deprecated and has been removed. Continued use of facebook_post_scores_to_wall
|
602
|
+
is not recommended it will no longer be stored."},{"name":"facebook_only_post_wins","value":null,"deprecated":true,"prompt":"facebook_only_post_wins
|
603
|
+
is deprecated and has been removed. Continued use of facebook_only_post_wins
|
604
|
+
is not recommended it will no longer be stored."},{"name":"facebook_polite_scores","value":null,"deprecated":true,"prompt":"facebook_polite_scores
|
605
|
+
is deprecated and has been removed. Continued use of facebook_polite_scores
|
606
|
+
is not recommended it will no longer be stored."},{"name":"facebook_page_access_token","value":null,"deprecated":true,"prompt":"facebook_page_access_token
|
607
|
+
is deprecated and has been removed. Continued use of facebook_page_access_token
|
608
|
+
is not recommended it will no longer be stored."},{"name":"game_reminder_preference","value":null,"prompt":"Valid
|
609
|
+
values are ''team'', ''member'' and ''none''."},{"name":"event_reminder_preference","value":null,"prompt":"Valid
|
610
|
+
values are ''team'', ''member'' and ''none''."},{"name":"type","value":"member_preferences"}]},"links":[{"rel":"member","href":"http://localhost:3000/members"},{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/members_preferences?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/members_preferences/search","data":[{"name":"team_id","value":null},{"name":"id","value":null},{"name":"page_size","value":null,"prompt":"The
|
611
|
+
number of items to return for each page. Sending this parameter with the query
|
612
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
613
|
+
number of the page to be returned. This requires that paging be turned on
|
614
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/message_data","rel":"message_data","prompt":"BETA:
|
615
|
+
(This endpoint is subject to change) Returns a collection of summarized data
|
616
|
+
about messages.","links":[{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"user","href":"http://localhost:3000/users"},{"rel":"member","href":"http://localhost:3000/members"},{"rel":"contact","href":"http://localhost:3000/contacts"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/message_data?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/message_data/search","data":[{"name":"team_id","value":null},{"name":"user_id","value":null},{"name":"member_id","value":null},{"name":"contact_id","value":null},{"name":"message_type","value":null}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/messages","rel":"messages","prompt":"BETA:
|
617
|
+
(This endpoint is subject to change) Returns a collection of messages.","links":[{"rel":"contact","href":"http://localhost:3000/contacts"},{"rel":"member","href":"http://localhost:3000/members"},{"rel":"division_member","href":"http://localhost:3000/division_members"},{"rel":"sender","href":"http://localhost:3000/members"},{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"division","href":"http://localhost:3000/divisions"},{"rel":"user","href":"http://localhost:3000/users"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/messages?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/messages/search","data":[{"name":"team_id","value":null},{"name":"division_id","value":null},{"name":"member_id","value":null},{"name":"division_member_id","value":null},{"name":"message_id","value":null,"prompt":"message_id
|
618
|
+
is deprecated and will be removed in a future version, use message_source_id
|
619
|
+
instead."},{"name":"message_source_id","value":null},{"name":"message_type","value":null},{"name":"contact_id","value":null},{"name":"user_id","value":null},{"name":"id","value":null},{"name":"page_size","value":null,"prompt":"The
|
620
|
+
number of items to return for each page. Sending this parameter with the query
|
621
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
622
|
+
number of the page to be returned. This requires that paging be turned on
|
623
|
+
by also providing the page_size parameter."}]}],"commands":[{"rel":"mark_message_as_read","href":"http://localhost:3000/messages/mark_as_read","prompt":"Mark
|
624
|
+
a message as read.","data":[{"name":"id","value":null}]},{"rel":"bulk_delete","href":"http://localhost:3000/messages/bulk_delete","prompt":"Delete
|
625
|
+
several messages with a single command.","data":[{"name":"id","value":null}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/opponents","rel":"opponents","template":{"data":[{"name":"name","value":null},{"name":"contacts_name","value":null},{"name":"contacts_phone","value":null},{"name":"contacts_email","value":null},{"name":"notes","value":null},{"name":"team_id","value":null},{"name":"type","value":"opponent"}]},"links":[{"rel":"events","href":"http://localhost:3000/events"},{"rel":"opponent_results","href":"http://localhost:3000/opponents_results"},{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/opponents?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/opponents/search","data":[{"name":"team_id","value":null},{"name":"league_team_id","value":null},{"name":"id","value":null},{"name":"page_size","value":null,"prompt":"The
|
626
|
+
number of items to return for each page. Sending this parameter with the query
|
627
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
628
|
+
number of the page to be returned. This requires that paging be turned on
|
629
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/opponents_results","rel":"opponents_results","links":[{"rel":"opponent","href":"http://localhost:3000/opponents"},{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/opponents_results?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/opponents_results/search","data":[{"name":"team_id","value":null},{"name":"id","value":null},{"name":"page_size","value":null,"prompt":"The
|
630
|
+
number of items to return for each page. Sending this parameter with the query
|
631
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
632
|
+
number of the page to be returned. This requires that paging be turned on
|
633
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/payment_method_wepay_credit_cards","rel":"payment_method_wepay_credit_cards","prompt":"BETA:
|
634
|
+
(This endpoint subject to change) Returns a collection of WePay credit card
|
635
|
+
payment methods.","links":[{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/payment_method_wepay_credit_cards?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/payment_method_wepay_credit_cards/search","data":[{"name":"id","value":null},{"name":"page_size","value":null,"prompt":"The
|
636
|
+
number of items to return for each page. Sending this parameter with the query
|
637
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
638
|
+
number of the page to be returned. This requires that paging be turned on
|
639
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/payment_notes","rel":"payment_notes","template":{"data":[{"name":"member_payment_id","value":null},{"name":"note","value":null},{"name":"type","value":"payment_note"}]},"links":[{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"member","href":"http://localhost:3000/members"},{"rel":"member_payment","href":"http://localhost:3000/member_payments"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/payment_notes?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/payment_notes/search","data":[{"name":"id","value":null},{"name":"member_payment_id","value":null},{"name":"team_id","value":null},{"name":"page_size","value":null,"prompt":"The
|
640
|
+
number of items to return for each page. Sending this parameter with the query
|
641
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
642
|
+
number of the page to be returned. This requires that paging be turned on
|
643
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/payment_providers","rel":"payment_providers","prompt":"Beta:
|
644
|
+
(This endpoint is subject to change) Returns payment providers","links":[{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/payment_providers?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/payment_providers/search","data":[{"name":"id","value":null},{"name":"name","value":null},{"name":"page_size","value":null,"prompt":"The
|
645
|
+
number of items to return for each page. Sending this parameter with the query
|
646
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
647
|
+
number of the page to be returned. This requires that paging be turned on
|
648
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/paypal_currencies","rel":"paypal_currencies","links":[{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/paypal_currencies?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/paypal_currencies/search","data":[{"name":"id","value":null},{"name":"team_id","value":null}]}]}},{"collection":{"version":"3.523.0","rel":"plans","href":"http://localhost:3000/plans","links":[{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/plans?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/plans/search","data":[{"name":"id","value":null},{"name":"team_id","value":null}]},{"rel":"all","href":"http://localhost:3000/plans/all","prompt":"Returns
|
649
|
+
all active and inactive plans"}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/public_features","rel":"public_features","links":[{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/public_features?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}]}},{"collection":{"prompt":"BETA:
|
650
|
+
(This endpoint subject to change) Returns a list of registration signup statuses
|
651
|
+
available.","version":"3.523.0","href":"http://localhost:3000/registration_signup_statuses","rel":"registration_signup_statuses","links":[{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/registration_signup_statuses?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/registration_signup_statuses/search","data":[{"name":"id","value":null}]}]}},{"collection":{"version":"3.523.0","prompt":"BETA:
|
652
|
+
(This endpoint subject to change) Returns a collection of a division''s registration
|
653
|
+
forms.","href":"http://localhost:3000/registration_forms","rel":"registration_forms","links":[{"rel":"division","href":"http://localhost:3000/divisions"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/registration_forms?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/registration_forms/search","data":[{"name":"division_id","value":null},{"name":"id","value":null},{"name":"is_retired","value":null},{"name":"page_size","value":null,"prompt":"The
|
654
|
+
number of items to return for each page. Sending this parameter with the query
|
655
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
656
|
+
number of the page to be returned. This requires that paging be turned on
|
657
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","prompt":"BETA:
|
658
|
+
(This endpoint subject to change) Returns a collection of a registration form''s
|
659
|
+
line items.","href":"http://localhost:3000/registration_form_line_items","rel":"registration_form_line_items","links":[{"rel":"division","href":"http://localhost:3000/divisions"},{"rel":"registration_form","href":"http://localhost:3000/registration_forms"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/registration_form_line_items?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/registration_form_line_items/search","data":[{"name":"registration_form_id","value":null},{"name":"id","value":null},{"name":"division_id","value":null},{"name":"page_size","value":null,"prompt":"The
|
660
|
+
number of items to return for each page. Sending this parameter with the query
|
661
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
662
|
+
number of the page to be returned. This requires that paging be turned on
|
663
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","prompt":"BETA:
|
664
|
+
(This endpoint subject to change) Returns a collection of a registration form
|
665
|
+
line item''s registration form line item options.","href":"http://localhost:3000/registration_form_line_item_options","rel":"registration_form_line_item_options","links":[{"rel":"division","href":"http://localhost:3000/divisions"},{"rel":"registration_form","href":"http://localhost:3000/registration_forms"},{"rel":"registration_form_line_item","href":"http://localhost:3000/registration_form_line_items"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/registration_form_line_item_options?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/registration_form_line_item_options/search","data":[{"name":"id","value":null},{"name":"division_id","value":null},{"name":"registration_form_id","value":null},{"name":"registration_form_line_item_id","value":null},{"name":"page_size","value":null,"prompt":"The
|
666
|
+
number of items to return for each page. Sending this parameter with the query
|
667
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
668
|
+
number of the page to be returned. This requires that paging be turned on
|
669
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/sms_gateways","rel":"sms_gateways","links":[{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/sms_gateways?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/sms_gateways/search","data":[{"name":"id","value":null},{"name":"page_size","value":null,"prompt":"The
|
670
|
+
number of items to return for each page. Sending this parameter with the query
|
671
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
672
|
+
number of the page to be returned. This requires that paging be turned on
|
673
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/sponsors","rel":"sponsers","template":{"data":[{"name":"team_id","value":null},{"name":"name","value":null},{"name":"url","value":null},{"name":"type","value":"sponsor"}]},"links":[{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/sponsors?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/sponsors/search","data":[{"name":"team_id","value":null},{"name":"id","value":null},{"name":"page_size","value":null,"prompt":"The
|
674
|
+
number of items to return for each page. Sending this parameter with the query
|
675
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
676
|
+
number of the page to be returned. This requires that paging be turned on
|
677
|
+
by also providing the page_size parameter."}]}],"commands":[{"rel":"upload_sponsor_logo","href":"http://localhost:3000/sponsors/upload_sponsor_logo","prompt":"Upload
|
678
|
+
a sponsor logo. This must be a multi-part POST.","data":[{"name":"sponsor_id","value":null},{"name":"file","value":null}]},{"rel":"remove_sponsor_logo","href":"http://localhost:3000/sponsors/remove_sponsor_logo","prompt":"Removes
|
679
|
+
a sponser''s logo.","data":[{"name":"sponsor_id","value":null}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/sports","rel":"sports","links":[{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/sports?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/sports/search","data":[{"name":"id","value":null},{"name":"team_id","value":null},{"name":"division_id","value":null}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/statistics","rel":"statistics","template":{"data":[{"name":"acronym","value":null},{"name":"always_display_decimals","value":null},{"name":"formula","value":null},{"name":"is_in_descending_order","value":null},{"name":"display_zero_totals","value":null},{"name":"is_percentage","value":null},{"name":"is_private","value":null},{"name":"is_team_statistic","value":null},{"name":"is_top_statistic","value":null},{"name":"name","value":null},{"name":"precision","value":null},{"name":"statistic_group_id","value":null},{"name":"team_id","value":null},{"name":"type","value":"statistic"}]},"links":[{"rel":"event_statistics","href":"http://localhost:3000/event_statistics"},{"rel":"member_statistics","href":"http://localhost:3000/member_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","href":"http://localhost:3000/teams"},{"rel":"team_statistics","href":"http://localhost:3000/team_statistics"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/statistics?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/statistics/search","data":[{"name":"statistic_group_id","value":null},{"name":"team_id","value":null},{"name":"id","value":null},{"name":"page_size","value":null,"prompt":"The
|
680
|
+
number of items to return for each page. Sending this parameter with the query
|
681
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
682
|
+
number of the page to be returned. This requires that paging be turned on
|
683
|
+
by also providing the page_size parameter."}]}],"commands":[{"rel":"reorder_statistics","href":"http://localhost:3000/statistics/reorder","prompt":"reorder
|
684
|
+
the statistics based on the sorted_ids provided","data":[{"name":"team_id","value":null},{"name":"sorted_ids","value":null,"prompt":"An
|
685
|
+
array of the ids in the order that they are to be moved to"}]},{"rel":"import_from_template","href":"http://localhost:3000/statistics/import_from_template","prompt":"import
|
686
|
+
all statistics and statistic groups from a template of a sport_id to a specified
|
687
|
+
destination_team_id","data":[{"name":"destination_team_id","value":null},{"name":"sport_id","value":null}]},{"rel":"import_from_team","href":"http://localhost:3000/statistics/import_from_team","prompt":"import
|
688
|
+
all statistics and statistic groups from a source_team_id to a destination_team_id","data":[{"name":"source_team_id","value":null},{"name":"destination_team_id","value":null}]}]}},{"collection":{"version":"3.523.0","prompt":"Aggregate
|
689
|
+
data for a team''s statistics, including team_statistics and member_statistics","href":"http://localhost:3000/statistic_aggregates","rel":"statistic_aggregates","links":[{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/statistic_aggregates?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"},{"rel":"statistic","href":"http://localhost:3000/statistics"},{"rel":"team","href":"http://localhost:3000/teams"}],"queries":[{"rel":"search","href":"http://localhost:3000/statistic_aggregates/search","data":[{"name":"id","value":null},{"name":"team_id","value":null},{"name":"statistic_id","value":null},{"name":"page_size","value":null,"prompt":"The
|
690
|
+
number of items to return for each page. Sending this parameter with the query
|
691
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
692
|
+
number of the page to be returned. This requires that paging be turned on
|
693
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/statistic_data","rel":"statistic_data","template":{"data":[{"name":"team_id","value":null},{"name":"member_id","value":null},{"name":"event_id","value":null},{"name":"statistic_id","value":null},{"name":"value","value":null},{"name":"type","value":"statistic_datum"}]},"links":[{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/statistic_data?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"},{"rel":"event","href":"http://localhost:3000/events"},{"rel":"member","href":"http://localhost:3000/members"},{"rel":"statistic","href":"http://localhost:3000/statistics"},{"rel":"team","href":"http://localhost:3000/teams"}],"queries":[{"rel":"search","href":"http://localhost:3000/statistic_data/search","data":[{"name":"id","value":null},{"name":"event_id","value":null},{"name":"statistic_id","value":null},{"name":"team_id","value":null},{"name":"member_id","value":null},{"name":"page_size","value":null,"prompt":"The
|
694
|
+
number of items to return for each page. Sending this parameter with the query
|
695
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
696
|
+
number of the page to be returned. This requires that paging be turned on
|
697
|
+
by also providing the page_size parameter."}]}],"commands":[{"rel":"bulk_update_statistic_data","href":"http://localhost:3000/statistic_data/bulk_update","prompt":"Update
|
698
|
+
several statistic data with a single command.","data":[{"name":"templates","value":null,"prompt":"An
|
699
|
+
array of the statistic_datum templates to be updated that correspond to the
|
700
|
+
template for the rel ''statistic_datum''. Each template must have the following
|
701
|
+
elements present: team_id, event_id, statistic_id."}]},{"rel":"bulk_delete_statistic_data","href":"http://localhost:3000/statistic_data/bulk_delete","prompt":"Delete
|
702
|
+
several statistic data with a single command.","data":[{"name":"member_id","value":null},{"name":"event_id","value":null}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/statistic_groups","rel":"statistic_groups","template":{"data":[{"name":"team_id","value":null},{"name":"name","value":null},{"name":"type","value":"statistic_group"}]},"links":[{"rel":"statistics","href":"http://localhost:3000/teams"},{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/statistic_groups?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/statistic_groups/search","data":[{"name":"team_id","value":null},{"name":"id","value":null},{"name":"page_size","value":null,"prompt":"The
|
703
|
+
number of items to return for each page. Sending this parameter with the query
|
704
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
705
|
+
number of the page to be returned. This requires that paging be turned on
|
706
|
+
by also providing the page_size parameter."}]}],"commands":[{"rel":"reorder_statistic_groups","href":"http://localhost:3000/statistic_groups/reorder","prompt":"reorder
|
707
|
+
the statistic groups based on the sorted_ids provided","data":[{"name":"team_id","value":null},{"name":"sorted_ids","value":null,"prompt":"An
|
708
|
+
array of the ids in the order that they are to be moved to"}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/team_fees","rel":"team_fees","template":{"data":[{"name":"description","value":null},{"name":"amount","value":null},{"name":"notes","value":null},{"name":"team_id","value":null},{"name":"type","value":"team_fee"}]},"links":[{"rel":"member_payments","href":"http://localhost:3000/member_payments"},{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/team_fees?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/team_fees/search","data":[{"name":"team_id","value":null},{"name":"id","value":null},{"name":"page_size","value":null,"prompt":"The
|
709
|
+
number of items to return for each page. Sending this parameter with the query
|
710
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
711
|
+
number of the page to be returned. This requires that paging be turned on
|
712
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/team_media","rel":"team_media","template":{"data":[{"name":"description","value":null},{"name":"team_media_group_id","value":null},{"name":"type","value":"team_medium"}]},"links":[{"rel":"member","href":"http://localhost:3000/members"},{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"team_media_group","href":"http://localhost:3000/team_media_groups"},{"rel":"team_medium_comments","href":"http://localhost:3000/team_medium_comments"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/team_media?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/team_media/search","data":[{"name":"team_id","value":null},{"name":"team_media_group_id","value":null},{"name":"member_id","value":null},{"name":"id","value":null},{"name":"height","value":null},{"name":"width","value":null},{"name":"crop","value":null},{"name":"page_size","value":null,"prompt":"The
|
713
|
+
number of items to return for each page. Sending this parameter with the query
|
714
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
715
|
+
number of the page to be returned. This requires that paging be turned on
|
716
|
+
by also providing the page_size parameter."}]}],"commands":[{"rel":"upload_team_medium","href":"http://localhost:3000/team_media/upload_team_medium","prompt":"Upload
|
717
|
+
a team media file. This must be a multi-part POST.","data":[{"name":"team_id","value":null},{"name":"member_id","value":null},{"name":"media_format","value":null,"prompt":"The
|
718
|
+
format of the media, either \"image\" or \"file\""},{"name":"team_media_group_id","value":null},{"name":"description","value":null},{"name":"position","value":null},{"name":"file","value":null}]},{"rel":"assign_media_to_group","href":"http://localhost:3000/team_media/assign_media_to_group","prompt":"Assign
|
719
|
+
the specified team_medium_ids to the team_media_group_id","data":[{"name":"team_medium_ids","value":null,"prompt":"A
|
720
|
+
comma delimited list of team medium ids"},{"name":"team_media_group_id","value":null}]},{"rel":"rotate_team_medium_image","href":"http://localhost:3000/team_media/rotate_image","prompt":"Rotate
|
721
|
+
an image with specified team_medium_id in the specified rotate_direction","data":[{"name":"team_medium_id","value":null},{"name":"rotate_direction","value":null,"prompt":"The
|
722
|
+
direction to rotate the image, valid valiuse are \"clockwise\" or \"counterclockwise\""}]},{"rel":"set_medium_as_team_photo","href":"http://localhost:3000/team_media/set_as_team_photo","prompt":"Set
|
723
|
+
the specified team medium image as the team photo","data":[{"name":"team_medium_id","value":null}]},{"rel":"set_medium_as_member_photo","href":"http://localhost:3000/team_media/set_as_member_photo","prompt":"Set
|
724
|
+
the specified team medium image as the specified member_id''s photo","data":[{"name":"team_medium_id","value":null},{"name":"member_id","value":null}]},{"rel":"bulk_delete_team_media","href":"http://localhost:3000/team_media/bulk_delete","prompt":"Deletes
|
725
|
+
the specified team_medium_ids","data":[{"name":"team_medium_ids","value":null,"prompt":"A
|
726
|
+
comma delimited list of team medium ids"}]},{"rel":"create_team_video_link","href":"http://localhost:3000/team_media/create_video_link","prompt":"Add
|
727
|
+
a link to a YouTube or Vimeo video.","data":[{"name":"team_id","value":null},{"name":"member_id","value":null},{"name":"team_media_group_id","value":null},{"name":"description","value":null},{"name":"position","value":null},{"name":"video_url","value":null}]},{"rel":"facebook_share_team_medium","href":"http://localhost:3000/team_media/facebook_share","prompt":"%{old}
|
728
|
+
is deprecated and will be removed in a future version, use %{new} instead.","data":[{"name":"team_medium_id","value":null},{"name":"is_suppressed_from_feed","value":null,"prompt":"Whether
|
729
|
+
or not to post this to the facebook news feed. Valid values are either ''true''
|
730
|
+
or ''false'' and will default to ''false''"},{"name":"caption","value":null,"prompt":"Caption
|
731
|
+
for the team media."},{"name":"facebook_page_id","value":null,"prompt":"The
|
732
|
+
id to the page on facebook to post to."}]},{"rel":"reorder_team_media","href":"http://localhost:3000/team_media/reorder","prompt":"Reorder
|
733
|
+
the team media based on the sorted_ids provided.","data":[{"name":"team_id","value":null},{"name":"sorted_ids","value":null,"prompt":"An
|
734
|
+
array of the ids in the order that they are to be moved to."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/team_medium_comments","rel":"team_medium_comments","template":{"data":[{"name":"comment","value":null},{"name":"member_id","value":null},{"name":"team_medium_id","value":null},{"name":"type","value":"team_medium_comment"}]},"links":[{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"member","href":"http://localhost:3000/members"},{"rel":"team_medium","href":"http://localhost:3000/team_media"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/team_medium_comments?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/team_medium_comments/search","data":[{"name":"team_media_group_id","value":null},{"name":"team_medium_id","value":null},{"name":"member_id","value":null},{"name":"team_id","value":null},{"name":"id","value":null},{"name":"page_size","value":null,"prompt":"The
|
735
|
+
number of items to return for each page. Sending this parameter with the query
|
736
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
737
|
+
number of the page to be returned. This requires that paging be turned on
|
738
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/team_media_groups","rel":"team_media_groups","template":{"data":[{"name":"is_private","value":null},{"name":"name","value":null},{"name":"media_format","value":null},{"name":"team_id","value":null},{"name":"type","value":"team_media_group"}]},"links":[{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"team_media","href":"http://localhost:3000/team_media"},{"rel":"self","href":"http://localhost:3000/team_media_groups?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/team_media_groups/search","data":[{"name":"team_id","value":null},{"name":"id","value":null},{"name":"page_size","value":null,"prompt":"The
|
739
|
+
number of items to return for each page. Sending this parameter with the query
|
740
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
741
|
+
number of the page to be returned. This requires that paging be turned on
|
742
|
+
by also providing the page_size parameter."}]}],"commands":[{"rel":"reorder_team_media_groups","href":"http://localhost:3000/team_media_groups/reorder","prompt":"reorder
|
743
|
+
the team media groups based on the sorted_ids provided","data":[{"name":"team_id","value":null},{"name":"sorted_ids","value":null,"prompt":"An
|
744
|
+
array of the ids in the order that they are to be moved to"}]},{"rel":"facebook_share_team_media_group","href":"http://localhost:3000/team_media_groups/facebook_share","prompt":"%{old}
|
745
|
+
is deprecated and will be removed in a future version, use %{new} instead.","data":[{"name":"team_media_group_id","value":null},{"name":"is_suppressed_from_feed","value":null,"prompt":"Whether
|
746
|
+
or not to post this to the facebook news feed. Valid values are either ''true''
|
747
|
+
or ''false'' and will default to ''false''"},{"name":"album_name","value":null,"prompt":"The
|
748
|
+
caption used when sharing the medium on facebook. This will default to the
|
749
|
+
description of the medium"},{"name":"facebook_page_id","value":null,"prompt":"The
|
750
|
+
id used by facebook of the page to post the medium to. If omitted, this will
|
751
|
+
go to the user''s personal page."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/team_photos","rel":"team_photos","prompt":"BETA:
|
752
|
+
(This endpoint is subject to change) Returns a collection of team photos.","links":[{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"team_preferences","href":"http://localhost:3000/teams_preferences"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/team_photos?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/team_photos/search","data":[{"name":"id","value":null},{"name":"team_id","value":null},{"name":"height","value":null},{"name":"width","value":null},{"name":"crop","value":null},{"name":"page_size","value":null,"prompt":"The
|
753
|
+
number of items to return for each page. Sending this parameter with the query
|
754
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
755
|
+
number of the page to be returned. This requires that paging be turned on
|
756
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/team_public_sites","rel":"team_public_sites","template":{"data":[{"name":"custom_domain","value":null},{"name":"enable_assignments","value":null},{"name":"enable_availabilities","value":null},{"name":"enable_events","value":null},{"name":"enable_files","value":null},{"name":"enable_games","value":null},{"name":"enable_marketplace","value":null},{"name":"enable_members","value":null},{"name":"enable_messages","value":null},{"name":"enable_payments","value":null},{"name":"enable_photos","value":null},{"name":"enable_public_contact","value":null},{"name":"enable_public_email","value":null},{"name":"enable_schedule","value":null},{"name":"enable_statistics","value":null},{"name":"enabled","value":null},{"name":"hide_old_events","value":null},{"name":"hide_win_loss_record","value":null},{"name":"public_email_manager_only","value":null},{"name":"public_email_reply_to_list","value":null},{"name":"subdomain","value":null},{"name":"team_headline","value":null},{"name":"team_message","value":null},{"name":"type","value":"team_public_site"}]},"links":[{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/team_public_sites?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/team_public_sites/search","data":[{"name":"id","value":null},{"name":"team_id","value":null},{"name":"page_size","value":null,"prompt":"The
|
757
|
+
number of items to return for each page. Sending this parameter with the query
|
758
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
759
|
+
number of the page to be returned. This requires that paging be turned on
|
760
|
+
by also providing the page_size parameter."}]}],"commands":[{"rel":"upload_team_public_photo","href":"http://localhost:3000/team_public_sites/upload_team_public_photo","prompt":"Upload
|
761
|
+
a team public photo. This must be a multi-part POST.","data":[{"name":"team_public_site_id","value":null},{"name":"file","value":null}]},{"rel":"remove_team_public_photo","href":"http://localhost:3000/team_public_sites/remove_team_public_photo","prompt":"Remove
|
762
|
+
a team public photo.","data":[{"name":"team_public_site_id","value":null}]},{"rel":"validate_subdomain","href":"http://localhost:3000/team_public_sites/validate_subdomain","prompt":"Check
|
763
|
+
to see if a subdomain is available and valid.","data":[{"name":"subdomain","value":null}]}]}},{"collection":{"version":"3.523.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
|
764
|
+
time_zone parameter is required when creating a team, but for changing a team''s
|
765
|
+
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?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"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
|
766
|
+
number of items to return for each page. Sending this parameter with the query
|
767
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
768
|
+
number of the page to be returned. This requires that paging be turned on
|
769
|
+
by also providing the page_size parameter."},{"name":"sort_name","value":null,"prompt":"Sort
|
770
|
+
the returned dataset based on the name field, valid values are ''asc'' or
|
771
|
+
''desc''."}]},{"rel":"available_for_statistic_import","href":"http://localhost:3000/teams/available_for_statistic_import","prompt":"Finds
|
772
|
+
all teams accessible to current user that have the provided sport_id and have
|
773
|
+
at least one statistic to import","data":[{"name":"sport_id","value":null}]},{"rel":"active_teams","href":"http://localhost:3000/teams/active","prompt":"Finds
|
774
|
+
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
|
775
|
+
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
|
776
|
+
number of items to return for each page. Sending this parameter with the query
|
777
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
778
|
+
number of the page to be returned. This requires that paging be turned on
|
779
|
+
by also providing the page_size parameter."}]}],"commands":[{"rel":"invite","href":"http://localhost:3000/teams/invite","prompt":"invite
|
780
|
+
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
|
781
|
+
team''s time zone. This is currently the only method of updating a team''s
|
782
|
+
time zone.","data":[{"name":"team_id","value":null},{"name":"time_zone","value":null},{"name":"offset_team_times","value":null,"deprecated":true,"prompt":"%{old}
|
783
|
+
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
|
784
|
+
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:
|
785
|
+
(This endpoint subject to change) Allow commissioners to send invitations
|
786
|
+
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:
|
787
|
+
(This endpoint subject to change) Allow commissioners to change the owner
|
788
|
+
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
|
789
|
+
the visibility of teams on the list of active teams, per user. Requires a
|
790
|
+
single id or a comma separated list of ''team_id''s","data":[{"name":"team_ids","value":null}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/teams_paypal_preferences","rel":"teams_paypal_preferences","template":{"data":[{"name":"is_paypal_active","value":null},{"name":"is_paypal_allowed","value":null},{"name":"paypal_currency_id","value":null},{"name":"paypal_email","value":null},{"name":"paypal_first_name","value":null},{"name":"paypal_last_name","value":null},{"name":"type","value":"team_paypal_preferences"}]},"links":[{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/teams_paypal_preferences?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/teams_paypal_preferences/search","data":[{"name":"team_id","value":null},{"name":"id","value":null},{"name":"page_size","value":null,"prompt":"The
|
791
|
+
number of items to return for each page. Sending this parameter with the query
|
792
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
793
|
+
number of the page to be returned. This requires that paging be turned on
|
794
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/teams_preferences","rel":"teams_preferences","template":{"data":[{"name":"age_group","value":null,"prompt":"Valid
|
795
|
+
age groups when skill_level is '''', ''Recreational'' or ''Competitive'' are:
|
796
|
+
''5 & under'', ''6 & under'', ''7 & under'', ''8 & under'', ''9 & under'',
|
797
|
+
''10 & under'', ''11 & under'', ''12 & under'', ''13 & under'', ''14 & under'',
|
798
|
+
''15 & under'', ''16 & under'', ''17 & under'', ''18 & under'' and ''19 &
|
799
|
+
under''. Valid age groups when skill_level is ''School'' are: ''College/University'',
|
800
|
+
''High School'', ''Middle School/Jr. High'', ''6th Grade'', ''5th Grade'',
|
801
|
+
''4th Grade'', ''3rd Grade'', ''2nd Grade'', ''1st Grade'' and ''Kindergarten
|
802
|
+
or earlier''."},{"name":"alternate_sport_name","value":null},{"name":"announcement_above_home_photo","value":null},{"name":"assignments_enable_for_code","value":null},{"name":"assignments_show_tab","value":null},{"name":"availabilities_show_tab","value":null},{"name":"availabilities_sort_order","value":null,"prompt":"Valid
|
803
|
+
sort orders are ''jersey'', ''name'', and ''date''."},{"name":"availability_event_cutoff","value":null},{"name":"availability_game_cutoff","value":null},{"name":"color_scheme_cd","value":null},{"name":"currency_symbol","value":null},{"name":"files_show_tab","value":null,"deprecated":true,"prompt":"files_show_tab
|
804
|
+
is deprecated and will be removed in a future version, use team_media_show_tab
|
805
|
+
instead."},{"name":"team_media_show_tab","value":null},{"name":"gender","value":null,"prompt":"Valid
|
806
|
+
genders are: ''Men'', ''Women'' and ''Coed''."},{"name":"global_uniform_away","value":null},{"name":"global_uniform_home","value":null},{"name":"global_use_international_date","value":null},{"name":"global_use_international_time","value":null},{"name":"hide_header","value":null},{"name":"introduction_text","value":null,"deprecated":true,"prompt":"introduction_text
|
807
|
+
is deprecated and has been removed. Continued use of introduction_text is
|
808
|
+
not recommended it will no longer be stored."},{"name":"is_coed","value":null},{"name":"is_payments_private","value":null},{"name":"is_tracked_items_private","value":null},{"name":"is_youth","value":null},{"name":"manager_default_availability","value":null},{"name":"marketplace_show_tab","value":null},{"name":"member_sort_order","value":null},{"name":"payments_ignore_non_players","value":null},{"name":"payments_show_tab","value":null},{"name":"reminders_send_event","value":null},{"name":"reminders_send_game","value":null},{"name":"skill_level","value":null,"prompt":"Valid
|
809
|
+
skill levels are: ''Recreational'', ''Competitive'' and ''School''."},{"name":"share_availability_notes","value":null},{"name":"show_division_standings","value":null},{"name":"statistics_show_tab","value":null},{"name":"team_headline","value":null},{"name":"team_message","value":null},{"name":"tracked_items_ignore_non_players","value":null},{"name":"tracked_items_is_private","value":null,"deprecated":true,"prompt":"tracked_items_is_private
|
810
|
+
is deprecated and will be removed in a future version, use is_tracked_items_private
|
811
|
+
instead."},{"name":"tracked_items_show_tab","value":null},{"name":"tracks_points","value":null},{"name":"type","value":"team_preferences"}]},"links":[{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/teams_preferences?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/teams_preferences/search","data":[{"name":"id","value":null},{"name":"team_id","value":null},{"name":"user_id","value":null},{"name":"page_size","value":null,"prompt":"The
|
812
|
+
number of items to return for each page. Sending this parameter with the query
|
813
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
814
|
+
number of the page to be returned. This requires that paging be turned on
|
815
|
+
by also providing the page_size parameter."}]}],"commands":[{"rel":"upload_team_logo","href":"http://localhost:3000/teams_preferences/upload_team_logo","prompt":"Upload
|
816
|
+
a team logo. This must be a multi-part POST.","data":[{"name":"team_preferences_id","value":null},{"name":"file","value":null}]},{"rel":"remove_team_logo","href":"http://localhost:3000/teams_preferences/remove_team_logo","prompt":"Remove
|
817
|
+
a team logo.","data":[{"name":"team_preferences_id","value":null}]},{"rel":"upload_team_photo","href":"http://localhost:3000/teams_preferences/upload_team_photo","prompt":"Upload
|
818
|
+
a team photo. This must be a multi-part POST.","data":[{"name":"team_preferences_id","value":null},{"name":"file","value":null}]},{"rel":"remove_team_photo","href":"http://localhost:3000/teams_preferences/remove_team_photo","prompt":"Remove
|
819
|
+
a team photo.","data":[{"name":"team_preferences_id","value":null}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/teams_results","rel":"teams_results","links":[{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/teams_results?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/teams_results/search","data":[{"name":"team_id","value":null},{"name":"id","value":null},{"name":"page_size","value":null,"prompt":"The
|
820
|
+
number of items to return for each page. Sending this parameter with the query
|
821
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
822
|
+
number of the page to be returned. This requires that paging be turned on
|
823
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/team_statistics","rel":"team_statistics","links":[{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/team_statistics?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"},{"rel":"statistic","href":"http://localhost:3000/statistics"},{"rel":"team","href":"http://localhost:3000/teams"}],"queries":[{"rel":"search","href":"http://localhost:3000/team_statistics/search","data":[{"name":"id","value":null},{"name":"statistic_id","value":null},{"name":"team_id","value":null}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/time_zones","rel":"time_zones","links":[{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/time_zones?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/time_zones/search","data":[{"name":"id","value":null},{"name":"team_id","value":null}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/tracked_item_statuses","rel":"tracked_item_statuses","template":{"data":[{"name":"status_code","value":null},{"name":"tracked_item_id","value":null},{"name":"member_id","value":null},{"name":"type","value":"tracked_item_status"}]},"links":[{"rel":"member","href":"http://localhost:3000/members"},{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"tracked_item","href":"http://localhost:3000/tracked_items"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/tracked_item_statuses?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/tracked_item_statuses/search","data":[{"name":"team_id","value":null},{"name":"member_id","value":null},{"name":"tracked_item_id","value":null},{"name":"id","value":null},{"name":"page_size","value":null,"prompt":"The
|
824
|
+
number of items to return for each page. Sending this parameter with the query
|
825
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
826
|
+
number of the page to be returned. This requires that paging be turned on
|
827
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/tracked_items","rel":"tracked_items","template":{"data":[{"name":"name","value":null},{"name":"team_id","value":null},{"name":"type","value":"tracked_item"}]},"links":[{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"tracked_item_statuses","href":"http://localhost:3000/tracked_item_statuses"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/tracked_items?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/tracked_items/search","data":[{"name":"team_id","value":null},{"name":"id","value":null},{"name":"page_size","value":null,"prompt":"The
|
828
|
+
number of items to return for each page. Sending this parameter with the query
|
829
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
830
|
+
number of the page to be returned. This requires that paging be turned on
|
831
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/tsl_metadata","rel":"tsl_metadata","template":{"data":[{"name":"user_id","value":null},{"name":"type","value":"tsl_metadatum"},{"name":"metadata","value":null}]},"links":[{"rel":"user","href":"http://localhost:3000/users"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/tsl_metadata?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/tsl_metadata/search","data":[{"name":"user_id","value":null},{"name":"id","value":null},{"name":"version","value":null},{"name":"page_size","value":null,"prompt":"The
|
832
|
+
number of items to return for each page. Sending this parameter with the query
|
833
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
834
|
+
number of the page to be returned. This requires that paging be turned on
|
835
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/tsl_chats","rel":"tsl_chats","links":[{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/tsl_chats?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"commands":[{"rel":"send_push","href":"http://localhost:3000/tsl_chats/send_push","data":[{"name":"device_token","value":null},{"name":"event_id","value":null},{"name":"firebase_id","value":null},{"name":"member_id","value":null},{"name":"message","value":null},{"name":"team_id","value":null},{"name":"timestamp","value":null},{"name":"type","value":null},{"name":"url","value":null},{"name":"username","value":null}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/tsl_scores","rel":"tsl_scores","links":[{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/tsl_scores?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/tsl_scores/search","prompt":"BETA:
|
836
|
+
(This endpoint is subject to change) Returns scores for TeamSnap Live events","data":[{"name":"event_id","value":null},{"name":"page_size","value":null,"prompt":"The
|
837
|
+
number of items to return for each page. Sending this parameter with the query
|
838
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
839
|
+
number of the page to be returned. This requires that paging be turned on
|
840
|
+
by also providing the page_size parameter."}]}],"commands":[{"rel":"send_push","href":"http://localhost:3000/tsl_scores/send_push","data":[{"name":"device_token","value":null},{"name":"event_id","value":null},{"name":"firebase_id","value":null},{"name":"game_state","value":null},{"name":"member_id","value":null},{"name":"opponent_name","value":null},{"name":"score_for","value":null},{"name":"score_against","value":null},{"name":"sport_score_style","value":null},{"name":"team_id","value":null},{"name":"team_name","value":null},{"name":"timestamp","value":null}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/users","rel":"users","template":{"data":[{"name":"first_name","value":null},{"name":"last_name","value":null},{"name":"password","value":null},{"name":"birthday","value":null},{"name":"email","value":null},{"name":"facebook_id","value":null,"deprecated":true,"prompt":"facebook_id
|
841
|
+
is deprecated and has been removed. Continued use of facebook_id is not recommended
|
842
|
+
it will no longer be stored."},{"name":"facebook_access_token","value":null,"deprecated":true,"prompt":"facebook_access_token
|
843
|
+
is deprecated and has been removed. Continued use of facebook_access_token
|
844
|
+
is not recommended it will no longer be stored."},{"name":"type","value":"user"}]},"links":[{"rel":"members","href":"http://localhost:3000/members"},{"rel":"division_members","href":"http://localhost:3000/division_members"},{"rel":"experiments","href":"http://localhost:3000/experiments"},{"rel":"message_data","href":"http://localhost:3000/message_data"},{"rel":"messages","href":"http://localhost:3000/messages"},{"rel":"teams","href":"http://localhost:3000/teams"},{"rel":"teams_preferences","href":"http://localhost:3000/teams_preferences"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/users?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/users/search","data":[{"name":"id","value":null},{"name":"email","value":null},{"name":"page_size","value":null,"prompt":"The
|
845
|
+
number of items to return for each page. Sending this parameter with the query
|
846
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
847
|
+
number of the page to be returned. This requires that paging be turned on
|
848
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/wepay_accounts","rel":"wepay_accounts","prompt":"Beta:
|
849
|
+
(This endpoint is subject to change) Returns wepay_accounts for a division","links":[{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/wepay_accounts?hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983"}],"queries":[{"rel":"search","href":"http://localhost:3000/wepay_accounts/search","data":[{"name":"id","value":null},{"name":"division_id","value":null},{"name":"is_active","value":null},{"name":"page_size","value":null,"prompt":"The
|
850
|
+
number of items to return for each page. Sending this parameter with the query
|
851
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
852
|
+
number of the page to be returned. This requires that paging be turned on
|
853
|
+
by also providing the page_size parameter."}]}]}}]'
|
854
|
+
http_version: '1.1'
|
855
|
+
adapter_metadata:
|
856
|
+
effective_url: http://localhost:3000/schemas?hmac_client_id=classic&hmac_nonce=45e5beb2-cdab-4b3a-93dd-fa187d92c4b6&hmac_timestamp=1502467983
|
857
|
+
recorded_at: Fri, 11 Aug 2017 16:13:03 GMT
|
858
|
+
recorded_with: VCR 2.9.3
|