teamsnap_rb 2.0.0.beta → 2.0.0.beta3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +3 -0
- data/lib/teamsnap.rb +2 -2
- data/lib/teamsnap/collection.rb +1 -1
- data/lib/teamsnap/response.rb +1 -1
- data/lib/teamsnap/version.rb +1 -1
- data/spec/cassettes/apiv3-init.yml +89 -286
- data/spec/cassettes/teamsnap__client/when_calling_via_s_on_the_client/does_not_raise_an_error_when_the_HTTP_actions_are_called.yml +9 -9
- data/spec/cassettes/teamsnap__client/when_calling_via_s_on_the_client/passes_them_to_the_faraday_client_using_method_missing.yml +9 -9
- data/spec/cassettes/teamsnap__collection/adds_find_if_search_is_available.yml +12 -12
- data/spec/cassettes/teamsnap__collection/adds_href_to_items.yml +10 -10
- data/spec/cassettes/teamsnap__collection/can_follow_plural_links.yml +39 -39
- data/spec/cassettes/teamsnap__collection/can_follow_singular_links.yml +22 -22
- data/spec/cassettes/teamsnap__collection/can_handle_links_with_no_data.yml +19 -19
- data/spec/cassettes/teamsnap__collection/handles_executing_an_action_via_commands.yml +10 -10
- data/spec/cassettes/teamsnap__collection/handles_executing_an_action_via_commands_with_multiple_params.yml +9 -9
- data/spec/cassettes/teamsnap__collection/handles_fetching_data_via_queries.yml +12 -12
- data/spec/cassettes/teamsnap__collection/handles_queries_with_no_data.yml +9 -9
- data/spec/cassettes/teamsnap__collection/raises_an_exception_if_find_returns_nothing.yml +9 -9
- data/spec/cassettes/teamsnap__collection/supports_relations_with_expected_behaviors/when_a_plural_relation_is_called/responds_with_an_array_of_objects_when_successful.yml +23 -23
- data/spec/cassettes/teamsnap__collection/supports_relations_with_expected_behaviors/when_a_plural_relation_is_called/responds_with_an_empty_array_when_no_objects_exist.yml +19 -19
- data/spec/cassettes/teamsnap__collection/supports_relations_with_expected_behaviors/when_a_singular_relation_is_called/responds_with_nil_if_it_does_NOT_exist.yml +19 -19
- data/spec/cassettes/teamsnap__collection/supports_relations_with_expected_behaviors/when_a_singular_relation_is_called/responds_with_the_object_if_it_exists.yml +22 -22
- data/spec/cassettes/teamsnap__structure/_create_collection_class/registers_new_classes_via_introspection_of_the_root_collection.yml +9 -9
- data/spec/cassettes/teamsnap__structure/_create_collection_class/sets_the_href_attribute_on_the_new_class.yml +9 -9
- data/spec/cassettes/teamsnap__structure/_init/has_all_classes_in_schema_loaded_except_for_exceptions_list_endpoints.yml +9 -9
- data/spec/cassettes/teamsnap_rb/_bulk_load/can_handle_an_empty_bulk_load.yml +9 -9
- data/spec/cassettes/teamsnap_rb/_bulk_load/{can_handle_an_error_with_bulk_load.yml → can_handle_an_error_with_bulk_load_without_a_team_id.yml} +7 -7
- data/spec/cassettes/teamsnap_rb/_bulk_load/can_use_bulk_load.yml +30 -30
- data/spec/cassettes/teamsnap_rb/_client_send/when_sent_a_known_via_/calls_DELETE_on_the_given_client.yml +52 -57
- data/spec/cassettes/teamsnap_rb/_client_send/when_sent_a_known_via_/calls_GET_on_the_given_client.yml +9 -9
- data/spec/cassettes/teamsnap_rb/_client_send/when_sent_a_known_via_/calls_PATCH_on_the_given_client.yml +53 -57
- data/spec/cassettes/teamsnap_rb/_client_send/when_sent_a_known_via_/calls_POST_on_the_given_client.yml +53 -57
- data/spec/cassettes/teamsnap_rb/_run/processes_the_response.yml +36 -36
- data/spec/teamsnap/collection_spec.rb +2 -2
- data/spec/teamsnap_spec.rb +12 -0
- metadata +4 -46
- data/spec/cassettes/client/when_calling_via_s_on_the_client/does_not_raise_an_error_when_the_HTTP_actions_are_called.yml +0 -56
- data/spec/cassettes/structure/_create_collection_class/registers_new_classes_via_introspection_of_the_root_collection.yml +0 -110
- data/spec/cassettes/structure/_create_collection_class/sets_the_href_attribute_on_the_new_class.yml +0 -57
- data/spec/cassettes/structure/_init/has_all_classes_in_schema_loaded_except_for_exceptions_list_endpoints.yml +0 -56
- data/spec/cassettes/structure/has_all_classes_in_schema_loaded_except_for_exceptions_list_endpoints.yml +0 -56
- data/spec/cassettes/teamsnap__collection/can_handle_no_argument_errors_generated_by_command.yml +0 -42
- data/spec/cassettes/teamsnap_rb/adds_find_if_search_is_available.yml +0 -61
- data/spec/cassettes/teamsnap_rb/adds_href_to_items.yml +0 -62
- data/spec/cassettes/teamsnap_rb/can_follow_plural_links.yml +0 -179
- data/spec/cassettes/teamsnap_rb/can_follow_singular_links.yml +0 -120
- data/spec/cassettes/teamsnap_rb/can_handle_links_with_no_data.yml +0 -107
- data/spec/cassettes/teamsnap_rb/can_handle_no_argument_errors_generated_by_command.yml +0 -42
- data/spec/cassettes/teamsnap_rb/handles_executing_an_action_via_commands.yml +0 -64
- data/spec/cassettes/teamsnap_rb/handles_executing_an_action_via_commands_with_multiple_params.yml +0 -70
- data/spec/cassettes/teamsnap_rb/handles_fetching_data_via_queries.yml +0 -61
- data/spec/cassettes/teamsnap_rb/handles_queries_with_no_data.yml +0 -57
- data/spec/cassettes/teamsnap_rb/raises_an_exception_if_find_returns_nothing.yml +0 -57
- data/spec/cassettes/teamsnap_rb/supports_relations_with_expected_behaviors/when_a_plural_relation_is_called/responds_with_an_array_of_objects_when_successful.yml +0 -117
- data/spec/cassettes/teamsnap_rb/supports_relations_with_expected_behaviors/when_a_plural_relation_is_called/responds_with_an_empty_array_when_no_objects_exist.yml +0 -111
- data/spec/cassettes/teamsnap_rb/supports_relations_with_expected_behaviors/when_a_singular_relation_is_called/responds_with_nil_if_it_does_NOT_exist.yml +0 -111
- data/spec/cassettes/teamsnap_rb/supports_relations_with_expected_behaviors/when_a_singular_relation_is_called/responds_with_the_object_if_it_exists.yml +0 -124
@@ -76,8 +76,8 @@ RSpec.describe "teamsnap__collection", :vcr => true do
|
|
76
76
|
expect {
|
77
77
|
TeamSnap::Member.disable_member(TeamSnap.root_client)
|
78
78
|
}.to raise_error(
|
79
|
-
|
80
|
-
"
|
79
|
+
ArgumentError,
|
80
|
+
"Invalid argument(s). Valid argument(s) are [:member_id]"
|
81
81
|
)
|
82
82
|
end
|
83
83
|
|
data/spec/teamsnap_spec.rb
CHANGED
@@ -231,6 +231,18 @@ RSpec.describe "teamsnap_rb", :vcr => true do
|
|
231
231
|
it "can handle an error with bulk load" do
|
232
232
|
expect {
|
233
233
|
TeamSnap.bulk_load(TeamSnap.root_client)
|
234
|
+
}.to raise_error(
|
235
|
+
ArgumentError,
|
236
|
+
"Invalid argument(s). Valid argument(s) are [:team_id, :scope_to, :types]"
|
237
|
+
)
|
238
|
+
end
|
239
|
+
|
240
|
+
it "can handle an error with bulk load without a team_id" do
|
241
|
+
expect {
|
242
|
+
TeamSnap.bulk_load(
|
243
|
+
TeamSnap.root_client,
|
244
|
+
:types => "team,member"
|
245
|
+
)
|
234
246
|
}.to raise_error(
|
235
247
|
TeamSnap::Error,
|
236
248
|
"You must include a team_id parameter"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: teamsnap_rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0.
|
4
|
+
version: 2.0.0.beta3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shane Emmons
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-03-
|
12
|
+
date: 2016-03-31 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -163,11 +163,6 @@ files:
|
|
163
163
|
- lib/teamsnap/structure.rb
|
164
164
|
- lib/teamsnap/version.rb
|
165
165
|
- spec/cassettes/apiv3-init.yml
|
166
|
-
- spec/cassettes/client/when_calling_via_s_on_the_client/does_not_raise_an_error_when_the_HTTP_actions_are_called.yml
|
167
|
-
- spec/cassettes/structure/_create_collection_class/registers_new_classes_via_introspection_of_the_root_collection.yml
|
168
|
-
- spec/cassettes/structure/_create_collection_class/sets_the_href_attribute_on_the_new_class.yml
|
169
|
-
- spec/cassettes/structure/_init/has_all_classes_in_schema_loaded_except_for_exceptions_list_endpoints.yml
|
170
|
-
- spec/cassettes/structure/has_all_classes_in_schema_loaded_except_for_exceptions_list_endpoints.yml
|
171
166
|
- spec/cassettes/teamsnap__client/when_calling_via_s_on_the_client/does_not_raise_an_error_when_the_HTTP_actions_are_called.yml
|
172
167
|
- spec/cassettes/teamsnap__client/when_calling_via_s_on_the_client/passes_them_to_the_faraday_client_using_method_missing.yml
|
173
168
|
- spec/cassettes/teamsnap__collection/adds_find_if_search_is_available.yml
|
@@ -175,7 +170,6 @@ files:
|
|
175
170
|
- spec/cassettes/teamsnap__collection/can_follow_plural_links.yml
|
176
171
|
- spec/cassettes/teamsnap__collection/can_follow_singular_links.yml
|
177
172
|
- spec/cassettes/teamsnap__collection/can_handle_links_with_no_data.yml
|
178
|
-
- spec/cassettes/teamsnap__collection/can_handle_no_argument_errors_generated_by_command.yml
|
179
173
|
- spec/cassettes/teamsnap__collection/handles_executing_an_action_via_commands.yml
|
180
174
|
- spec/cassettes/teamsnap__collection/handles_executing_an_action_via_commands_with_multiple_params.yml
|
181
175
|
- spec/cassettes/teamsnap__collection/handles_fetching_data_via_queries.yml
|
@@ -189,28 +183,13 @@ files:
|
|
189
183
|
- spec/cassettes/teamsnap__structure/_create_collection_class/sets_the_href_attribute_on_the_new_class.yml
|
190
184
|
- spec/cassettes/teamsnap__structure/_init/has_all_classes_in_schema_loaded_except_for_exceptions_list_endpoints.yml
|
191
185
|
- spec/cassettes/teamsnap_rb/_bulk_load/can_handle_an_empty_bulk_load.yml
|
192
|
-
- spec/cassettes/teamsnap_rb/_bulk_load/
|
186
|
+
- spec/cassettes/teamsnap_rb/_bulk_load/can_handle_an_error_with_bulk_load_without_a_team_id.yml
|
193
187
|
- spec/cassettes/teamsnap_rb/_bulk_load/can_use_bulk_load.yml
|
194
188
|
- spec/cassettes/teamsnap_rb/_client_send/when_sent_a_known_via_/calls_DELETE_on_the_given_client.yml
|
195
189
|
- spec/cassettes/teamsnap_rb/_client_send/when_sent_a_known_via_/calls_GET_on_the_given_client.yml
|
196
190
|
- spec/cassettes/teamsnap_rb/_client_send/when_sent_a_known_via_/calls_PATCH_on_the_given_client.yml
|
197
191
|
- spec/cassettes/teamsnap_rb/_client_send/when_sent_a_known_via_/calls_POST_on_the_given_client.yml
|
198
192
|
- spec/cassettes/teamsnap_rb/_run/processes_the_response.yml
|
199
|
-
- spec/cassettes/teamsnap_rb/adds_find_if_search_is_available.yml
|
200
|
-
- spec/cassettes/teamsnap_rb/adds_href_to_items.yml
|
201
|
-
- spec/cassettes/teamsnap_rb/can_follow_plural_links.yml
|
202
|
-
- spec/cassettes/teamsnap_rb/can_follow_singular_links.yml
|
203
|
-
- spec/cassettes/teamsnap_rb/can_handle_links_with_no_data.yml
|
204
|
-
- spec/cassettes/teamsnap_rb/can_handle_no_argument_errors_generated_by_command.yml
|
205
|
-
- spec/cassettes/teamsnap_rb/handles_executing_an_action_via_commands.yml
|
206
|
-
- spec/cassettes/teamsnap_rb/handles_executing_an_action_via_commands_with_multiple_params.yml
|
207
|
-
- spec/cassettes/teamsnap_rb/handles_fetching_data_via_queries.yml
|
208
|
-
- spec/cassettes/teamsnap_rb/handles_queries_with_no_data.yml
|
209
|
-
- spec/cassettes/teamsnap_rb/raises_an_exception_if_find_returns_nothing.yml
|
210
|
-
- spec/cassettes/teamsnap_rb/supports_relations_with_expected_behaviors/when_a_plural_relation_is_called/responds_with_an_array_of_objects_when_successful.yml
|
211
|
-
- spec/cassettes/teamsnap_rb/supports_relations_with_expected_behaviors/when_a_plural_relation_is_called/responds_with_an_empty_array_when_no_objects_exist.yml
|
212
|
-
- spec/cassettes/teamsnap_rb/supports_relations_with_expected_behaviors/when_a_singular_relation_is_called/responds_with_nil_if_it_does_NOT_exist.yml
|
213
|
-
- spec/cassettes/teamsnap_rb/supports_relations_with_expected_behaviors/when_a_singular_relation_is_called/responds_with_the_object_if_it_exists.yml
|
214
193
|
- spec/spec_helper.rb
|
215
194
|
- spec/teamsnap/client_spec.rb
|
216
195
|
- spec/teamsnap/collection_spec.rb
|
@@ -245,11 +224,6 @@ specification_version: 4
|
|
245
224
|
summary: A gem to interact with TeamSnap's API
|
246
225
|
test_files:
|
247
226
|
- spec/cassettes/apiv3-init.yml
|
248
|
-
- spec/cassettes/client/when_calling_via_s_on_the_client/does_not_raise_an_error_when_the_HTTP_actions_are_called.yml
|
249
|
-
- spec/cassettes/structure/_create_collection_class/registers_new_classes_via_introspection_of_the_root_collection.yml
|
250
|
-
- spec/cassettes/structure/_create_collection_class/sets_the_href_attribute_on_the_new_class.yml
|
251
|
-
- spec/cassettes/structure/_init/has_all_classes_in_schema_loaded_except_for_exceptions_list_endpoints.yml
|
252
|
-
- spec/cassettes/structure/has_all_classes_in_schema_loaded_except_for_exceptions_list_endpoints.yml
|
253
227
|
- spec/cassettes/teamsnap__client/when_calling_via_s_on_the_client/does_not_raise_an_error_when_the_HTTP_actions_are_called.yml
|
254
228
|
- spec/cassettes/teamsnap__client/when_calling_via_s_on_the_client/passes_them_to_the_faraday_client_using_method_missing.yml
|
255
229
|
- spec/cassettes/teamsnap__collection/adds_find_if_search_is_available.yml
|
@@ -257,7 +231,6 @@ test_files:
|
|
257
231
|
- spec/cassettes/teamsnap__collection/can_follow_plural_links.yml
|
258
232
|
- spec/cassettes/teamsnap__collection/can_follow_singular_links.yml
|
259
233
|
- spec/cassettes/teamsnap__collection/can_handle_links_with_no_data.yml
|
260
|
-
- spec/cassettes/teamsnap__collection/can_handle_no_argument_errors_generated_by_command.yml
|
261
234
|
- spec/cassettes/teamsnap__collection/handles_executing_an_action_via_commands.yml
|
262
235
|
- spec/cassettes/teamsnap__collection/handles_executing_an_action_via_commands_with_multiple_params.yml
|
263
236
|
- spec/cassettes/teamsnap__collection/handles_fetching_data_via_queries.yml
|
@@ -271,28 +244,13 @@ test_files:
|
|
271
244
|
- spec/cassettes/teamsnap__structure/_create_collection_class/sets_the_href_attribute_on_the_new_class.yml
|
272
245
|
- spec/cassettes/teamsnap__structure/_init/has_all_classes_in_schema_loaded_except_for_exceptions_list_endpoints.yml
|
273
246
|
- spec/cassettes/teamsnap_rb/_bulk_load/can_handle_an_empty_bulk_load.yml
|
274
|
-
- spec/cassettes/teamsnap_rb/_bulk_load/
|
247
|
+
- spec/cassettes/teamsnap_rb/_bulk_load/can_handle_an_error_with_bulk_load_without_a_team_id.yml
|
275
248
|
- spec/cassettes/teamsnap_rb/_bulk_load/can_use_bulk_load.yml
|
276
249
|
- spec/cassettes/teamsnap_rb/_client_send/when_sent_a_known_via_/calls_DELETE_on_the_given_client.yml
|
277
250
|
- spec/cassettes/teamsnap_rb/_client_send/when_sent_a_known_via_/calls_GET_on_the_given_client.yml
|
278
251
|
- spec/cassettes/teamsnap_rb/_client_send/when_sent_a_known_via_/calls_PATCH_on_the_given_client.yml
|
279
252
|
- spec/cassettes/teamsnap_rb/_client_send/when_sent_a_known_via_/calls_POST_on_the_given_client.yml
|
280
253
|
- spec/cassettes/teamsnap_rb/_run/processes_the_response.yml
|
281
|
-
- spec/cassettes/teamsnap_rb/adds_find_if_search_is_available.yml
|
282
|
-
- spec/cassettes/teamsnap_rb/adds_href_to_items.yml
|
283
|
-
- spec/cassettes/teamsnap_rb/can_follow_plural_links.yml
|
284
|
-
- spec/cassettes/teamsnap_rb/can_follow_singular_links.yml
|
285
|
-
- spec/cassettes/teamsnap_rb/can_handle_links_with_no_data.yml
|
286
|
-
- spec/cassettes/teamsnap_rb/can_handle_no_argument_errors_generated_by_command.yml
|
287
|
-
- spec/cassettes/teamsnap_rb/handles_executing_an_action_via_commands.yml
|
288
|
-
- spec/cassettes/teamsnap_rb/handles_executing_an_action_via_commands_with_multiple_params.yml
|
289
|
-
- spec/cassettes/teamsnap_rb/handles_fetching_data_via_queries.yml
|
290
|
-
- spec/cassettes/teamsnap_rb/handles_queries_with_no_data.yml
|
291
|
-
- spec/cassettes/teamsnap_rb/raises_an_exception_if_find_returns_nothing.yml
|
292
|
-
- spec/cassettes/teamsnap_rb/supports_relations_with_expected_behaviors/when_a_plural_relation_is_called/responds_with_an_array_of_objects_when_successful.yml
|
293
|
-
- spec/cassettes/teamsnap_rb/supports_relations_with_expected_behaviors/when_a_plural_relation_is_called/responds_with_an_empty_array_when_no_objects_exist.yml
|
294
|
-
- spec/cassettes/teamsnap_rb/supports_relations_with_expected_behaviors/when_a_singular_relation_is_called/responds_with_nil_if_it_does_NOT_exist.yml
|
295
|
-
- spec/cassettes/teamsnap_rb/supports_relations_with_expected_behaviors/when_a_singular_relation_is_called/responds_with_the_object_if_it_exists.yml
|
296
254
|
- spec/spec_helper.rb
|
297
255
|
- spec/teamsnap/client_spec.rb
|
298
256
|
- spec/teamsnap/collection_spec.rb
|
@@ -1,56 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: http://localhost:3000/?hmac_client_id=classic&hmac_nonce=8240dfef-5682-42fb-a0a9-a92eff8df678&hmac_timestamp=1457726123
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
11
|
-
- Faraday v0.9.1
|
12
|
-
X-Teamsnap-Hmac:
|
13
|
-
- cd31f1af47c82820e80693d29431c65d8a9e4ed7f8666d57b6064a1349944bb8
|
14
|
-
response:
|
15
|
-
status:
|
16
|
-
code: 200
|
17
|
-
message: OK
|
18
|
-
headers:
|
19
|
-
Content-Type:
|
20
|
-
- application/vnd.collection+json
|
21
|
-
Content-Length:
|
22
|
-
- '8659'
|
23
|
-
X-Content-Type-Options:
|
24
|
-
- nosniff
|
25
|
-
ETag:
|
26
|
-
- '"fc884effc6fadd0c896b28926a3a881b"'
|
27
|
-
Cache-Control:
|
28
|
-
- max-age=0, private, must-revalidate
|
29
|
-
X-Request-Id:
|
30
|
-
- c30ea46f-304d-499c-b320-f5215b79fdda
|
31
|
-
X-Runtime:
|
32
|
-
- '0.032207'
|
33
|
-
Connection:
|
34
|
-
- keep-alive
|
35
|
-
Server:
|
36
|
-
- thin
|
37
|
-
body:
|
38
|
-
encoding: UTF-8
|
39
|
-
string: '{"collection":{"version":"3.203.1","href":"http://localhost:3000/","rel":"root","links":[{"rel":"apiv2_root","href":"http://localhost:3003"},{"rel":"authorization","href":"http://localhost:3004"},{"rel":"apn_devices","href":"http://localhost:3000/apn_devices"},{"rel":"assignments","href":"http://localhost:3000/assignments"},{"rel":"availabilities","href":"http://localhost:3000/availabilities"},{"rel":"broadcast_email_attachments","href":"http://localhost:3000/broadcast_email_attachments"},{"rel":"broadcast_emails","href":"http://localhost:3000/broadcast_emails"},{"rel":"broadcast_alerts","href":"http://localhost:3000/broadcast_alerts"},{"rel":"contact_email_addresses","href":"http://localhost:3000/contact_email_addresses"},{"rel":"contact_phone_numbers","href":"http://localhost:3000/contact_phone_numbers"},{"rel":"contacts","href":"http://localhost:3000/contacts"},{"rel":"countries","href":"http://localhost:3000/countries"},{"rel":"custom_data","href":"http://localhost:3000/custom_data"},{"rel":"custom_fields","href":"http://localhost:3000/custom_fields"},{"rel":"league_custom_data","href":"http://localhost:3000/league_custom_data"},{"rel":"league_custom_fields","href":"http://localhost:3000/league_custom_fields"},{"rel":"divisions","href":"http://localhost:3000/divisions"},{"rel":"division_contact_email_addresses","href":"http://localhost:3000/division_contact_email_addresses"},{"rel":"division_contact_phone_numbers","href":"http://localhost:3000/division_contact_phone_numbers"},{"rel":"division_contacts","href":"http://localhost:3000/division_contacts"},{"rel":"division_events","href":"http://localhost:3000/division_events"},{"rel":"division_locations","href":"http://localhost:3000/division_locations"},{"rel":"division_member_email_addresses","href":"http://localhost:3000/division_member_email_addresses"},{"rel":"division_member_phone_numbers","href":"http://localhost:3000/division_member_phone_numbers"},{"rel":"division_members","href":"http://localhost:3000/division_members"},{"rel":"division_members_preferences","href":"http://localhost:3000/division_members_preferences"},{"rel":"division_team_standings","href":"http://localhost:3000/division_team_standings"},{"rel":"divisions_preferences","href":"http://localhost:3000/divisions_preferences"},{"rel":"event_statistics","href":"http://localhost:3000/event_statistics"},{"rel":"events","href":"http://localhost:3000/events"},{"rel":"facebook_pages","href":"http://localhost:3000/facebook_pages"},{"rel":"forecasts","href":"http://localhost:3000/forecasts"},{"rel":"forum_posts","href":"http://localhost:3000/forum_posts"},{"rel":"forum_subscriptions","href":"http://localhost:3000/forum_subscriptions"},{"rel":"forum_topics","href":"http://localhost:3000/forum_topics"},{"rel":"geocoded_locations","href":"http://localhost:3000/geocoded_locations"},{"rel":"gcm_devices","href":"http://localhost:3000/gcm_devices"},{"rel":"league_registrant_documents","href":"http://localhost:3000/league_registrant_documents"},{"rel":"locations","href":"http://localhost:3000/locations"},{"rel":"me","href":"http://localhost:3000/me"},{"rel":"member_email_addresses","href":"http://localhost:3000/member_email_addresses"},{"rel":"member_balances","href":"http://localhost:3000/member_balances"},{"rel":"member_files","href":"http://localhost:3000/member_files"},{"rel":"member_links","href":"http://localhost:3000/member_links"},{"rel":"member_payments","href":"http://localhost:3000/member_payments"},{"rel":"member_phone_numbers","href":"http://localhost:3000/member_phone_numbers"},{"rel":"member_statistics","href":"http://localhost:3000/member_statistics"},{"rel":"members","href":"http://localhost:3000/members"},{"rel":"members_preferences","href":"http://localhost:3000/members_preferences"},{"rel":"opponents","href":"http://localhost:3000/opponents"},{"rel":"opponents_results","href":"http://localhost:3000/opponents_results"},{"rel":"payment_notes","href":"http://localhost:3000/payment_notes"},{"rel":"paypal_currencies","href":"http://localhost:3000/paypal_currencies"},{"rel":"plans","href":"http://localhost:3000/plans"},{"rel":"plans_all","href":"http://localhost:3000/plans/all"},{"rel":"public_features","href":"http://localhost:3000/public_features"},{"rel":"schemas","href":"http://localhost:3000/schemas"},{"rel":"sms_gateways","href":"http://localhost:3000/sms_gateways"},{"rel":"sponsors","href":"http://localhost:3000/sponsors"},{"rel":"sports","href":"http://localhost:3000/sports"},{"rel":"statistics","href":"http://localhost:3000/statistics"},{"rel":"statistic_aggregates","href":"http://localhost:3000/statistic_aggregates"},{"rel":"statistic_data","href":"http://localhost:3000/statistic_data"},{"rel":"statistic_groups","href":"http://localhost:3000/statistic_groups"},{"rel":"team_fees","href":"http://localhost:3000/team_fees"},{"rel":"team_media","href":"http://localhost:3000/team_media"},{"rel":"team_medium_comments","href":"http://localhost:3000/team_medium_comments"},{"rel":"team_media_groups","href":"http://localhost:3000/team_media_groups"},{"rel":"team_public_sites","href":"http://localhost:3000/team_public_sites"},{"rel":"teams","href":"http://localhost:3000/teams"},{"rel":"teams_paypal_preferences","href":"http://localhost:3000/teams_paypal_preferences"},{"rel":"teams_preferences","href":"http://localhost:3000/teams_preferences"},{"rel":"teams_results","href":"http://localhost:3000/teams_results"},{"rel":"team_statistics","href":"http://localhost:3000/team_statistics"},{"rel":"time_zones","href":"http://localhost:3000/time_zones"},{"rel":"tracked_item_statuses","href":"http://localhost:3000/tracked_item_statuses"},{"rel":"tracked_items","href":"http://localhost:3000/tracked_items"},{"rel":"tsl_metadata","href":"http://localhost:3000/tsl_metadata"},{"rel":"tsl_chats","href":"http://localhost:3000/tsl_chats"},{"rel":"tsl_photos","href":"http://localhost:3000/tsl_photos"},{"rel":"tsl_scores","href":"http://localhost:3000/tsl_scores"},{"rel":"users","href":"http://localhost:3000/users"},{"rel":"dude","href":"http://localhost:3000/dude"},{"rel":"sweet","href":"http://localhost:3000/sweet"},{"rel":"random","href":"http://localhost:3000/random"},{"rel":"xyzzy","href":"http://localhost:3000/xyzzy"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/"}],"queries":[{"rel":"bulk_load","href":"http://localhost:3000/bulk_load","prompt":"Returns
|
40
|
-
a heterogeneous collection of the specified types. Additional filters can
|
41
|
-
be passed into requested types by passing them in the url''s querystring as
|
42
|
-
type__filter=value (i.e. ?event__start_date=2015-01-01). Any filter can be
|
43
|
-
passed that is available on the search for the specified type.","data":[{"name":"scope_to","value":null,"prompt":"A
|
44
|
-
comma separated list of singular types that you would like to scope the rest
|
45
|
-
of the related result sets to. For instance, scoping assignments to events
|
46
|
-
and providing a filter on events will return only assignments for the events
|
47
|
-
returned."},{"name":"team_id","value":null},{"name":"types","value":null,"prompt":"A
|
48
|
-
comma separated list of singular types that you want returned."}]},{"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
|
49
|
-
any pending invitations for a specified email address","data":[{"name":"email_address","value":null}]},{"rel":"welcome","href":"http://localhost:3000/welcome","prompt":"Send
|
50
|
-
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
|
51
|
-
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}]}]}}'
|
52
|
-
http_version: '1.1'
|
53
|
-
adapter_metadata:
|
54
|
-
effective_url: http://localhost:3000/?hmac_client_id=classic&hmac_nonce=8240dfef-5682-42fb-a0a9-a92eff8df678&hmac_timestamp=1457726123
|
55
|
-
recorded_at: Fri, 11 Mar 2016 19:55:23 GMT
|
56
|
-
recorded_with: VCR 2.9.3
|
@@ -1,110 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: http://localhost:3000/?hmac_client_id=classic&hmac_nonce=3ce40e4d-3f8c-4cd4-9859-1bf657036a32&hmac_timestamp=1457660632
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
11
|
-
- Faraday v0.9.1
|
12
|
-
X-Teamsnap-Hmac:
|
13
|
-
- 20dc405193c5a412df9179e9896d636ac1c25d512858e6863bf6361bc6afa533
|
14
|
-
response:
|
15
|
-
status:
|
16
|
-
code: 200
|
17
|
-
message: OK
|
18
|
-
headers:
|
19
|
-
Content-Type:
|
20
|
-
- application/vnd.collection+json
|
21
|
-
Content-Length:
|
22
|
-
- '8659'
|
23
|
-
X-Content-Type-Options:
|
24
|
-
- nosniff
|
25
|
-
ETag:
|
26
|
-
- '"fc884effc6fadd0c896b28926a3a881b"'
|
27
|
-
Cache-Control:
|
28
|
-
- max-age=0, private, must-revalidate
|
29
|
-
X-Request-Id:
|
30
|
-
- a6cf6f8c-c585-4504-a7d6-b5db89862c0a
|
31
|
-
X-Runtime:
|
32
|
-
- '0.547887'
|
33
|
-
Connection:
|
34
|
-
- keep-alive
|
35
|
-
Server:
|
36
|
-
- thin
|
37
|
-
body:
|
38
|
-
encoding: UTF-8
|
39
|
-
string: '{"collection":{"version":"3.203.1","href":"http://localhost:3000/","rel":"root","links":[{"rel":"apiv2_root","href":"http://localhost:3003"},{"rel":"authorization","href":"http://localhost:3004"},{"rel":"apn_devices","href":"http://localhost:3000/apn_devices"},{"rel":"assignments","href":"http://localhost:3000/assignments"},{"rel":"availabilities","href":"http://localhost:3000/availabilities"},{"rel":"broadcast_email_attachments","href":"http://localhost:3000/broadcast_email_attachments"},{"rel":"broadcast_emails","href":"http://localhost:3000/broadcast_emails"},{"rel":"broadcast_alerts","href":"http://localhost:3000/broadcast_alerts"},{"rel":"contact_email_addresses","href":"http://localhost:3000/contact_email_addresses"},{"rel":"contact_phone_numbers","href":"http://localhost:3000/contact_phone_numbers"},{"rel":"contacts","href":"http://localhost:3000/contacts"},{"rel":"countries","href":"http://localhost:3000/countries"},{"rel":"custom_data","href":"http://localhost:3000/custom_data"},{"rel":"custom_fields","href":"http://localhost:3000/custom_fields"},{"rel":"league_custom_data","href":"http://localhost:3000/league_custom_data"},{"rel":"league_custom_fields","href":"http://localhost:3000/league_custom_fields"},{"rel":"divisions","href":"http://localhost:3000/divisions"},{"rel":"division_contact_email_addresses","href":"http://localhost:3000/division_contact_email_addresses"},{"rel":"division_contact_phone_numbers","href":"http://localhost:3000/division_contact_phone_numbers"},{"rel":"division_contacts","href":"http://localhost:3000/division_contacts"},{"rel":"division_events","href":"http://localhost:3000/division_events"},{"rel":"division_locations","href":"http://localhost:3000/division_locations"},{"rel":"division_member_email_addresses","href":"http://localhost:3000/division_member_email_addresses"},{"rel":"division_member_phone_numbers","href":"http://localhost:3000/division_member_phone_numbers"},{"rel":"division_members","href":"http://localhost:3000/division_members"},{"rel":"division_members_preferences","href":"http://localhost:3000/division_members_preferences"},{"rel":"division_team_standings","href":"http://localhost:3000/division_team_standings"},{"rel":"divisions_preferences","href":"http://localhost:3000/divisions_preferences"},{"rel":"event_statistics","href":"http://localhost:3000/event_statistics"},{"rel":"events","href":"http://localhost:3000/events"},{"rel":"facebook_pages","href":"http://localhost:3000/facebook_pages"},{"rel":"forecasts","href":"http://localhost:3000/forecasts"},{"rel":"forum_posts","href":"http://localhost:3000/forum_posts"},{"rel":"forum_subscriptions","href":"http://localhost:3000/forum_subscriptions"},{"rel":"forum_topics","href":"http://localhost:3000/forum_topics"},{"rel":"geocoded_locations","href":"http://localhost:3000/geocoded_locations"},{"rel":"gcm_devices","href":"http://localhost:3000/gcm_devices"},{"rel":"league_registrant_documents","href":"http://localhost:3000/league_registrant_documents"},{"rel":"locations","href":"http://localhost:3000/locations"},{"rel":"me","href":"http://localhost:3000/me"},{"rel":"member_email_addresses","href":"http://localhost:3000/member_email_addresses"},{"rel":"member_balances","href":"http://localhost:3000/member_balances"},{"rel":"member_files","href":"http://localhost:3000/member_files"},{"rel":"member_links","href":"http://localhost:3000/member_links"},{"rel":"member_payments","href":"http://localhost:3000/member_payments"},{"rel":"member_phone_numbers","href":"http://localhost:3000/member_phone_numbers"},{"rel":"member_statistics","href":"http://localhost:3000/member_statistics"},{"rel":"members","href":"http://localhost:3000/members"},{"rel":"members_preferences","href":"http://localhost:3000/members_preferences"},{"rel":"opponents","href":"http://localhost:3000/opponents"},{"rel":"opponents_results","href":"http://localhost:3000/opponents_results"},{"rel":"payment_notes","href":"http://localhost:3000/payment_notes"},{"rel":"paypal_currencies","href":"http://localhost:3000/paypal_currencies"},{"rel":"plans","href":"http://localhost:3000/plans"},{"rel":"plans_all","href":"http://localhost:3000/plans/all"},{"rel":"public_features","href":"http://localhost:3000/public_features"},{"rel":"schemas","href":"http://localhost:3000/schemas"},{"rel":"sms_gateways","href":"http://localhost:3000/sms_gateways"},{"rel":"sponsors","href":"http://localhost:3000/sponsors"},{"rel":"sports","href":"http://localhost:3000/sports"},{"rel":"statistics","href":"http://localhost:3000/statistics"},{"rel":"statistic_aggregates","href":"http://localhost:3000/statistic_aggregates"},{"rel":"statistic_data","href":"http://localhost:3000/statistic_data"},{"rel":"statistic_groups","href":"http://localhost:3000/statistic_groups"},{"rel":"team_fees","href":"http://localhost:3000/team_fees"},{"rel":"team_media","href":"http://localhost:3000/team_media"},{"rel":"team_medium_comments","href":"http://localhost:3000/team_medium_comments"},{"rel":"team_media_groups","href":"http://localhost:3000/team_media_groups"},{"rel":"team_public_sites","href":"http://localhost:3000/team_public_sites"},{"rel":"teams","href":"http://localhost:3000/teams"},{"rel":"teams_paypal_preferences","href":"http://localhost:3000/teams_paypal_preferences"},{"rel":"teams_preferences","href":"http://localhost:3000/teams_preferences"},{"rel":"teams_results","href":"http://localhost:3000/teams_results"},{"rel":"team_statistics","href":"http://localhost:3000/team_statistics"},{"rel":"time_zones","href":"http://localhost:3000/time_zones"},{"rel":"tracked_item_statuses","href":"http://localhost:3000/tracked_item_statuses"},{"rel":"tracked_items","href":"http://localhost:3000/tracked_items"},{"rel":"tsl_metadata","href":"http://localhost:3000/tsl_metadata"},{"rel":"tsl_chats","href":"http://localhost:3000/tsl_chats"},{"rel":"tsl_photos","href":"http://localhost:3000/tsl_photos"},{"rel":"tsl_scores","href":"http://localhost:3000/tsl_scores"},{"rel":"users","href":"http://localhost:3000/users"},{"rel":"dude","href":"http://localhost:3000/dude"},{"rel":"sweet","href":"http://localhost:3000/sweet"},{"rel":"random","href":"http://localhost:3000/random"},{"rel":"xyzzy","href":"http://localhost:3000/xyzzy"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/"}],"queries":[{"rel":"bulk_load","href":"http://localhost:3000/bulk_load","prompt":"Returns
|
40
|
-
a heterogeneous collection of the specified types. Additional filters can
|
41
|
-
be passed into requested types by passing them in the url''s querystring as
|
42
|
-
type__filter=value (i.e. ?event__start_date=2015-01-01). Any filter can be
|
43
|
-
passed that is available on the search for the specified type.","data":[{"name":"scope_to","value":null,"prompt":"A
|
44
|
-
comma separated list of singular types that you would like to scope the rest
|
45
|
-
of the related result sets to. For instance, scoping assignments to events
|
46
|
-
and providing a filter on events will return only assignments for the events
|
47
|
-
returned."},{"name":"team_id","value":null},{"name":"types","value":null,"prompt":"A
|
48
|
-
comma separated list of singular types that you want returned."}]},{"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
|
49
|
-
any pending invitations for a specified email address","data":[{"name":"email_address","value":null}]},{"rel":"welcome","href":"http://localhost:3000/welcome","prompt":"Send
|
50
|
-
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
|
51
|
-
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}]}]}}'
|
52
|
-
http_version: '1.1'
|
53
|
-
adapter_metadata:
|
54
|
-
effective_url: http://localhost:3000/?hmac_client_id=classic&hmac_nonce=3ce40e4d-3f8c-4cd4-9859-1bf657036a32&hmac_timestamp=1457660632
|
55
|
-
recorded_at: Fri, 11 Mar 2016 01:43:53 GMT
|
56
|
-
- request:
|
57
|
-
method: get
|
58
|
-
uri: http://localhost:3000/teams?hmac_client_id=classic&hmac_nonce=4d606da0-64ef-452f-9150-caa30d372d07&hmac_timestamp=1457726127
|
59
|
-
body:
|
60
|
-
encoding: US-ASCII
|
61
|
-
string: ''
|
62
|
-
headers:
|
63
|
-
User-Agent:
|
64
|
-
- Faraday v0.9.1
|
65
|
-
X-Teamsnap-Hmac:
|
66
|
-
- 14bf6c7148d2ae1e3ef1470938f57c86dc7d0e4990ee30db49d12056a05b5b9a
|
67
|
-
response:
|
68
|
-
status:
|
69
|
-
code: 200
|
70
|
-
message: OK
|
71
|
-
headers:
|
72
|
-
Content-Type:
|
73
|
-
- application/vnd.collection+json
|
74
|
-
Content-Length:
|
75
|
-
- '7294'
|
76
|
-
X-Content-Type-Options:
|
77
|
-
- nosniff
|
78
|
-
ETag:
|
79
|
-
- '"aaed38e6a584abdced4b0014bb675e26"'
|
80
|
-
Cache-Control:
|
81
|
-
- max-age=0, private, must-revalidate
|
82
|
-
X-Request-Id:
|
83
|
-
- 21004209-e516-4b65-879d-aefed6c8003a
|
84
|
-
X-Runtime:
|
85
|
-
- '0.053284'
|
86
|
-
Connection:
|
87
|
-
- keep-alive
|
88
|
-
Server:
|
89
|
-
- thin
|
90
|
-
body:
|
91
|
-
encoding: UTF-8
|
92
|
-
string: '{"collection":{"version":"3.203.1","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
|
93
|
-
time_zone parameter is required when creating a team, but for changing a team''s
|
94
|
-
time_zone, use the update_time_zone command"},{"name":"sport_id","value":null},{"name":"division_name","value":null},{"name":"season_name","value":null},{"name":"league_name","value":null},{"name":"league_url","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":"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_statistics","href":"http://localhost:3000/member_statistics"},{"rel":"members","href":"http://localhost:3000/members"},{"rel":"members_preferences","href":"http://localhost:3000/members_preferences"},{"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_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"}],"queries":[{"rel":"search","href":"http://localhost:3000/teams/search","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
|
95
|
-
number of items to return for each page. Sending this parameter with the query
|
96
|
-
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
97
|
-
number of the page to be returned. This requires that paging be turned on
|
98
|
-
by also providing the page_size parameter."}]},{"rel":"available_for_statistic_import","href":"http://localhost:3000/teams/available_for_statistic_import","prompt":"Finds
|
99
|
-
all teams accessible to current user that have the provided sport_id and have
|
100
|
-
at least one statistic to import","data":[{"name":"sport_id","value":null}]},{"rel":"active_teams","href":"http://localhost:3000/teams/active","prompt":"Finds
|
101
|
-
all active teams for a given user. Excludes archived seasons and retired teams.","data":[{"name":"user_id","value":null}]}],"commands":[{"rel":"invite","href":"http://localhost:3000/teams/invite","prompt":"invite
|
102
|
-
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
|
103
|
-
team''s time zone. This is currently the only method of updating a team''s
|
104
|
-
time zone.","data":[{"name":"team_id","value":null},{"name":"time_zone","value":null},{"name":"offset_team_times","value":null}]},{"rel":"reset_statistics","href":"http://localhost:3000/teams/reset_statistics","prompt":"Deletes
|
105
|
-
all data, categories and groups for a given team_id","data":[{"name":"team_id","value":null}]}]}}'
|
106
|
-
http_version: '1.1'
|
107
|
-
adapter_metadata:
|
108
|
-
effective_url: http://localhost:3000/teams?hmac_client_id=classic&hmac_nonce=4d606da0-64ef-452f-9150-caa30d372d07&hmac_timestamp=1457726127
|
109
|
-
recorded_at: Fri, 11 Mar 2016 19:55:27 GMT
|
110
|
-
recorded_with: VCR 2.9.3
|
data/spec/cassettes/structure/_create_collection_class/sets_the_href_attribute_on_the_new_class.yml
DELETED
@@ -1,57 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: http://localhost:3000/teams?hmac_client_id=classic&hmac_nonce=675ecb4a-5d2f-4213-933d-ecc981be5911&hmac_timestamp=1457726127
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
11
|
-
- Faraday v0.9.1
|
12
|
-
X-Teamsnap-Hmac:
|
13
|
-
- e142e0ae3ac75414e9a667fc4b687bd455e7a513d8c6b43aa8f03a74c17c2959
|
14
|
-
response:
|
15
|
-
status:
|
16
|
-
code: 200
|
17
|
-
message: OK
|
18
|
-
headers:
|
19
|
-
Content-Type:
|
20
|
-
- application/vnd.collection+json
|
21
|
-
Content-Length:
|
22
|
-
- '7294'
|
23
|
-
X-Content-Type-Options:
|
24
|
-
- nosniff
|
25
|
-
ETag:
|
26
|
-
- '"aaed38e6a584abdced4b0014bb675e26"'
|
27
|
-
Cache-Control:
|
28
|
-
- max-age=0, private, must-revalidate
|
29
|
-
X-Request-Id:
|
30
|
-
- 5cded57a-2bfc-49da-941a-12f358803550
|
31
|
-
X-Runtime:
|
32
|
-
- '0.060478'
|
33
|
-
Connection:
|
34
|
-
- keep-alive
|
35
|
-
Server:
|
36
|
-
- thin
|
37
|
-
body:
|
38
|
-
encoding: UTF-8
|
39
|
-
string: '{"collection":{"version":"3.203.1","href":"http://localhost:3000/teams","rel":"teams","template":{"data":[{"name":"name","value":null},{"name":"location_country","value":null},{"name":"location_postal_code","value":null},{"name":"time_zone","value":null,"prompt":"The
|
40
|
-
time_zone parameter is required when creating a team, but for changing a team''s
|
41
|
-
time_zone, use the update_time_zone command"},{"name":"sport_id","value":null},{"name":"division_name","value":null},{"name":"season_name","value":null},{"name":"league_name","value":null},{"name":"league_url","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":"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_statistics","href":"http://localhost:3000/member_statistics"},{"rel":"members","href":"http://localhost:3000/members"},{"rel":"members_preferences","href":"http://localhost:3000/members_preferences"},{"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_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"}],"queries":[{"rel":"search","href":"http://localhost:3000/teams/search","data":[{"name":"id","value":null},{"name":"team_id","value":null},{"name":"user_id","value":null},{"name":"division_id","value":null},{"name":"page_size","value":null,"prompt":"The
|
42
|
-
number of items to return for each page. Sending this parameter with the query
|
43
|
-
will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
|
44
|
-
number of the page to be returned. This requires that paging be turned on
|
45
|
-
by also providing the page_size parameter."}]},{"rel":"available_for_statistic_import","href":"http://localhost:3000/teams/available_for_statistic_import","prompt":"Finds
|
46
|
-
all teams accessible to current user that have the provided sport_id and have
|
47
|
-
at least one statistic to import","data":[{"name":"sport_id","value":null}]},{"rel":"active_teams","href":"http://localhost:3000/teams/active","prompt":"Finds
|
48
|
-
all active teams for a given user. Excludes archived seasons and retired teams.","data":[{"name":"user_id","value":null}]}],"commands":[{"rel":"invite","href":"http://localhost:3000/teams/invite","prompt":"invite
|
49
|
-
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
|
50
|
-
team''s time zone. This is currently the only method of updating a team''s
|
51
|
-
time zone.","data":[{"name":"team_id","value":null},{"name":"time_zone","value":null},{"name":"offset_team_times","value":null}]},{"rel":"reset_statistics","href":"http://localhost:3000/teams/reset_statistics","prompt":"Deletes
|
52
|
-
all data, categories and groups for a given team_id","data":[{"name":"team_id","value":null}]}]}}'
|
53
|
-
http_version: '1.1'
|
54
|
-
adapter_metadata:
|
55
|
-
effective_url: http://localhost:3000/teams?hmac_client_id=classic&hmac_nonce=675ecb4a-5d2f-4213-933d-ecc981be5911&hmac_timestamp=1457726127
|
56
|
-
recorded_at: Fri, 11 Mar 2016 19:55:27 GMT
|
57
|
-
recorded_with: VCR 2.9.3
|
@@ -1,56 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: http://localhost:3000/?hmac_client_id=classic&hmac_nonce=9b885823-b079-41d3-bef8-afc976c25b29&hmac_timestamp=1457726127
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
11
|
-
- Faraday v0.9.1
|
12
|
-
X-Teamsnap-Hmac:
|
13
|
-
- 5390052856f69a1f3aca0283580997ea8b55f4f7ae8ea5bcbcf4842efd27db8c
|
14
|
-
response:
|
15
|
-
status:
|
16
|
-
code: 200
|
17
|
-
message: OK
|
18
|
-
headers:
|
19
|
-
Content-Type:
|
20
|
-
- application/vnd.collection+json
|
21
|
-
Content-Length:
|
22
|
-
- '8659'
|
23
|
-
X-Content-Type-Options:
|
24
|
-
- nosniff
|
25
|
-
ETag:
|
26
|
-
- '"fc884effc6fadd0c896b28926a3a881b"'
|
27
|
-
Cache-Control:
|
28
|
-
- max-age=0, private, must-revalidate
|
29
|
-
X-Request-Id:
|
30
|
-
- dd7a9de4-e28e-414e-bc88-37a40ae3c8a3
|
31
|
-
X-Runtime:
|
32
|
-
- '0.037639'
|
33
|
-
Connection:
|
34
|
-
- keep-alive
|
35
|
-
Server:
|
36
|
-
- thin
|
37
|
-
body:
|
38
|
-
encoding: UTF-8
|
39
|
-
string: '{"collection":{"version":"3.203.1","href":"http://localhost:3000/","rel":"root","links":[{"rel":"apiv2_root","href":"http://localhost:3003"},{"rel":"authorization","href":"http://localhost:3004"},{"rel":"apn_devices","href":"http://localhost:3000/apn_devices"},{"rel":"assignments","href":"http://localhost:3000/assignments"},{"rel":"availabilities","href":"http://localhost:3000/availabilities"},{"rel":"broadcast_email_attachments","href":"http://localhost:3000/broadcast_email_attachments"},{"rel":"broadcast_emails","href":"http://localhost:3000/broadcast_emails"},{"rel":"broadcast_alerts","href":"http://localhost:3000/broadcast_alerts"},{"rel":"contact_email_addresses","href":"http://localhost:3000/contact_email_addresses"},{"rel":"contact_phone_numbers","href":"http://localhost:3000/contact_phone_numbers"},{"rel":"contacts","href":"http://localhost:3000/contacts"},{"rel":"countries","href":"http://localhost:3000/countries"},{"rel":"custom_data","href":"http://localhost:3000/custom_data"},{"rel":"custom_fields","href":"http://localhost:3000/custom_fields"},{"rel":"league_custom_data","href":"http://localhost:3000/league_custom_data"},{"rel":"league_custom_fields","href":"http://localhost:3000/league_custom_fields"},{"rel":"divisions","href":"http://localhost:3000/divisions"},{"rel":"division_contact_email_addresses","href":"http://localhost:3000/division_contact_email_addresses"},{"rel":"division_contact_phone_numbers","href":"http://localhost:3000/division_contact_phone_numbers"},{"rel":"division_contacts","href":"http://localhost:3000/division_contacts"},{"rel":"division_events","href":"http://localhost:3000/division_events"},{"rel":"division_locations","href":"http://localhost:3000/division_locations"},{"rel":"division_member_email_addresses","href":"http://localhost:3000/division_member_email_addresses"},{"rel":"division_member_phone_numbers","href":"http://localhost:3000/division_member_phone_numbers"},{"rel":"division_members","href":"http://localhost:3000/division_members"},{"rel":"division_members_preferences","href":"http://localhost:3000/division_members_preferences"},{"rel":"division_team_standings","href":"http://localhost:3000/division_team_standings"},{"rel":"divisions_preferences","href":"http://localhost:3000/divisions_preferences"},{"rel":"event_statistics","href":"http://localhost:3000/event_statistics"},{"rel":"events","href":"http://localhost:3000/events"},{"rel":"facebook_pages","href":"http://localhost:3000/facebook_pages"},{"rel":"forecasts","href":"http://localhost:3000/forecasts"},{"rel":"forum_posts","href":"http://localhost:3000/forum_posts"},{"rel":"forum_subscriptions","href":"http://localhost:3000/forum_subscriptions"},{"rel":"forum_topics","href":"http://localhost:3000/forum_topics"},{"rel":"geocoded_locations","href":"http://localhost:3000/geocoded_locations"},{"rel":"gcm_devices","href":"http://localhost:3000/gcm_devices"},{"rel":"league_registrant_documents","href":"http://localhost:3000/league_registrant_documents"},{"rel":"locations","href":"http://localhost:3000/locations"},{"rel":"me","href":"http://localhost:3000/me"},{"rel":"member_email_addresses","href":"http://localhost:3000/member_email_addresses"},{"rel":"member_balances","href":"http://localhost:3000/member_balances"},{"rel":"member_files","href":"http://localhost:3000/member_files"},{"rel":"member_links","href":"http://localhost:3000/member_links"},{"rel":"member_payments","href":"http://localhost:3000/member_payments"},{"rel":"member_phone_numbers","href":"http://localhost:3000/member_phone_numbers"},{"rel":"member_statistics","href":"http://localhost:3000/member_statistics"},{"rel":"members","href":"http://localhost:3000/members"},{"rel":"members_preferences","href":"http://localhost:3000/members_preferences"},{"rel":"opponents","href":"http://localhost:3000/opponents"},{"rel":"opponents_results","href":"http://localhost:3000/opponents_results"},{"rel":"payment_notes","href":"http://localhost:3000/payment_notes"},{"rel":"paypal_currencies","href":"http://localhost:3000/paypal_currencies"},{"rel":"plans","href":"http://localhost:3000/plans"},{"rel":"plans_all","href":"http://localhost:3000/plans/all"},{"rel":"public_features","href":"http://localhost:3000/public_features"},{"rel":"schemas","href":"http://localhost:3000/schemas"},{"rel":"sms_gateways","href":"http://localhost:3000/sms_gateways"},{"rel":"sponsors","href":"http://localhost:3000/sponsors"},{"rel":"sports","href":"http://localhost:3000/sports"},{"rel":"statistics","href":"http://localhost:3000/statistics"},{"rel":"statistic_aggregates","href":"http://localhost:3000/statistic_aggregates"},{"rel":"statistic_data","href":"http://localhost:3000/statistic_data"},{"rel":"statistic_groups","href":"http://localhost:3000/statistic_groups"},{"rel":"team_fees","href":"http://localhost:3000/team_fees"},{"rel":"team_media","href":"http://localhost:3000/team_media"},{"rel":"team_medium_comments","href":"http://localhost:3000/team_medium_comments"},{"rel":"team_media_groups","href":"http://localhost:3000/team_media_groups"},{"rel":"team_public_sites","href":"http://localhost:3000/team_public_sites"},{"rel":"teams","href":"http://localhost:3000/teams"},{"rel":"teams_paypal_preferences","href":"http://localhost:3000/teams_paypal_preferences"},{"rel":"teams_preferences","href":"http://localhost:3000/teams_preferences"},{"rel":"teams_results","href":"http://localhost:3000/teams_results"},{"rel":"team_statistics","href":"http://localhost:3000/team_statistics"},{"rel":"time_zones","href":"http://localhost:3000/time_zones"},{"rel":"tracked_item_statuses","href":"http://localhost:3000/tracked_item_statuses"},{"rel":"tracked_items","href":"http://localhost:3000/tracked_items"},{"rel":"tsl_metadata","href":"http://localhost:3000/tsl_metadata"},{"rel":"tsl_chats","href":"http://localhost:3000/tsl_chats"},{"rel":"tsl_photos","href":"http://localhost:3000/tsl_photos"},{"rel":"tsl_scores","href":"http://localhost:3000/tsl_scores"},{"rel":"users","href":"http://localhost:3000/users"},{"rel":"dude","href":"http://localhost:3000/dude"},{"rel":"sweet","href":"http://localhost:3000/sweet"},{"rel":"random","href":"http://localhost:3000/random"},{"rel":"xyzzy","href":"http://localhost:3000/xyzzy"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/"}],"queries":[{"rel":"bulk_load","href":"http://localhost:3000/bulk_load","prompt":"Returns
|
40
|
-
a heterogeneous collection of the specified types. Additional filters can
|
41
|
-
be passed into requested types by passing them in the url''s querystring as
|
42
|
-
type__filter=value (i.e. ?event__start_date=2015-01-01). Any filter can be
|
43
|
-
passed that is available on the search for the specified type.","data":[{"name":"scope_to","value":null,"prompt":"A
|
44
|
-
comma separated list of singular types that you would like to scope the rest
|
45
|
-
of the related result sets to. For instance, scoping assignments to events
|
46
|
-
and providing a filter on events will return only assignments for the events
|
47
|
-
returned."},{"name":"team_id","value":null},{"name":"types","value":null,"prompt":"A
|
48
|
-
comma separated list of singular types that you want returned."}]},{"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
|
49
|
-
any pending invitations for a specified email address","data":[{"name":"email_address","value":null}]},{"rel":"welcome","href":"http://localhost:3000/welcome","prompt":"Send
|
50
|
-
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
|
51
|
-
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}]}]}}'
|
52
|
-
http_version: '1.1'
|
53
|
-
adapter_metadata:
|
54
|
-
effective_url: http://localhost:3000/?hmac_client_id=classic&hmac_nonce=9b885823-b079-41d3-bef8-afc976c25b29&hmac_timestamp=1457726127
|
55
|
-
recorded_at: Fri, 11 Mar 2016 19:55:27 GMT
|
56
|
-
recorded_with: VCR 2.9.3
|
@@ -1,56 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: http://localhost:3000/?hmac_client_id=classic&hmac_nonce=907072ee-c8cb-4fec-8416-73421d4b7284&hmac_timestamp=1457653020
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
11
|
-
- Faraday v0.9.1
|
12
|
-
X-Teamsnap-Hmac:
|
13
|
-
- 36abae00c15a288fae355a5f1337592c188b1af1f70f2bdc3d30926773ba3208
|
14
|
-
response:
|
15
|
-
status:
|
16
|
-
code: 200
|
17
|
-
message: OK
|
18
|
-
headers:
|
19
|
-
Content-Type:
|
20
|
-
- application/vnd.collection+json
|
21
|
-
Content-Length:
|
22
|
-
- '8659'
|
23
|
-
X-Content-Type-Options:
|
24
|
-
- nosniff
|
25
|
-
ETag:
|
26
|
-
- '"fc884effc6fadd0c896b28926a3a881b"'
|
27
|
-
Cache-Control:
|
28
|
-
- max-age=0, private, must-revalidate
|
29
|
-
X-Request-Id:
|
30
|
-
- 65e68279-9f34-433e-aee0-e7ea64259f2c
|
31
|
-
X-Runtime:
|
32
|
-
- '0.035772'
|
33
|
-
Connection:
|
34
|
-
- keep-alive
|
35
|
-
Server:
|
36
|
-
- thin
|
37
|
-
body:
|
38
|
-
encoding: UTF-8
|
39
|
-
string: '{"collection":{"version":"3.203.1","href":"http://localhost:3000/","rel":"root","links":[{"rel":"apiv2_root","href":"http://localhost:3003"},{"rel":"authorization","href":"http://localhost:3004"},{"rel":"apn_devices","href":"http://localhost:3000/apn_devices"},{"rel":"assignments","href":"http://localhost:3000/assignments"},{"rel":"availabilities","href":"http://localhost:3000/availabilities"},{"rel":"broadcast_email_attachments","href":"http://localhost:3000/broadcast_email_attachments"},{"rel":"broadcast_emails","href":"http://localhost:3000/broadcast_emails"},{"rel":"broadcast_alerts","href":"http://localhost:3000/broadcast_alerts"},{"rel":"contact_email_addresses","href":"http://localhost:3000/contact_email_addresses"},{"rel":"contact_phone_numbers","href":"http://localhost:3000/contact_phone_numbers"},{"rel":"contacts","href":"http://localhost:3000/contacts"},{"rel":"countries","href":"http://localhost:3000/countries"},{"rel":"custom_data","href":"http://localhost:3000/custom_data"},{"rel":"custom_fields","href":"http://localhost:3000/custom_fields"},{"rel":"league_custom_data","href":"http://localhost:3000/league_custom_data"},{"rel":"league_custom_fields","href":"http://localhost:3000/league_custom_fields"},{"rel":"divisions","href":"http://localhost:3000/divisions"},{"rel":"division_contact_email_addresses","href":"http://localhost:3000/division_contact_email_addresses"},{"rel":"division_contact_phone_numbers","href":"http://localhost:3000/division_contact_phone_numbers"},{"rel":"division_contacts","href":"http://localhost:3000/division_contacts"},{"rel":"division_events","href":"http://localhost:3000/division_events"},{"rel":"division_locations","href":"http://localhost:3000/division_locations"},{"rel":"division_member_email_addresses","href":"http://localhost:3000/division_member_email_addresses"},{"rel":"division_member_phone_numbers","href":"http://localhost:3000/division_member_phone_numbers"},{"rel":"division_members","href":"http://localhost:3000/division_members"},{"rel":"division_members_preferences","href":"http://localhost:3000/division_members_preferences"},{"rel":"division_team_standings","href":"http://localhost:3000/division_team_standings"},{"rel":"divisions_preferences","href":"http://localhost:3000/divisions_preferences"},{"rel":"event_statistics","href":"http://localhost:3000/event_statistics"},{"rel":"events","href":"http://localhost:3000/events"},{"rel":"facebook_pages","href":"http://localhost:3000/facebook_pages"},{"rel":"forecasts","href":"http://localhost:3000/forecasts"},{"rel":"forum_posts","href":"http://localhost:3000/forum_posts"},{"rel":"forum_subscriptions","href":"http://localhost:3000/forum_subscriptions"},{"rel":"forum_topics","href":"http://localhost:3000/forum_topics"},{"rel":"geocoded_locations","href":"http://localhost:3000/geocoded_locations"},{"rel":"gcm_devices","href":"http://localhost:3000/gcm_devices"},{"rel":"league_registrant_documents","href":"http://localhost:3000/league_registrant_documents"},{"rel":"locations","href":"http://localhost:3000/locations"},{"rel":"me","href":"http://localhost:3000/me"},{"rel":"member_email_addresses","href":"http://localhost:3000/member_email_addresses"},{"rel":"member_balances","href":"http://localhost:3000/member_balances"},{"rel":"member_files","href":"http://localhost:3000/member_files"},{"rel":"member_links","href":"http://localhost:3000/member_links"},{"rel":"member_payments","href":"http://localhost:3000/member_payments"},{"rel":"member_phone_numbers","href":"http://localhost:3000/member_phone_numbers"},{"rel":"member_statistics","href":"http://localhost:3000/member_statistics"},{"rel":"members","href":"http://localhost:3000/members"},{"rel":"members_preferences","href":"http://localhost:3000/members_preferences"},{"rel":"opponents","href":"http://localhost:3000/opponents"},{"rel":"opponents_results","href":"http://localhost:3000/opponents_results"},{"rel":"payment_notes","href":"http://localhost:3000/payment_notes"},{"rel":"paypal_currencies","href":"http://localhost:3000/paypal_currencies"},{"rel":"plans","href":"http://localhost:3000/plans"},{"rel":"plans_all","href":"http://localhost:3000/plans/all"},{"rel":"public_features","href":"http://localhost:3000/public_features"},{"rel":"schemas","href":"http://localhost:3000/schemas"},{"rel":"sms_gateways","href":"http://localhost:3000/sms_gateways"},{"rel":"sponsors","href":"http://localhost:3000/sponsors"},{"rel":"sports","href":"http://localhost:3000/sports"},{"rel":"statistics","href":"http://localhost:3000/statistics"},{"rel":"statistic_aggregates","href":"http://localhost:3000/statistic_aggregates"},{"rel":"statistic_data","href":"http://localhost:3000/statistic_data"},{"rel":"statistic_groups","href":"http://localhost:3000/statistic_groups"},{"rel":"team_fees","href":"http://localhost:3000/team_fees"},{"rel":"team_media","href":"http://localhost:3000/team_media"},{"rel":"team_medium_comments","href":"http://localhost:3000/team_medium_comments"},{"rel":"team_media_groups","href":"http://localhost:3000/team_media_groups"},{"rel":"team_public_sites","href":"http://localhost:3000/team_public_sites"},{"rel":"teams","href":"http://localhost:3000/teams"},{"rel":"teams_paypal_preferences","href":"http://localhost:3000/teams_paypal_preferences"},{"rel":"teams_preferences","href":"http://localhost:3000/teams_preferences"},{"rel":"teams_results","href":"http://localhost:3000/teams_results"},{"rel":"team_statistics","href":"http://localhost:3000/team_statistics"},{"rel":"time_zones","href":"http://localhost:3000/time_zones"},{"rel":"tracked_item_statuses","href":"http://localhost:3000/tracked_item_statuses"},{"rel":"tracked_items","href":"http://localhost:3000/tracked_items"},{"rel":"tsl_metadata","href":"http://localhost:3000/tsl_metadata"},{"rel":"tsl_chats","href":"http://localhost:3000/tsl_chats"},{"rel":"tsl_photos","href":"http://localhost:3000/tsl_photos"},{"rel":"tsl_scores","href":"http://localhost:3000/tsl_scores"},{"rel":"users","href":"http://localhost:3000/users"},{"rel":"dude","href":"http://localhost:3000/dude"},{"rel":"sweet","href":"http://localhost:3000/sweet"},{"rel":"random","href":"http://localhost:3000/random"},{"rel":"xyzzy","href":"http://localhost:3000/xyzzy"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/"}],"queries":[{"rel":"bulk_load","href":"http://localhost:3000/bulk_load","prompt":"Returns
|
40
|
-
a heterogeneous collection of the specified types. Additional filters can
|
41
|
-
be passed into requested types by passing them in the url''s querystring as
|
42
|
-
type__filter=value (i.e. ?event__start_date=2015-01-01). Any filter can be
|
43
|
-
passed that is available on the search for the specified type.","data":[{"name":"scope_to","value":null,"prompt":"A
|
44
|
-
comma separated list of singular types that you would like to scope the rest
|
45
|
-
of the related result sets to. For instance, scoping assignments to events
|
46
|
-
and providing a filter on events will return only assignments for the events
|
47
|
-
returned."},{"name":"team_id","value":null},{"name":"types","value":null,"prompt":"A
|
48
|
-
comma separated list of singular types that you want returned."}]},{"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
|
49
|
-
any pending invitations for a specified email address","data":[{"name":"email_address","value":null}]},{"rel":"welcome","href":"http://localhost:3000/welcome","prompt":"Send
|
50
|
-
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
|
51
|
-
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}]}]}}'
|
52
|
-
http_version: '1.1'
|
53
|
-
adapter_metadata:
|
54
|
-
effective_url: http://localhost:3000/?hmac_client_id=classic&hmac_nonce=907072ee-c8cb-4fec-8416-73421d4b7284&hmac_timestamp=1457653020
|
55
|
-
recorded_at: Thu, 10 Mar 2016 23:37:00 GMT
|
56
|
-
recorded_with: VCR 2.9.3
|