teamsnap_rb 2.0.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- 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,859 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://localhost:3000?hmac_client_id=classic&hmac_nonce=875dc089-d109-41ed-ad97-a10a2b74ec42&hmac_timestamp=1502467982
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.11.0
|
12
|
+
X-Teamsnap-Api-Features:
|
13
|
+
- ghost_contact
|
14
|
+
X-Teamsnap-Hmac:
|
15
|
+
- b01f7b319b6f8aefaff5e5d78fa2e66fc37e791423afc8af733149eda596a3a7
|
16
|
+
Expect:
|
17
|
+
- ''
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Content-Type:
|
24
|
+
- application/vnd.collection+json
|
25
|
+
Content-Length:
|
26
|
+
- '12973'
|
27
|
+
X-Content-Type-Options:
|
28
|
+
- nosniff
|
29
|
+
ETag:
|
30
|
+
- W/"f04ab819b12f8eb9750cc0c07c9a9459"
|
31
|
+
Cache-Control:
|
32
|
+
- max-age=0, private, must-revalidate
|
33
|
+
X-Request-Id:
|
34
|
+
- 53ed7c61-4f6c-44e7-a620-b9c4ca5d1ab0
|
35
|
+
X-Runtime:
|
36
|
+
- '0.233553'
|
37
|
+
Connection:
|
38
|
+
- keep-alive
|
39
|
+
Server:
|
40
|
+
- thin
|
41
|
+
body:
|
42
|
+
encoding: UTF-8
|
43
|
+
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
|
44
|
+
is deprecated and will be removed in a future version, use authorization_root
|
45
|
+
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}
|
46
|
+
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
|
47
|
+
is deprecated and will be removed in a future version, use contact_email_addresses
|
48
|
+
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
|
49
|
+
is deprecated and will be removed in a future version, use contact_phone_numbers
|
50
|
+
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=875dc089-d109-41ed-ad97-a10a2b74ec42&hmac_timestamp=1502467982"}],"queries":[{"rel":"bulk_load","href":"http://localhost:3000/bulk_load","prompt":"Returns
|
51
|
+
a heterogeneous collection of the specified types for a specified team or
|
52
|
+
teams. Additional filters can be passed into requested types by passing them
|
53
|
+
in the url''s querystring as type__filter=value (i.e. ?event__start_date=2015-01-01).
|
54
|
+
Any filter can be passed that is available on the search for the specified
|
55
|
+
type.","data":[{"name":"team_id","value":null,"prompt":"The team_id(s) to
|
56
|
+
return results for, this can be a single id or a comma-separated list of ids."},{"name":"scope_to","value":null,"prompt":"A
|
57
|
+
comma separated list of singular types that you would like to scope the rest
|
58
|
+
of the related result sets to. For instance, scoping assignments to events
|
59
|
+
and providing a filter on events will return only assignments for the events
|
60
|
+
returned."},{"name":"types","value":null,"prompt":"A comma separated list
|
61
|
+
of singular types that you want returned."}]},{"rel":"query","href":"http://localhost:3000/q","prompt":"Returns
|
62
|
+
a heterogeneous collection of the specified types. You must pass at least
|
63
|
+
one valid filter in, filters can be passed into requested types by passing
|
64
|
+
them in the url''s querystring as type__filter=value (i.e. ?event__start_date=2015-01-01).
|
65
|
+
Any filter can be passed that is available on the search for the specified
|
66
|
+
type. Types can also be filtered by using the ''scope_to'' parameter. Unfiltered
|
67
|
+
searches will return as empty.","data":[{"name":"scope_to","value":null,"prompt":"A
|
68
|
+
comma separated list of singular types that you would like to scope the rest
|
69
|
+
of the related result sets to. For instance, scoping assignments to events
|
70
|
+
and providing a filter on events will return only assignments for the events
|
71
|
+
returned."},{"name":"types","value":null,"prompt":"A comma separated list
|
72
|
+
of singular types that you want returned. You may also specify a query by
|
73
|
+
proceeding the type with a ''__<query_name>''. For instance ''member__personas''
|
74
|
+
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
|
75
|
+
any pending invitations for a specified email address","data":[{"name":"email_address","value":null}]},{"rel":"welcome","href":"http://localhost:3000/welcome","prompt":"Send
|
76
|
+
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
|
77
|
+
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}]}]}}'
|
78
|
+
http_version: '1.1'
|
79
|
+
adapter_metadata:
|
80
|
+
effective_url: http://localhost:3000/?hmac_client_id=classic&hmac_nonce=875dc089-d109-41ed-ad97-a10a2b74ec42&hmac_timestamp=1502467982
|
81
|
+
recorded_at: Fri, 11 Aug 2017 16:13:02 GMT
|
82
|
+
- request:
|
83
|
+
method: get
|
84
|
+
uri: http://localhost:3000/schemas?hmac_client_id=classic&hmac_nonce=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982
|
85
|
+
body:
|
86
|
+
encoding: US-ASCII
|
87
|
+
string: ''
|
88
|
+
headers:
|
89
|
+
User-Agent:
|
90
|
+
- Faraday v0.11.0
|
91
|
+
X-Teamsnap-Api-Features:
|
92
|
+
- ghost_contact
|
93
|
+
X-Teamsnap-Hmac:
|
94
|
+
- a2efe00c6239e0710e744cf4971c1d14283f57ec5bc3bec40332ad5b201b0a3c
|
95
|
+
Expect:
|
96
|
+
- ''
|
97
|
+
response:
|
98
|
+
status:
|
99
|
+
code: 200
|
100
|
+
message: OK
|
101
|
+
headers:
|
102
|
+
Content-Type:
|
103
|
+
- application/json
|
104
|
+
Content-Length:
|
105
|
+
- '183804'
|
106
|
+
X-Content-Type-Options:
|
107
|
+
- nosniff
|
108
|
+
ETag:
|
109
|
+
- W/"9f67de22a3764f30abc86390efc07c4c"
|
110
|
+
Cache-Control:
|
111
|
+
- max-age=0, private, must-revalidate
|
112
|
+
X-Request-Id:
|
113
|
+
- 60297115-73ae-4a0e-8f47-2db05182c7b5
|
114
|
+
X-Runtime:
|
115
|
+
- '0.255075'
|
116
|
+
Connection:
|
117
|
+
- keep-alive
|
118
|
+
Server:
|
119
|
+
- thin
|
120
|
+
body:
|
121
|
+
encoding: UTF-8
|
122
|
+
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
|
123
|
+
is deprecated and will be removed in a future version, use authorization_root
|
124
|
+
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}
|
125
|
+
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
|
126
|
+
is deprecated and will be removed in a future version, use contact_email_addresses
|
127
|
+
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
|
128
|
+
is deprecated and will be removed in a future version, use contact_phone_numbers
|
129
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"queries":[{"rel":"bulk_load","href":"http://localhost:3000/bulk_load","prompt":"Returns
|
130
|
+
a heterogeneous collection of the specified types for a specified team or
|
131
|
+
teams. Additional filters can be passed into requested types by passing them
|
132
|
+
in the url''s querystring as type__filter=value (i.e. ?event__start_date=2015-01-01).
|
133
|
+
Any filter can be passed that is available on the search for the specified
|
134
|
+
type.","data":[{"name":"team_id","value":null,"prompt":"The team_id(s) to
|
135
|
+
return results for, this can be a single id or a comma-separated list of ids."},{"name":"scope_to","value":null,"prompt":"A
|
136
|
+
comma separated list of singular types that you would like to scope the rest
|
137
|
+
of the related result sets to. For instance, scoping assignments to events
|
138
|
+
and providing a filter on events will return only assignments for the events
|
139
|
+
returned."},{"name":"types","value":null,"prompt":"A comma separated list
|
140
|
+
of singular types that you want returned."}]},{"rel":"query","href":"http://localhost:3000/q","prompt":"Returns
|
141
|
+
a heterogeneous collection of the specified types. You must pass at least
|
142
|
+
one valid filter in, filters can be passed into requested types by passing
|
143
|
+
them in the url''s querystring as type__filter=value (i.e. ?event__start_date=2015-01-01).
|
144
|
+
Any filter can be passed that is available on the search for the specified
|
145
|
+
type. Types can also be filtered by using the ''scope_to'' parameter. Unfiltered
|
146
|
+
searches will return as empty.","data":[{"name":"scope_to","value":null,"prompt":"A
|
147
|
+
comma separated list of singular types that you would like to scope the rest
|
148
|
+
of the related result sets to. For instance, scoping assignments to events
|
149
|
+
and providing a filter on events will return only assignments for the events
|
150
|
+
returned."},{"name":"types","value":null,"prompt":"A comma separated list
|
151
|
+
of singular types that you want returned. You may also specify a query by
|
152
|
+
proceeding the type with a ''__<query_name>''. For instance ''member__personas''
|
153
|
+
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
|
154
|
+
any pending invitations for a specified email address","data":[{"name":"email_address","value":null}]},{"rel":"welcome","href":"http://localhost:3000/welcome","prompt":"Send
|
155
|
+
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
|
156
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"queries":[{"rel":"search","href":"http://localhost:3000/apple_paid_features/search","data":[{"name":"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."}]}]}},{"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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
161
|
+
number of items to return for each page. Sending this parameter with the query
|
162
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
163
|
+
number of the page to be returned. This requires that paging be turned on
|
164
|
+
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
|
165
|
+
is deprecated and has been removed. Continued use of member_id is not recommended
|
166
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
167
|
+
number of items to return for each page. Sending this parameter with the query
|
168
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
169
|
+
number of the page to be returned. This requires that paging be turned on
|
170
|
+
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
|
171
|
+
comma-delimited string of keywords and/or event_ids. Keywords include ''future_events'',
|
172
|
+
''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:
|
173
|
+
(This endpoint subject to change) Notifies all members on the team via email
|
174
|
+
regarding upcoming event assignments.","data":[{"name":"event_ids","value":null,"prompt":"A
|
175
|
+
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
|
176
|
+
the assignments based on the sorted_ids provided","data":[{"name":"event_id","value":null},{"name":"sorted_ids","value":null,"prompt":"An
|
177
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
178
|
+
number of items to return for each page. Sending this parameter with the query
|
179
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
180
|
+
number of the page to be returned. This requires that paging be turned on
|
181
|
+
by also providing the page_size parameter."},{"name":"sort_event_id","value":null,"prompt":"Sort
|
182
|
+
the returned dataset based on the event_id field, valid values are ''asc''
|
183
|
+
or ''desc''."},{"name":"sort_start_date","value":null,"prompt":"Sort the returned
|
184
|
+
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
|
185
|
+
all future unset availabilities to specified status_code for the specified
|
186
|
+
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:
|
187
|
+
(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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
188
|
+
number of items to return for each page. Sending this parameter with the query
|
189
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
190
|
+
number of the page to be returned. This requires that paging be turned on
|
191
|
+
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:
|
192
|
+
(This endpoint is subject to change) Returns batch invoice line items for
|
193
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
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."}]}]}},{"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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
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."}]}],"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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
202
|
+
number of items to return for each page. Sending this parameter with the query
|
203
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
204
|
+
number of the page to be returned. This requires that paging be turned on
|
205
|
+
by also providing the page_size parameter."},{"name":"sort_created_at","value":null,"prompt":"Sort
|
206
|
+
the returned dataset based on the created_at field, valid values are ''asc''
|
207
|
+
or ''desc''."}]}],"commands":[{"rel":"bulk_delete","href":"http://localhost:3000/broadcast_emails/bulk_delete","prompt":"Delete
|
208
|
+
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
|
209
|
+
an email as spam, this is an internal command only accessible to internal
|
210
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
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_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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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}]}],"commands":[{"rel":"invite","href":"http://localhost:3000/contact_email_addresses/invite","prompt":"BETA:
|
215
|
+
Invite contact email addresses to join TeamSnap.","data":[{"name":"team_id","value":null},{"name":"contact_email_address_ids","value":null},{"name":"introduction","value":null}]}]}},{"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
|
216
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
217
|
+
number of items to return for each page. Sending this parameter with the query
|
218
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
219
|
+
number of the page to be returned. This requires that paging be turned on
|
220
|
+
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
|
221
|
+
is deprecated and will be removed in a future version, use is_address_hidden
|
222
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
223
|
+
number of items to return for each page. Sending this parameter with the query
|
224
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
225
|
+
number of the page to be returned. This requires that paging be turned on
|
226
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
227
|
+
number of items to return for each page. Sending this parameter with the query
|
228
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
229
|
+
number of the page to be returned. This requires that paging be turned on
|
230
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
231
|
+
number of items to return for each page. Sending this parameter with the query
|
232
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
233
|
+
number of the page to be returned. This requires that paging be turned on
|
234
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
235
|
+
number of items to return for each page. Sending this parameter with the query
|
236
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
237
|
+
number of the page to be returned. This requires that paging be turned on
|
238
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
239
|
+
number of items to return for each page. Sending this parameter with the query
|
240
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
241
|
+
number of the page to be returned. This requires that paging be turned on
|
242
|
+
by also providing the page_size parameter."}]}],"commands":[{"rel":"reorder","href":"http://localhost:3000/league_custom_fields/reorder","prompt":"Given
|
243
|
+
`sorted_ids` (array) ordered in relation to the field''s desired `position`,
|
244
|
+
sorts fields by assigning new `position` values relative to the field index
|
245
|
+
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
|
246
|
+
are used to represent our leagues. They are organized into a hierarchical
|
247
|
+
tree data structure and stored as nested sets. Each set is grouped by its
|
248
|
+
''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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
249
|
+
number of items to return for each page. Sending this parameter with the query
|
250
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
251
|
+
number of the page to be returned. This requires that paging be turned on
|
252
|
+
by also providing the page_size parameter."}]},{"rel":"ancestors","href":"http://localhost:3000/divisions/ancestors","prompt":"Returns
|
253
|
+
all the nested set ancestors of the given division.","data":[{"name":"id","value":null}]},{"rel":"descendants","href":"http://localhost:3000/divisions/descendants","prompt":"Returns
|
254
|
+
all the nested set descendants of the given division.","data":[{"name":"id","value":null}]},{"rel":"children","href":"http://localhost:3000/divisions/children","prompt":"Returns
|
255
|
+
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:
|
256
|
+
(This endpoint subject to change) Returns all the nested set leaves of the
|
257
|
+
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
|
258
|
+
all active trial divisions for a given user. Excludes archived and disabled
|
259
|
+
divisions.","data":[{"name":"user_id","value":null}]},{"rel":"active_divisions","href":"http://localhost:3000/divisions/active","prompt":"Finds
|
260
|
+
all active root divisions for a given owner or commissioner. Excludes archived
|
261
|
+
and disabled divisions.","data":[{"name":"user_id","value":null}]},{"rel":"tree","href":"http://localhost:3000/divisions/tree","prompt":"Beta:
|
262
|
+
(This endpoint subject to change) Return the ancestors, the division and the
|
263
|
+
children divisions.","data":[{"name":"id","value":null}]}],"commands":[{"rel":"create_root","href":"http://localhost:3000/divisions/create_root","prompt":"Create
|
264
|
+
root divisions, this is an internal command only accessible to internal TeamSnap
|
265
|
+
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
|
266
|
+
the root division''s plan or number of teams (teams_in_plan). This is an internal
|
267
|
+
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
|
268
|
+
a root division. This is an internal command only accessible to internal TeamSnap
|
269
|
+
services.","data":[{"name":"division_id","value":null},{"name":"persistent_uuid","value":null}]},{"rel":"disable","href":"http://localhost:3000/divisions/disable","prompt":"Disable
|
270
|
+
a root division. This is an internal command only accessible to internal TeamSnap
|
271
|
+
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:
|
272
|
+
(This endpoint subject to change) Returns a collection of aggregated numbers
|
273
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"queries":[{"rel":"search","href":"http://localhost:3000/division_aggregates/search","data":[{"name":"division_id","value":null},{"name":"page_size","value":null,"prompt":"The
|
274
|
+
number of items to return for each page. Sending this parameter with the query
|
275
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
276
|
+
number of the page to be returned. This requires that paging be turned on
|
277
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
278
|
+
number of items to return for each page. Sending this parameter with the query
|
279
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
280
|
+
number of the page to be returned. This requires that paging be turned on
|
281
|
+
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
|
282
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
283
|
+
number of items to return for each page. Sending this parameter with the query
|
284
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
285
|
+
number of the page to be returned. This requires that paging be turned on
|
286
|
+
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
|
287
|
+
is deprecated and will be removed in a future version, use is_address_hidden
|
288
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
289
|
+
number of items to return for each page. Sending this parameter with the query
|
290
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
291
|
+
number of the page to be returned. This requires that paging be turned on
|
292
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/division_events","rel":"division_events","prompt":"BETA:
|
293
|
+
(This endpoint subject to change) Returns a collection associated with a division''s
|
294
|
+
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
|
295
|
+
is an optional boolean value. When set to `true`, the created event will only
|
296
|
+
be editable by the oauth application that created the event. This option is
|
297
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
298
|
+
number of items to return for each page. Sending this parameter with the query
|
299
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
300
|
+
number of the page to be returned. This requires that paging be turned on
|
301
|
+
by also providing the page_size parameter."},{"name":"sort_start_date","value":null,"prompt":"Sort
|
302
|
+
the returned dataset based on the start_date field, valid values are ''asc''
|
303
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
304
|
+
number of items to return for each page. Sending this parameter with the query
|
305
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
306
|
+
number of the page to be returned. This requires that paging be turned on
|
307
|
+
by also providing the page_size parameter."}]}],"commands":[{"rel":"import_from_division","href":"http://localhost:3000/division_locations/import_from_division","prompt":"Copy
|
308
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
309
|
+
number of items to return for each page. Sending this parameter with the query
|
310
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
311
|
+
number of the page to be returned. This requires that paging be turned on
|
312
|
+
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
|
313
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
314
|
+
number of items to return for each page. Sending this parameter with the query
|
315
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
316
|
+
number of the page to be returned. This requires that paging be turned on
|
317
|
+
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
|
318
|
+
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
|
319
|
+
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
|
320
|
+
number of items to return for each page. Sending this parameter with the query
|
321
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
322
|
+
number of the page to be returned. This requires that paging be turned on
|
323
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}]}},{"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
|
324
|
+
is deprecated and will be removed in a future version, use event_reminder_preference
|
325
|
+
instead."},{"name":"reminders_send_game","value":null,"deprecated":true,"prompt":"reminders_send_game
|
326
|
+
is deprecated and will be removed in a future version, use game_reminder_preference
|
327
|
+
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
|
328
|
+
is deprecated and has been removed. Continued use of facebook_post_scores
|
329
|
+
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
|
330
|
+
is deprecated and has been removed. Continued use of facebook_post_scores_to_page_id
|
331
|
+
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
|
332
|
+
is deprecated and has been removed. Continued use of facebook_post_scores_to_page_name
|
333
|
+
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
|
334
|
+
is deprecated and has been removed. Continued use of facebook_post_scores_to_wall
|
335
|
+
is not recommended it will no longer be stored."},{"name":"facebook_only_post_wins","value":null,"deprecated":true,"prompt":"facebook_only_post_wins
|
336
|
+
is deprecated and has been removed. Continued use of facebook_only_post_wins
|
337
|
+
is not recommended it will no longer be stored."},{"name":"facebook_polite_scores","value":null,"deprecated":true,"prompt":"facebook_polite_scores
|
338
|
+
is deprecated and has been removed. Continued use of facebook_polite_scores
|
339
|
+
is not recommended it will no longer be stored."},{"name":"facebook_page_access_token","value":null,"deprecated":true,"prompt":"facebook_page_access_token
|
340
|
+
is deprecated and has been removed. Continued use of facebook_page_access_token
|
341
|
+
is not recommended it will no longer be stored."},{"name":"game_reminder_preference","value":null,"prompt":"Valid
|
342
|
+
values are ''team'', ''member'' and ''none''."},{"name":"event_reminder_preference","value":null,"prompt":"Valid
|
343
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
344
|
+
number of items to return for each page. Sending this parameter with the query
|
345
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
346
|
+
number of the page to be returned. This requires that paging be turned on
|
347
|
+
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:
|
348
|
+
(This endpoint subject to change) Returns a collection associated with a division''s
|
349
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
350
|
+
number of items to return for each page. Sending this parameter with the query
|
351
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
352
|
+
number of the page to be returned. This requires that paging be turned on
|
353
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"commands":[{"rel":"create_events_import","href":"http://localhost:3000/division_events_imports/create_events_import","prompt":"Upload
|
354
|
+
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
|
355
|
+
events created from a previous division events import. Accepts id parameter
|
356
|
+
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
|
357
|
+
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
|
358
|
+
number of items to return for each page. Sending this parameter with the query
|
359
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
360
|
+
number of the page to be returned. This requires that paging be turned on
|
361
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"queries":[{"rel":"search","href":"http://localhost:3000/division_team_standings/search","data":[{"name":"team_id","value":null},{"name":"page_size","value":null,"prompt":"The
|
362
|
+
number of items to return for each page. Sending this parameter with the query
|
363
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
364
|
+
number of the page to be returned. This requires that paging be turned on
|
365
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/divisions_preferences","rel":"divisions_preferences","prompt":"BETA:
|
366
|
+
(This endpoint subject to change) Returns a collection associated with a division''s
|
367
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"},{"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
|
368
|
+
number of items to return for each page. Sending this parameter with the query
|
369
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
370
|
+
number of the page to be returned. This requires that paging be turned on
|
371
|
+
by also providing the page_size parameter."}]}],"commands":[{"rel":"upload_division_logo","href":"http://localhost:3000/divisions_preferences/upload_division_logo","prompt":"Upload
|
372
|
+
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
|
373
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"},{"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
|
374
|
+
updating a repeating event, this is a required field. Values are: \"all\"
|
375
|
+
- updates all events in this series, \"future\" - updates this event and all
|
376
|
+
that occur after, \"none\" - only updates a single event."},{"name":"repeating_type_code","value":null,"prompt":"A
|
377
|
+
code for the frequency of the repeated event, this is required with the \"repeating_include\"
|
378
|
+
attribute when creating a repeating event. Valid values are: \"1\" - repeat
|
379
|
+
an event daily, \"2\" - repeat an event weekly."},{"name":"repeating_until","value":null,"prompt":"A
|
380
|
+
date when the repeating event should end, this is inclusive so an event will
|
381
|
+
be created on this day if it falls before the next event specified by \"repeating_type_code\".
|
382
|
+
This attribute is required with \"repeating_type_code\" when creating a repeating
|
383
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
384
|
+
number of items to return for each page. Sending this parameter with the query
|
385
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
386
|
+
number of the page to be returned. This requires that paging be turned on
|
387
|
+
by also providing the page_size parameter."},{"name":"sort_start_date","value":null,"prompt":"Sort
|
388
|
+
the returned dataset based on the start_date field, valid values are ''asc''
|
389
|
+
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
|
390
|
+
number of items to return for each page. Sending this parameter with the query
|
391
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
392
|
+
number of the page to be returned. This requires that paging be turned on
|
393
|
+
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
|
394
|
+
= [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
|
395
|
+
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
|
396
|
+
= [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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
397
|
+
number of items to return for each page. Sending this parameter with the query
|
398
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
399
|
+
number of the page to be returned. This requires that paging be turned on
|
400
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"queries":[{"rel":"search","href":"http://localhost:3000/facebook_pages/search","data":[{"name":"page_size","value":null,"prompt":"The
|
401
|
+
number of items to return for each page. Sending this parameter with the query
|
402
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
403
|
+
number of the page to be returned. This requires that paging be turned on
|
404
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"queries":[{"rel":"search","href":"http://localhost:3000/forecasts/search","data":[{"name":"team_id","value":null},{"name":"page_size","value":null,"prompt":"The
|
405
|
+
number of items to return for each page. Sending this parameter with the query
|
406
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
407
|
+
number of the page to be returned. This requires that paging be turned on
|
408
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
409
|
+
number of items to return for each page. Sending this parameter with the query
|
410
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
411
|
+
number of the page to be returned. This requires that paging be turned on
|
412
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
413
|
+
number of items to return for each page. Sending this parameter with the query
|
414
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
415
|
+
number of the page to be returned. This requires that paging be turned on
|
416
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
417
|
+
number of items to return for each page. Sending this parameter with the query
|
418
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
419
|
+
number of the page to be returned. This requires that paging be turned on
|
420
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
421
|
+
number of items to return for each page. Sending this parameter with the query
|
422
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
423
|
+
number of the page to be returned. This requires that paging be turned on
|
424
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
425
|
+
number of items to return for each page. Sending this parameter with the query
|
426
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
427
|
+
number of the page to be returned. This requires that paging be turned on
|
428
|
+
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
|
429
|
+
number of items to return for each page. Sending this parameter with the query
|
430
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
431
|
+
number of the page to be returned. This requires that paging be turned on
|
432
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/invoices","rel":"invoices","prompt":"Beta:
|
433
|
+
(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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
434
|
+
number of items to return for each page. Sending this parameter with the query
|
435
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
436
|
+
number of the page to be returned. This requires that paging be turned on
|
437
|
+
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
|
438
|
+
= [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:
|
439
|
+
(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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
440
|
+
number of items to return for each page. Sending this parameter with the query
|
441
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
442
|
+
number of the page to be returned. This requires that paging be turned on
|
443
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/invoice_recipients","rel":"invoice_recipients","prompt":"Beta:
|
444
|
+
(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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
445
|
+
number of items to return for each page. Sending this parameter with the query
|
446
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
447
|
+
number of the page to be returned. This requires that paging be turned on
|
448
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/invoice_transactions","rel":"invoice_transactions","prompt":"Beta:
|
449
|
+
(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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
450
|
+
number of items to return for each page. Sending this parameter with the query
|
451
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
452
|
+
number of the page to be returned. This requires that paging be turned on
|
453
|
+
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
|
454
|
+
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
|
455
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
456
|
+
number of items to return for each page. Sending this parameter with the query
|
457
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
458
|
+
number of the page to be returned. This requires that paging be turned on
|
459
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
460
|
+
number of items to return for each page. Sending this parameter with the query
|
461
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
462
|
+
number of the page to be returned. This requires that paging be turned on
|
463
|
+
by also providing the page_size parameter."}]}],"commands":[{"rel":"import_from_team","href":"http://localhost:3000/locations/import_from_team","prompt":"Copy
|
464
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
465
|
+
number of items to return for each page. Sending this parameter with the query
|
466
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
467
|
+
number of the page to be returned. This requires that paging be turned on
|
468
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
469
|
+
number of items to return for each page. Sending this parameter with the query
|
470
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
471
|
+
number of the page to be returned. This requires that paging be turned on
|
472
|
+
by also providing the page_size parameter."}]}],"commands":[{"rel":"invite","href":"http://localhost:3000/member_email_addresses/invite","prompt":"BETA:
|
473
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
474
|
+
number of items to return for each page. Sending this parameter with the query
|
475
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
476
|
+
number of the page to be returned. This requires that paging be turned on
|
477
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
478
|
+
number of items to return for each page. Sending this parameter with the query
|
479
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
480
|
+
number of the page to be returned. This requires that paging be turned on
|
481
|
+
by also providing the page_size parameter."}]}],"commands":[{"rel":"upload_member_file","href":"http://localhost:3000/member_files/upload_member_file","prompt":"Upload
|
482
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
483
|
+
number of items to return for each page. Sending this parameter with the query
|
484
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
485
|
+
number of the page to be returned. This requires that paging be turned on
|
486
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
487
|
+
number of items to return for each page. Sending this parameter with the query
|
488
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
489
|
+
number of the page to be returned. This requires that paging be turned on
|
490
|
+
by also providing the page_size parameter."}]}],"commands":[{"rel":"transaction","href":"http://localhost:3000/member_payments/transaction","prompt":"Add
|
491
|
+
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
|
492
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
493
|
+
number of items to return for each page. Sending this parameter with the query
|
494
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
495
|
+
number of the page to be returned. This requires that paging be turned on
|
496
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/member_photos","rel":"member_photos","prompt":"BETA:
|
497
|
+
(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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
498
|
+
number of items to return for each page. Sending this parameter with the query
|
499
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
500
|
+
number of the page to be returned. This requires that paging be turned on
|
501
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","prompt":"BETA:
|
502
|
+
(This endpoint subject to change) Returns a collection of a division''s registration
|
503
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
504
|
+
number of items to return for each page. Sending this parameter with the query
|
505
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
506
|
+
number of the page to be returned. This requires that paging be turned on
|
507
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"},{"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
|
508
|
+
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
|
509
|
+
is deprecated and will be removed in a future version, use is_address_hidden
|
510
|
+
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}
|
511
|
+
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}
|
512
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
513
|
+
number of items to return for each page. Sending this parameter with the query
|
514
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
515
|
+
number of the page to be returned. This requires that paging be turned on
|
516
|
+
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
|
517
|
+
a user ID, returns members directly associated with the user as well as members
|
518
|
+
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:
|
519
|
+
(this query is subject to change or suddenly disappear) Given a a team_id
|
520
|
+
or division_id, returns all members that are commissioners of the divisions
|
521
|
+
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
|
522
|
+
a user ID, returns all members associated with user''s active season teams. If
|
523
|
+
include_archived_teams (boolean) parameter is supplied, members associated
|
524
|
+
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:
|
525
|
+
(This endpoint subject to change) Searches the division and subdivision for
|
526
|
+
the members meeting the search criteria.","data":[{"name":"division_id","value":null,"prompt":"Id
|
527
|
+
of the division and descendants to search"},{"name":"is_unassigned","value":null,"prompt":"true/false
|
528
|
+
- For all members in a division that aren''t assigned to a team. Not used
|
529
|
+
if blank."},{"name":"is_activated","value":null,"prompt":"true/false - For
|
530
|
+
all members in a division that have a user. Not used if blank."},{"name":"is_commissioner","value":null,"prompt":"true/false
|
531
|
+
- For all members in a division that are or are not a commissioner. Not used
|
532
|
+
if blank."},{"name":"is_ownership_pending","value":null,"prompt":"true/false
|
533
|
+
- Find all members in a division that are or are not pending ownership. Not
|
534
|
+
used if blank."},{"name":"page_size","value":null,"prompt":"The number of
|
535
|
+
items to return for each page. Sending this parameter with the query will
|
536
|
+
enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
537
|
+
number of the page to be returned. This requires that paging be turned on
|
538
|
+
by also providing the page_size parameter."}]},{"rel":"advanced_division_search","href":"http://localhost:3000/members/advanced_division_search","prompt":"BETA:
|
539
|
+
(This endpoint subject to change) Searches the division and subdivision for
|
540
|
+
the members meeting the search criteria. Searches using this endpoint accept
|
541
|
+
additional parameters. You can search for equality by formatting the string
|
542
|
+
as ''operator:equals,value:<SEARCH STRING>''. You can also search inquality
|
543
|
+
by using not_equals as ''operator:not_equals,value:<SEARCH STRING>''. You
|
544
|
+
may search for additional parameters by sending them as an array, for instance:
|
545
|
+
?birthday[]=operator:less_than,value:2016-02-02&birthday[]=operator:greater_than,value:2010-02-02.
|
546
|
+
Other operatores are less_than_or_equal and greater_than_or_equal","data":[{"name":"division_id","value":null,"prompt":"Id
|
547
|
+
of the division and descendants to search"},{"name":"id","value":null,"prompt":"Id
|
548
|
+
of the member to search"},{"name":"user_id","value":null,"prompt":"Id of the
|
549
|
+
user to search"},{"name":"is_commissioner","value":null,"prompt":"true/false
|
550
|
+
- For all members in a division that are or are not a commissioner. Not used
|
551
|
+
if blank."},{"name":"birthday","value":null,"prompt":"date - Accepts advanced
|
552
|
+
search operators ''less_than'' and ''greater_than''."},{"name":"team_id","value":null,"prompt":"integer
|
553
|
+
- Find all members in a division with the specified team_id(s)."},{"name":"is_manager","value":null,"prompt":"true/false
|
554
|
+
- Find all members in a division that are or are not a team manager. Not used
|
555
|
+
if blank."},{"name":"is_owner","value":null,"prompt":"true/false - Find all
|
556
|
+
members in a division that are or are not owners. Not used if blank."},{"name":"is_ownership_pending","value":null,"prompt":"true/false
|
557
|
+
- Find all members in a division that are or are not pending ownership. Not
|
558
|
+
used if blank."},{"name":"gender","value":null,"prompt":"Male/Female - Find
|
559
|
+
all members in a division with the specified gender."},{"name":"first_name","value":null,"prompt":"string
|
560
|
+
- Accepts advanced search operators ''equals'', ''contains'' and ''starts_with''."},{"name":"last_name","value":null,"prompt":"string
|
561
|
+
- Accepts advanced search operators ''equals'', ''contains'' and ''starts_with''."},{"name":"email","value":null,"prompt":"string
|
562
|
+
- Accepts advanced search operators ''equals'', ''contains'' and ''starts_with''."},{"name":"custom_field","value":null,"prompt":"string
|
563
|
+
- Required advanced search parameter of ''id'' that should be the id of the
|
564
|
+
custom field to be searched on. Accepts advanced search operators ''equals'',
|
565
|
+
''contains'' and ''starts_with''."},{"name":"registration_form_id","value":null,"prompt":"string
|
566
|
+
- Find all members in a division with the specified registration_form_id."},{"name":"is_assigned","value":null,"prompt":"true/false
|
567
|
+
- For all members in a division that are assigned to a team. Not used if blank."},{"name":"is_activated","value":null,"prompt":"true/false
|
568
|
+
- For all members in a division that have a user. Not used if blank."},{"name":"checkout_type","value":null,"prompt":"string
|
569
|
+
- Search for a registration checkout type. Valid values are: \"1\" - In Progress,
|
570
|
+
\"2\" - Pay Now, \"3\" - Installment Plan, \"4\" - Pay Offline, \"5\" - No
|
571
|
+
Fees"},{"name":"signup_status","value":null,"prompt":"string - Search for
|
572
|
+
a registration based on it''s signup status. Value values are: \"authorized\"
|
573
|
+
- Authorized, \"refunded\" - Refunded, \"failed\" - Failed, \"active\" - Active,
|
574
|
+
\"canceled\" - Canceled, \"charged_back\" - Charged Back, \"on_checkout\"
|
575
|
+
- On Checkout, \"paid\" - Paid"},{"name":"search_subdivisions","value":null,"prompt":"true/false
|
576
|
+
- Search all the subdivisions of the division provided. True by default."},{"name":"page_size","value":null,"prompt":"The
|
577
|
+
number of items to return for each page. Sending this parameter with the query
|
578
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
579
|
+
number of the page to be returned. This requires that paging be turned on
|
580
|
+
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
|
581
|
+
source_member_ids (array) and a destination_team_id, source members and related
|
582
|
+
member data will be imported to the destination team. Newly created members
|
583
|
+
will be returned.","data":[{"name":"source_member_ids","value":null},{"name":"destination_team_id","value":null},{"name":"send_invites","value":null,"prompt":"Whether
|
584
|
+
or not to create and send invitations for each imported member. Valid values
|
585
|
+
are either ''true'' or ''false'' and will default to ''false''"}]},{"rel":"bulk_delete","href":"http://localhost:3000/members/bulk_delete","prompt":"Delete
|
586
|
+
one or many members.","data":[{"name":"member_id","value":null,"prompt":"The
|
587
|
+
id of the member to be deleted, this can either be passed as a comma-delimited
|
588
|
+
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
|
589
|
+
one or many members to a new division and/or team.","data":[{"name":"member_id","value":null,"prompt":"The
|
590
|
+
id of the member or members to be moved, this can either be passed as a comma-delimited
|
591
|
+
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
|
592
|
+
is deprecated and will be removed in a future version, use event_reminder_preference
|
593
|
+
instead."},{"name":"reminders_send_game","value":null,"deprecated":true,"prompt":"reminders_send_game
|
594
|
+
is deprecated and will be removed in a future version, use game_reminder_preference
|
595
|
+
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
|
596
|
+
is deprecated and has been removed. Continued use of facebook_post_scores
|
597
|
+
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
|
598
|
+
is deprecated and has been removed. Continued use of facebook_post_scores_to_page_id
|
599
|
+
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
|
600
|
+
is deprecated and has been removed. Continued use of facebook_post_scores_to_page_name
|
601
|
+
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
|
602
|
+
is deprecated and has been removed. Continued use of facebook_post_scores_to_wall
|
603
|
+
is not recommended it will no longer be stored."},{"name":"facebook_only_post_wins","value":null,"deprecated":true,"prompt":"facebook_only_post_wins
|
604
|
+
is deprecated and has been removed. Continued use of facebook_only_post_wins
|
605
|
+
is not recommended it will no longer be stored."},{"name":"facebook_polite_scores","value":null,"deprecated":true,"prompt":"facebook_polite_scores
|
606
|
+
is deprecated and has been removed. Continued use of facebook_polite_scores
|
607
|
+
is not recommended it will no longer be stored."},{"name":"facebook_page_access_token","value":null,"deprecated":true,"prompt":"facebook_page_access_token
|
608
|
+
is deprecated and has been removed. Continued use of facebook_page_access_token
|
609
|
+
is not recommended it will no longer be stored."},{"name":"game_reminder_preference","value":null,"prompt":"Valid
|
610
|
+
values are ''team'', ''member'' and ''none''."},{"name":"event_reminder_preference","value":null,"prompt":"Valid
|
611
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
612
|
+
number of items to return for each page. Sending this parameter with the query
|
613
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
614
|
+
number of the page to be returned. This requires that paging be turned on
|
615
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/message_data","rel":"message_data","prompt":"BETA:
|
616
|
+
(This endpoint is subject to change) Returns a collection of summarized data
|
617
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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:
|
618
|
+
(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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
619
|
+
is deprecated and will be removed in a future version, use message_source_id
|
620
|
+
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
|
621
|
+
number of items to return for each page. Sending this parameter with the query
|
622
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
623
|
+
number of the page to be returned. This requires that paging be turned on
|
624
|
+
by also providing the page_size parameter."}]}],"commands":[{"rel":"mark_message_as_read","href":"http://localhost:3000/messages/mark_as_read","prompt":"Mark
|
625
|
+
a message as read.","data":[{"name":"id","value":null}]},{"rel":"bulk_delete","href":"http://localhost:3000/messages/bulk_delete","prompt":"Delete
|
626
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
627
|
+
number of items to return for each page. Sending this parameter with the query
|
628
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
629
|
+
number of the page to be returned. This requires that paging be turned on
|
630
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
631
|
+
number of items to return for each page. Sending this parameter with the query
|
632
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
633
|
+
number of the page to be returned. This requires that paging be turned on
|
634
|
+
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:
|
635
|
+
(This endpoint subject to change) Returns a collection of WePay credit card
|
636
|
+
payment methods.","links":[{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/payment_method_wepay_credit_cards?hmac_nonce=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
637
|
+
number of items to return for each page. Sending this parameter with the query
|
638
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
639
|
+
number of the page to be returned. This requires that paging be turned on
|
640
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
641
|
+
number of items to return for each page. Sending this parameter with the query
|
642
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
643
|
+
number of the page to be returned. This requires that paging be turned on
|
644
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/payment_providers","rel":"payment_providers","prompt":"Beta:
|
645
|
+
(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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
646
|
+
number of items to return for each page. Sending this parameter with the query
|
647
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
648
|
+
number of the page to be returned. This requires that paging be turned on
|
649
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
650
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}]}},{"collection":{"prompt":"BETA:
|
651
|
+
(This endpoint subject to change) Returns a list of registration signup statuses
|
652
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"queries":[{"rel":"search","href":"http://localhost:3000/registration_signup_statuses/search","data":[{"name":"id","value":null}]}]}},{"collection":{"version":"3.523.0","prompt":"BETA:
|
653
|
+
(This endpoint subject to change) Returns a collection of a division''s registration
|
654
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
655
|
+
number of items to return for each page. Sending this parameter with the query
|
656
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
657
|
+
number of the page to be returned. This requires that paging be turned on
|
658
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","prompt":"BETA:
|
659
|
+
(This endpoint subject to change) Returns a collection of a registration form''s
|
660
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
661
|
+
number of items to return for each page. Sending this parameter with the query
|
662
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
663
|
+
number of the page to be returned. This requires that paging be turned on
|
664
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","prompt":"BETA:
|
665
|
+
(This endpoint subject to change) Returns a collection of a registration form
|
666
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
667
|
+
number of items to return for each page. Sending this parameter with the query
|
668
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
669
|
+
number of the page to be returned. This requires that paging be turned on
|
670
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"queries":[{"rel":"search","href":"http://localhost:3000/sms_gateways/search","data":[{"name":"id","value":null},{"name":"page_size","value":null,"prompt":"The
|
671
|
+
number of items to return for each page. Sending this parameter with the query
|
672
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
673
|
+
number of the page to be returned. This requires that paging be turned on
|
674
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
675
|
+
number of items to return for each page. Sending this parameter with the query
|
676
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
677
|
+
number of the page to be returned. This requires that paging be turned on
|
678
|
+
by also providing the page_size parameter."}]}],"commands":[{"rel":"upload_sponsor_logo","href":"http://localhost:3000/sponsors/upload_sponsor_logo","prompt":"Upload
|
679
|
+
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
|
680
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
681
|
+
number of items to return for each page. Sending this parameter with the query
|
682
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
683
|
+
number of the page to be returned. This requires that paging be turned on
|
684
|
+
by also providing the page_size parameter."}]}],"commands":[{"rel":"reorder_statistics","href":"http://localhost:3000/statistics/reorder","prompt":"reorder
|
685
|
+
the statistics based on the sorted_ids provided","data":[{"name":"team_id","value":null},{"name":"sorted_ids","value":null,"prompt":"An
|
686
|
+
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
|
687
|
+
all statistics and statistic groups from a template of a sport_id to a specified
|
688
|
+
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
|
689
|
+
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
|
690
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"},{"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
|
691
|
+
number of items to return for each page. Sending this parameter with the query
|
692
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
693
|
+
number of the page to be returned. This requires that paging be turned on
|
694
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"},{"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
|
695
|
+
number of items to return for each page. Sending this parameter with the query
|
696
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
697
|
+
number of the page to be returned. This requires that paging be turned on
|
698
|
+
by also providing the page_size parameter."}]}],"commands":[{"rel":"bulk_update_statistic_data","href":"http://localhost:3000/statistic_data/bulk_update","prompt":"Update
|
699
|
+
several statistic data with a single command.","data":[{"name":"templates","value":null,"prompt":"An
|
700
|
+
array of the statistic_datum templates to be updated that correspond to the
|
701
|
+
template for the rel ''statistic_datum''. Each template must have the following
|
702
|
+
elements present: team_id, event_id, statistic_id."}]},{"rel":"bulk_delete_statistic_data","href":"http://localhost:3000/statistic_data/bulk_delete","prompt":"Delete
|
703
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
704
|
+
number of items to return for each page. Sending this parameter with the query
|
705
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
706
|
+
number of the page to be returned. This requires that paging be turned on
|
707
|
+
by also providing the page_size parameter."}]}],"commands":[{"rel":"reorder_statistic_groups","href":"http://localhost:3000/statistic_groups/reorder","prompt":"reorder
|
708
|
+
the statistic groups based on the sorted_ids provided","data":[{"name":"team_id","value":null},{"name":"sorted_ids","value":null,"prompt":"An
|
709
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
710
|
+
number of items to return for each page. Sending this parameter with the query
|
711
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
712
|
+
number of the page to be returned. This requires that paging be turned on
|
713
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
714
|
+
number of items to return for each page. Sending this parameter with the query
|
715
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
716
|
+
number of the page to be returned. This requires that paging be turned on
|
717
|
+
by also providing the page_size parameter."}]}],"commands":[{"rel":"upload_team_medium","href":"http://localhost:3000/team_media/upload_team_medium","prompt":"Upload
|
718
|
+
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
|
719
|
+
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
|
720
|
+
the specified team_medium_ids to the team_media_group_id","data":[{"name":"team_medium_ids","value":null,"prompt":"A
|
721
|
+
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
|
722
|
+
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
|
723
|
+
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
|
724
|
+
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
|
725
|
+
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
|
726
|
+
the specified team_medium_ids","data":[{"name":"team_medium_ids","value":null,"prompt":"A
|
727
|
+
comma delimited list of team medium ids"}]},{"rel":"create_team_video_link","href":"http://localhost:3000/team_media/create_video_link","prompt":"Add
|
728
|
+
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}
|
729
|
+
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
|
730
|
+
or not to post this to the facebook news feed. Valid values are either ''true''
|
731
|
+
or ''false'' and will default to ''false''"},{"name":"caption","value":null,"prompt":"Caption
|
732
|
+
for the team media."},{"name":"facebook_page_id","value":null,"prompt":"The
|
733
|
+
id to the page on facebook to post to."}]},{"rel":"reorder_team_media","href":"http://localhost:3000/team_media/reorder","prompt":"Reorder
|
734
|
+
the team media based on the sorted_ids provided.","data":[{"name":"team_id","value":null},{"name":"sorted_ids","value":null,"prompt":"An
|
735
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
736
|
+
number of items to return for each page. Sending this parameter with the query
|
737
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
738
|
+
number of the page to be returned. This requires that paging be turned on
|
739
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
740
|
+
number of items to return for each page. Sending this parameter with the query
|
741
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
742
|
+
number of the page to be returned. This requires that paging be turned on
|
743
|
+
by also providing the page_size parameter."}]}],"commands":[{"rel":"reorder_team_media_groups","href":"http://localhost:3000/team_media_groups/reorder","prompt":"reorder
|
744
|
+
the team media groups based on the sorted_ids provided","data":[{"name":"team_id","value":null},{"name":"sorted_ids","value":null,"prompt":"An
|
745
|
+
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}
|
746
|
+
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
|
747
|
+
or not to post this to the facebook news feed. Valid values are either ''true''
|
748
|
+
or ''false'' and will default to ''false''"},{"name":"album_name","value":null,"prompt":"The
|
749
|
+
caption used when sharing the medium on facebook. This will default to the
|
750
|
+
description of the medium"},{"name":"facebook_page_id","value":null,"prompt":"The
|
751
|
+
id used by facebook of the page to post the medium to. If omitted, this will
|
752
|
+
go to the user''s personal page."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/team_photos","rel":"team_photos","prompt":"BETA:
|
753
|
+
(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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
754
|
+
number of items to return for each page. Sending this parameter with the query
|
755
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
756
|
+
number of the page to be returned. This requires that paging be turned on
|
757
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
758
|
+
number of items to return for each page. Sending this parameter with the query
|
759
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
760
|
+
number of the page to be returned. This requires that paging be turned on
|
761
|
+
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
|
762
|
+
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
|
763
|
+
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
|
764
|
+
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
|
765
|
+
time_zone parameter is required when creating a team, but for changing a team''s
|
766
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
767
|
+
number of items to return for each page. Sending this parameter with the query
|
768
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
769
|
+
number of the page to be returned. This requires that paging be turned on
|
770
|
+
by also providing the page_size parameter."},{"name":"sort_name","value":null,"prompt":"Sort
|
771
|
+
the returned dataset based on the name field, valid values are ''asc'' or
|
772
|
+
''desc''."}]},{"rel":"available_for_statistic_import","href":"http://localhost:3000/teams/available_for_statistic_import","prompt":"Finds
|
773
|
+
all teams accessible to current user that have the provided sport_id and have
|
774
|
+
at least one statistic to import","data":[{"name":"sport_id","value":null}]},{"rel":"active_teams","href":"http://localhost:3000/teams/active","prompt":"Finds
|
775
|
+
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
|
776
|
+
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
|
777
|
+
number of items to return for each page. Sending this parameter with the query
|
778
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
779
|
+
number of the page to be returned. This requires that paging be turned on
|
780
|
+
by also providing the page_size parameter."}]}],"commands":[{"rel":"invite","href":"http://localhost:3000/teams/invite","prompt":"invite
|
781
|
+
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
|
782
|
+
team''s time zone. This is currently the only method of updating a team''s
|
783
|
+
time zone.","data":[{"name":"team_id","value":null},{"name":"time_zone","value":null},{"name":"offset_team_times","value":null,"deprecated":true,"prompt":"%{old}
|
784
|
+
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
|
785
|
+
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:
|
786
|
+
(This endpoint subject to change) Allow commissioners to send invitations
|
787
|
+
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:
|
788
|
+
(This endpoint subject to change) Allow commissioners to change the owner
|
789
|
+
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
|
790
|
+
the visibility of teams on the list of active teams, per user. Requires a
|
791
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
792
|
+
number of items to return for each page. Sending this parameter with the query
|
793
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
794
|
+
number of the page to be returned. This requires that paging be turned on
|
795
|
+
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
|
796
|
+
age groups when skill_level is '''', ''Recreational'' or ''Competitive'' are:
|
797
|
+
''5 & under'', ''6 & under'', ''7 & under'', ''8 & under'', ''9 & under'',
|
798
|
+
''10 & under'', ''11 & under'', ''12 & under'', ''13 & under'', ''14 & under'',
|
799
|
+
''15 & under'', ''16 & under'', ''17 & under'', ''18 & under'' and ''19 &
|
800
|
+
under''. Valid age groups when skill_level is ''School'' are: ''College/University'',
|
801
|
+
''High School'', ''Middle School/Jr. High'', ''6th Grade'', ''5th Grade'',
|
802
|
+
''4th Grade'', ''3rd Grade'', ''2nd Grade'', ''1st Grade'' and ''Kindergarten
|
803
|
+
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
|
804
|
+
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
|
805
|
+
is deprecated and will be removed in a future version, use team_media_show_tab
|
806
|
+
instead."},{"name":"team_media_show_tab","value":null},{"name":"gender","value":null,"prompt":"Valid
|
807
|
+
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
|
808
|
+
is deprecated and has been removed. Continued use of introduction_text is
|
809
|
+
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
|
810
|
+
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
|
811
|
+
is deprecated and will be removed in a future version, use is_tracked_items_private
|
812
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
813
|
+
number of items to return for each page. Sending this parameter with the query
|
814
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
815
|
+
number of the page to be returned. This requires that paging be turned on
|
816
|
+
by also providing the page_size parameter."}]}],"commands":[{"rel":"upload_team_logo","href":"http://localhost:3000/teams_preferences/upload_team_logo","prompt":"Upload
|
817
|
+
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
|
818
|
+
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
|
819
|
+
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
|
820
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
821
|
+
number of items to return for each page. Sending this parameter with the query
|
822
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
823
|
+
number of the page to be returned. This requires that paging be turned on
|
824
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"},{"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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
825
|
+
number of items to return for each page. Sending this parameter with the query
|
826
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
827
|
+
number of the page to be returned. This requires that paging be turned on
|
828
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
829
|
+
number of items to return for each page. Sending this parameter with the query
|
830
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
831
|
+
number of the page to be returned. This requires that paging be turned on
|
832
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
833
|
+
number of items to return for each page. Sending this parameter with the query
|
834
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
835
|
+
number of the page to be returned. This requires that paging be turned on
|
836
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"queries":[{"rel":"search","href":"http://localhost:3000/tsl_scores/search","prompt":"BETA:
|
837
|
+
(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
|
838
|
+
number of items to return for each page. Sending this parameter with the query
|
839
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
840
|
+
number of the page to be returned. This requires that paging be turned on
|
841
|
+
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
|
842
|
+
is deprecated and has been removed. Continued use of facebook_id is not recommended
|
843
|
+
it will no longer be stored."},{"name":"facebook_access_token","value":null,"deprecated":true,"prompt":"facebook_access_token
|
844
|
+
is deprecated and has been removed. Continued use of facebook_access_token
|
845
|
+
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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
846
|
+
number of items to return for each page. Sending this parameter with the query
|
847
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
848
|
+
number of the page to be returned. This requires that paging be turned on
|
849
|
+
by also providing the page_size parameter."}]}]}},{"collection":{"version":"3.523.0","href":"http://localhost:3000/wepay_accounts","rel":"wepay_accounts","prompt":"Beta:
|
850
|
+
(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=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982"}],"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
|
851
|
+
number of items to return for each page. Sending this parameter with the query
|
852
|
+
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
853
|
+
number of the page to be returned. This requires that paging be turned on
|
854
|
+
by also providing the page_size parameter."}]}]}}]'
|
855
|
+
http_version: '1.1'
|
856
|
+
adapter_metadata:
|
857
|
+
effective_url: http://localhost:3000/schemas?hmac_client_id=classic&hmac_nonce=1f124ba3-aee2-4a31-9ff3-5d9487049c9d&hmac_timestamp=1502467982
|
858
|
+
recorded_at: Fri, 11 Aug 2017 16:13:03 GMT
|
859
|
+
recorded_with: VCR 2.9.3
|