teamsnap_rb 0.0.8 → 1.0.0.beta1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +13 -0
  3. data/Gemfile +2 -1
  4. data/LICENSE +1 -1
  5. data/README.md +31 -79
  6. data/Rakefile +19 -1
  7. data/lib/teamsnap/version.rb +3 -0
  8. data/lib/teamsnap.rb +270 -0
  9. data/spec/cassettes/apiv3-init.yml +1963 -0
  10. data/spec/cassettes/teamsnap_rb/adds_find_if_search_is_available.yml +56 -0
  11. data/spec/cassettes/teamsnap_rb/can_follow_plural_links.yml +111 -0
  12. data/spec/cassettes/teamsnap_rb/can_follow_singular_links.yml +105 -0
  13. data/spec/cassettes/teamsnap_rb/can_handle_an_empty_bulk_load.yml +52 -0
  14. data/spec/cassettes/teamsnap_rb/can_handle_an_error_with_bulk_load.yml +50 -0
  15. data/spec/cassettes/teamsnap_rb/can_handle_errors_generated_by_command.yml +50 -0
  16. data/spec/cassettes/teamsnap_rb/can_handle_links_with_no_data.yml +101 -0
  17. data/spec/cassettes/teamsnap_rb/can_use_bulk_load.yml +61 -0
  18. data/spec/cassettes/teamsnap_rb/handles_executing_an_action_via_commands.yml +54 -0
  19. data/spec/cassettes/teamsnap_rb/handles_fetching_data_via_queries.yml +56 -0
  20. data/spec/cassettes/teamsnap_rb/handles_queries_with_no_data.yml +53 -0
  21. data/spec/cassettes/teamsnap_rb/raises_an_exception_if_find_returns_nothing.yml +53 -0
  22. data/spec/spec_helper.rb +18 -13
  23. data/spec/teamsnap_spec.rb +125 -0
  24. data/teamsnap_rb.gemspec +17 -15
  25. metadata +100 -84
  26. data/lib/teamsnap_rb/client.rb +0 -8
  27. data/lib/teamsnap_rb/collection.rb +0 -179
  28. data/lib/teamsnap_rb/command.rb +0 -39
  29. data/lib/teamsnap_rb/commands.rb +0 -40
  30. data/lib/teamsnap_rb/config.rb +0 -14
  31. data/lib/teamsnap_rb/exceptions.rb +0 -3
  32. data/lib/teamsnap_rb/item.rb +0 -136
  33. data/lib/teamsnap_rb/link.rb +0 -24
  34. data/lib/teamsnap_rb/links_proxy.rb +0 -40
  35. data/lib/teamsnap_rb/models/event.rb +0 -4
  36. data/lib/teamsnap_rb/models/user.rb +0 -4
  37. data/lib/teamsnap_rb/queries_proxy.rb +0 -68
  38. data/lib/teamsnap_rb/request_builder.rb +0 -67
  39. data/lib/teamsnap_rb/template.rb +0 -37
  40. data/lib/teamsnap_rb/version.rb +0 -3
  41. data/lib/teamsnap_rb.rb +0 -22
  42. data/spec/client_spec.rb +0 -39
  43. data/spec/collection_spec.rb +0 -175
  44. data/spec/command_spec.rb +0 -60
  45. data/spec/commands_spec.rb +0 -35
  46. data/spec/config_spec.rb +0 -16
  47. data/spec/fixtures/cassettes/production_root.yml +0 -59
  48. data/spec/fixtures/cassettes/root.yml +0 -573
  49. data/spec/fixtures/cassettes/team.yml +0 -4858
  50. data/spec/fixtures/cassettes/teams.yml +0 -160
  51. data/spec/item_spec.rb +0 -133
  52. data/spec/link_spec.rb +0 -43
  53. data/spec/links_proxy_spec.rb +0 -32
  54. data/spec/queries_proxy_spec.rb +0 -31
  55. data/spec/template_spec.rb +0 -57
