my_john_deere_api 2.3.7 → 2.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/my_john_deere_api.rb +1 -0
- data/lib/my_john_deere_api/client.rb +13 -3
- data/lib/my_john_deere_api/net_http_retry.rb +2 -0
- data/lib/my_john_deere_api/net_http_retry/decorator.rb +53 -0
- data/lib/my_john_deere_api/net_http_retry/max_retries_exceeded_error.rb +20 -0
- data/lib/my_john_deere_api/version.rb +1 -1
- data/test/lib/my_john_deere_api/client_test.rb +20 -3
- data/test/lib/my_john_deere_api/errors/max_retries_exceeded_error_test.rb +13 -0
- data/test/lib/my_john_deere_api/net_http_retry/decorator_test.rb +163 -0
- data/test/support/helper.rb +1 -0
- data/test/support/vcr/accessor/delete_failed.yml +327 -0
- data/test/support/vcr/accessor/delete_max_failed.yml +615 -0
- data/test/support/vcr/accessor/delete_retry.yml +191 -0
- data/test/support/vcr/accessor/delete_retry_too_soon.yml +191 -0
- data/test/support/vcr/accessor/get_failed.yml +390 -0
- data/test/support/vcr/accessor/get_max_failed.yml +734 -0
- data/test/support/vcr/accessor/get_retry.yml +226 -0
- data/test/support/vcr/accessor/get_retry_too_soon.yml +226 -0
- data/test/support/vcr/accessor/post_failed.yml +417 -0
- data/test/support/vcr/accessor/post_max_failed.yml +785 -0
- data/test/support/vcr/accessor/post_retry.yml +241 -0
- data/test/support/vcr/accessor/post_retry_too_soon.yml +241 -0
- data/test/support/vcr/accessor/put_failed.yml +372 -0
- data/test/support/vcr/accessor/put_max_failed.yml +700 -0
- data/test/support/vcr/accessor/put_retry.yml +216 -0
- data/test/support/vcr/accessor/put_retry_too_soon.yml +216 -0
- metadata +23 -2
@@ -0,0 +1,734 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://sandboxapi.deere.com/platform/
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/vnd.deere.axiom.v3+json
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
|
+
User-Agent:
|
15
|
+
- OAuth gem v0.5.4
|
16
|
+
Authorization:
|
17
|
+
- OAuth oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
|
18
|
+
oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
|
19
|
+
oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_version="1.0"
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 429
|
23
|
+
message: Too Many Requests
|
24
|
+
headers:
|
25
|
+
Date:
|
26
|
+
- Mon, 10 Feb 2020 17:29:28 GMT
|
27
|
+
Content-Type:
|
28
|
+
- application/vnd.deere.axiom.v3+json;charset=UTF-8
|
29
|
+
X-Deere-Handling-Server:
|
30
|
+
- ip-10-214-44-28
|
31
|
+
X-Frame-Options:
|
32
|
+
- SAMEORIGIN
|
33
|
+
X-Deere-Elapsed-Ms:
|
34
|
+
- '11'
|
35
|
+
Cache-Control:
|
36
|
+
- no-store
|
37
|
+
Content-Language:
|
38
|
+
- en-US
|
39
|
+
Transfer-Encoding:
|
40
|
+
- chunked
|
41
|
+
body:
|
42
|
+
encoding: ASCII-8BIT
|
43
|
+
string: ''
|
44
|
+
http_version:
|
45
|
+
recorded_at: Mon, 10 Feb 2020 17:29:28 GMT
|
46
|
+
- request:
|
47
|
+
method: get
|
48
|
+
uri: https://sandboxapi.deere.com/platform/
|
49
|
+
body:
|
50
|
+
encoding: US-ASCII
|
51
|
+
string: ''
|
52
|
+
headers:
|
53
|
+
Accept:
|
54
|
+
- application/vnd.deere.axiom.v3+json
|
55
|
+
Accept-Encoding:
|
56
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
57
|
+
User-Agent:
|
58
|
+
- OAuth gem v0.5.4
|
59
|
+
Authorization:
|
60
|
+
- OAuth oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
|
61
|
+
oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
|
62
|
+
oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_version="1.0"
|
63
|
+
response:
|
64
|
+
status:
|
65
|
+
code: 429
|
66
|
+
message: Too Many Requests
|
67
|
+
headers:
|
68
|
+
Date:
|
69
|
+
- Mon, 10 Feb 2020 17:29:28 GMT
|
70
|
+
Content-Type:
|
71
|
+
- application/vnd.deere.axiom.v3+json;charset=UTF-8
|
72
|
+
X-Deere-Handling-Server:
|
73
|
+
- ip-10-214-44-28
|
74
|
+
X-Frame-Options:
|
75
|
+
- SAMEORIGIN
|
76
|
+
X-Deere-Elapsed-Ms:
|
77
|
+
- '11'
|
78
|
+
Cache-Control:
|
79
|
+
- no-store
|
80
|
+
Content-Language:
|
81
|
+
- en-US
|
82
|
+
Transfer-Encoding:
|
83
|
+
- chunked
|
84
|
+
body:
|
85
|
+
encoding: ASCII-8BIT
|
86
|
+
string: ''
|
87
|
+
http_version:
|
88
|
+
recorded_at: Mon, 10 Feb 2020 17:29:28 GMT
|
89
|
+
- request:
|
90
|
+
method: get
|
91
|
+
uri: https://sandboxapi.deere.com/platform/
|
92
|
+
body:
|
93
|
+
encoding: US-ASCII
|
94
|
+
string: ''
|
95
|
+
headers:
|
96
|
+
Accept:
|
97
|
+
- application/vnd.deere.axiom.v3+json
|
98
|
+
Accept-Encoding:
|
99
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
100
|
+
User-Agent:
|
101
|
+
- OAuth gem v0.5.4
|
102
|
+
Authorization:
|
103
|
+
- OAuth oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
|
104
|
+
oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
|
105
|
+
oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_version="1.0"
|
106
|
+
response:
|
107
|
+
status:
|
108
|
+
code: 503
|
109
|
+
message: Service Unavailable
|
110
|
+
headers:
|
111
|
+
Date:
|
112
|
+
- Mon, 10 Feb 2020 17:29:28 GMT
|
113
|
+
Content-Type:
|
114
|
+
- application/vnd.deere.axiom.v3+json;charset=UTF-8
|
115
|
+
X-Deere-Handling-Server:
|
116
|
+
- ip-10-214-44-28
|
117
|
+
X-Frame-Options:
|
118
|
+
- SAMEORIGIN
|
119
|
+
X-Deere-Elapsed-Ms:
|
120
|
+
- '11'
|
121
|
+
Cache-Control:
|
122
|
+
- no-store
|
123
|
+
Content-Language:
|
124
|
+
- en-US
|
125
|
+
Transfer-Encoding:
|
126
|
+
- chunked
|
127
|
+
body:
|
128
|
+
encoding: ASCII-8BIT
|
129
|
+
string: ''
|
130
|
+
http_version:
|
131
|
+
recorded_at: Mon, 10 Feb 2020 17:29:28 GMT
|
132
|
+
- request:
|
133
|
+
method: get
|
134
|
+
uri: https://sandboxapi.deere.com/platform/
|
135
|
+
body:
|
136
|
+
encoding: US-ASCII
|
137
|
+
string: ''
|
138
|
+
headers:
|
139
|
+
Accept:
|
140
|
+
- application/vnd.deere.axiom.v3+json
|
141
|
+
Accept-Encoding:
|
142
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
143
|
+
User-Agent:
|
144
|
+
- OAuth gem v0.5.4
|
145
|
+
Authorization:
|
146
|
+
- OAuth oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
|
147
|
+
oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
|
148
|
+
oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_version="1.0"
|
149
|
+
response:
|
150
|
+
status:
|
151
|
+
code: 503
|
152
|
+
message: Service Unavailable
|
153
|
+
headers:
|
154
|
+
Date:
|
155
|
+
- Mon, 10 Feb 2020 17:29:28 GMT
|
156
|
+
Content-Type:
|
157
|
+
- application/vnd.deere.axiom.v3+json;charset=UTF-8
|
158
|
+
X-Deere-Handling-Server:
|
159
|
+
- ip-10-214-44-28
|
160
|
+
X-Frame-Options:
|
161
|
+
- SAMEORIGIN
|
162
|
+
X-Deere-Elapsed-Ms:
|
163
|
+
- '11'
|
164
|
+
Cache-Control:
|
165
|
+
- no-store
|
166
|
+
Content-Language:
|
167
|
+
- en-US
|
168
|
+
Transfer-Encoding:
|
169
|
+
- chunked
|
170
|
+
body:
|
171
|
+
encoding: ASCII-8BIT
|
172
|
+
string: ''
|
173
|
+
http_version:
|
174
|
+
recorded_at: Mon, 10 Feb 2020 17:29:28 GMT
|
175
|
+
- request:
|
176
|
+
method: get
|
177
|
+
uri: https://sandboxapi.deere.com/platform/
|
178
|
+
body:
|
179
|
+
encoding: US-ASCII
|
180
|
+
string: ''
|
181
|
+
headers:
|
182
|
+
Accept:
|
183
|
+
- application/vnd.deere.axiom.v3+json
|
184
|
+
Accept-Encoding:
|
185
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
186
|
+
User-Agent:
|
187
|
+
- OAuth gem v0.5.4
|
188
|
+
Authorization:
|
189
|
+
- OAuth oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
|
190
|
+
oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
|
191
|
+
oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_version="1.0"
|
192
|
+
response:
|
193
|
+
status:
|
194
|
+
code: 429
|
195
|
+
message: Too Many Requests
|
196
|
+
headers:
|
197
|
+
Date:
|
198
|
+
- Mon, 10 Feb 2020 17:29:28 GMT
|
199
|
+
Content-Type:
|
200
|
+
- application/vnd.deere.axiom.v3+json;charset=UTF-8
|
201
|
+
X-Deere-Handling-Server:
|
202
|
+
- ip-10-214-44-28
|
203
|
+
X-Frame-Options:
|
204
|
+
- SAMEORIGIN
|
205
|
+
X-Deere-Elapsed-Ms:
|
206
|
+
- '11'
|
207
|
+
Cache-Control:
|
208
|
+
- no-store
|
209
|
+
Content-Language:
|
210
|
+
- en-US
|
211
|
+
Transfer-Encoding:
|
212
|
+
- chunked
|
213
|
+
body:
|
214
|
+
encoding: ASCII-8BIT
|
215
|
+
string: ''
|
216
|
+
http_version:
|
217
|
+
recorded_at: Mon, 10 Feb 2020 17:29:28 GMT
|
218
|
+
- request:
|
219
|
+
method: get
|
220
|
+
uri: https://sandboxapi.deere.com/platform/
|
221
|
+
body:
|
222
|
+
encoding: US-ASCII
|
223
|
+
string: ''
|
224
|
+
headers:
|
225
|
+
Accept:
|
226
|
+
- application/vnd.deere.axiom.v3+json
|
227
|
+
Accept-Encoding:
|
228
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
229
|
+
User-Agent:
|
230
|
+
- OAuth gem v0.5.4
|
231
|
+
Authorization:
|
232
|
+
- OAuth oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
|
233
|
+
oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
|
234
|
+
oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_version="1.0"
|
235
|
+
response:
|
236
|
+
status:
|
237
|
+
code: 429
|
238
|
+
message: Too Many Requests
|
239
|
+
headers:
|
240
|
+
Date:
|
241
|
+
- Mon, 10 Feb 2020 17:29:28 GMT
|
242
|
+
Content-Type:
|
243
|
+
- application/vnd.deere.axiom.v3+json;charset=UTF-8
|
244
|
+
X-Deere-Handling-Server:
|
245
|
+
- ip-10-214-44-28
|
246
|
+
X-Frame-Options:
|
247
|
+
- SAMEORIGIN
|
248
|
+
X-Deere-Elapsed-Ms:
|
249
|
+
- '11'
|
250
|
+
Cache-Control:
|
251
|
+
- no-store
|
252
|
+
Content-Language:
|
253
|
+
- en-US
|
254
|
+
Transfer-Encoding:
|
255
|
+
- chunked
|
256
|
+
body:
|
257
|
+
encoding: ASCII-8BIT
|
258
|
+
string: ''
|
259
|
+
http_version:
|
260
|
+
recorded_at: Mon, 10 Feb 2020 17:29:28 GMT
|
261
|
+
- request:
|
262
|
+
method: get
|
263
|
+
uri: https://sandboxapi.deere.com/platform/
|
264
|
+
body:
|
265
|
+
encoding: US-ASCII
|
266
|
+
string: ''
|
267
|
+
headers:
|
268
|
+
Accept:
|
269
|
+
- application/vnd.deere.axiom.v3+json
|
270
|
+
Accept-Encoding:
|
271
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
272
|
+
User-Agent:
|
273
|
+
- OAuth gem v0.5.4
|
274
|
+
Authorization:
|
275
|
+
- OAuth oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
|
276
|
+
oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
|
277
|
+
oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_version="1.0"
|
278
|
+
response:
|
279
|
+
status:
|
280
|
+
code: 503
|
281
|
+
message: Service Unavailable
|
282
|
+
headers:
|
283
|
+
Date:
|
284
|
+
- Mon, 10 Feb 2020 17:29:28 GMT
|
285
|
+
Content-Type:
|
286
|
+
- application/vnd.deere.axiom.v3+json;charset=UTF-8
|
287
|
+
X-Deere-Handling-Server:
|
288
|
+
- ip-10-214-44-28
|
289
|
+
X-Frame-Options:
|
290
|
+
- SAMEORIGIN
|
291
|
+
X-Deere-Elapsed-Ms:
|
292
|
+
- '11'
|
293
|
+
Cache-Control:
|
294
|
+
- no-store
|
295
|
+
Content-Language:
|
296
|
+
- en-US
|
297
|
+
Transfer-Encoding:
|
298
|
+
- chunked
|
299
|
+
body:
|
300
|
+
encoding: ASCII-8BIT
|
301
|
+
string: ''
|
302
|
+
http_version:
|
303
|
+
recorded_at: Mon, 10 Feb 2020 17:29:28 GMT
|
304
|
+
- request:
|
305
|
+
method: get
|
306
|
+
uri: https://sandboxapi.deere.com/platform/
|
307
|
+
body:
|
308
|
+
encoding: US-ASCII
|
309
|
+
string: ''
|
310
|
+
headers:
|
311
|
+
Accept:
|
312
|
+
- application/vnd.deere.axiom.v3+json
|
313
|
+
Accept-Encoding:
|
314
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
315
|
+
User-Agent:
|
316
|
+
- OAuth gem v0.5.4
|
317
|
+
Authorization:
|
318
|
+
- OAuth oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
|
319
|
+
oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
|
320
|
+
oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_version="1.0"
|
321
|
+
response:
|
322
|
+
status:
|
323
|
+
code: 503
|
324
|
+
message: Service Unavailable
|
325
|
+
headers:
|
326
|
+
Date:
|
327
|
+
- Mon, 10 Feb 2020 17:29:28 GMT
|
328
|
+
Content-Type:
|
329
|
+
- application/vnd.deere.axiom.v3+json;charset=UTF-8
|
330
|
+
X-Deere-Handling-Server:
|
331
|
+
- ip-10-214-44-28
|
332
|
+
X-Frame-Options:
|
333
|
+
- SAMEORIGIN
|
334
|
+
X-Deere-Elapsed-Ms:
|
335
|
+
- '11'
|
336
|
+
Cache-Control:
|
337
|
+
- no-store
|
338
|
+
Content-Language:
|
339
|
+
- en-US
|
340
|
+
Transfer-Encoding:
|
341
|
+
- chunked
|
342
|
+
body:
|
343
|
+
encoding: ASCII-8BIT
|
344
|
+
string: ''
|
345
|
+
http_version:
|
346
|
+
recorded_at: Mon, 10 Feb 2020 17:29:28 GMT
|
347
|
+
- request:
|
348
|
+
method: get
|
349
|
+
uri: https://sandboxapi.deere.com/platform/
|
350
|
+
body:
|
351
|
+
encoding: US-ASCII
|
352
|
+
string: ''
|
353
|
+
headers:
|
354
|
+
Accept:
|
355
|
+
- application/vnd.deere.axiom.v3+json
|
356
|
+
Accept-Encoding:
|
357
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
358
|
+
User-Agent:
|
359
|
+
- OAuth gem v0.5.4
|
360
|
+
Authorization:
|
361
|
+
- OAuth oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
|
362
|
+
oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
|
363
|
+
oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_version="1.0"
|
364
|
+
response:
|
365
|
+
status:
|
366
|
+
code: 429
|
367
|
+
message: Too Many Requests
|
368
|
+
headers:
|
369
|
+
Date:
|
370
|
+
- Mon, 10 Feb 2020 17:29:28 GMT
|
371
|
+
Content-Type:
|
372
|
+
- application/vnd.deere.axiom.v3+json;charset=UTF-8
|
373
|
+
X-Deere-Handling-Server:
|
374
|
+
- ip-10-214-44-28
|
375
|
+
X-Frame-Options:
|
376
|
+
- SAMEORIGIN
|
377
|
+
X-Deere-Elapsed-Ms:
|
378
|
+
- '11'
|
379
|
+
Cache-Control:
|
380
|
+
- no-store
|
381
|
+
Content-Language:
|
382
|
+
- en-US
|
383
|
+
Transfer-Encoding:
|
384
|
+
- chunked
|
385
|
+
body:
|
386
|
+
encoding: ASCII-8BIT
|
387
|
+
string: ''
|
388
|
+
http_version:
|
389
|
+
recorded_at: Mon, 10 Feb 2020 17:29:28 GMT
|
390
|
+
- request:
|
391
|
+
method: get
|
392
|
+
uri: https://sandboxapi.deere.com/platform/
|
393
|
+
body:
|
394
|
+
encoding: US-ASCII
|
395
|
+
string: ''
|
396
|
+
headers:
|
397
|
+
Accept:
|
398
|
+
- application/vnd.deere.axiom.v3+json
|
399
|
+
Accept-Encoding:
|
400
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
401
|
+
User-Agent:
|
402
|
+
- OAuth gem v0.5.4
|
403
|
+
Authorization:
|
404
|
+
- OAuth oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
|
405
|
+
oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
|
406
|
+
oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_version="1.0"
|
407
|
+
response:
|
408
|
+
status:
|
409
|
+
code: 429
|
410
|
+
message: Too Many Requests
|
411
|
+
headers:
|
412
|
+
Date:
|
413
|
+
- Mon, 10 Feb 2020 17:29:28 GMT
|
414
|
+
Content-Type:
|
415
|
+
- application/vnd.deere.axiom.v3+json;charset=UTF-8
|
416
|
+
X-Deere-Handling-Server:
|
417
|
+
- ip-10-214-44-28
|
418
|
+
X-Frame-Options:
|
419
|
+
- SAMEORIGIN
|
420
|
+
X-Deere-Elapsed-Ms:
|
421
|
+
- '11'
|
422
|
+
Cache-Control:
|
423
|
+
- no-store
|
424
|
+
Content-Language:
|
425
|
+
- en-US
|
426
|
+
Transfer-Encoding:
|
427
|
+
- chunked
|
428
|
+
body:
|
429
|
+
encoding: ASCII-8BIT
|
430
|
+
string: ''
|
431
|
+
http_version:
|
432
|
+
recorded_at: Mon, 10 Feb 2020 17:29:28 GMT
|
433
|
+
- request:
|
434
|
+
method: get
|
435
|
+
uri: https://sandboxapi.deere.com/platform/
|
436
|
+
body:
|
437
|
+
encoding: US-ASCII
|
438
|
+
string: ''
|
439
|
+
headers:
|
440
|
+
Accept:
|
441
|
+
- application/vnd.deere.axiom.v3+json
|
442
|
+
Accept-Encoding:
|
443
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
444
|
+
User-Agent:
|
445
|
+
- OAuth gem v0.5.4
|
446
|
+
Authorization:
|
447
|
+
- OAuth oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
|
448
|
+
oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
|
449
|
+
oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_version="1.0"
|
450
|
+
response:
|
451
|
+
status:
|
452
|
+
code: 503
|
453
|
+
message: Service Unavailable
|
454
|
+
headers:
|
455
|
+
Date:
|
456
|
+
- Mon, 10 Feb 2020 17:29:28 GMT
|
457
|
+
Content-Type:
|
458
|
+
- application/vnd.deere.axiom.v3+json;charset=UTF-8
|
459
|
+
X-Deere-Handling-Server:
|
460
|
+
- ip-10-214-44-28
|
461
|
+
X-Frame-Options:
|
462
|
+
- SAMEORIGIN
|
463
|
+
X-Deere-Elapsed-Ms:
|
464
|
+
- '11'
|
465
|
+
Cache-Control:
|
466
|
+
- no-store
|
467
|
+
Content-Language:
|
468
|
+
- en-US
|
469
|
+
Transfer-Encoding:
|
470
|
+
- chunked
|
471
|
+
body:
|
472
|
+
encoding: ASCII-8BIT
|
473
|
+
string: ''
|
474
|
+
http_version:
|
475
|
+
recorded_at: Mon, 10 Feb 2020 17:29:28 GMT
|
476
|
+
- request:
|
477
|
+
method: get
|
478
|
+
uri: https://sandboxapi.deere.com/platform/
|
479
|
+
body:
|
480
|
+
encoding: US-ASCII
|
481
|
+
string: ''
|
482
|
+
headers:
|
483
|
+
Accept:
|
484
|
+
- application/vnd.deere.axiom.v3+json
|
485
|
+
Accept-Encoding:
|
486
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
487
|
+
User-Agent:
|
488
|
+
- OAuth gem v0.5.4
|
489
|
+
Authorization:
|
490
|
+
- OAuth oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
|
491
|
+
oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
|
492
|
+
oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_version="1.0"
|
493
|
+
response:
|
494
|
+
status:
|
495
|
+
code: 503
|
496
|
+
message: Service Unavailable
|
497
|
+
headers:
|
498
|
+
Date:
|
499
|
+
- Mon, 10 Feb 2020 17:29:28 GMT
|
500
|
+
Content-Type:
|
501
|
+
- application/vnd.deere.axiom.v3+json;charset=UTF-8
|
502
|
+
X-Deere-Handling-Server:
|
503
|
+
- ip-10-214-44-28
|
504
|
+
X-Frame-Options:
|
505
|
+
- SAMEORIGIN
|
506
|
+
X-Deere-Elapsed-Ms:
|
507
|
+
- '11'
|
508
|
+
Cache-Control:
|
509
|
+
- no-store
|
510
|
+
Content-Language:
|
511
|
+
- en-US
|
512
|
+
Transfer-Encoding:
|
513
|
+
- chunked
|
514
|
+
body:
|
515
|
+
encoding: ASCII-8BIT
|
516
|
+
string: ''
|
517
|
+
http_version:
|
518
|
+
recorded_at: Mon, 10 Feb 2020 17:29:28 GMT
|
519
|
+
- request:
|
520
|
+
method: get
|
521
|
+
uri: https://sandboxapi.deere.com/platform/
|
522
|
+
body:
|
523
|
+
encoding: US-ASCII
|
524
|
+
string: ''
|
525
|
+
headers:
|
526
|
+
Accept:
|
527
|
+
- application/vnd.deere.axiom.v3+json
|
528
|
+
Accept-Encoding:
|
529
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
530
|
+
User-Agent:
|
531
|
+
- OAuth gem v0.5.4
|
532
|
+
Authorization:
|
533
|
+
- OAuth oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
|
534
|
+
oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
|
535
|
+
oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_version="1.0"
|
536
|
+
response:
|
537
|
+
status:
|
538
|
+
code: 429
|
539
|
+
message: Too Many Requests
|
540
|
+
headers:
|
541
|
+
Date:
|
542
|
+
- Mon, 10 Feb 2020 17:29:28 GMT
|
543
|
+
Content-Type:
|
544
|
+
- application/vnd.deere.axiom.v3+json;charset=UTF-8
|
545
|
+
X-Deere-Handling-Server:
|
546
|
+
- ip-10-214-44-28
|
547
|
+
X-Frame-Options:
|
548
|
+
- SAMEORIGIN
|
549
|
+
X-Deere-Elapsed-Ms:
|
550
|
+
- '11'
|
551
|
+
Cache-Control:
|
552
|
+
- no-store
|
553
|
+
Content-Language:
|
554
|
+
- en-US
|
555
|
+
Transfer-Encoding:
|
556
|
+
- chunked
|
557
|
+
body:
|
558
|
+
encoding: ASCII-8BIT
|
559
|
+
string: ''
|
560
|
+
http_version:
|
561
|
+
recorded_at: Mon, 10 Feb 2020 17:29:28 GMT
|
562
|
+
- request:
|
563
|
+
method: get
|
564
|
+
uri: https://sandboxapi.deere.com/platform/
|
565
|
+
body:
|
566
|
+
encoding: US-ASCII
|
567
|
+
string: ''
|
568
|
+
headers:
|
569
|
+
Accept:
|
570
|
+
- application/vnd.deere.axiom.v3+json
|
571
|
+
Accept-Encoding:
|
572
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
573
|
+
User-Agent:
|
574
|
+
- OAuth gem v0.5.4
|
575
|
+
Authorization:
|
576
|
+
- OAuth oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
|
577
|
+
oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
|
578
|
+
oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_version="1.0"
|
579
|
+
response:
|
580
|
+
status:
|
581
|
+
code: 429
|
582
|
+
message: Too Many Requests
|
583
|
+
headers:
|
584
|
+
Date:
|
585
|
+
- Mon, 10 Feb 2020 17:29:28 GMT
|
586
|
+
Content-Type:
|
587
|
+
- application/vnd.deere.axiom.v3+json;charset=UTF-8
|
588
|
+
X-Deere-Handling-Server:
|
589
|
+
- ip-10-214-44-28
|
590
|
+
X-Frame-Options:
|
591
|
+
- SAMEORIGIN
|
592
|
+
X-Deere-Elapsed-Ms:
|
593
|
+
- '11'
|
594
|
+
Cache-Control:
|
595
|
+
- no-store
|
596
|
+
Content-Language:
|
597
|
+
- en-US
|
598
|
+
Transfer-Encoding:
|
599
|
+
- chunked
|
600
|
+
body:
|
601
|
+
encoding: ASCII-8BIT
|
602
|
+
string: ''
|
603
|
+
http_version:
|
604
|
+
recorded_at: Mon, 10 Feb 2020 17:29:28 GMT
|
605
|
+
- request:
|
606
|
+
method: get
|
607
|
+
uri: https://sandboxapi.deere.com/platform/
|
608
|
+
body:
|
609
|
+
encoding: US-ASCII
|
610
|
+
string: ''
|
611
|
+
headers:
|
612
|
+
Accept:
|
613
|
+
- application/vnd.deere.axiom.v3+json
|
614
|
+
Accept-Encoding:
|
615
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
616
|
+
User-Agent:
|
617
|
+
- OAuth gem v0.5.4
|
618
|
+
Authorization:
|
619
|
+
- OAuth oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
|
620
|
+
oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
|
621
|
+
oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_version="1.0"
|
622
|
+
response:
|
623
|
+
status:
|
624
|
+
code: 503
|
625
|
+
message: Service Unavailable
|
626
|
+
headers:
|
627
|
+
Date:
|
628
|
+
- Mon, 10 Feb 2020 17:29:28 GMT
|
629
|
+
Content-Type:
|
630
|
+
- application/vnd.deere.axiom.v3+json;charset=UTF-8
|
631
|
+
X-Deere-Handling-Server:
|
632
|
+
- ip-10-214-44-28
|
633
|
+
X-Frame-Options:
|
634
|
+
- SAMEORIGIN
|
635
|
+
X-Deere-Elapsed-Ms:
|
636
|
+
- '11'
|
637
|
+
Cache-Control:
|
638
|
+
- no-store
|
639
|
+
Content-Language:
|
640
|
+
- en-US
|
641
|
+
Transfer-Encoding:
|
642
|
+
- chunked
|
643
|
+
body:
|
644
|
+
encoding: ASCII-8BIT
|
645
|
+
string: ''
|
646
|
+
http_version:
|
647
|
+
recorded_at: Mon, 10 Feb 2020 17:29:28 GMT
|
648
|
+
- request:
|
649
|
+
method: get
|
650
|
+
uri: https://sandboxapi.deere.com/platform/
|
651
|
+
body:
|
652
|
+
encoding: US-ASCII
|
653
|
+
string: ''
|
654
|
+
headers:
|
655
|
+
Accept:
|
656
|
+
- application/vnd.deere.axiom.v3+json
|
657
|
+
Accept-Encoding:
|
658
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
659
|
+
User-Agent:
|
660
|
+
- OAuth gem v0.5.4
|
661
|
+
Authorization:
|
662
|
+
- OAuth oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
|
663
|
+
oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
|
664
|
+
oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_version="1.0"
|
665
|
+
response:
|
666
|
+
status:
|
667
|
+
code: 503
|
668
|
+
message: Service Unavailable
|
669
|
+
headers:
|
670
|
+
Date:
|
671
|
+
- Mon, 10 Feb 2020 17:29:28 GMT
|
672
|
+
Content-Type:
|
673
|
+
- application/vnd.deere.axiom.v3+json;charset=UTF-8
|
674
|
+
X-Deere-Handling-Server:
|
675
|
+
- ip-10-214-44-28
|
676
|
+
X-Frame-Options:
|
677
|
+
- SAMEORIGIN
|
678
|
+
X-Deere-Elapsed-Ms:
|
679
|
+
- '11'
|
680
|
+
Cache-Control:
|
681
|
+
- no-store
|
682
|
+
Content-Language:
|
683
|
+
- en-US
|
684
|
+
Transfer-Encoding:
|
685
|
+
- chunked
|
686
|
+
body:
|
687
|
+
encoding: ASCII-8BIT
|
688
|
+
string: ''
|
689
|
+
http_version:
|
690
|
+
recorded_at: Mon, 10 Feb 2020 17:29:28 GMT
|
691
|
+
- request:
|
692
|
+
method: get
|
693
|
+
uri: https://sandboxapi.deere.com/platform/
|
694
|
+
body:
|
695
|
+
encoding: US-ASCII
|
696
|
+
string: ''
|
697
|
+
headers:
|
698
|
+
Accept:
|
699
|
+
- application/vnd.deere.axiom.v3+json
|
700
|
+
Accept-Encoding:
|
701
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
702
|
+
User-Agent:
|
703
|
+
- OAuth gem v0.5.4
|
704
|
+
Authorization:
|
705
|
+
- OAuth oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
|
706
|
+
oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
|
707
|
+
oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_version="1.0"
|
708
|
+
response:
|
709
|
+
status:
|
710
|
+
code: 200
|
711
|
+
message: OK
|
712
|
+
headers:
|
713
|
+
Date:
|
714
|
+
- Mon, 10 Feb 2020 17:29:28 GMT
|
715
|
+
Content-Type:
|
716
|
+
- application/vnd.deere.axiom.v3+json;charset=UTF-8
|
717
|
+
X-Deere-Handling-Server:
|
718
|
+
- ip-10-214-44-28
|
719
|
+
X-Frame-Options:
|
720
|
+
- SAMEORIGIN
|
721
|
+
X-Deere-Elapsed-Ms:
|
722
|
+
- '11'
|
723
|
+
Cache-Control:
|
724
|
+
- no-store
|
725
|
+
Content-Language:
|
726
|
+
- en-US
|
727
|
+
Transfer-Encoding:
|
728
|
+
- chunked
|
729
|
+
body:
|
730
|
+
encoding: ASCII-8BIT
|
731
|
+
string: '{"@type":"ApiCatalog","links":[{"@type":"Link","rel":"oauthRequestToken","uri":"https://sandboxapi.deere.com/platform/oauth/request_token"},{"@type":"Link","rel":"oauthAuthorizeRequestToken","uri":"https://my.deere.com/consentToUseOfData?oauth_token={token}"},{"@type":"Link","rel":"oauthAccessToken","uri":"https://sandboxapi.deere.com/platform/oauth/access_token"},{"@type":"Link","rel":"agencies","uri":"https://sandboxapi.deere.com/platform/agencies"}]}'
|
732
|
+
http_version:
|
733
|
+
recorded_at: Mon, 10 Feb 2020 17:29:28 GMT
|
734
|
+
recorded_with: VCR 5.0.0
|