teamsnap_rb 2.0.0.beta6 → 2.0.0.beta7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +5 -0
  3. data/Gemfile +1 -0
  4. data/lib/teamsnap/item.rb +9 -2
  5. data/lib/teamsnap/version.rb +1 -1
  6. data/spec/cassettes/apiv3-init.yml +241 -166
  7. data/spec/cassettes/teamsnap__client/when_calling_via_s_on_the_client/does_not_raise_an_error_when_the_HTTP_actions_are_called.yml +12 -10
  8. data/spec/cassettes/teamsnap__client/when_calling_via_s_on_the_client/passes_them_to_the_faraday_client_using_method_missing.yml +12 -10
  9. data/spec/cassettes/teamsnap__collection/adds_find_if_search_is_available.yml +19 -14
  10. data/spec/cassettes/teamsnap__collection/adds_href_to_items.yml +20 -13
  11. data/spec/cassettes/teamsnap__collection/can_follow_plural_links.yml +87 -45
  12. data/spec/cassettes/teamsnap__collection/can_follow_singular_links.yml +39 -27
  13. data/spec/cassettes/teamsnap__collection/can_handle_links_with_no_data.yml +28 -21
  14. data/spec/cassettes/teamsnap__collection/handles_executing_an_action_via_commands.yml +20 -13
  15. data/spec/cassettes/teamsnap__collection/handles_executing_an_action_via_commands_with_multiple_params.yml +19 -11
  16. data/spec/cassettes/teamsnap__collection/handles_fetching_data_via_queries.yml +19 -14
  17. data/spec/cassettes/teamsnap__collection/handles_queries_with_no_data.yml +15 -11
  18. data/spec/cassettes/teamsnap__collection/raises_an_exception_if_find_returns_nothing.yml +15 -11
  19. 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 +26 -24
  20. 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 +22 -20
  21. 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 +25 -22
  22. data/spec/cassettes/teamsnap__collection/supports_relations_with_expected_behaviors/when_a_singular_relation_is_called/responds_with_the_object_if_it_exists.yml +33 -26
  23. data/spec/cassettes/teamsnap__structure/_create_collection_class/registers_new_classes_via_introspection_of_the_root_collection.yml +15 -11
  24. data/spec/cassettes/teamsnap__structure/_create_collection_class/sets_the_href_attribute_on_the_new_class.yml +15 -11
  25. data/spec/cassettes/teamsnap__structure/_init/has_all_classes_in_schema_loaded_except_for_exceptions_list_endpoints.yml +12 -10
  26. data/spec/cassettes/teamsnap_rb/_bulk_load/can_handle_an_empty_bulk_load.yml +8 -8
  27. data/spec/cassettes/teamsnap_rb/_bulk_load/can_handle_an_error_with_bulk_load_without_a_team_id.yml +6 -6
  28. data/spec/cassettes/teamsnap_rb/_bulk_load/can_use_bulk_load.yml +65 -32
  29. data/spec/cassettes/teamsnap_rb/_client_send/when_sent_a_known_via_/calls_DELETE_on_the_given_client.yml +242 -85
  30. data/spec/cassettes/teamsnap_rb/_client_send/when_sent_a_known_via_/calls_GET_on_the_given_client.yml +12 -10
  31. data/spec/cassettes/teamsnap_rb/_client_send/when_sent_a_known_via_/calls_PATCH_on_the_given_client.yml +242 -85
  32. data/spec/cassettes/teamsnap_rb/_client_send/when_sent_a_known_via_/calls_POST_on_the_given_client.yml +242 -85
  33. data/spec/cassettes/teamsnap_rb/_run/processes_the_response.yml +48 -40
  34. data/spec/spec_helper.rb +1 -0
  35. data/spec/teamsnap/item_spec.rb +35 -0
  36. data/spec/teamsnap_spec.rb +1 -1
  37. metadata +2 -2
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://localhost:3000/teams/search?id=0&hmac_client_id=classic&hmac_nonce=05fb0578-afb6-4f76-acf5-e6a0db39b3f3&hmac_timestamp=1458775791
5
+ uri: http://localhost:3000/teams/search?id=0&hmac_client_id=classic&hmac_nonce=cb3f08c3-4175-48fd-ab35-f859e500088b&hmac_timestamp=1464801841
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -10,7 +10,7 @@ http_interactions:
10
10
  User-Agent:
11
11
  - Faraday v0.9.2
12
12
  X-Teamsnap-Hmac:
13
- - cfdcb4ce4cc154f7cf09a263da26fabb3c3f3f21c22908ffdfc9ccfc94f72611
13
+ - 3d9ad5e3d6c7f3f298d811a4658ada6282e2d490aa03b7a9d0979bdd7293a0cb
14
14
  response:
15
15
  status:
16
16
  code: 200
@@ -19,26 +19,26 @@ http_interactions:
19
19
  Content-Type:
20
20
  - application/vnd.collection+json
21
21
  Content-Length:
22
- - '7306'
22
+ - '8343'
23
23
  X-Content-Type-Options:
24
24
  - nosniff
25
25
  ETag:
26
- - '"14069169df93c5c4a1f16de928335e67"'
26
+ - '"9ead7d878f1fbd575e82bf01233aedc5"'
27
27
  Cache-Control:
28
28
  - max-age=0, private, must-revalidate
29
29
  X-Request-Id:
30
- - 8f152dcc-ddf5-4552-9da6-8ae437b6e8c9
30
+ - bc580f89-568d-4f5b-a0fd-62a5df0fa8c1
31
31
  X-Runtime:
32
- - '0.081295'
32
+ - '0.085983'
33
33
  Connection:
34
34
  - keep-alive
35
35
  Server:
36
36
  - thin
37
37
  body:
38
38
  encoding: UTF-8
39
- string: '{"collection":{"version":"3.207.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
39
+ string: '{"collection":{"version":"3.276.0","href":"http://localhost:3000/teams","rel":"teams","template":{"data":[{"name":"name","value":null},{"name":"location_country","value":null},{"name":"location_postal_code","value":null},{"name":"time_zone","value":null,"prompt":"The
40
40
  time_zone parameter is required when creating a team, but for changing a team''s