@@ -1,573 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: http://localhost:3003/
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- User-Agent:
11
- - Faraday v0.9.0
12
- Accept-Encoding:
13
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
- Accept:
15
- - "*/*"
16
- response:
17
- status:
18
- code: 200
19
- message: 'OK '
20
- headers:
21
- Content-Type:
22
- - application/vnd.collection+json
23
- Content-Length:
24
- - '2187'
25
- X-Content-Type-Options:
26
- - nosniff
27
- X-Ratelimit-Limit:
28
- - '5000'
29
- X-Ratelimit-Remaining:
30
- - '4996'
31
- X-Ratelimit-Reset:
32
- - '1415652962'
33
- Etag:
34
- - '"c5dd7d647d0380580d508bd4908093ee"'
35
- Cache-Control:
36
- - max-age=0, private, must-revalidate
37
- X-Request-Id:
38
- - 99b9857a-e351-41ec-b97d-f294b5a0ebce
39
- X-Runtime:
40
- - '0.014089'
41
- Server:
42
- - WEBrick/1.3.1 (Ruby/2.1.1/2014-02-24)
43
- Date:
44
- - Mon, 10 Nov 2014 20:01:46 GMT
45
- Connection:
46
- - Keep-Alive
47
- body:
48
- encoding: UTF-8
49
- string: '{"collection":{"version":"3.1.1","href":"http://localhost:3003/","links":[{"rel":"apiv2_root","href":"http://localhost:3003"},{"rel":"assignments","href":"http://localhost:3003/assignments"},{"rel":"availabilities","href":"http://localhost:3003/availabilities"},{"rel":"contact_email_addresses","href":"http://localhost:3003/contact_email_addresses"},{"rel":"contact_phone_numbers","href":"http://localhost:3003/contact_phone_numbers"},{"rel":"contacts","href":"http://localhost:3003/contacts"},{"rel":"custom_data","href":"http://localhost:3003/custom_data"},{"rel":"custom_fields","href":"http://localhost:3003/custom_fields"},{"rel":"events","href":"http://localhost:3003/events"},{"rel":"locations","href":"http://localhost:3003/locations"},{"rel":"me","href":"http://localhost:3003/me"},{"rel":"member_email_addresses","href":"http://localhost:3003/member_email_addresses"},{"rel":"member_files","href":"http://localhost:3003/member_files"},{"rel":"member_links","href":"http://localhost:3003/member_links"},{"rel":"member_phone_numbers","href":"http://localhost:3003/member_phone_numbers"},{"rel":"members","href":"http://localhost:3003/members"},{"rel":"members_preferences","href":"http://localhost:3003/members_preferences"},{"rel":"opponents","href":"http://localhost:3003/opponents"},{"rel":"plans","href":"http://localhost:3003/plans"},{"rel":"sms_gateways","href":"http://localhost:3003/sms_gateways"},{"rel":"sports","href":"http://localhost:3003/sports"},{"rel":"team_public_sites","href":"http://localhost:3003/team_public_sites"},{"rel":"teams","href":"http://localhost:3003/teams"},{"rel":"teams_preferences","href":"http://localhost:3003/teams_preferences"},{"rel":"time_zones","href":"http://localhost:3003/time_zones"},{"rel":"tracked_item_statuses","href":"http://localhost:3003/tracked_item_statuses"},{"rel":"tracked_items","href":"http://localhost:3003/tracked_items"},{"rel":"users","href":"http://localhost:3003/users"},{"rel":"root","href":"http://localhost:3003/"},{"rel":"self","href":"http://localhost:3003/"}],"queries":[{"rel":"bulk_load","href":"http://localhost:3003/bulk_load","data":[{"name":"team_id","value":null},{"name":"types","value":null}]}]}}'
50
- http_version:
51
- recorded_at: Mon, 10 Nov 2014 20:01:46 GMT
52
- - request:
53
- method: get
54
- uri: http://localhost:3003/bulk_load?team_id=1
55
- body:
56
- encoding: US-ASCII
57
- string: ''
58
- headers:
59
- User-Agent:
60
- - Faraday v0.9.0
61
- Accept-Encoding:
62
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
63
- Accept:
64
- - "*/*"
65
- response:
66
- status:
67
- code: 400
68
- message: 'Bad Request '
69
- headers:
70
- Content-Type:
71
- - application/vnd.collection+json
72
- Content-Length:
73
- - '73'
74
- X-Content-Type-Options:
75
- - nosniff
76
- X-Ratelimit-Limit:
77
- - '5000'
78
- X-Ratelimit-Remaining:
79
- - '4998'
80
- X-Ratelimit-Reset:
81
- - '1415740100'
82
- Cache-Control:
83
- - no-cache
84
- X-Request-Id:
85
- - fd8f1d8b-de86-4816-88a4-2ad6321c28bb
86
- X-Runtime:
87
- - '0.016286'
88
- Server:
89
- - WEBrick/1.3.1 (Ruby/2.1.1/2014-02-24)
90
- Date:
91
- - Tue, 11 Nov 2014 20:20:16 GMT
92
- Connection:
93
- - Keep-Alive
94
- body:
95
- encoding: UTF-8
96
- string: '{"collection":{"error":{"message":"You must include a types parameter"}}}'
97
- http_version:
98
- recorded_at: Tue, 11 Nov 2014 20:20:16 GMT
99
- - request:
100
- method: get
101
- uri: http://localhost:3003/teams
102
- body:
103
- encoding: US-ASCII
104
- string: ''
105
- headers:
106
- User-Agent:
107
- - Faraday v0.9.0
108
- Accept-Encoding:
109
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
110
- Accept:
111
- - "*/*"
112
- response:
113
- status:
114
- code: 200
115
- message: 'OK '
116
- headers:
117
- Content-Type:
118
- - application/vnd.collection+json
119
- Content-Length:
120
- - '2809'
121
- X-Content-Type-Options:
122
- - nosniff
123
- X-Ratelimit-Limit:
124
- - '5000'
125
- X-Ratelimit-Remaining:
126
- - '4999'
127
- X-Ratelimit-Reset:
128
- - '1415746747'
129
- Etag:
130
- - '"5daf3cf1d2f681f9ce53cdea0e70b9fb"'
131
- Cache-Control:
132
- - max-age=0, private, must-revalidate
133
- X-Request-Id:
134
- - 5e47d282-95d8-4bab-8495-c5185102d648
135
- X-Runtime:
136
- - '0.011763'
137
- Server:
138
- - WEBrick/1.3.1 (Ruby/2.1.1/2014-02-24)
139
- Date:
140
- - Tue, 11 Nov 2014 21:59:07 GMT
141
- Connection:
142
- - Keep-Alive
143
- body:
144
- encoding: UTF-8
145
- string: '{"collection":{"version":"3.1.1","href":"http://localhost:3003/teams","template":{"data":[{"name":"name","value":null},{"name":"location_country","value":null},{"name":"location_postal_code","value":null},{"name":"time_zone","value":null},{"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}]},"links":[{"rel":"active_season_team","href":"http://localhost:3003/teams"},{"rel":"assignments","href":"http://localhost:3003/assignments"},{"rel":"availabilities","href":"http://localhost:3003/availabilities"},{"rel":"contact_email_addresses","href":"http://localhost:3003/contact_email_addresses"},{"rel":"contact_phone_numbers","href":"http://localhost:3003/contact_phone_numbers"},{"rel":"contacts","href":"http://localhost:3003/contacts"},{"rel":"custom_data","href":"http://localhost:3003/custom_data"},{"rel":"custom_fields","href":"http://localhost:3003/custom_fields"},{"rel":"events","href":"http://localhost:3003/events"},{"rel":"locations","href":"http://localhost:3003/locations"},{"rel":"managers","href":"http://localhost:3003/members"},{"rel":"member_email_addresses","href":"http://localhost:3003/member_email_addresses"},{"rel":"member_files","href":"http://localhost:3003/member_files"},{"rel":"member_links","href":"http://localhost:3003/member_links"},{"rel":"member_phone_numbers","href":"http://localhost:3003/member_phone_numbers"},{"rel":"members","href":"http://localhost:3003/members"},{"rel":"members_preferences","href":"http://localhost:3003/members_preferences"},{"rel":"opponents","href":"http://localhost:3003/opponents"},{"rel":"owner","href":"http://localhost:3003/members"},{"rel":"plan","href":"http://localhost:3003/plans"},{"rel":"sport","href":"http://localhost:3003/sports"},{"rel":"team_preferences","href":"http://localhost:3003/teams_preferences"},{"rel":"team_public_site","href":"http://localhost:3003/team_public_sites"},{"rel":"team_results","href":"http://localhost:3003/teams_results"},{"rel":"tracked_item_statuses","href":"http://localhost:3003/tracked_item_statuses"},{"rel":"tracked_items","href":"http://localhost:3003/tracked_items"},{"rel":"root","href":"http://localhost:3003/"},{"rel":"self","href":"http://localhost:3003/teams"}],"queries":[{"rel":"search","href":"http://localhost:3003/teams/search","data":[{"name":"id","value":null},{"name":"team_id","value":null},{"name":"user_id","value":null}]}],"commands":[{"rel":"invite","href":"http://localhost:3003/teams/invite","prompt":"invite
146
- 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}]}]}}'
147
- http_version:
148
- recorded_at: Tue, 11 Nov 2014 21:59:07 GMT
149
- - request:
150
- method: get
151
- uri: http://localhost:3003/teams/search?id=1
152
- body:
153
- encoding: US-ASCII
154
- string: ''
155
- headers:
156
- User-Agent:
157
- - Faraday v0.9.0
158
- Accept-Encoding:
159
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
160
- Accept:
161
- - "*/*"
162
- response:
163
- status:
164
- code: 200
165
- message: 'OK '
166
- headers:
167
- Content-Type:
168
- - application/vnd.collection+json
169
- Content-Length:
170
- - '6445'
171
- X-Content-Type-Options:
172
- - nosniff
173
- X-Ratelimit-Limit:
174
- - '5000'
175
- X-Ratelimit-Remaining:
176
- - '4998'
177
- X-Ratelimit-Reset:
178
- - '1415746747'
179
- Etag:
180
- - '"22206dcb948d395fe8bbf8fef02a841b"'
181
- Cache-Control:
182
- - max-age=0, private, must-revalidate
183
- X-Request-Id:
184
- - 10438cd4-435f-4f75-a1dc-e4e4b21cdfd8
185
- X-Runtime:
186
- - '0.020118'
187
- Server:
188
- - WEBrick/1.3.1 (Ruby/2.1.1/2014-02-24)
189
- Date:
190
- - Tue, 11 Nov 2014 22:04:58 GMT
191
- Connection:
192
- - Keep-Alive
193
- body:
194
- encoding: UTF-8
195
- string: '{"collection":{"version":"3.1.1","href":"http://localhost:3003/teams","template":{"data":[{"name":"name","value":null},{"name":"location_country","value":null},{"name":"location_postal_code","value":null},{"name":"time_zone","value":null},{"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}]},"links":[{"rel":"active_season_team","href":"http://localhost:3003/teams"},{"rel":"assignments","href":"http://localhost:3003/assignments"},{"rel":"availabilities","href":"http://localhost:3003/availabilities"},{"rel":"contact_email_addresses","href":"http://localhost:3003/contact_email_addresses"},{"rel":"contact_phone_numbers","href":"http://localhost:3003/contact_phone_numbers"},{"rel":"contacts","href":"http://localhost:3003/contacts"},{"rel":"custom_data","href":"http://localhost:3003/custom_data"},{"rel":"custom_fields","href":"http://localhost:3003/custom_fields"},{"rel":"events","href":"http://localhost:3003/events"},{"rel":"locations","href":"http://localhost:3003/locations"},{"rel":"managers","href":"http://localhost:3003/members"},{"rel":"member_email_addresses","href":"http://localhost:3003/member_email_addresses"},{"rel":"member_files","href":"http://localhost:3003/member_files"},{"rel":"member_links","href":"http://localhost:3003/member_links"},{"rel":"member_phone_numbers","href":"http://localhost:3003/member_phone_numbers"},{"rel":"members","href":"http://localhost:3003/members"},{"rel":"members_preferences","href":"http://localhost:3003/members_preferences"},{"rel":"opponents","href":"http://localhost:3003/opponents"},{"rel":"owner","href":"http://localhost:3003/members"},{"rel":"plan","href":"http://localhost:3003/plans"},{"rel":"sport","href":"http://localhost:3003/sports"},{"rel":"team_preferences","href":"http://localhost:3003/teams_preferences"},{"rel":"team_public_site","href":"http://localhost:3003/team_public_sites"},{"rel":"team_results","href":"http://localhost:3003/teams_results"},{"rel":"tracked_item_statuses","href":"http://localhost:3003/tracked_item_statuses"},{"rel":"tracked_items","href":"http://localhost:3003/tracked_items"},{"rel":"root","href":"http://localhost:3003/"},{"rel":"self","href":"http://localhost:3003/teams/search?id=1"}],"queries":[{"rel":"search","href":"http://localhost:3003/teams/search","data":[{"name":"id","value":null},{"name":"team_id","value":null},{"name":"user_id","value":null}]}],"commands":[{"rel":"invite","href":"http://localhost:3003/teams/invite","prompt":"invite
196
- 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}]}],"items":[{"href":"http://localhost:3003/teams/1","data":[{"name":"id","value":1},{"name":"type","value":"team"},{"name":"name","value":"Danger
197
- Rangers"},{"name":"time_zone_offset","value":"-07:00"},{"name":"time_zone_iana_name","value":"America/Denver"},{"name":"time_zone_description","value":"Mountain
198
- Time (US & Canada)"},{"name":"updated_at","value":"2014-11-11T00:09:24Z","type":"DateTime"},{"name":"created_at","value":"2014-11-10T23:38:54Z","type":"DateTime"},{"name":"league_name","value":null},{"name":"league_url","value":null},{"name":"division_name","value":null},{"name":"season_name","value":null},{"name":"location_country","value":"United
199
- States"},{"name":"location_postal_code","value":"80951"},{"name":"is_archived_season","value":false},{"name":"sport_id","value":1},{"name":"plan_id","value":14}],"links":[{"rel":"assignments","href":"http://localhost:3003/assignments/search?team_id=1"},{"rel":"availabilities","href":"http://localhost:3003/availabilities/search?team_id=1"},{"rel":"calendar_http","href":"http://86ed2e8eefaaee16c4b7-16391cffaf9272bff70e93998d553c16.r2.cf1.rackcdn.com/team_schedule/a7e08520-4b60-0132-c8fd-000c29d7248b.ics"},{"rel":"calendar_http_games_only","href":"http://86ed2e8eefaaee16c4b7-16391cffaf9272bff70e93998d553c16.r2.cf1.rackcdn.com/team_schedule/filter/games/a7e08520-4b60-0132-c8fd-000c29d7248b.ics"},{"rel":"calendar_webcal","href":"webcal://86ed2e8eefaaee16c4b7-16391cffaf9272bff70e93998d553c16.r2.cf1.rackcdn.com/team_schedule/a7e08520-4b60-0132-c8fd-000c29d7248b.ics"},{"rel":"calendar_webcal_games_only","href":"webcal://86ed2e8eefaaee16c4b7-16391cffaf9272bff70e93998d553c16.r2.cf1.rackcdn.com/team_schedule/filter/games/a7e08520-4b60-0132-c8fd-000c29d7248b.ics"},{"rel":"contact_email_addresses","href":"http://localhost:3003/contact_email_addresses/search?team_id=1"},{"rel":"contact_phone_numbers","href":"http://localhost:3003/contact_phone_numbers/search?team_id=1"},{"rel":"contacts","href":"http://localhost:3003/contacts/search?team_id=1"},{"rel":"custom_data","href":"http://localhost:3003/custom_data/search?team_id=1"},{"rel":"custom_fields","href":"http://localhost:3003/custom_fields/search?team_id=1"},{"rel":"events","href":"http://localhost:3003/events/search?team_id=1"},{"rel":"locations","href":"http://localhost:3003/locations/search?team_id=1"},{"rel":"managers","href":"http://localhost:3003/members/managers?team_id=1"},{"rel":"member_email_addresses","href":"http://localhost:3003/member_email_addresses/search?team_id=1"},{"rel":"member_files","href":"http://localhost:3003/member_files/search?team_id=1"},{"rel":"member_links","href":"http://localhost:3003/member_links/search?team_id=1"},{"rel":"member_phone_numbers","href":"http://localhost:3003/member_phone_numbers/search?team_id=1"},{"rel":"members","href":"http://localhost:3003/members/search?team_id=1"},{"rel":"members_preferences","href":"http://localhost:3003/members_preferences/search?team_id=1"},{"rel":"opponents","href":"http://localhost:3003/opponents/search?team_id=1"},{"rel":"owner","href":"http://localhost:3003/owner_members?team_id=1"},{"rel":"plan","href":"http://localhost:3003/plans/14"},{"rel":"sport","href":"http://localhost:3003/sports/1"},{"rel":"team_preferences","href":"http://localhost:3003/teams_preferences/1"},{"rel":"team_public_site","href":"http://localhost:3003/team_public_sites/1"},{"rel":"team_results","href":"http://localhost:3003/teams_results/1"},{"rel":"tracked_item_statuses","href":"http://localhost:3003/tracked_item_statuses/search?team_id=1"},{"rel":"tracked_items","href":"http://localhost:3003/tracked_items/search?team_id=1"}]}]}}'
200
- http_version:
201
- recorded_at: Tue, 11 Nov 2014 22:04:58 GMT
202
- - request:
203
- method: get
204
- uri: http://localhost:3003/teams/search?id=1
205
- body:
206
- encoding: US-ASCII
207
- string: ''
208
- headers:
209
- User-Agent:
210
- - Faraday v0.9.0
211
- Accept-Encoding:
212
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
213
- Accept:
214
- - "*/*"
215
- response:
216
- status:
217
- code: 200
218
- message: 'OK '
219
- headers:
220
- Content-Type:
221
- - application/vnd.collection+json
222
- Content-Length:
223
- - '6445'
224
- X-Content-Type-Options:
225
- - nosniff
226
- X-Ratelimit-Limit:
227
- - '5000'
228
- X-Ratelimit-Remaining:
229
- - '4997'
230
- X-Ratelimit-Reset:
231
- - '1415746747'
232
- Etag:
233
- - '"22206dcb948d395fe8bbf8fef02a841b"'
234
- Cache-Control:
235
- - max-age=0, private, must-revalidate
236
- X-Request-Id:
237
- - dc3fe648-fde3-4501-9929-41b1b7164206
238
- X-Runtime:
239
- - '0.018476'
240
- Server:
241
- - WEBrick/1.3.1 (Ruby/2.1.1/2014-02-24)
242
- Date:
243
- - Tue, 11 Nov 2014 22:05:22 GMT
244
- Connection:
245
- - Keep-Alive
246
- body:
247
- encoding: UTF-8
248
- string: '{"collection":{"version":"3.1.1","href":"http://localhost:3003/teams","template":{"data":[{"name":"name","value":null},{"name":"location_country","value":null},{"name":"location_postal_code","value":null},{"name":"time_zone","value":null},{"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}]},"links":[{"rel":"active_season_team","href":"http://localhost:3003/teams"},{"rel":"assignments","href":"http://localhost:3003/assignments"},{"rel":"availabilities","href":"http://localhost:3003/availabilities"},{"rel":"contact_email_addresses","href":"http://localhost:3003/contact_email_addresses"},{"rel":"contact_phone_numbers","href":"http://localhost:3003/contact_phone_numbers"},{"rel":"contacts","href":"http://localhost:3003/contacts"},{"rel":"custom_data","href":"http://localhost:3003/custom_data"},{"rel":"custom_fields","href":"http://localhost:3003/custom_fields"},{"rel":"events","href":"http://localhost:3003/events"},{"rel":"locations","href":"http://localhost:3003/locations"},{"rel":"managers","href":"http://localhost:3003/members"},{"rel":"member_email_addresses","href":"http://localhost:3003/member_email_addresses"},{"rel":"member_files","href":"http://localhost:3003/member_files"},{"rel":"member_links","href":"http://localhost:3003/member_links"},{"rel":"member_phone_numbers","href":"http://localhost:3003/member_phone_numbers"},{"rel":"members","href":"http://localhost:3003/members"},{"rel":"members_preferences","href":"http://localhost:3003/members_preferences"},{"rel":"opponents","href":"http://localhost:3003/opponents"},{"rel":"owner","href":"http://localhost:3003/members"},{"rel":"plan","href":"http://localhost:3003/plans"},{"rel":"sport","href":"http://localhost:3003/sports"},{"rel":"team_preferences","href":"http://localhost:3003/teams_preferences"},{"rel":"team_public_site","href":"http://localhost:3003/team_public_sites"},{"rel":"team_results","href":"http://localhost:3003/teams_results"},{"rel":"tracked_item_statuses","href":"http://localhost:3003/tracked_item_statuses"},{"rel":"tracked_items","href":"http://localhost:3003/tracked_items"},{"rel":"root","href":"http://localhost:3003/"},{"rel":"self","href":"http://localhost:3003/teams/search?id=1"}],"queries":[{"rel":"search","href":"http://localhost:3003/teams/search","data":[{"name":"id","value":null},{"name":"team_id","value":null},{"name":"user_id","value":null}]}],"commands":[{"rel":"invite","href":"http://localhost:3003/teams/invite","prompt":"invite
249
- 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}]}],"items":[{"href":"http://localhost:3003/teams/1","data":[{"name":"id","value":1},{"name":"type","value":"team"},{"name":"name","value":"Danger
250
- Rangers"},{"name":"time_zone_offset","value":"-07:00"},{"name":"time_zone_iana_name","value":"America/Denver"},{"name":"time_zone_description","value":"Mountain
251
- Time (US & Canada)"},{"name":"updated_at","value":"2014-11-11T00:09:24Z","type":"DateTime"},{"name":"created_at","value":"2014-11-10T23:38:54Z","type":"DateTime"},{"name":"league_name","value":null},{"name":"league_url","value":null},{"name":"division_name","value":null},{"name":"season_name","value":null},{"name":"location_country","value":"United
252
- States"},{"name":"location_postal_code","value":"80951"},{"name":"is_archived_season","value":false},{"name":"sport_id","value":1},{"name":"plan_id","value":14}],"links":[{"rel":"assignments","href":"http://localhost:3003/assignments/search?team_id=1"},{"rel":"availabilities","href":"http://localhost:3003/availabilities/search?team_id=1"},{"rel":"calendar_http","href":"http://86ed2e8eefaaee16c4b7-16391cffaf9272bff70e93998d553c16.r2.cf1.rackcdn.com/team_schedule/a7e08520-4b60-0132-c8fd-000c29d7248b.ics"},{"rel":"calendar_http_games_only","href":"http://86ed2e8eefaaee16c4b7-16391cffaf9272bff70e93998d553c16.r2.cf1.rackcdn.com/team_schedule/filter/games/a7e08520-4b60-0132-c8fd-000c29d7248b.ics"},{"rel":"calendar_webcal","href":"webcal://86ed2e8eefaaee16c4b7-16391cffaf9272bff70e93998d553c16.r2.cf1.rackcdn.com/team_schedule/a7e08520-4b60-0132-c8fd-000c29d7248b.ics"},{"rel":"calendar_webcal_games_only","href":"webcal://86ed2e8eefaaee16c4b7-16391cffaf9272bff70e93998d553c16.r2.cf1.rackcdn.com/team_schedule/filter/games/a7e08520-4b60-0132-c8fd-000c29d7248b.ics"},{"rel":"contact_email_addresses","href":"http://localhost:3003/contact_email_addresses/search?team_id=1"},{"rel":"contact_phone_numbers","href":"http://localhost:3003/contact_phone_numbers/search?team_id=1"},{"rel":"contacts","href":"http://localhost:3003/contacts/search?team_id=1"},{"rel":"custom_data","href":"http://localhost:3003/custom_data/search?team_id=1"},{"rel":"custom_fields","href":"http://localhost:3003/custom_fields/search?team_id=1"},{"rel":"events","href":"http://localhost:3003/events/search?team_id=1"},{"rel":"locations","href":"http://localhost:3003/locations/search?team_id=1"},{"rel":"managers","href":"http://localhost:3003/members/managers?team_id=1"},{"rel":"member_email_addresses","href":"http://localhost:3003/member_email_addresses/search?team_id=1"},{"rel":"member_files","href":"http://localhost:3003/member_files/search?team_id=1"},{"rel":"member_links","href":"http://localhost:3003/member_links/search?team_id=1"},{"rel":"member_phone_numbers","href":"http://localhost:3003/member_phone_numbers/search?team_id=1"},{"rel":"members","href":"http://localhost:3003/members/search?team_id=1"},{"rel":"members_preferences","href":"http://localhost:3003/members_preferences/search?team_id=1"},{"rel":"opponents","href":"http://localhost:3003/opponents/search?team_id=1"},{"rel":"owner","href":"http://localhost:3003/owner_members?team_id=1"},{"rel":"plan","href":"http://localhost:3003/plans/14"},{"rel":"sport","href":"http://localhost:3003/sports/1"},{"rel":"team_preferences","href":"http://localhost:3003/teams_preferences/1"},{"rel":"team_public_site","href":"http://localhost:3003/team_public_sites/1"},{"rel":"team_results","href":"http://localhost:3003/teams_results/1"},{"rel":"tracked_item_statuses","href":"http://localhost:3003/tracked_item_statuses/search?team_id=1"},{"rel":"tracked_items","href":"http://localhost:3003/tracked_items/search?team_id=1"}]}]}}'
253
- http_version:
254
- recorded_at: Tue, 11 Nov 2014 22:05:22 GMT
255
- - request:
256
- method: get
257
- uri: http://localhost:3003/teams/search?id=1
258
- body:
259
- encoding: US-ASCII
260
- string: ''
261
- headers:
262
- User-Agent:
263
- - Faraday v0.9.0
264
- Accept-Encoding:
265
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
266
- Accept:
267
- - "*/*"
268
- response:
269
- status:
270
- code: 200
271
- message: 'OK '
272
- headers:
273
- Content-Type:
274
- - application/vnd.collection+json
275
- Content-Length:
276
- - '6445'
277
- X-Content-Type-Options:
278
- - nosniff
279
- X-Ratelimit-Limit:
280
- - '5000'
281
- X-Ratelimit-Remaining:
282
- - '4996'
283
- X-Ratelimit-Reset:
284
- - '1415746747'
285
- Etag:
286
- - '"22206dcb948d395fe8bbf8fef02a841b"'
287
- Cache-Control:
288
- - max-age=0, private, must-revalidate
289
- X-Request-Id:
290
- - b908e2ce-36df-42f3-a1b2-faedf2b80952
291
- X-Runtime:
292
- - '0.018106'
293
- Server:
294
- - WEBrick/1.3.1 (Ruby/2.1.1/2014-02-24)
295
- Date:
296
- - Tue, 11 Nov 2014 22:05:27 GMT
297
- Connection:
298
- - Keep-Alive
299
- body:
300
- encoding: UTF-8
301
- string: '{"collection":{"version":"3.1.1","href":"http://localhost:3003/teams","template":{"data":[{"name":"name","value":null},{"name":"location_country","value":null},{"name":"location_postal_code","value":null},{"name":"time_zone","value":null},{"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}]},"links":[{"rel":"active_season_team","href":"http://localhost:3003/teams"},{"rel":"assignments","href":"http://localhost:3003/assignments"},{"rel":"availabilities","href":"http://localhost:3003/availabilities"},{"rel":"contact_email_addresses","href":"http://localhost:3003/contact_email_addresses"},{"rel":"contact_phone_numbers","href":"http://localhost:3003/contact_phone_numbers"},{"rel":"contacts","href":"http://localhost:3003/contacts"},{"rel":"custom_data","href":"http://localhost:3003/custom_data"},{"rel":"custom_fields","href":"http://localhost:3003/custom_fields"},{"rel":"events","href":"http://localhost:3003/events"},{"rel":"locations","href":"http://localhost:3003/locations"},{"rel":"managers","href":"http://localhost:3003/members"},{"rel":"member_email_addresses","href":"http://localhost:3003/member_email_addresses"},{"rel":"member_files","href":"http://localhost:3003/member_files"},{"rel":"member_links","href":"http://localhost:3003/member_links"},{"rel":"member_phone_numbers","href":"http://localhost:3003/member_phone_numbers"},{"rel":"members","href":"http://localhost:3003/members"},{"rel":"members_preferences","href":"http://localhost:3003/members_preferences"},{"rel":"opponents","href":"http://localhost:3003/opponents"},{"rel":"owner","href":"http://localhost:3003/members"},{"rel":"plan","href":"http://localhost:3003/plans"},{"rel":"sport","href":"http://localhost:3003/sports"},{"rel":"team_preferences","href":"http://localhost:3003/teams_preferences"},{"rel":"team_public_site","href":"http://localhost:3003/team_public_sites"},{"rel":"team_results","href":"http://localhost:3003/teams_results"},{"rel":"tracked_item_statuses","href":"http://localhost:3003/tracked_item_statuses"},{"rel":"tracked_items","href":"http://localhost:3003/tracked_items"},{"rel":"root","href":"http://localhost:3003/"},{"rel":"self","href":"http://localhost:3003/teams/search?id=1"}],"queries":[{"rel":"search","href":"http://localhost:3003/teams/search","data":[{"name":"id","value":null},{"name":"team_id","value":null},{"name":"user_id","value":null}]}],"commands":[{"rel":"invite","href":"http://localhost:3003/teams/invite","prompt":"invite
302
- 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}]}],"items":[{"href":"http://localhost:3003/teams/1","data":[{"name":"id","value":1},{"name":"type","value":"team"},{"name":"name","value":"Danger
303
- Rangers"},{"name":"time_zone_offset","value":"-07:00"},{"name":"time_zone_iana_name","value":"America/Denver"},{"name":"time_zone_description","value":"Mountain
304
- Time (US & Canada)"},{"name":"updated_at","value":"2014-11-11T00:09:24Z","type":"DateTime"},{"name":"created_at","value":"2014-11-10T23:38:54Z","type":"DateTime"},{"name":"league_name","value":null},{"name":"league_url","value":null},{"name":"division_name","value":null},{"name":"season_name","value":null},{"name":"location_country","value":"United
305
- States"},{"name":"location_postal_code","value":"80951"},{"name":"is_archived_season","value":false},{"name":"sport_id","value":1},{"name":"plan_id","value":14}],"links":[{"rel":"assignments","href":"http://localhost:3003/assignments/search?team_id=1"},{"rel":"availabilities","href":"http://localhost:3003/availabilities/search?team_id=1"},{"rel":"calendar_http","href":"http://86ed2e8eefaaee16c4b7-16391cffaf9272bff70e93998d553c16.r2.cf1.rackcdn.com/team_schedule/a7e08520-4b60-0132-c8fd-000c29d7248b.ics"},{"rel":"calendar_http_games_only","href":"http://86ed2e8eefaaee16c4b7-16391cffaf9272bff70e93998d553c16.r2.cf1.rackcdn.com/team_schedule/filter/games/a7e08520-4b60-0132-c8fd-000c29d7248b.ics"},{"rel":"calendar_webcal","href":"webcal://86ed2e8eefaaee16c4b7-16391cffaf9272bff70e93998d553c16.r2.cf1.rackcdn.com/team_schedule/a7e08520-4b60-0132-c8fd-000c29d7248b.ics"},{"rel":"calendar_webcal_games_only","href":"webcal://86ed2e8eefaaee16c4b7-16391cffaf9272bff70e93998d553c16.r2.cf1.rackcdn.com/team_schedule/filter/games/a7e08520-4b60-0132-c8fd-000c29d7248b.ics"},{"rel":"contact_email_addresses","href":"http://localhost:3003/contact_email_addresses/search?team_id=1"},{"rel":"contact_phone_numbers","href":"http://localhost:3003/contact_phone_numbers/search?team_id=1"},{"rel":"contacts","href":"http://localhost:3003/contacts/search?team_id=1"},{"rel":"custom_data","href":"http://localhost:3003/custom_data/search?team_id=1"},{"rel":"custom_fields","href":"http://localhost:3003/custom_fields/search?team_id=1"},{"rel":"events","href":"http://localhost:3003/events/search?team_id=1"},{"rel":"locations","href":"http://localhost:3003/locations/search?team_id=1"},{"rel":"managers","href":"http://localhost:3003/members/managers?team_id=1"},{"rel":"member_email_addresses","href":"http://localhost:3003/member_email_addresses/search?team_id=1"},{"rel":"member_files","href":"http://localhost:3003/member_files/search?team_id=1"},{"rel":"member_links","href":"http://localhost:3003/member_links/search?team_id=1"},{"rel":"member_phone_numbers","href":"http://localhost:3003/member_phone_numbers/search?team_id=1"},{"rel":"members","href":"http://localhost:3003/members/search?team_id=1"},{"rel":"members_preferences","href":"http://localhost:3003/members_preferences/search?team_id=1"},{"rel":"opponents","href":"http://localhost:3003/opponents/search?team_id=1"},{"rel":"owner","href":"http://localhost:3003/owner_members?team_id=1"},{"rel":"plan","href":"http://localhost:3003/plans/14"},{"rel":"sport","href":"http://localhost:3003/sports/1"},{"rel":"team_preferences","href":"http://localhost:3003/teams_preferences/1"},{"rel":"team_public_site","href":"http://localhost:3003/team_public_sites/1"},{"rel":"team_results","href":"http://localhost:3003/teams_results/1"},{"rel":"tracked_item_statuses","href":"http://localhost:3003/tracked_item_statuses/search?team_id=1"},{"rel":"tracked_items","href":"http://localhost:3003/tracked_items/search?team_id=1"}]}]}}'
306
- http_version:
307
- recorded_at: Tue, 11 Nov 2014 22:05:27 GMT
308
- - request:
309
- method: get
310
- uri: http://localhost:3003/teams/search?id=1
311
- body:
312
- encoding: US-ASCII
313
- string: ''
314
- headers:
315
- User-Agent:
316
- - Faraday v0.9.0
317
- Accept-Encoding:
318
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
319
- Accept:
320
- - "*/*"
321
- response:
322
- status:
323
- code: 200
324
- message: 'OK '
325
- headers:
326
- Content-Type:
327
- - application/vnd.collection+json
328
- Content-Length:
329
- - '6445'
330
- X-Content-Type-Options:
331
- - nosniff
332
- X-Ratelimit-Limit:
333
- - '5000'
334
- X-Ratelimit-Remaining:
335
- - '4995'
336
- X-Ratelimit-Reset:
337
- - '1415746747'
338
- Etag:
339
- - '"22206dcb948d395fe8bbf8fef02a841b"'
340
- Cache-Control:
341
- - max-age=0, private, must-revalidate
342
- X-Request-Id:
343
- - 643ba00b-c1f6-4756-8f39-0c47ef6d338d
344
- X-Runtime:
345
- - '0.022036'
346
- Server:
347
- - WEBrick/1.3.1 (Ruby/2.1.1/2014-02-24)
348
- Date:
349
- - Tue, 11 Nov 2014 22:05:27 GMT
350
- Connection:
351
- - Keep-Alive
352
- body:
353
- encoding: UTF-8
354
- string: '{"collection":{"version":"3.1.1","href":"http://localhost:3003/teams","template":{"data":[{"name":"name","value":null},{"name":"location_country","value":null},{"name":"location_postal_code","value":null},{"name":"time_zone","value":null},{"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}]},"links":[{"rel":"active_season_team","href":"http://localhost:3003/teams"},{"rel":"assignments","href":"http://localhost:3003/assignments"},{"rel":"availabilities","href":"http://localhost:3003/availabilities"},{"rel":"contact_email_addresses","href":"http://localhost:3003/contact_email_addresses"},{"rel":"contact_phone_numbers","href":"http://localhost:3003/contact_phone_numbers"},{"rel":"contacts","href":"http://localhost:3003/contacts"},{"rel":"custom_data","href":"http://localhost:3003/custom_data"},{"rel":"custom_fields","href":"http://localhost:3003/custom_fields"},{"rel":"events","href":"http://localhost:3003/events"},{"rel":"locations","href":"http://localhost:3003/locations"},{"rel":"managers","href":"http://localhost:3003/members"},{"rel":"member_email_addresses","href":"http://localhost:3003/member_email_addresses"},{"rel":"member_files","href":"http://localhost:3003/member_files"},{"rel":"member_links","href":"http://localhost:3003/member_links"},{"rel":"member_phone_numbers","href":"http://localhost:3003/member_phone_numbers"},{"rel":"members","href":"http://localhost:3003/members"},{"rel":"members_preferences","href":"http://localhost:3003/members_preferences"},{"rel":"opponents","href":"http://localhost:3003/opponents"},{"rel":"owner","href":"http://localhost:3003/members"},{"rel":"plan","href":"http://localhost:3003/plans"},{"rel":"sport","href":"http://localhost:3003/sports"},{"rel":"team_preferences","href":"http://localhost:3003/teams_preferences"},{"rel":"team_public_site","href":"http://localhost:3003/team_public_sites"},{"rel":"team_results","href":"http://localhost:3003/teams_results"},{"rel":"tracked_item_statuses","href":"http://localhost:3003/tracked_item_statuses"},{"rel":"tracked_items","href":"http://localhost:3003/tracked_items"},{"rel":"root","href":"http://localhost:3003/"},{"rel":"self","href":"http://localhost:3003/teams/search?id=1"}],"queries":[{"rel":"search","href":"http://localhost:3003/teams/search","data":[{"name":"id","value":null},{"name":"team_id","value":null},{"name":"user_id","value":null}]}],"commands":[{"rel":"invite","href":"http://localhost:3003/teams/invite","prompt":"invite
355
- 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}]}],"items":[{"href":"http://localhost:3003/teams/1","data":[{"name":"id","value":1},{"name":"type","value":"team"},{"name":"name","value":"Danger
356
- Rangers"},{"name":"time_zone_offset","value":"-07:00"},{"name":"time_zone_iana_name","value":"America/Denver"},{"name":"time_zone_description","value":"Mountain
357
- Time (US & Canada)"},{"name":"updated_at","value":"2014-11-11T00:09:24Z","type":"DateTime"},{"name":"created_at","value":"2014-11-10T23:38:54Z","type":"DateTime"},{"name":"league_name","value":null},{"name":"league_url","value":null},{"name":"division_name","value":null},{"name":"season_name","value":null},{"name":"location_country","value":"United
358
- States"},{"name":"location_postal_code","value":"80951"},{"name":"is_archived_season","value":false},{"name":"sport_id","value":1},{"name":"plan_id","value":14}],"links":[{"rel":"assignments","href":"http://localhost:3003/assignments/search?team_id=1"},{"rel":"availabilities","href":"http://localhost:3003/availabilities/search?team_id=1"},{"rel":"calendar_http","href":"http://86ed2e8eefaaee16c4b7-16391cffaf9272bff70e93998d553c16.r2.cf1.rackcdn.com/team_schedule/a7e08520-4b60-0132-c8fd-000c29d7248b.ics"},{"rel":"calendar_http_games_only","href":"http://86ed2e8eefaaee16c4b7-16391cffaf9272bff70e93998d553c16.r2.cf1.rackcdn.com/team_schedule/filter/games/a7e08520-4b60-0132-c8fd-000c29d7248b.ics"},{"rel":"calendar_webcal","href":"webcal://86ed2e8eefaaee16c4b7-16391cffaf9272bff70e93998d553c16.r2.cf1.rackcdn.com/team_schedule/a7e08520-4b60-0132-c8fd-000c29d7248b.ics"},{"rel":"calendar_webcal_games_only","href":"webcal://86ed2e8eefaaee16c4b7-16391cffaf9272bff70e93998d553c16.r2.cf1.rackcdn.com/team_schedule/filter/games/a7e08520-4b60-0132-c8fd-000c29d7248b.ics"},{"rel":"contact_email_addresses","href":"http://localhost:3003/contact_email_addresses/search?team_id=1"},{"rel":"contact_phone_numbers","href":"http://localhost:3003/contact_phone_numbers/search?team_id=1"},{"rel":"contacts","href":"http://localhost:3003/contacts/search?team_id=1"},{"rel":"custom_data","href":"http://localhost:3003/custom_data/search?team_id=1"},{"rel":"custom_fields","href":"http://localhost:3003/custom_fields/search?team_id=1"},{"rel":"events","href":"http://localhost:3003/events/search?team_id=1"},{"rel":"locations","href":"http://localhost:3003/locations/search?team_id=1"},{"rel":"managers","href":"http://localhost:3003/members/managers?team_id=1"},{"rel":"member_email_addresses","href":"http://localhost:3003/member_email_addresses/search?team_id=1"},{"rel":"member_files","href":"http://localhost:3003/member_files/search?team_id=1"},{"rel":"member_links","href":"http://localhost:3003/member_links/search?team_id=1"},{"rel":"member_phone_numbers","href":"http://localhost:3003/member_phone_numbers/search?team_id=1"},{"rel":"members","href":"http://localhost:3003/members/search?team_id=1"},{"rel":"members_preferences","href":"http://localhost:3003/members_preferences/search?team_id=1"},{"rel":"opponents","href":"http://localhost:3003/opponents/search?team_id=1"},{"rel":"owner","href":"http://localhost:3003/owner_members?team_id=1"},{"rel":"plan","href":"http://localhost:3003/plans/14"},{"rel":"sport","href":"http://localhost:3003/sports/1"},{"rel":"team_preferences","href":"http://localhost:3003/teams_preferences/1"},{"rel":"team_public_site","href":"http://localhost:3003/team_public_sites/1"},{"rel":"team_results","href":"http://localhost:3003/teams_results/1"},{"rel":"tracked_item_statuses","href":"http://localhost:3003/tracked_item_statuses/search?team_id=1"},{"rel":"tracked_items","href":"http://localhost:3003/tracked_items/search?team_id=1"}]}]}}'
359
- http_version:
360
- recorded_at: Tue, 11 Nov 2014 22:05:27 GMT
361
- - request:
362
- method: get
363
- uri: http://localhost:3003/teams/search?id=1
364
- body:
365
- encoding: US-ASCII
366
- string: ''
367
- headers:
368
- User-Agent:
369
- - Faraday v0.9.0
370
- Accept-Encoding:
371
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
372
- Accept:
373
- - "*/*"
374
- response:
375
- status:
376
- code: 200
377
- message: 'OK '
378
- headers:
379
- Content-Type:
380
- - application/vnd.collection+json
381
- Content-Length:
382
- - '6445'
383
- X-Content-Type-Options:
384
- - nosniff
385
- X-Ratelimit-Limit:
386
- - '5000'
387
- X-Ratelimit-Remaining:
388
- - '4994'
389
- X-Ratelimit-Reset:
390
- - '1415746746'
391
- Etag:
392
- - '"22206dcb948d395fe8bbf8fef02a841b"'
393
- Cache-Control:
394
- - max-age=0, private, must-revalidate
395
- X-Request-Id:
396
- - 7021980f-868d-41f9-84a7-01ccc9f604cd
397
- X-Runtime:
398
- - '0.017416'
399
- Server:
400
- - WEBrick/1.3.1 (Ruby/2.1.1/2014-02-24)
401
- Date:
402
- - Tue, 11 Nov 2014 22:05:39 GMT
403
- Connection:
404
- - Keep-Alive
405
- body:
406
- encoding: UTF-8
407
- string: '{"collection":{"version":"3.1.1","href":"http://localhost:3003/teams","template":{"data":[{"name":"name","value":null},{"name":"location_country","value":null},{"name":"location_postal_code","value":null},{"name":"time_zone","value":null},{"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}]},"links":[{"rel":"active_season_team","href":"http://localhost:3003/teams"},{"rel":"assignments","href":"http://localhost:3003/assignments"},{"rel":"availabilities","href":"http://localhost:3003/availabilities"},{"rel":"contact_email_addresses","href":"http://localhost:3003/contact_email_addresses"},{"rel":"contact_phone_numbers","href":"http://localhost:3003/contact_phone_numbers"},{"rel":"contacts","href":"http://localhost:3003/contacts"},{"rel":"custom_data","href":"http://localhost:3003/custom_data"},{"rel":"custom_fields","href":"http://localhost:3003/custom_fields"},{"rel":"events","href":"http://localhost:3003/events"},{"rel":"locations","href":"http://localhost:3003/locations"},{"rel":"managers","href":"http://localhost:3003/members"},{"rel":"member_email_addresses","href":"http://localhost:3003/member_email_addresses"},{"rel":"member_files","href":"http://localhost:3003/member_files"},{"rel":"member_links","href":"http://localhost:3003/member_links"},{"rel":"member_phone_numbers","href":"http://localhost:3003/member_phone_numbers"},{"rel":"members","href":"http://localhost:3003/members"},{"rel":"members_preferences","href":"http://localhost:3003/members_preferences"},{"rel":"opponents","href":"http://localhost:3003/opponents"},{"rel":"owner","href":"http://localhost:3003/members"},{"rel":"plan","href":"http://localhost:3003/plans"},{"rel":"sport","href":"http://localhost:3003/sports"},{"rel":"team_preferences","href":"http://localhost:3003/teams_preferences"},{"rel":"team_public_site","href":"http://localhost:3003/team_public_sites"},{"rel":"team_results","href":"http://localhost:3003/teams_results"},{"rel":"tracked_item_statuses","href":"http://localhost:3003/tracked_item_statuses"},{"rel":"tracked_items","href":"http://localhost:3003/tracked_items"},{"rel":"root","href":"http://localhost:3003/"},{"rel":"self","href":"http://localhost:3003/teams/search?id=1"}],"queries":[{"rel":"search","href":"http://localhost:3003/teams/search","data":[{"name":"id","value":null},{"name":"team_id","value":null},{"name":"user_id","value":null}]}],"commands":[{"rel":"invite","href":"http://localhost:3003/teams/invite","prompt":"invite
408
- 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}]}],"items":[{"href":"http://localhost:3003/teams/1","data":[{"name":"id","value":1},{"name":"type","value":"team"},{"name":"name","value":"Danger
409
- Rangers"},{"name":"time_zone_offset","value":"-07:00"},{"name":"time_zone_iana_name","value":"America/Denver"},{"name":"time_zone_description","value":"Mountain
410
- Time (US & Canada)"},{"name":"updated_at","value":"2014-11-11T00:09:24Z","type":"DateTime"},{"name":"created_at","value":"2014-11-10T23:38:54Z","type":"DateTime"},{"name":"league_name","value":null},{"name":"league_url","value":null},{"name":"division_name","value":null},{"name":"season_name","value":null},{"name":"location_country","value":"United
411
- States"},{"name":"location_postal_code","value":"80951"},{"name":"is_archived_season","value":false},{"name":"sport_id","value":1},{"name":"plan_id","value":14}],"links":[{"rel":"assignments","href":"http://localhost:3003/assignments/search?team_id=1"},{"rel":"availabilities","href":"http://localhost:3003/availabilities/search?team_id=1"},{"rel":"calendar_http","href":"http://86ed2e8eefaaee16c4b7-16391cffaf9272bff70e93998d553c16.r2.cf1.rackcdn.com/team_schedule/a7e08520-4b60-0132-c8fd-000c29d7248b.ics"},{"rel":"calendar_http_games_only","href":"http://86ed2e8eefaaee16c4b7-16391cffaf9272bff70e93998d553c16.r2.cf1.rackcdn.com/team_schedule/filter/games/a7e08520-4b60-0132-c8fd-000c29d7248b.ics"},{"rel":"calendar_webcal","href":"webcal://86ed2e8eefaaee16c4b7-16391cffaf9272bff70e93998d553c16.r2.cf1.rackcdn.com/team_schedule/a7e08520-4b60-0132-c8fd-000c29d7248b.ics"},{"rel":"calendar_webcal_games_only","href":"webcal://86ed2e8eefaaee16c4b7-16391cffaf9272bff70e93998d553c16.r2.cf1.rackcdn.com/team_schedule/filter/games/a7e08520-4b60-0132-c8fd-000c29d7248b.ics"},{"rel":"contact_email_addresses","href":"http://localhost:3003/contact_email_addresses/search?team_id=1"},{"rel":"contact_phone_numbers","href":"http://localhost:3003/contact_phone_numbers/search?team_id=1"},{"rel":"contacts","href":"http://localhost:3003/contacts/search?team_id=1"},{"rel":"custom_data","href":"http://localhost:3003/custom_data/search?team_id=1"},{"rel":"custom_fields","href":"http://localhost:3003/custom_fields/search?team_id=1"},{"rel":"events","href":"http://localhost:3003/events/search?team_id=1"},{"rel":"locations","href":"http://localhost:3003/locations/search?team_id=1"},{"rel":"managers","href":"http://localhost:3003/members/managers?team_id=1"},{"rel":"member_email_addresses","href":"http://localhost:3003/member_email_addresses/search?team_id=1"},{"rel":"member_files","href":"http://localhost:3003/member_files/search?team_id=1"},{"rel":"member_links","href":"http://localhost:3003/member_links/search?team_id=1"},{"rel":"member_phone_numbers","href":"http://localhost:3003/member_phone_numbers/search?team_id=1"},{"rel":"members","href":"http://localhost:3003/members/search?team_id=1"},{"rel":"members_preferences","href":"http://localhost:3003/members_preferences/search?team_id=1"},{"rel":"opponents","href":"http://localhost:3003/opponents/search?team_id=1"},{"rel":"owner","href":"http://localhost:3003/owner_members?team_id=1"},{"rel":"plan","href":"http://localhost:3003/plans/14"},{"rel":"sport","href":"http://localhost:3003/sports/1"},{"rel":"team_preferences","href":"http://localhost:3003/teams_preferences/1"},{"rel":"team_public_site","href":"http://localhost:3003/team_public_sites/1"},{"rel":"team_results","href":"http://localhost:3003/teams_results/1"},{"rel":"tracked_item_statuses","href":"http://localhost:3003/tracked_item_statuses/search?team_id=1"},{"rel":"tracked_items","href":"http://localhost:3003/tracked_items/search?team_id=1"}]}]}}'
412
- http_version:
413
- recorded_at: Tue, 11 Nov 2014 22:05:39 GMT
414
- - request:
415
- method: get
416
- uri: http://localhost:3003/teams/search?id=1
417
- body:
418
- encoding: US-ASCII
419
- string: ''
420
- headers:
421
- User-Agent:
422
- - Faraday v0.9.0
423
- Accept-Encoding:
424
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
425
- Accept:
426
- - "*/*"
427
- response:
428
- status:
429
- code: 200
430
- message: 'OK '
431
- headers:
432
- Content-Type:
433
- - application/vnd.collection+json
434
- Content-Length:
435
- - '6445'
436
- X-Content-Type-Options:
437
- - nosniff
438
- X-Ratelimit-Limit:
439
- - '5000'
440
- X-Ratelimit-Remaining:
441
- - '4993'
442
- X-Ratelimit-Reset:
443
- - '1415746747'
444
- Etag:
445
- - '"22206dcb948d395fe8bbf8fef02a841b"'
446
- Cache-Control:
447
- - max-age=0, private, must-revalidate
448
- X-Request-Id:
449
- - e076b2da-66ed-4ed1-8daf-71b9eac5b159
450
- X-Runtime:
451
- - '0.017128'
452
- Server:
453
- - WEBrick/1.3.1 (Ruby/2.1.1/2014-02-24)
454
- Date:
455
- - Tue, 11 Nov 2014 22:05:43 GMT
456
- Connection:
457
- - Keep-Alive
458
- body:
459
- encoding: UTF-8
460
- string: '{"collection":{"version":"3.1.1","href":"http://localhost:3003/teams","template":{"data":[{"name":"name","value":null},{"name":"location_country","value":null},{"name":"location_postal_code","value":null},{"name":"time_zone","value":null},{"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}]},"links":[{"rel":"active_season_team","href":"http://localhost:3003/teams"},{"rel":"assignments","href":"http://localhost:3003/assignments"},{"rel":"availabilities","href":"http://localhost:3003/availabilities"},{"rel":"contact_email_addresses","href":"http://localhost:3003/contact_email_addresses"},{"rel":"contact_phone_numbers","href":"http://localhost:3003/contact_phone_numbers"},{"rel":"contacts","href":"http://localhost:3003/contacts"},{"rel":"custom_data","href":"http://localhost:3003/custom_data"},{"rel":"custom_fields","href":"http://localhost:3003/custom_fields"},{"rel":"events","href":"http://localhost:3003/events"},{"rel":"locations","href":"http://localhost:3003/locations"},{"rel":"managers","href":"http://localhost:3003/members"},{"rel":"member_email_addresses","href":"http://localhost:3003/member_email_addresses"},{"rel":"member_files","href":"http://localhost:3003/member_files"},{"rel":"member_links","href":"http://localhost:3003/member_links"},{"rel":"member_phone_numbers","href":"http://localhost:3003/member_phone_numbers"},{"rel":"members","href":"http://localhost:3003/members"},{"rel":"members_preferences","href":"http://localhost:3003/members_preferences"},{"rel":"opponents","href":"http://localhost:3003/opponents"},{"rel":"owner","href":"http://localhost:3003/members"},{"rel":"plan","href":"http://localhost:3003/plans"},{"rel":"sport","href":"http://localhost:3003/sports"},{"rel":"team_preferences","href":"http://localhost:3003/teams_preferences"},{"rel":"team_public_site","href":"http://localhost:3003/team_public_sites"},{"rel":"team_results","href":"http://localhost:3003/teams_results"},{"rel":"tracked_item_statuses","href":"http://localhost:3003/tracked_item_statuses"},{"rel":"tracked_items","href":"http://localhost:3003/tracked_items"},{"rel":"root","href":"http://localhost:3003/"},{"rel":"self","href":"http://localhost:3003/teams/search?id=1"}],"queries":[{"rel":"search","href":"http://localhost:3003/teams/search","data":[{"name":"id","value":null},{"name":"team_id","value":null},{"name":"user_id","value":null}]}],"commands":[{"rel":"invite","href":"http://localhost:3003/teams/invite","prompt":"invite
461
- 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}]}],"items":[{"href":"http://localhost:3003/teams/1","data":[{"name":"id","value":1},{"name":"type","value":"team"},{"name":"name","value":"Danger
462
- Rangers"},{"name":"time_zone_offset","value":"-07:00"},{"name":"time_zone_iana_name","value":"America/Denver"},{"name":"time_zone_description","value":"Mountain
463
- Time (US & Canada)"},{"name":"updated_at","value":"2014-11-11T00:09:24Z","type":"DateTime"},{"name":"created_at","value":"2014-11-10T23:38:54Z","type":"DateTime"},{"name":"league_name","value":null},{"name":"league_url","value":null},{"name":"division_name","value":null},{"name":"season_name","value":null},{"name":"location_country","value":"United
464
- States"},{"name":"location_postal_code","value":"80951"},{"name":"is_archived_season","value":false},{"name":"sport_id","value":1},{"name":"plan_id","value":14}],"links":[{"rel":"assignments","href":"http://localhost:3003/assignments/search?team_id=1"},{"rel":"availabilities","href":"http://localhost:3003/availabilities/search?team_id=1"},{"rel":"calendar_http","href":"http://86ed2e8eefaaee16c4b7-16391cffaf9272bff70e93998d553c16.r2.cf1.rackcdn.com/team_schedule/a7e08520-4b60-0132-c8fd-000c29d7248b.ics"},{"rel":"calendar_http_games_only","href":"http://86ed2e8eefaaee16c4b7-16391cffaf9272bff70e93998d553c16.r2.cf1.rackcdn.com/team_schedule/filter/games/a7e08520-4b60-0132-c8fd-000c29d7248b.ics"},{"rel":"calendar_webcal","href":"webcal://86ed2e8eefaaee16c4b7-16391cffaf9272bff70e93998d553c16.r2.cf1.rackcdn.com/team_schedule/a7e08520-4b60-0132-c8fd-000c29d7248b.ics"},{"rel":"calendar_webcal_games_only","href":"webcal://86ed2e8eefaaee16c4b7-16391cffaf9272bff70e93998d553c16.r2.cf1.rackcdn.com/team_schedule/filter/games/a7e08520-4b60-0132-c8fd-000c29d7248b.ics"},{"rel":"contact_email_addresses","href":"http://localhost:3003/contact_email_addresses/search?team_id=1"},{"rel":"contact_phone_numbers","href":"http://localhost:3003/contact_phone_numbers/search?team_id=1"},{"rel":"contacts","href":"http://localhost:3003/contacts/search?team_id=1"},{"rel":"custom_data","href":"http://localhost:3003/custom_data/search?team_id=1"},{"rel":"custom_fields","href":"http://localhost:3003/custom_fields/search?team_id=1"},{"rel":"events","href":"http://localhost:3003/events/search?team_id=1"},{"rel":"locations","href":"http://localhost:3003/locations/search?team_id=1"},{"rel":"managers","href":"http://localhost:3003/members/managers?team_id=1"},{"rel":"member_email_addresses","href":"http://localhost:3003/member_email_addresses/search?team_id=1"},{"rel":"member_files","href":"http://localhost:3003/member_files/search?team_id=1"},{"rel":"member_links","href":"http://localhost:3003/member_links/search?team_id=1"},{"rel":"member_phone_numbers","href":"http://localhost:3003/member_phone_numbers/search?team_id=1"},{"rel":"members","href":"http://localhost:3003/members/search?team_id=1"},{"rel":"members_preferences","href":"http://localhost:3003/members_preferences/search?team_id=1"},{"rel":"opponents","href":"http://localhost:3003/opponents/search?team_id=1"},{"rel":"owner","href":"http://localhost:3003/owner_members?team_id=1"},{"rel":"plan","href":"http://localhost:3003/plans/14"},{"rel":"sport","href":"http://localhost:3003/sports/1"},{"rel":"team_preferences","href":"http://localhost:3003/teams_preferences/1"},{"rel":"team_public_site","href":"http://localhost:3003/team_public_sites/1"},{"rel":"team_results","href":"http://localhost:3003/teams_results/1"},{"rel":"tracked_item_statuses","href":"http://localhost:3003/tracked_item_statuses/search?team_id=1"},{"rel":"tracked_items","href":"http://localhost:3003/tracked_items/search?team_id=1"}]}]}}'
465
- http_version:
466
- recorded_at: Tue, 11 Nov 2014 22:05:43 GMT
467
- - request:
468
- method: get
469
- uri: http://localhost:3003/teams/search?id=1
470
- body:
471
- encoding: US-ASCII
472
- string: ''
473
- headers:
474
- User-Agent:
475
- - Faraday v0.9.0
476
- Accept-Encoding:
477
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
478
- Accept:
479
- - "*/*"
480
- response:
481
- status:
482
- code: 200
483
- message: 'OK '
484
- headers:
485
- Content-Type:
486
- - application/vnd.collection+json
487
- Content-Length:
488
- - '6445'
489
- X-Content-Type-Options:
490
- - nosniff
491
- X-Ratelimit-Limit:
492
- - '5000'
493
- X-Ratelimit-Remaining:
494
- - '4992'
495
- X-Ratelimit-Reset:
496
- - '1415746747'
497
- Etag:
498
- - '"22206dcb948d395fe8bbf8fef02a841b"'
499
- Cache-Control:
500
- - max-age=0, private, must-revalidate
501
- X-Request-Id:
502
- - 194d7b21-57ee-45c9-acea-0428509ca366
503
- X-Runtime:
504
- - '0.021655'
505
- Server:
506
- - WEBrick/1.3.1 (Ruby/2.1.1/2014-02-24)
507
- Date:
508
- - Tue, 11 Nov 2014 22:05:43 GMT
509
- Connection:
510
- - Keep-Alive
511
- body:
512
- encoding: UTF-8
513
- string: '{"collection":{"version":"3.1.1","href":"http://localhost:3003/teams","template":{"data":[{"name":"name","value":null},{"name":"location_country","value":null},{"name":"location_postal_code","value":null},{"name":"time_zone","value":null},{"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}]},"links":[{"rel":"active_season_team","href":"http://localhost:3003/teams"},{"rel":"assignments","href":"http://localhost:3003/assignments"},{"rel":"availabilities","href":"http://localhost:3003/availabilities"},{"rel":"contact_email_addresses","href":"http://localhost:3003/contact_email_addresses"},{"rel":"contact_phone_numbers","href":"http://localhost:3003/contact_phone_numbers"},{"rel":"contacts","href":"http://localhost:3003/contacts"},{"rel":"custom_data","href":"http://localhost:3003/custom_data"},{"rel":"custom_fields","href":"http://localhost:3003/custom_fields"},{"rel":"events","href":"http://localhost:3003/events"},{"rel":"locations","href":"http://localhost:3003/locations"},{"rel":"managers","href":"http://localhost:3003/members"},{"rel":"member_email_addresses","href":"http://localhost:3003/member_email_addresses"},{"rel":"member_files","href":"http://localhost:3003/member_files"},{"rel":"member_links","href":"http://localhost:3003/member_links"},{"rel":"member_phone_numbers","href":"http://localhost:3003/member_phone_numbers"},{"rel":"members","href":"http://localhost:3003/members"},{"rel":"members_preferences","href":"http://localhost:3003/members_preferences"},{"rel":"opponents","href":"http://localhost:3003/opponents"},{"rel":"owner","href":"http://localhost:3003/members"},{"rel":"plan","href":"http://localhost:3003/plans"},{"rel":"sport","href":"http://localhost:3003/sports"},{"rel":"team_preferences","href":"http://localhost:3003/teams_preferences"},{"rel":"team_public_site","href":"http://localhost:3003/team_public_sites"},{"rel":"team_results","href":"http://localhost:3003/teams_results"},{"rel":"tracked_item_statuses","href":"http://localhost:3003/tracked_item_statuses"},{"rel":"tracked_items","href":"http://localhost:3003/tracked_items"},{"rel":"root","href":"http://localhost:3003/"},{"rel":"self","href":"http://localhost:3003/teams/search?id=1"}],"queries":[{"rel":"search","href":"http://localhost:3003/teams/search","data":[{"name":"id","value":null},{"name":"team_id","value":null},{"name":"user_id","value":null}]}],"commands":[{"rel":"invite","href":"http://localhost:3003/teams/invite","prompt":"invite
514
- 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}]}],"items":[{"href":"http://localhost:3003/teams/1","data":[{"name":"id","value":1},{"name":"type","value":"team"},{"name":"name","value":"Danger
515
- Rangers"},{"name":"time_zone_offset","value":"-07:00"},{"name":"time_zone_iana_name","value":"America/Denver"},{"name":"time_zone_description","value":"Mountain
516
- Time (US & Canada)"},{"name":"updated_at","value":"2014-11-11T00:09:24Z","type":"DateTime"},{"name":"created_at","value":"2014-11-10T23:38:54Z","type":"DateTime"},{"name":"league_name","value":null},{"name":"league_url","value":null},{"name":"division_name","value":null},{"name":"season_name","value":null},{"name":"location_country","value":"United
517
- States"},{"name":"location_postal_code","value":"80951"},{"name":"is_archived_season","value":false},{"name":"sport_id","value":1},{"name":"plan_id","value":14}],"links":[{"rel":"assignments","href":"http://localhost:3003/assignments/search?team_id=1"},{"rel":"availabilities","href":"http://localhost:3003/availabilities/search?team_id=1"},{"rel":"calendar_http","href":"http://86ed2e8eefaaee16c4b7-16391cffaf9272bff70e93998d553c16.r2.cf1.rackcdn.com/team_schedule/a7e08520-4b60-0132-c8fd-000c29d7248b.ics"},{"rel":"calendar_http_games_only","href":"http://86ed2e8eefaaee16c4b7-16391cffaf9272bff70e93998d553c16.r2.cf1.rackcdn.com/team_schedule/filter/games/a7e08520-4b60-0132-c8fd-000c29d7248b.ics"},{"rel":"calendar_webcal","href":"webcal://86ed2e8eefaaee16c4b7-16391cffaf9272bff70e93998d553c16.r2.cf1.rackcdn.com/team_schedule/a7e08520-4b60-0132-c8fd-000c29d7248b.ics"},{"rel":"calendar_webcal_games_only","href":"webcal://86ed2e8eefaaee16c4b7-16391cffaf9272bff70e93998d553c16.r2.cf1.rackcdn.com/team_schedule/filter/games/a7e08520-4b60-0132-c8fd-000c29d7248b.ics"},{"rel":"contact_email_addresses","href":"http://localhost:3003/contact_email_addresses/search?team_id=1"},{"rel":"contact_phone_numbers","href":"http://localhost:3003/contact_phone_numbers/search?team_id=1"},{"rel":"contacts","href":"http://localhost:3003/contacts/search?team_id=1"},{"rel":"custom_data","href":"http://localhost:3003/custom_data/search?team_id=1"},{"rel":"custom_fields","href":"http://localhost:3003/custom_fields/search?team_id=1"},{"rel":"events","href":"http://localhost:3003/events/search?team_id=1"},{"rel":"locations","href":"http://localhost:3003/locations/search?team_id=1"},{"rel":"managers","href":"http://localhost:3003/members/managers?team_id=1"},{"rel":"member_email_addresses","href":"http://localhost:3003/member_email_addresses/search?team_id=1"},{"rel":"member_files","href":"http://localhost:3003/member_files/search?team_id=1"},{"rel":"member_links","href":"http://localhost:3003/member_links/search?team_id=1"},{"rel":"member_phone_numbers","href":"http://localhost:3003/member_phone_numbers/search?team_id=1"},{"rel":"members","href":"http://localhost:3003/members/search?team_id=1"},{"rel":"members_preferences","href":"http://localhost:3003/members_preferences/search?team_id=1"},{"rel":"opponents","href":"http://localhost:3003/opponents/search?team_id=1"},{"rel":"owner","href":"http://localhost:3003/owner_members?team_id=1"},{"rel":"plan","href":"http://localhost:3003/plans/14"},{"rel":"sport","href":"http://localhost:3003/sports/1"},{"rel":"team_preferences","href":"http://localhost:3003/teams_preferences/1"},{"rel":"team_public_site","href":"http://localhost:3003/team_public_sites/1"},{"rel":"team_results","href":"http://localhost:3003/teams_results/1"},{"rel":"tracked_item_statuses","href":"http://localhost:3003/tracked_item_statuses/search?team_id=1"},{"rel":"tracked_items","href":"http://localhost:3003/tracked_items/search?team_id=1"}]}]}}'
518
- http_version:
519
- recorded_at: Tue, 11 Nov 2014 22:05:43 GMT
520
- - request:
521
- method: get
522
- uri: http://localhost:3003/teams/search?id=1
523
- body:
524
- encoding: US-ASCII
525
- string: ''
526
- headers:
527
- User-Agent:
528
- - Faraday v0.9.0
529
- Accept-Encoding:
530
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
531
- Accept:
532
- - "*/*"
533
- response:
534
- status:
535
- code: 200
536
- message: 'OK '
537
- headers:
538
- Content-Type:
539
- - application/vnd.collection+json
540
- Content-Length:
541
- - '6445'
542
- X-Content-Type-Options:
543
- - nosniff
544
- X-Ratelimit-Limit:
545
- - '5000'
546
- X-Ratelimit-Remaining:
547
- - '4991'
548
- X-Ratelimit-Reset:
549
- - '1415746746'
550
- Etag:
551
- - '"22206dcb948d395fe8bbf8fef02a841b"'
552
- Cache-Control:
553
- - max-age=0, private, must-revalidate
554
- X-Request-Id:
555
- - bb17f2eb-b86d-4e9c-97d3-57fc18236f91
556
- X-Runtime:
557
- - '0.016368'
558
- Server:
559
- - WEBrick/1.3.1 (Ruby/2.1.1/2014-02-24)
560
- Date:
561
- - Tue, 11 Nov 2014 22:05:53 GMT
562
- Connection:
563
- - Keep-Alive
564
- body:
565
- encoding: UTF-8
566
- string: '{"collection":{"version":"3.1.1","href":"http://localhost:3003/teams","template":{"data":[{"name":"name","value":null},{"name":"location_country","value":null},{"name":"location_postal_code","value":null},{"name":"time_zone","value":null},{"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}]},"links":[{"rel":"active_season_team","href":"http://localhost:3003/teams"},{"rel":"assignments","href":"http://localhost:3003/assignments"},{"rel":"availabilities","href":"http://localhost:3003/availabilities"},{"rel":"contact_email_addresses","href":"http://localhost:3003/contact_email_addresses"},{"rel":"contact_phone_numbers","href":"http://localhost:3003/contact_phone_numbers"},{"rel":"contacts","href":"http://localhost:3003/contacts"},{"rel":"custom_data","href":"http://localhost:3003/custom_data"},{"rel":"custom_fields","href":"http://localhost:3003/custom_fields"},{"rel":"events","href":"http://localhost:3003/events"},{"rel":"locations","href":"http://localhost:3003/locations"},{"rel":"managers","href":"http://localhost:3003/members"},{"rel":"member_email_addresses","href":"http://localhost:3003/member_email_addresses"},{"rel":"member_files","href":"http://localhost:3003/member_files"},{"rel":"member_links","href":"http://localhost:3003/member_links"},{"rel":"member_phone_numbers","href":"http://localhost:3003/member_phone_numbers"},{"rel":"members","href":"http://localhost:3003/members"},{"rel":"members_preferences","href":"http://localhost:3003/members_preferences"},{"rel":"opponents","href":"http://localhost:3003/opponents"},{"rel":"owner","href":"http://localhost:3003/members"},{"rel":"plan","href":"http://localhost:3003/plans"},{"rel":"sport","href":"http://localhost:3003/sports"},{"rel":"team_preferences","href":"http://localhost:3003/teams_preferences"},{"rel":"team_public_site","href":"http://localhost:3003/team_public_sites"},{"rel":"team_results","href":"http://localhost:3003/teams_results"},{"rel":"tracked_item_statuses","href":"http://localhost:3003/tracked_item_statuses"},{"rel":"tracked_items","href":"http://localhost:3003/tracked_items"},{"rel":"root","href":"http://localhost:3003/"},{"rel":"self","href":"http://localhost:3003/teams/search?id=1"}],"queries":[{"rel":"search","href":"http://localhost:3003/teams/search","data":[{"name":"id","value":null},{"name":"team_id","value":null},{"name":"user_id","value":null}]}],"commands":[{"rel":"invite","href":"http://localhost:3003/teams/invite","prompt":"invite
567
- 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}]}],"items":[{"href":"http://localhost:3003/teams/1","data":[{"name":"id","value":1},{"name":"type","value":"team"},{"name":"name","value":"Danger
568
- Rangers"},{"name":"time_zone_offset","value":"-07:00"},{"name":"time_zone_iana_name","value":"America/Denver"},{"name":"time_zone_description","value":"Mountain
569
- Time (US & Canada)"},{"name":"updated_at","value":"2014-11-11T00:09:24Z","type":"DateTime"},{"name":"created_at","value":"2014-11-10T23:38:54Z","type":"DateTime"},{"name":"league_name","value":null},{"name":"league_url","value":null},{"name":"division_name","value":null},{"name":"season_name","value":null},{"name":"location_country","value":"United
570
- States"},{"name":"location_postal_code","value":"80951"},{"name":"is_archived_season","value":false},{"name":"sport_id","value":1},{"name":"plan_id","value":14}],"links":[{"rel":"assignments","href":"http://localhost:3003/assignments/search?team_id=1"},{"rel":"availabilities","href":"http://localhost:3003/availabilities/search?team_id=1"},{"rel":"calendar_http","href":"http://86ed2e8eefaaee16c4b7-16391cffaf9272bff70e93998d553c16.r2.cf1.rackcdn.com/team_schedule/a7e08520-4b60-0132-c8fd-000c29d7248b.ics"},{"rel":"calendar_http_games_only","href":"http://86ed2e8eefaaee16c4b7-16391cffaf9272bff70e93998d553c16.r2.cf1.rackcdn.com/team_schedule/filter/games/a7e08520-4b60-0132-c8fd-000c29d7248b.ics"},{"rel":"calendar_webcal","href":"webcal://86ed2e8eefaaee16c4b7-16391cffaf9272bff70e93998d553c16.r2.cf1.rackcdn.com/team_schedule/a7e08520-4b60-0132-c8fd-000c29d7248b.ics"},{"rel":"calendar_webcal_games_only","href":"webcal://86ed2e8eefaaee16c4b7-16391cffaf9272bff70e93998d553c16.r2.cf1.rackcdn.com/team_schedule/filter/games/a7e08520-4b60-0132-c8fd-000c29d7248b.ics"},{"rel":"contact_email_addresses","href":"http://localhost:3003/contact_email_addresses/search?team_id=1"},{"rel":"contact_phone_numbers","href":"http://localhost:3003/contact_phone_numbers/search?team_id=1"},{"rel":"contacts","href":"http://localhost:3003/contacts/search?team_id=1"},{"rel":"custom_data","href":"http://localhost:3003/custom_data/search?team_id=1"},{"rel":"custom_fields","href":"http://localhost:3003/custom_fields/search?team_id=1"},{"rel":"events","href":"http://localhost:3003/events/search?team_id=1"},{"rel":"locations","href":"http://localhost:3003/locations/search?team_id=1"},{"rel":"managers","href":"http://localhost:3003/members/managers?team_id=1"},{"rel":"member_email_addresses","href":"http://localhost:3003/member_email_addresses/search?team_id=1"},{"rel":"member_files","href":"http://localhost:3003/member_files/search?team_id=1"},{"rel":"member_links","href":"http://localhost:3003/member_links/search?team_id=1"},{"rel":"member_phone_numbers","href":"http://localhost:3003/member_phone_numbers/search?team_id=1"},{"rel":"members","href":"http://localhost:3003/members/search?team_id=1"},{"rel":"members_preferences","href":"http://localhost:3003/members_preferences/search?team_id=1"},{"rel":"opponents","href":"http://localhost:3003/opponents/search?team_id=1"},{"rel":"owner","href":"http://localhost:3003/owner_members?team_id=1"},{"rel":"plan","href":"http://localhost:3003/plans/14"},{"rel":"sport","href":"http://localhost:3003/sports/1"},{"rel":"team_preferences","href":"http://localhost:3003/teams_preferences/1"},{"rel":"team_public_site","href":"http://localhost:3003/team_public_sites/1"},{"rel":"team_results","href":"http://localhost:3003/teams_results/1"},{"rel":"tracked_item_statuses","href":"http://localhost:3003/tracked_item_statuses/search?team_id=1"},{"rel":"tracked_items","href":"http://localhost:3003/tracked_items/search?team_id=1"}]}]}}'
571
- http_version:
572
- recorded_at: Tue, 11 Nov 2014 22:05:53 GMT
573
- recorded_with: VCR 2.9.3