41
- time_zone, use the update_time_zone command"},{"name":"sport_id","value":null},{"name":"division_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/search?id=0"}],"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
41
+ time_zone, use the update_time_zone command"},{"name":"sport_id","value":null},{"name":"division_id","value":null},{"name":"division_name","value":null},{"name":"season_name","value":null},{"name":"league_name","value":null},{"name":"league_url","value":null},{"name":"owner_first_name","value":null},{"name":"owner_last_name","value":null},{"name":"owner_email","value":null},{"name":"is_ownership_pending","value":null},{"name":"type","value":"team"}]},"links":[{"rel":"active_season_team","href":"http://localhost:3000/teams"},{"rel":"assignments","href":"http://localhost:3000/assignments"},{"rel":"availabilities","href":"http://localhost:3000/availabilities"},{"rel":"broadcast_email_attachments","href":"http://localhost:3000/broadcast_email_attachments"},{"rel":"broadcast_emails","href":"http://localhost:3000/broadcast_emails"},{"rel":"broadcast_alerts","href":"http://localhost:3000/broadcast_alerts"},{"rel":"commissioners","href":"http://localhost:3000/members"},{"rel":"contact_email_addresses","href":"http://localhost:3000/contact_email_addresses"},{"rel":"contact_phone_numbers","href":"http://localhost:3000/contact_phone_numbers"},{"rel":"contacts","href":"http://localhost:3000/contacts"},{"rel":"custom_data","href":"http://localhost:3000/custom_data"},{"rel":"custom_fields","href":"http://localhost:3000/custom_fields"},{"rel":"division_contact_email_addresses","href":"http://localhost:3000/division_contact_email_addresses"},{"rel":"division_contact_phone_numbers","href":"http://localhost:3000/division_contact_phone_numbers"},{"rel":"division_contacts","href":"http://localhost:3000/division_contacts"},{"rel":"division_locations","href":"http://localhost:3000/division_locations"},{"rel":"division_member_email_addresses","href":"http://localhost:3000/division_member_email_addresses"},{"rel":"division_member_phone_numbers","href":"http://localhost:3000/division_member_phone_numbers"},{"rel":"division_members","href":"http://localhost:3000/division_members"},{"rel":"division_members_preferences","href":"http://localhost:3000/division_members_preferences"},{"rel":"division_team_standings","href":"http://localhost:3000/division_team_standings"},{"rel":"event_statistics","href":"http://localhost:3000/event_statistics"},{"rel":"events","href":"http://localhost:3000/events"},{"rel":"events_overview","href":"http://localhost:3000/events/overview"},{"rel":"forum_posts","href":"http://localhost:3000/forum_posts"},{"rel":"forum_subscriptions","href":"http://localhost:3000/forum_subscriptions"},{"rel":"forum_topics","href":"http://localhost:3000/forum_topics"},{"rel":"league_custom_data","href":"http://localhost:3000/league_custom_data"},{"rel":"league_custom_fields","href":"http://localhost:3000/league_custom_fields"},{"rel":"league_registrant_documents","href":"http://localhost:3000/league_registrant_documents"},{"rel":"locations","href":"http://localhost:3000/locations"},{"rel":"managers","href":"http://localhost:3000/members"},{"rel":"member_balances","href":"http://localhost:3000/member_balances"},{"rel":"member_email_addresses","href":"http://localhost:3000/member_email_addresses"},{"rel":"member_files","href":"http://localhost:3000/member_files"},{"rel":"member_links","href":"http://localhost:3000/member_links"},{"rel":"member_payments","href":"http://localhost:3000/member_payments"},{"rel":"member_phone_numbers","href":"http://localhost:3000/member_phone_numbers"},{"rel":"member_photos","href":"http://localhost:3000/member_photos"},{"rel":"member_statistics","href":"http://localhost:3000/member_statistics"},{"rel":"members","href":"http://localhost:3000/members"},{"rel":"members_preferences","href":"http://localhost:3000/members_preferences"},{"rel":"message_data","href":"http://localhost:3000/message_data"},{"rel":"messages","href":"http://localhost:3000/messages"},{"rel":"opponents","href":"http://localhost:3000/opponents"},{"rel":"opponents_results","href":"http://localhost:3000/opponents_results"},{"rel":"owner","href":"http://localhost:3000/members"},{"rel":"payment_notes","href":"http://localhost:3000/payment_notes"},{"rel":"paypal_currency","href":"http://localhost:3000/paypal_currencies"},{"rel":"plan","href":"http://localhost:3000/plans"},{"rel":"sponsors","href":"http://localhost:3000/sponsors"},{"rel":"sport","href":"http://localhost:3000/sports"},{"rel":"statistic","href":"http://localhost:3000/statistics"},{"rel":"statistic_aggregates","href":"http://localhost:3000/statistic_aggregates"},{"rel":"statistic_data","href":"http://localhost:3000/statistic_data"},{"rel":"statistic_group","href":"http://localhost:3000/statistic_groups"},{"rel":"team_fees","href":"http://localhost:3000/team_fees"},{"rel":"team_media","href":"http://localhost:3000/team_media"},{"rel":"team_medium_comments","href":"http://localhost:3000/team_medium_comments"},{"rel":"team_media_groups","href":"http://localhost:3000/team_media_groups"},{"rel":"team_paypal_preferences","href":"http://localhost:3000/teams_paypal_preferences"},{"rel":"team_photos","href":"http://localhost:3000/team_photos"},{"rel":"team_preferences","href":"http://localhost:3000/teams_preferences"},{"rel":"team_public_site","href":"http://localhost:3000/team_public_sites"},{"rel":"team_results","href":"http://localhost:3000/teams_results"},{"rel":"team_statistics","href":"http://localhost:3000/team_statistics"},{"rel":"tracked_item_statuses","href":"http://localhost:3000/tracked_item_statuses"},{"rel":"tracked_items","href":"http://localhost:3000/tracked_items"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/teams/search?id=0"}],"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
42
  number of items to return for each page. Sending this parameter with the query
43
43
  will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
44
44
  number of the page to be returned. This requires that paging be turned on
@@ -49,9 +49,13 @@ http_interactions:
49
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
50
  team''s time zone. This is currently the only method of updating a team''s
51
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}]}]}}'
52
+ 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:
53
+ (This endpoint subject to change) Allow commissioners to send invitations
54
+ 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:
55
+ (This endpoint subject to change) Allow commissioners to change the owner
56
+ of a league team.","data":[{"name":"team_id","value":null},{"name":"member_id","value":null}]}]}}'
53
57
  http_version: '1.1'
54
58
  adapter_metadata:
55
- effective_url: http://localhost:3000/teams/search?id=0&hmac_client_id=classic&hmac_nonce=05fb0578-afb6-4f76-acf5-e6a0db39b3f3&hmac_timestamp=1458775791
56
- recorded_at: Wed, 23 Mar 2016 23:29:51 GMT
59
+ effective_url: http://localhost:3000/teams/search?id=0&hmac_client_id=classic&hmac_nonce=cb3f08c3-4175-48fd-ab35-f859e500088b&hmac_timestamp=1464801841
60
+ recorded_at: Wed, 01 Jun 2016 17:24:01 GMT
57
61
  recorded_with: VCR 2.9.3
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://localhost:3000/teams/search?id=0&hmac_client_id=classic&hmac_nonce=9cc34cdf-9cf9-48b6-9a08-7246e6c59a98&hmac_timestamp=1458775792
5
+ uri: http://localhost:3000/teams/search?id=0&hmac_client_id=classic&hmac_nonce=b40ea4fc-f240-4044-be3a-010e9aa62919&hmac_timestamp=1464801839
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -10,7 +10,7 @@ http_interactions:
10
10
  User-Agent:
11
11
  - Faraday v0.9.2
12
12
  X-Teamsnap-Hmac:
13
- - 9870d963a54d96710b11d6569636ff4abfa20297b34b37f321a5eaa50fe6b035
13
+ - 46c3f195019ea51f6db489dc45a7a319d8448d7e74b5f59491152570bff9d028
14
14
  response:
15
15
  status:
16
16
  code: 200
@@ -19,26 +19,26 @@ http_interactions:
19
19
  Content-Type:
20
20
  - application/vnd.collection+json
21
21
  Content-Length:
22
- - '7306'
22
+ - '8343'
23
23
  X-Content-Type-Options:
24
24
  - nosniff
25
25
  ETag:
26
- - '"14069169df93c5c4a1f16de928335e67"'
26
+ - '"9ead7d878f1fbd575e82bf01233aedc5"'
27
27
  Cache-Control:
28
28
  - max-age=0, private, must-revalidate
29
29
  X-Request-Id:
30
- - eb85eaf1-b184-4bd4-8de1-34eb228963d8
30
+ - 9e38a816-6fba-4082-8ffd-828c6f2a9575
31
31
  X-Runtime:
32
- - '0.063672'
32
+ - '0.078825'
33
33
  Connection:
34
34
  - keep-alive
35
35
  Server:
36
36
  - thin
37
37
  body:
38
38
  encoding: UTF-8
39
- string: '{"collection":{"version":"3.207.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
39
+ string: '{"collection":{"version":"3.276.0","href":"http://localhost:3000/teams","rel":"teams","template":{"data":[{"name":"name","value":null},{"name":"location_country","value":null},{"name":"location_postal_code","value":null},{"name":"time_zone","value":null,"prompt":"The
40
40
  time_zone parameter is required when creating a team, but for changing a team''s
41
- time_zone, use the update_time_zone command"},{"name":"sport_id","value":null},{"name":"division_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/search?id=0"}],"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
41
+ time_zone, use the update_time_zone command"},{"name":"sport_id","value":null},{"name":"division_id","value":null},{"name":"division_name","value":null},{"name":"season_name","value":null},{"name":"league_name","value":null},{"name":"league_url","value":null},{"name":"owner_first_name","value":null},{"name":"owner_last_name","value":null},{"name":"owner_email","value":null},{"name":"is_ownership_pending","value":null},{"name":"type","value":"team"}]},"links":[{"rel":"active_season_team","href":"http://localhost:3000/teams"},{"rel":"assignments","href":"http://localhost:3000/assignments"},{"rel":"availabilities","href":"http://localhost:3000/availabilities"},{"rel":"broadcast_email_attachments","href":"http://localhost:3000/broadcast_email_attachments"},{"rel":"broadcast_emails","href":"http://localhost:3000/broadcast_emails"},{"rel":"broadcast_alerts","href":"http://localhost:3000/broadcast_alerts"},{"rel":"commissioners","href":"http://localhost:3000/members"},{"rel":"contact_email_addresses","href":"http://localhost:3000/contact_email_addresses"},{"rel":"contact_phone_numbers","href":"http://localhost:3000/contact_phone_numbers"},{"rel":"contacts","href":"http://localhost:3000/contacts"},{"rel":"custom_data","href":"http://localhost:3000/custom_data"},{"rel":"custom_fields","href":"http://localhost:3000/custom_fields"},{"rel":"division_contact_email_addresses","href":"http://localhost:3000/division_contact_email_addresses"},{"rel":"division_contact_phone_numbers","href":"http://localhost:3000/division_contact_phone_numbers"},{"rel":"division_contacts","href":"http://localhost:3000/division_contacts"},{"rel":"division_locations","href":"http://localhost:3000/division_locations"},{"rel":"division_member_email_addresses","href":"http://localhost:3000/division_member_email_addresses"},{"rel":"division_member_phone_numbers","href":"http://localhost:3000/division_member_phone_numbers"},{"rel":"division_members","href":"http://localhost:3000/division_members"},{"rel":"division_members_preferences","href":"http://localhost:3000/division_members_preferences"},{"rel":"division_team_standings","href":"http://localhost:3000/division_team_standings"},{"rel":"event_statistics","href":"http://localhost:3000/event_statistics"},{"rel":"events","href":"http://localhost:3000/events"},{"rel":"events_overview","href":"http://localhost:3000/events/overview"},{"rel":"forum_posts","href":"http://localhost:3000/forum_posts"},{"rel":"forum_subscriptions","href":"http://localhost:3000/forum_subscriptions"},{"rel":"forum_topics","href":"http://localhost:3000/forum_topics"},{"rel":"league_custom_data","href":"http://localhost:3000/league_custom_data"},{"rel":"league_custom_fields","href":"http://localhost:3000/league_custom_fields"},{"rel":"league_registrant_documents","href":"http://localhost:3000/league_registrant_documents"},{"rel":"locations","href":"http://localhost:3000/locations"},{"rel":"managers","href":"http://localhost:3000/members"},{"rel":"member_balances","href":"http://localhost:3000/member_balances"},{"rel":"member_email_addresses","href":"http://localhost:3000/member_email_addresses"},{"rel":"member_files","href":"http://localhost:3000/member_files"},{"rel":"member_links","href":"http://localhost:3000/member_links"},{"rel":"member_payments","href":"http://localhost:3000/member_payments"},{"rel":"member_phone_numbers","href":"http://localhost:3000/member_phone_numbers"},{"rel":"member_photos","href":"http://localhost:3000/member_photos"},{"rel":"member_statistics","href":"http://localhost:3000/member_statistics"},{"rel":"members","href":"http://localhost:3000/members"},{"rel":"members_preferences","href":"http://localhost:3000/members_preferences"},{"rel":"message_data","href":"http://localhost:3000/message_data"},{"rel":"messages","href":"http://localhost:3000/messages"},{"rel":"opponents","href":"http://localhost:3000/opponents"},{"rel":"opponents_results","href":"http://localhost:3000/opponents_results"},{"rel":"owner","href":"http://localhost:3000/members"},{"rel":"payment_notes","href":"http://localhost:3000/payment_notes"},{"rel":"paypal_currency","href":"http://localhost:3000/paypal_currencies"},{"rel":"plan","href":"http://localhost:3000/plans"},{"rel":"sponsors","href":"http://localhost:3000/sponsors"},{"rel":"sport","href":"http://localhost:3000/sports"},{"rel":"statistic","href":"http://localhost:3000/statistics"},{"rel":"statistic_aggregates","href":"http://localhost:3000/statistic_aggregates"},{"rel":"statistic_data","href":"http://localhost:3000/statistic_data"},{"rel":"statistic_group","href":"http://localhost:3000/statistic_groups"},{"rel":"team_fees","href":"http://localhost:3000/team_fees"},{"rel":"team_media","href":"http://localhost:3000/team_media"},{"rel":"team_medium_comments","href":"http://localhost:3000/team_medium_comments"},{"rel":"team_media_groups","href":"http://localhost:3000/team_media_groups"},{"rel":"team_paypal_preferences","href":"http://localhost:3000/teams_paypal_preferences"},{"rel":"team_photos","href":"http://localhost:3000/team_photos"},{"rel":"team_preferences","href":"http://localhost:3000/teams_preferences"},{"rel":"team_public_site","href":"http://localhost:3000/team_public_sites"},{"rel":"team_results","href":"http://localhost:3000/teams_results"},{"rel":"team_statistics","href":"http://localhost:3000/team_statistics"},{"rel":"tracked_item_statuses","href":"http://localhost:3000/tracked_item_statuses"},{"rel":"tracked_items","href":"http://localhost:3000/tracked_items"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/teams/search?id=0"}],"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
42
  number of items to return for each page. Sending this parameter with the query
43
43
  will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
44
44
  number of the page to be returned. This requires that paging be turned on
@@ -49,9 +49,13 @@ http_interactions:
49
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
50
  team''s time zone. This is currently the only method of updating a team''s
51
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}]}]}}'
52
+ 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:
53
+ (This endpoint subject to change) Allow commissioners to send invitations
54
+ 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:
55
+ (This endpoint subject to change) Allow commissioners to change the owner
56
+ of a league team.","data":[{"name":"team_id","value":null},{"name":"member_id","value":null}]}]}}'
53
57
  http_version: '1.1'
54
58
  adapter_metadata:
55
- effective_url: http://localhost:3000/teams/search?id=0&hmac_client_id=classic&hmac_nonce=9cc34cdf-9cf9-48b6-9a08-7246e6c59a98&hmac_timestamp=1458775792
56
- recorded_at: Wed, 23 Mar 2016 23:29:52 GMT
59
+ effective_url: http://localhost:3000/teams/search?id=0&hmac_client_id=classic&hmac_nonce=b40ea4fc-f240-4044-be3a-010e9aa62919&hmac_timestamp=1464801839
60
+ recorded_at: Wed, 01 Jun 2016 17:23:59 GMT
57
61
  recorded_with: VCR 2.9.3
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://localhost:3000/events/search?id=1&hmac_client_id=classic&hmac_nonce=4659a00d-b110-4bb6-aecf-8dcaf1908d46&hmac_timestamp=1458775793
5
+ uri: http://localhost:3000/events/search?id=1&hmac_client_id=classic&hmac_nonce=dc63cfde-fcd3-49d3-bb34-dc8d390b168f&hmac_timestamp=1464801841
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -10,7 +10,7 @@ http_interactions:
10
10
  User-Agent:
11
11
  - Faraday v0.9.2
12
12
  X-Teamsnap-Hmac:
13
- - 95071ce04fa7819b60d3e3c2c2d6098bcca5b871d34632b0a9abecdc069d4418
13
+ - de13ad3b67fdfd4e30d986e8554ecae851681ee9bd8d5e71b98b309b82a8b06c
14
14
  response:
15
15
  status:
16
16
  code: 200
@@ -19,24 +19,24 @@ http_interactions:
19
19
  Content-Type:
20
20
  - application/vnd.collection+json
21
21
  Content-Length:
22
- - '7815'
22
+ - '7979'
23
23
  X-Content-Type-Options:
24
24
  - nosniff
25
25
  ETag:
26
- - '"fc8dfdf58c6bfc1a57e5001982e2308e"'
26
+ - '"45f87573cadf9c70913ffc9640442bd2"'
27
27
  Cache-Control:
28
28
  - max-age=0, private, must-revalidate
29
29
  X-Request-Id:
30
- - f9019f78-ae3e-41f5-97d5-e45b368b3d95
30
+ - 55027dd9-95ef-4e93-b155-0537a96afa88
31
31
  X-Runtime:
32
- - '0.085186'
32
+ - '0.260733'
33
33
  Connection:
34
34
  - keep-alive
35
35
  Server:
36
36
  - thin
37
37
  body:
38
38
  encoding: UTF-8
39
- string: '{"collection":{"version":"3.207.1","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
39
+ string: '{"collection":{"version":"3.276.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
40
40
  updating a repeating event, this is a required field. Values are: \"all\"
41
41
  - updates all events in this series, \"future\" - updates this event and all
42
42
  that occur after, \"none\" - only updates a single event."},{"name":"repeating_type_code","value":null,"prompt":"A
@@ -46,11 +46,13 @@ http_interactions:
46
46
  date when the repeating event should end, this is inclusive so an event will
47
47
  be created on this day if it falls before the next event specified by \"repeating_type_code\".
48
48
  This attribute is required with \"repeating_type_code\" when creating a repeating
49
- 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/search?id=1"}],"queries":[{"rel":"search","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":"id","value":null},{"name":"page_size","value":null,"prompt":"The
49
+ 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/search?id=1"}],"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":"id","value":null},{"name":"page_size","value":null,"prompt":"The
50
50
  number of items to return for each page. Sending this parameter with the query
51
51
  will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
52
52
  number of the page to be returned. This requires that paging be turned on
53
- by also providing the page_size parameter."}]},{"rel":"search_games","href":"http://localhost:3000/events/search_games","data":[{"name":"team_id","value":null}]},{"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
53
+ by also providing the page_size parameter."},{"name":"sort_start_date","value":null,"prompt":"Sort
54
+ the returned dataset based on the start_date field, valid values are ''asc''
55
+ or ''desc''."}]},{"rel":"search_games","href":"http://localhost:3000/events/search_games","data":[{"name":"team_id","value":null}]},{"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
54
56
  = [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
55
57
  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
56
58
  = [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}]}],"items":[{"href":"http://localhost:3000/events/1","data":[{"name":"id","value":1},{"name":"type","value":"event"},{"name":"additional_location_details","value":"Court
@@ -58,14 +60,14 @@ http_interactions:
58
60
  Specified"},{"name":"game_type_code","value":null},{"name":"icon_color","value":"blue"},{"name":"is_canceled","value":false},{"name":"is_game","value":false},{"name":"is_overtime","value":false},{"name":"is_shootout","value":false},{"name":"is_tbd","value":false},{"name":"label","value":null},{"name":"location_id","value":1},{"name":"minutes_to_arrive_early","value":null},{"name":"name","value":"March
59
61
  Madness Game 1"},{"name":"notes","value":null},{"name":"opponent_id","value":1},{"name":"points_for_opponent","value":null},{"name":"points_for_team","value":null},{"name":"repeating_type","value":null},{"name":"repeating_type_code","value":null},{"name":"repeating_uuid","value":null},{"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":"2015-01-01T00:00:00Z","type":"DateTime"},{"name":"team_id","value":1},{"name":"time_zone","value":"Mountain
60
62
  Time (US & Canada)"},{"name":"time_zone_description","value":"Mountain Time
61
- (US & Canada)"},{"name":"time_zone_iana_name","value":"America/Denver"},{"name":"time_zone_offset","value":"-07:00"},{"name":"source_time_zone_iana_name","value":"America/Denver"},{"name":"tracks_availability","value":true},{"name":"uniform","value":null},{"name":"is_league_controlled","value":false},{"name":"created_at","value":"2016-03-23T23:07:48Z","type":"DateTime"},{"name":"updated_at","value":"2016-03-23T23:07:50Z","type":"DateTime"}],"links":[{"rel":"assignments","href":"http://localhost:3000/assignments/search?event_id=1"},{"rel":"availabilities","href":"http://localhost:3000/availabilities/search?event_id=1"},{"rel":"calendar_single_event","href":"http://86ed2e8eefaaee16c4b7-16391cffaf9272bff70e93998d553c16.r2.cf1.rackcdn.com/team_schedule/event/1.ics"},{"rel":"division_location","href":"http://localhost:3000/division_locations/"},{"rel":"event_statistics","href":"http://localhost:3000/event_statistics/search?event_id=1"},{"rel":"location","href":"http://localhost:3000/locations/1"},{"rel":"opponent","href":"http://localhost:3000/opponents/1"},{"rel":"statistic_data","href":"http://localhost:3000/statistic_data/search?event_id=1"},{"rel":"team","href":"http://localhost:3000/teams/1"}],"rel":"event-1"}]}}'
63
+ (US & Canada)"},{"name":"time_zone_iana_name","value":"America/Denver"},{"name":"time_zone_offset","value":"-07:00"},{"name":"source_time_zone_iana_name","value":"America/Denver"},{"name":"tracks_availability","value":true},{"name":"uniform","value":null},{"name":"is_league_controlled","value":false},{"name":"created_at","value":"2016-06-01T16:41:14Z","type":"DateTime"},{"name":"updated_at","value":"2016-06-01T16:41:15Z","type":"DateTime"}],"links":[{"rel":"assignments","href":"http://localhost:3000/assignments/search?event_id=1"},{"rel":"availabilities","href":"http://localhost:3000/availabilities/search?event_id=1"},{"rel":"calendar_single_event","href":"http://86ed2e8eefaaee16c4b7-16391cffaf9272bff70e93998d553c16.r2.cf1.rackcdn.com/team_schedule/event/1.ics"},{"rel":"division_location","href":"http://localhost:3000/division_locations/"},{"rel":"event_statistics","href":"http://localhost:3000/event_statistics/search?event_id=1"},{"rel":"location","href":"http://localhost:3000/locations/1"},{"rel":"opponent","href":"http://localhost:3000/opponents/1"},{"rel":"statistic_data","href":"http://localhost:3000/statistic_data/search?event_id=1"},{"rel":"team","href":"http://localhost:3000/teams/1"}],"rel":"event-1"}]}}'
62
64
  http_version: '1.1'
63
65
  adapter_metadata:
64
- effective_url: http://localhost:3000/events/search?id=1&hmac_client_id=classic&hmac_nonce=4659a00d-b110-4bb6-aecf-8dcaf1908d46&hmac_timestamp=1458775793
65
- recorded_at: Wed, 23 Mar 2016 23:29:53 GMT
66
+ effective_url: http://localhost:3000/events/search?id=1&hmac_client_id=classic&hmac_nonce=dc63cfde-fcd3-49d3-bb34-dc8d390b168f&hmac_timestamp=1464801841
67
+ recorded_at: Wed, 01 Jun 2016 17:24:02 GMT
66
68
  - request:
67
69
  method: get
68
- uri: http://localhost:3000/availabilities/search?event_id=1&hmac_client_id=classic&hmac_nonce=cb101e17-a210-48cd-9f84-c7bbd4f8964a&hmac_timestamp=1458775793
70
+ uri: http://localhost:3000/availabilities/search?event_id=1&hmac_client_id=classic&hmac_nonce=3258fa60-8eeb-4ae9-808f-84371fe39221&hmac_timestamp=1464801842
69
71
  body:
70
72
  encoding: US-ASCII
71
73
  string: ''
@@ -73,7 +75,7 @@ http_interactions:
73
75
  User-Agent:
74
76
  - Faraday v0.9.2
75
77
  X-Teamsnap-Hmac:
76
- - 021b80bf168058191a8f08876c4a5eaa58eb4dd9f7ebf755e6de516f170a3182
78
+ - bc940ad60f1482ff42e5180dc613f9da4f4f46266308aa49c6b6e2dc2ee18c45
77
79
  response:
78
80
  status:
79
81
  code: 200
@@ -86,32 +88,32 @@ http_interactions:
86
88
  X-Content-Type-Options:
87
89
  - nosniff
88
90
  ETag:
89
- - '"501a1e26187fd2b408b8a0deab2f7b89"'
91
+ - '"f440e0455edb633b73a79ac67c60bb78"'
90
92
  Cache-Control:
91
93
  - max-age=0, private, must-revalidate
92
94
  X-Request-Id:
93
- - b59526cb-ea96-4faf-9729-d4a02be0564a
95
+ - e066985c-8a6b-45f8-9be6-5ef9c669a28a
94
96
  X-Runtime:
95
- - '0.073412'
97
+ - '0.407926'
96
98
  Connection:
97
99
  - keep-alive
98
100
  Server:
99
101
  - thin
100
102
  body:
101
103
  encoding: UTF-8
102
- string: '{"collection":{"version":"3.207.1","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/search?event_id=1"}],"queries":[{"rel":"search","href":"http://localhost:3000/availabilities/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
104
+ string: '{"collection":{"version":"3.276.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/search?event_id=1"}],"queries":[{"rel":"search","href":"http://localhost:3000/availabilities/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
103
105
  number of items to return for each page. Sending this parameter with the query
104
106
  will enable paging for the returned collection."},{"name":"page_number","value":null,"prompt":"The
105
107
  number of the page to be returned. This requires that paging be turned on
106
108
  by also providing the page_size parameter."}]}],"commands":[{"rel":"bulk_mark_unset_availabilities","href":"http://localhost:3000/availabilities/bulk_mark_unset_availabilities","prompt":"Mark
107
109
  all future unset availabilities to specified status_code for the specified
108
110
  member_id","data":[{"name":"status_code","value":null},{"name":"member_id","value":null},{"name":"started_after","value":null}]}],"items":[{"href":"http://localhost:3000/availabilities/1","data":[{"name":"id","value":1},{"name":"type","value":"availability"},{"name":"event_id","value":1},{"name":"member_id","value":2},{"name":"notes","value":null},{"name":"notes_author_member_id","value":null},{"name":"status","value":"Yes.
109
- I will be there."},{"name":"status_code","value":1},{"name":"team_id","value":1},{"name":"created_at","value":"2016-03-23T23:07:49Z","type":"DateTime"},{"name":"updated_at","value":"2016-03-23T23:07:49Z","type":"DateTime"}],"links":[{"rel":"event","href":"http://localhost:3000/events/1"},{"rel":"member","href":"http://localhost:3000/members/2"},{"rel":"team","href":"http://localhost:3000/teams/1"}],"rel":"availability-1"},{"href":"http://localhost:3000/availabilities/2","data":[{"name":"id","value":2},{"name":"type","value":"availability"},{"name":"event_id","value":1},{"name":"member_id","value":3},{"name":"notes","value":null},{"name":"notes_author_member_id","value":null},{"name":"status","value":"Yes.
110
- I will be there."},{"name":"status_code","value":1},{"name":"team_id","value":1},{"name":"created_at","value":"2016-03-23T23:07:49Z","type":"DateTime"},{"name":"updated_at","value":"2016-03-23T23:07:49Z","type":"DateTime"}],"links":[{"rel":"event","href":"http://localhost:3000/events/1"},{"rel":"member","href":"http://localhost:3000/members/3"},{"rel":"team","href":"http://localhost:3000/teams/1"}],"rel":"availability-2"},{"href":"http://localhost:3000/availabilities/4","data":[{"name":"id","value":4},{"name":"type","value":"availability"},{"name":"event_id","value":1},{"name":"member_id","value":6},{"name":"notes","value":null},{"name":"notes_author_member_id","value":null},{"name":"status","value":"Maybe.
111
- I''m not sure yet."},{"name":"status_code","value":2},{"name":"team_id","value":1},{"name":"created_at","value":"2016-03-23T23:07:49Z","type":"DateTime"},{"name":"updated_at","value":"2016-03-23T23:07:49Z","type":"DateTime"}],"links":[{"rel":"event","href":"http://localhost:3000/events/1"},{"rel":"member","href":"http://localhost:3000/members/6"},{"rel":"team","href":"http://localhost:3000/teams/1"}],"rel":"availability-4"},{"href":"http://localhost:3000/availabilities/5","data":[{"name":"id","value":5},{"name":"type","value":"availability"},{"name":"event_id","value":1},{"name":"member_id","value":7},{"name":"notes","value":null},{"name":"notes_author_member_id","value":null},{"name":"status","value":"No.
112
- I can''t make it."},{"name":"status_code","value":0},{"name":"team_id","value":1},{"name":"created_at","value":"2016-03-23T23:07:50Z","type":"DateTime"},{"name":"updated_at","value":"2016-03-23T23:07:50Z","type":"DateTime"}],"links":[{"rel":"event","href":"http://localhost:3000/events/1"},{"rel":"member","href":"http://localhost:3000/members/7"},{"rel":"team","href":"http://localhost:3000/teams/1"}],"rel":"availability-5"},{"href":"http://localhost:3000/availabilities/61","data":[{"name":"id","value":61},{"name":"type","value":"availability"},{"name":"event_id","value":1},{"name":"member_id","value":4},{"name":"notes","value":null},{"name":"notes_author_member_id","value":null},{"name":"status","value":"Unknown"},{"name":"status_code","value":null},{"name":"team_id","value":1},{"name":"created_at","value":"2016-03-23T23:12:20Z","type":"DateTime"},{"name":"updated_at","value":"2016-03-23T23:12:20Z","type":"DateTime"}],"links":[{"rel":"event","href":"http://localhost:3000/events/1"},{"rel":"member","href":"http://localhost:3000/members/4"},{"rel":"team","href":"http://localhost:3000/teams/1"}],"rel":"availability-61"},{"href":"http://localhost:3000/availabilities/62","data":[{"name":"id","value":62},{"name":"type","value":"availability"},{"name":"event_id","value":1},{"name":"member_id","value":5},{"name":"notes","value":null},{"name":"notes_author_member_id","value":null},{"name":"status","value":"Unknown"},{"name":"status_code","value":null},{"name":"team_id","value":1},{"name":"created_at","value":"2016-03-23T23:12:20Z","type":"DateTime"},{"name":"updated_at","value":"2016-03-23T23:12:20Z","type":"DateTime"}],"links":[{"rel":"event","href":"http://localhost:3000/events/1"},{"rel":"member","href":"http://localhost:3000/members/5"},{"rel":"team","href":"http://localhost:3000/teams/1"}],"rel":"availability-62"},{"href":"http://localhost:3000/availabilities/63","data":[{"name":"id","value":63},{"name":"type","value":"availability"},{"name":"event_id","value":1},{"name":"member_id","value":8},{"name":"notes","value":null},{"name":"notes_author_member_id","value":null},{"name":"status","value":"Unknown"},{"name":"status_code","value":null},{"name":"team_id","value":1},{"name":"created_at","value":"2016-03-23T23:12:20Z","type":"DateTime"},{"name":"updated_at","value":"2016-03-23T23:12:20Z","type":"DateTime"}],"links":[{"rel":"event","href":"http://localhost:3000/events/1"},{"rel":"member","href":"http://localhost:3000/members/8"},{"rel":"team","href":"http://localhost:3000/teams/1"}],"rel":"availability-63"},{"href":"http://localhost:3000/availabilities/64","data":[{"name":"id","value":64},{"name":"type","value":"availability"},{"name":"event_id","value":1},{"name":"member_id","value":9},{"name":"notes","value":null},{"name":"notes_author_member_id","value":null},{"name":"status","value":"Unknown"},{"name":"status_code","value":null},{"name":"team_id","value":1},{"name":"created_at","value":"2016-03-23T23:12:20Z","type":"DateTime"},{"name":"updated_at","value":"2016-03-23T23:12:20Z","type":"DateTime"}],"links":[{"rel":"event","href":"http://localhost:3000/events/1"},{"rel":"member","href":"http://localhost:3000/members/9"},{"rel":"team","href":"http://localhost:3000/teams/1"}],"rel":"availability-64"},{"href":"http://localhost:3000/availabilities/65","data":[{"name":"id","value":65},{"name":"type","value":"availability"},{"name":"event_id","value":1},{"name":"member_id","value":10},{"name":"notes","value":null},{"name":"notes_author_member_id","value":null},{"name":"status","value":"Unknown"},{"name":"status_code","value":null},{"name":"team_id","value":1},{"name":"created_at","value":"2016-03-23T23:12:20Z","type":"DateTime"},{"name":"updated_at","value":"2016-03-23T23:12:20Z","type":"DateTime"}],"links":[{"rel":"event","href":"http://localhost:3000/events/1"},{"rel":"member","href":"http://localhost:3000/members/10"},{"rel":"team","href":"http://localhost:3000/teams/1"}],"rel":"availability-65"},{"href":"http://localhost:3000/availabilities/66","data":[{"name":"id","value":66},{"name":"type","value":"availability"},{"name":"event_id","value":1},{"name":"member_id","value":11},{"name":"notes","value":null},{"name":"notes_author_member_id","value":null},{"name":"status","value":"Unknown"},{"name":"status_code","value":null},{"name":"team_id","value":1},{"name":"created_at","value":"2016-03-23T23:12:20Z","type":"DateTime"},{"name":"updated_at","value":"2016-03-23T23:12:20Z","type":"DateTime"}],"links":[{"rel":"event","href":"http://localhost:3000/events/1"},{"rel":"member","href":"http://localhost:3000/members/11"},{"rel":"team","href":"http://localhost:3000/teams/1"}],"rel":"availability-66"},{"href":"http://localhost:3000/availabilities/67","data":[{"name":"id","value":67},{"name":"type","value":"availability"},{"name":"event_id","value":1},{"name":"member_id","value":12},{"name":"notes","value":null},{"name":"notes_author_member_id","value":null},{"name":"status","value":"Unknown"},{"name":"status_code","value":null},{"name":"team_id","value":1},{"name":"created_at","value":"2016-03-23T23:12:20Z","type":"DateTime"},{"name":"updated_at","value":"2016-03-23T23:12:20Z","type":"DateTime"}],"links":[{"rel":"event","href":"http://localhost:3000/events/1"},{"rel":"member","href":"http://localhost:3000/members/12"},{"rel":"team","href":"http://localhost:3000/teams/1"}],"rel":"availability-67"},{"href":"http://localhost:3000/availabilities/68","data":[{"name":"id","value":68},{"name":"type","value":"availability"},{"name":"event_id","value":1},{"name":"member_id","value":13},{"name":"notes","value":null},{"name":"notes_author_member_id","value":null},{"name":"status","value":"Unknown"},{"name":"status_code","value":null},{"name":"team_id","value":1},{"name":"created_at","value":"2016-03-23T23:12:20Z","type":"DateTime"},{"name":"updated_at","value":"2016-03-23T23:12:20Z","type":"DateTime"}],"links":[{"rel":"event","href":"http://localhost:3000/events/1"},{"rel":"member","href":"http://localhost:3000/members/13"},{"rel":"team","href":"http://localhost:3000/teams/1"}],"rel":"availability-68"},{"href":"http://localhost:3000/availabilities/69","data":[{"name":"id","value":69},{"name":"type","value":"availability"},{"name":"event_id","value":1},{"name":"member_id","value":14},{"name":"notes","value":null},{"name":"notes_author_member_id","value":null},{"name":"status","value":"Unknown"},{"name":"status_code","value":null},{"name":"team_id","value":1},{"name":"created_at","value":"2016-03-23T23:12:20Z","type":"DateTime"},{"name":"updated_at","value":"2016-03-23T23:12:20Z","type":"DateTime"}],"links":[{"rel":"event","href":"http://localhost:3000/events/1"},{"rel":"member","href":"http://localhost:3000/members/14"},{"rel":"team","href":"http://localhost:3000/teams/1"}],"rel":"availability-69"},{"href":"http://localhost:3000/availabilities/70","data":[{"name":"id","value":70},{"name":"type","value":"availability"},{"name":"event_id","value":1},{"name":"member_id","value":15},{"name":"notes","value":null},{"name":"notes_author_member_id","value":null},{"name":"status","value":"Unknown"},{"name":"status_code","value":null},{"name":"team_id","value":1},{"name":"created_at","value":"2016-03-23T23:12:20Z","type":"DateTime"},{"name":"updated_at","value":"2016-03-23T23:12:20Z","type":"DateTime"}],"links":[{"rel":"event","href":"http://localhost:3000/events/1"},{"rel":"member","href":"http://localhost:3000/members/15"},{"rel":"team","href":"http://localhost:3000/teams/1"}],"rel":"availability-70"},{"href":"http://localhost:3000/availabilities/71","data":[{"name":"id","value":71},{"name":"type","value":"availability"},{"name":"event_id","value":1},{"name":"member_id","value":16},{"name":"notes","value":null},{"name":"notes_author_member_id","value":null},{"name":"status","value":"Unknown"},{"name":"status_code","value":null},{"name":"team_id","value":1},{"name":"created_at","value":"2016-03-23T23:12:20Z","type":"DateTime"},{"name":"updated_at","value":"2016-03-23T23:12:20Z","type":"DateTime"}],"links":[{"rel":"event","href":"http://localhost:3000/events/1"},{"rel":"member","href":"http://localhost:3000/members/16"},{"rel":"team","href":"http://localhost:3000/teams/1"}],"rel":"availability-71"},{"href":"http://localhost:3000/availabilities/72","data":[{"name":"id","value":72},{"name":"type","value":"availability"},{"name":"event_id","value":1},{"name":"member_id","value":17},{"name":"notes","value":null},{"name":"notes_author_member_id","value":null},{"name":"status","value":"Unknown"},{"name":"status_code","value":null},{"name":"team_id","value":1},{"name":"created_at","value":"2016-03-23T23:12:20Z","type":"DateTime"},{"name":"updated_at","value":"2016-03-23T23:12:20Z","type":"DateTime"}],"links":[{"rel":"event","href":"http://localhost:3000/events/1"},{"rel":"member","href":"http://localhost:3000/members/17"},{"rel":"team","href":"http://localhost:3000/teams/1"}],"rel":"availability-72"},{"href":"http://localhost:3000/availabilities/73","data":[{"name":"id","value":73},{"name":"type","value":"availability"},{"name":"event_id","value":1},{"name":"member_id","value":18},{"name":"notes","value":null},{"name":"notes_author_member_id","value":null},{"name":"status","value":"Unknown"},{"name":"status_code","value":null},{"name":"team_id","value":1},{"name":"created_at","value":"2016-03-23T23:12:20Z","type":"DateTime"},{"name":"updated_at","value":"2016-03-23T23:12:20Z","type":"DateTime"}],"links":[{"rel":"event","href":"http://localhost:3000/events/1"},{"rel":"member","href":"http://localhost:3000/members/18"},{"rel":"team","href":"http://localhost:3000/teams/1"}],"rel":"availability-73"}]}}'
111
+ I will be there."},{"name":"status_code","value":1},{"name":"team_id","value":1},{"name":"created_at","value":"2016-06-01T16:41:14Z","type":"DateTime"},{"name":"updated_at","value":"2016-06-01T16:41:14Z","type":"DateTime"}],"links":[{"rel":"event","href":"http://localhost:3000/events/1"},{"rel":"member","href":"http://localhost:3000/members/2"},{"rel":"team","href":"http://localhost:3000/teams/1"}],"rel":"availability-1"},{"href":"http://localhost:3000/availabilities/2","data":[{"name":"id","value":2},{"name":"type","value":"availability"},{"name":"event_id","value":1},{"name":"member_id","value":3},{"name":"notes","value":null},{"name":"notes_author_member_id","value":null},{"name":"status","value":"Yes.
112
+ I will be there."},{"name":"status_code","value":1},{"name":"team_id","value":1},{"name":"created_at","value":"2016-06-01T16:41:14Z","type":"DateTime"},{"name":"updated_at","value":"2016-06-01T16:41:14Z","type":"DateTime"}],"links":[{"rel":"event","href":"http://localhost:3000/events/1"},{"rel":"member","href":"http://localhost:3000/members/3"},{"rel":"team","href":"http://localhost:3000/teams/1"}],"rel":"availability-2"},{"href":"http://localhost:3000/availabilities/4","data":[{"name":"id","value":4},{"name":"type","value":"availability"},{"name":"event_id","value":1},{"name":"member_id","value":6},{"name":"notes","value":null},{"name":"notes_author_member_id","value":null},{"name":"status","value":"Maybe.
113
+ I''m not sure yet."},{"name":"status_code","value":2},{"name":"team_id","value":1},{"name":"created_at","value":"2016-06-01T16:41:15Z","type":"DateTime"},{"name":"updated_at","value":"2016-06-01T16:41:15Z","type":"DateTime"}],"links":[{"rel":"event","href":"http://localhost:3000/events/1"},{"rel":"member","href":"http://localhost:3000/members/6"},{"rel":"team","href":"http://localhost:3000/teams/1"}],"rel":"availability-4"},{"href":"http://localhost:3000/availabilities/5","data":[{"name":"id","value":5},{"name":"type","value":"availability"},{"name":"event_id","value":1},{"name":"member_id","value":7},{"name":"notes","value":null},{"name":"notes_author_member_id","value":null},{"name":"status","value":"No.
114
+ I can''t make it."},{"name":"status_code","value":0},{"name":"team_id","value":1},{"name":"created_at","value":"2016-06-01T16:41:15Z","type":"DateTime"},{"name":"updated_at","value":"2016-06-01T16:41:15Z","type":"DateTime"}],"links":[{"rel":"event","href":"http://localhost:3000/events/1"},{"rel":"member","href":"http://localhost:3000/members/7"},{"rel":"team","href":"http://localhost:3000/teams/1"}],"rel":"availability-5"},{"href":"http://localhost:3000/availabilities/61","data":[{"name":"id","value":61},{"name":"type","value":"availability"},{"name":"event_id","value":1},{"name":"member_id","value":4},{"name":"notes","value":null},{"name":"notes_author_member_id","value":null},{"name":"status","value":"Unknown"},{"name":"status_code","value":null},{"name":"team_id","value":1},{"name":"created_at","value":"2016-06-01T17:24:02Z","type":"DateTime"},{"name":"updated_at","value":"2016-06-01T17:24:02Z","type":"DateTime"}],"links":[{"rel":"event","href":"http://localhost:3000/events/1"},{"rel":"member","href":"http://localhost:3000/members/4"},{"rel":"team","href":"http://localhost:3000/teams/1"}],"rel":"availability-61"},{"href":"http://localhost:3000/availabilities/62","data":[{"name":"id","value":62},{"name":"type","value":"availability"},{"name":"event_id","value":1},{"name":"member_id","value":5},{"name":"notes","value":null},{"name":"notes_author_member_id","value":null},{"name":"status","value":"Unknown"},{"name":"status_code","value":null},{"name":"team_id","value":1},{"name":"created_at","value":"2016-06-01T17:24:02Z","type":"DateTime"},{"name":"updated_at","value":"2016-06-01T17:24:02Z","type":"DateTime"}],"links":[{"rel":"event","href":"http://localhost:3000/events/1"},{"rel":"member","href":"http://localhost:3000/members/5"},{"rel":"team","href":"http://localhost:3000/teams/1"}],"rel":"availability-62"},{"href":"http://localhost:3000/availabilities/63","data":[{"name":"id","value":63},{"name":"type","value":"availability"},{"name":"event_id","value":1},{"name":"member_id","value":8},{"name":"notes","value":null},{"name":"notes_author_member_id","value":null},{"name":"status","value":"Unknown"},{"name":"status_code","value":null},{"name":"team_id","value":1},{"name":"created_at","value":"2016-06-01T17:24:02Z","type":"DateTime"},{"name":"updated_at","value":"2016-06-01T17:24:02Z","type":"DateTime"}],"links":[{"rel":"event","href":"http://localhost:3000/events/1"},{"rel":"member","href":"http://localhost:3000/members/8"},{"rel":"team","href":"http://localhost:3000/teams/1"}],"rel":"availability-63"},{"href":"http://localhost:3000/availabilities/64","data":[{"name":"id","value":64},{"name":"type","value":"availability"},{"name":"event_id","value":1},{"name":"member_id","value":9},{"name":"notes","value":null},{"name":"notes_author_member_id","value":null},{"name":"status","value":"Unknown"},{"name":"status_code","value":null},{"name":"team_id","value":1},{"name":"created_at","value":"2016-06-01T17:24:02Z","type":"DateTime"},{"name":"updated_at","value":"2016-06-01T17:24:02Z","type":"DateTime"}],"links":[{"rel":"event","href":"http://localhost:3000/events/1"},{"rel":"member","href":"http://localhost:3000/members/9"},{"rel":"team","href":"http://localhost:3000/teams/1"}],"rel":"availability-64"},{"href":"http://localhost:3000/availabilities/65","data":[{"name":"id","value":65},{"name":"type","value":"availability"},{"name":"event_id","value":1},{"name":"member_id","value":10},{"name":"notes","value":null},{"name":"notes_author_member_id","value":null},{"name":"status","value":"Unknown"},{"name":"status_code","value":null},{"name":"team_id","value":1},{"name":"created_at","value":"2016-06-01T17:24:02Z","type":"DateTime"},{"name":"updated_at","value":"2016-06-01T17:24:02Z","type":"DateTime"}],"links":[{"rel":"event","href":"http://localhost:3000/events/1"},{"rel":"member","href":"http://localhost:3000/members/10"},{"rel":"team","href":"http://localhost:3000/teams/1"}],"rel":"availability-65"},{"href":"http://localhost:3000/availabilities/66","data":[{"name":"id","value":66},{"name":"type","value":"availability"},{"name":"event_id","value":1},{"name":"member_id","value":11},{"name":"notes","value":null},{"name":"notes_author_member_id","value":null},{"name":"status","value":"Unknown"},{"name":"status_code","value":null},{"name":"team_id","value":1},{"name":"created_at","value":"2016-06-01T17:24:02Z","type":"DateTime"},{"name":"updated_at","value":"2016-06-01T17:24:02Z","type":"DateTime"}],"links":[{"rel":"event","href":"http://localhost:3000/events/1"},{"rel":"member","href":"http://localhost:3000/members/11"},{"rel":"team","href":"http://localhost:3000/teams/1"}],"rel":"availability-66"},{"href":"http://localhost:3000/availabilities/67","data":[{"name":"id","value":67},{"name":"type","value":"availability"},{"name":"event_id","value":1},{"name":"member_id","value":12},{"name":"notes","value":null},{"name":"notes_author_member_id","value":null},{"name":"status","value":"Unknown"},{"name":"status_code","value":null},{"name":"team_id","value":1},{"name":"created_at","value":"2016-06-01T17:24:02Z","type":"DateTime"},{"name":"updated_at","value":"2016-06-01T17:24:02Z","type":"DateTime"}],"links":[{"rel":"event","href":"http://localhost:3000/events/1"},{"rel":"member","href":"http://localhost:3000/members/12"},{"rel":"team","href":"http://localhost:3000/teams/1"}],"rel":"availability-67"},{"href":"http://localhost:3000/availabilities/68","data":[{"name":"id","value":68},{"name":"type","value":"availability"},{"name":"event_id","value":1},{"name":"member_id","value":13},{"name":"notes","value":null},{"name":"notes_author_member_id","value":null},{"name":"status","value":"Unknown"},{"name":"status_code","value":null},{"name":"team_id","value":1},{"name":"created_at","value":"2016-06-01T17:24:02Z","type":"DateTime"},{"name":"updated_at","value":"2016-06-01T17:24:02Z","type":"DateTime"}],"links":[{"rel":"event","href":"http://localhost:3000/events/1"},{"rel":"member","href":"http://localhost:3000/members/13"},{"rel":"team","href":"http://localhost:3000/teams/1"}],"rel":"availability-68"},{"href":"http://localhost:3000/availabilities/69","data":[{"name":"id","value":69},{"name":"type","value":"availability"},{"name":"event_id","value":1},{"name":"member_id","value":14},{"name":"notes","value":null},{"name":"notes_author_member_id","value":null},{"name":"status","value":"Unknown"},{"name":"status_code","value":null},{"name":"team_id","value":1},{"name":"created_at","value":"2016-06-01T17:24:02Z","type":"DateTime"},{"name":"updated_at","value":"2016-06-01T17:24:02Z","type":"DateTime"}],"links":[{"rel":"event","href":"http://localhost:3000/events/1"},{"rel":"member","href":"http://localhost:3000/members/14"},{"rel":"team","href":"http://localhost:3000/teams/1"}],"rel":"availability-69"},{"href":"http://localhost:3000/availabilities/70","data":[{"name":"id","value":70},{"name":"type","value":"availability"},{"name":"event_id","value":1},{"name":"member_id","value":15},{"name":"notes","value":null},{"name":"notes_author_member_id","value":null},{"name":"status","value":"Unknown"},{"name":"status_code","value":null},{"name":"team_id","value":1},{"name":"created_at","value":"2016-06-01T17:24:02Z","type":"DateTime"},{"name":"updated_at","value":"2016-06-01T17:24:02Z","type":"DateTime"}],"links":[{"rel":"event","href":"http://localhost:3000/events/1"},{"rel":"member","href":"http://localhost:3000/members/15"},{"rel":"team","href":"http://localhost:3000/teams/1"}],"rel":"availability-70"},{"href":"http://localhost:3000/availabilities/71","data":[{"name":"id","value":71},{"name":"type","value":"availability"},{"name":"event_id","value":1},{"name":"member_id","value":16},{"name":"notes","value":null},{"name":"notes_author_member_id","value":null},{"name":"status","value":"Unknown"},{"name":"status_code","value":null},{"name":"team_id","value":1},{"name":"created_at","value":"2016-06-01T17:24:02Z","type":"DateTime"},{"name":"updated_at","value":"2016-06-01T17:24:02Z","type":"DateTime"}],"links":[{"rel":"event","href":"http://localhost:3000/events/1"},{"rel":"member","href":"http://localhost:3000/members/16"},{"rel":"team","href":"http://localhost:3000/teams/1"}],"rel":"availability-71"},{"href":"http://localhost:3000/availabilities/72","data":[{"name":"id","value":72},{"name":"type","value":"availability"},{"name":"event_id","value":1},{"name":"member_id","value":17},{"name":"notes","value":null},{"name":"notes_author_member_id","value":null},{"name":"status","value":"Unknown"},{"name":"status_code","value":null},{"name":"team_id","value":1},{"name":"created_at","value":"2016-06-01T17:24:02Z","type":"DateTime"},{"name":"updated_at","value":"2016-06-01T17:24:02Z","type":"DateTime"}],"links":[{"rel":"event","href":"http://localhost:3000/events/1"},{"rel":"member","href":"http://localhost:3000/members/17"},{"rel":"team","href":"http://localhost:3000/teams/1"}],"rel":"availability-72"},{"href":"http://localhost:3000/availabilities/73","data":[{"name":"id","value":73},{"name":"type","value":"availability"},{"name":"event_id","value":1},{"name":"member_id","value":18},{"name":"notes","value":null},{"name":"notes_author_member_id","value":null},{"name":"status","value":"Unknown"},{"name":"status_code","value":null},{"name":"team_id","value":1},{"name":"created_at","value":"2016-06-01T17:24:02Z","type":"DateTime"},{"name":"updated_at","value":"2016-06-01T17:24:02Z","type":"DateTime"}],"links":[{"rel":"event","href":"http://localhost:3000/events/1"},{"rel":"member","href":"http://localhost:3000/members/18"},{"rel":"team","href":"http://localhost:3000/teams/1"}],"rel":"availability-73"}]}}'
113
115
  http_version: '1.1'
114
116
  adapter_metadata:
115
- effective_url: http://localhost:3000/availabilities/search?event_id=1&hmac_client_id=classic&hmac_nonce=cb101e17-a210-48cd-9f84-c7bbd4f8964a&hmac_timestamp=1458775793
116
- recorded_at: Wed, 23 Mar 2016 23:29:53 GMT
117
+ effective_url: http://localhost:3000/availabilities/search?event_id=1&hmac_client_id=classic&hmac_nonce=3258fa60-8eeb-4ae9-808f-84371fe39221&hmac_timestamp=1464801842
118
+ recorded_at: Wed, 01 Jun 2016 17:24:02 GMT
117
119
  recorded_with: VCR 2.9.3