my_john_deere_api 1.2.1 → 1.2.2
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/version.rb +1 -1
- data/test/lib/my_john_deere_api/client_test.rb +23 -4
- data/test/lib/my_john_deere_api/request/collection/assets_test.rb +1 -1
- data/test/lib/my_john_deere_api/request/create/asset_test.rb +1 -1
- data/test/support/helper.rb +0 -6
- data/test/support/vcr/catalog.yml +11 -12
- data/test/support/vcr/delete_asset.yml +10 -10
- data/test/support/vcr/get_access_token.yml +4 -4
- data/test/support/vcr/get_asset.yml +16 -16
- data/test/support/vcr/get_asset_locations.yml +29 -25
- data/test/support/vcr/get_assets.yml +23 -23
- data/test/support/vcr/get_contribution_definition.yml +10 -10
- data/test/support/vcr/get_contribution_definitions.yml +10 -10
- data/test/support/vcr/get_contribution_product.yml +10 -10
- data/test/support/vcr/get_contribution_products.yml +10 -10
- data/test/support/vcr/get_field.yml +15 -15
- data/test/support/vcr/get_fields.yml +15 -15
- data/test/support/vcr/get_flags.yml +5 -5
- data/test/support/vcr/get_organization.yml +9 -9
- data/test/support/vcr/get_organizations.yml +15 -15
- data/test/support/vcr/get_request_token.yml +9 -9
- data/test/support/vcr/post_asset_locations.yml +37 -33
- data/test/support/vcr/post_assets.yml +21 -21
- data/test/support/vcr/put_asset.yml +14 -14
- data/test/support/vcr/warning.txt +8 -4
- data/test/support/vcr_setup.rb +86 -32
- metadata +2 -3
- data/test/support/vcr/url.yml +0 -46
@@ -16,22 +16,22 @@ http_interactions:
|
|
16
16
|
Authorization:
|
17
17
|
- OAuth oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
|
18
18
|
oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
|
19
|
-
oauth_signature_method="HMAC-SHA1", oauth_timestamp="
|
19
|
+
oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_version="1.0"
|
20
20
|
response:
|
21
21
|
status:
|
22
22
|
code: 200
|
23
23
|
message: OK
|
24
24
|
headers:
|
25
25
|
Date:
|
26
|
-
-
|
26
|
+
- Mon, 10 Feb 2020 17:29:21 GMT
|
27
27
|
Content-Type:
|
28
28
|
- application/vnd.deere.axiom.v3+json;charset=UTF-8
|
29
29
|
X-Deere-Handling-Server:
|
30
|
-
- ip-10-214-
|
30
|
+
- ip-10-214-44-28
|
31
31
|
X-Frame-Options:
|
32
32
|
- SAMEORIGIN
|
33
33
|
X-Deere-Elapsed-Ms:
|
34
|
-
- '
|
34
|
+
- '12'
|
35
35
|
Cache-Control:
|
36
36
|
- no-store
|
37
37
|
Content-Language:
|
@@ -42,7 +42,7 @@ http_interactions:
|
|
42
42
|
encoding: ASCII-8BIT
|
43
43
|
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"}]}'
|
44
44
|
http_version:
|
45
|
-
recorded_at:
|
45
|
+
recorded_at: Mon, 10 Feb 2020 17:29:21 GMT
|
46
46
|
- request:
|
47
47
|
method: get
|
48
48
|
uri: https://sandboxapi.deere.com/platform/organizations
|
@@ -59,7 +59,7 @@ http_interactions:
|
|
59
59
|
Authorization:
|
60
60
|
- OAuth oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
|
61
61
|
oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
|
62
|
-
oauth_signature_method="HMAC-SHA1", oauth_timestamp="
|
62
|
+
oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
|
63
63
|
oauth_version="1.0"
|
64
64
|
response:
|
65
65
|
status:
|
@@ -67,15 +67,15 @@ http_interactions:
|
|
67
67
|
message: OK
|
68
68
|
headers:
|
69
69
|
Date:
|
70
|
-
-
|
70
|
+
- Mon, 10 Feb 2020 17:29:21 GMT
|
71
71
|
Content-Type:
|
72
72
|
- application/vnd.deere.axiom.v3+json;charset=UTF-8
|
73
73
|
X-Deere-Handling-Server:
|
74
|
-
- ip-10-214-44-
|
74
|
+
- ip-10-214-44-33
|
75
75
|
X-Frame-Options:
|
76
76
|
- SAMEORIGIN
|
77
77
|
X-Deere-Elapsed-Ms:
|
78
|
-
- '
|
78
|
+
- '54'
|
79
79
|
Cache-Control:
|
80
80
|
- no-store
|
81
81
|
Content-Language:
|
@@ -96,7 +96,7 @@ http_interactions:
|
|
96
96
|
Name","type":"customer","member":true,"id":"000000","links":[{"@type":"Link","rel":"self","uri":"https://sandboxapi.deere.com/platform/organizations/000000"},{"@type":"Link","rel":"machines","uri":"https://sandboxapi.deere.com/platform/organizations/000000/machines"},{"@type":"Link","rel":"wdtCapableMachines","uri":"https://sandboxapi.deere.com/platform/organizations/000000/machines?capability=wdt"},{"@type":"Link","rel":"files","uri":"https://sandboxapi.deere.com/platform/organizations/000000/files"},{"@type":"Link","rel":"transferableFiles","uri":"https://sandboxapi.deere.com/platform/organizations/000000/files?transferable=true"},{"@type":"Link","rel":"uploadFile","uri":"https://sandboxapi.deere.com/platform/organizations/000000/files"},{"@type":"Link","rel":"sendFileToMachine","uri":"https://sandboxapi.deere.com/platform/organizations/000000/fileTransfers"},{"@type":"Link","rel":"addMachine","uri":"https://sandboxapi.deere.com/platform/organizations/000000/machines"},{"@type":"Link","rel":"addField","uri":"https://sandboxapi.deere.com/platform/organizations/000000/fields"},{"@type":"Link","rel":"assets","uri":"https://sandboxapi.deere.com/platform/organizations/000000/assets"},{"@type":"Link","rel":"fields","uri":"https://sandboxapi.deere.com/platform/organizations/000000/fields"},{"@type":"Link","rel":"farms","uri":"https://sandboxapi.deere.com/platform/organizations/000000/farms"},{"@type":"Link","rel":"boundaries","uri":"https://sandboxapi.deere.com/platform/organizations/000000/boundaries"},{"@type":"Link","rel":"clients","uri":"https://sandboxapi.deere.com/platform/organizations/000000/clients"},{"@type":"Link","rel":"flags","uri":"https://sandboxapi.deere.com/platform/organizations/000000/flags"},{"@type":"Link","rel":"flagCategory","uri":"https://sandboxapi.deere.com/platform/organizations/000000/flagCategories"},{"@type":"Link","rel":"controllers","uri":"https://sandboxapi.deere.com/platform/organizations/000000/orgController"}]},{"@type":"Organization","name":"Organization
|
97
97
|
Name","type":"customer","member":true,"id":"000000","links":[{"@type":"Link","rel":"self","uri":"https://sandboxapi.deere.com/platform/organizations/000000"},{"@type":"Link","rel":"machines","uri":"https://sandboxapi.deere.com/platform/organizations/000000/machines"},{"@type":"Link","rel":"wdtCapableMachines","uri":"https://sandboxapi.deere.com/platform/organizations/000000/machines?capability=wdt"},{"@type":"Link","rel":"files","uri":"https://sandboxapi.deere.com/platform/organizations/000000/files"},{"@type":"Link","rel":"transferableFiles","uri":"https://sandboxapi.deere.com/platform/organizations/000000/files?transferable=true"},{"@type":"Link","rel":"uploadFile","uri":"https://sandboxapi.deere.com/platform/organizations/000000/files"},{"@type":"Link","rel":"sendFileToMachine","uri":"https://sandboxapi.deere.com/platform/organizations/000000/fileTransfers"},{"@type":"Link","rel":"addMachine","uri":"https://sandboxapi.deere.com/platform/organizations/000000/machines"},{"@type":"Link","rel":"addField","uri":"https://sandboxapi.deere.com/platform/organizations/000000/fields"},{"@type":"Link","rel":"assets","uri":"https://sandboxapi.deere.com/platform/organizations/000000/assets"},{"@type":"Link","rel":"fields","uri":"https://sandboxapi.deere.com/platform/organizations/000000/fields"},{"@type":"Link","rel":"farms","uri":"https://sandboxapi.deere.com/platform/organizations/000000/farms"},{"@type":"Link","rel":"boundaries","uri":"https://sandboxapi.deere.com/platform/organizations/000000/boundaries"},{"@type":"Link","rel":"clients","uri":"https://sandboxapi.deere.com/platform/organizations/000000/clients"},{"@type":"Link","rel":"flags","uri":"https://sandboxapi.deere.com/platform/organizations/000000/flags"},{"@type":"Link","rel":"flagCategory","uri":"https://sandboxapi.deere.com/platform/organizations/000000/flagCategories"},{"@type":"Link","rel":"controllers","uri":"https://sandboxapi.deere.com/platform/organizations/000000/orgController"}]}]}'
|
98
98
|
http_version:
|
99
|
-
recorded_at:
|
99
|
+
recorded_at: Mon, 10 Feb 2020 17:29:21 GMT
|
100
100
|
- request:
|
101
101
|
method: get
|
102
102
|
uri: https://sandboxapi.deere.com/platform/organizations/000000/fields
|
@@ -113,7 +113,7 @@ http_interactions:
|
|
113
113
|
Authorization:
|
114
114
|
- OAuth oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
|
115
115
|
oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
|
116
|
-
oauth_signature_method="HMAC-SHA1", oauth_timestamp="
|
116
|
+
oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
|
117
117
|
oauth_version="1.0"
|
118
118
|
response:
|
119
119
|
status:
|
@@ -121,15 +121,15 @@ http_interactions:
|
|
121
121
|
message: OK
|
122
122
|
headers:
|
123
123
|
Date:
|
124
|
-
-
|
124
|
+
- Mon, 10 Feb 2020 17:29:22 GMT
|
125
125
|
Content-Type:
|
126
126
|
- application/vnd.deere.axiom.v3+json;charset=UTF-8
|
127
127
|
X-Deere-Handling-Server:
|
128
|
-
- ip-10-214-
|
128
|
+
- ip-10-214-44-36
|
129
129
|
X-Frame-Options:
|
130
130
|
- SAMEORIGIN
|
131
131
|
X-Deere-Elapsed-Ms:
|
132
|
-
- '
|
132
|
+
- '88'
|
133
133
|
Cache-Control:
|
134
134
|
- no-store
|
135
135
|
Content-Language:
|
@@ -142,5 +142,5 @@ http_interactions:
|
|
142
142
|
Name","archived":false,"id":"00000000-0000-0000-0000-000000000000","links":[{"@type":"Link","rel":"self","uri":"https://sandboxapi.deere.com/platform/organizations/000000/fields/00000000-0000-0000-0000-000000000000"},{"@type":"Link","rel":"clients","uri":"https://sandboxapi.deere.com/platform/organizations/000000/fields/00000000-0000-0000-0000-000000000000/clients"},{"@type":"Link","rel":"farms","uri":"https://sandboxapi.deere.com/platform/organizations/000000/fields/00000000-0000-0000-0000-000000000000/farms"},{"@type":"Link","rel":"owningOrganization","uri":"https://sandboxapi.deere.com/platform/organizations/000000"},{"@type":"Link","rel":"boundaries","uri":"https://sandboxapi.deere.com/platform/organizations/000000/fields/00000000-0000-0000-0000-000000000000/boundaries"},{"@type":"Link","rel":"simplifiedBoundaries","uri":"https://sandboxapi.deere.com/platform/organizations/000000/fields/00000000-0000-0000-0000-000000000000/boundaries?simple=true"},{"@type":"Link","rel":"addBoundary","uri":"https://sandboxapi.deere.com/platform/organizations/000000/fields/00000000-0000-0000-0000-000000000000/boundaries"},{"@type":"Link","rel":"deleteField","uri":"https://sandboxapi.deere.com/platform/organizations/000000/fields/00000000-0000-0000-0000-000000000000"},{"@type":"Link","rel":"editField","uri":"https://sandboxapi.deere.com/platform/organizations/000000/fields/00000000-0000-0000-0000-000000000000"}]},{"@type":"Field","name":"Field
|
143
143
|
Name","archived":false,"id":"00000000-0000-0000-0000-000000000000","links":[{"@type":"Link","rel":"self","uri":"https://sandboxapi.deere.com/platform/organizations/000000/fields/00000000-0000-0000-0000-000000000000"},{"@type":"Link","rel":"clients","uri":"https://sandboxapi.deere.com/platform/organizations/000000/fields/00000000-0000-0000-0000-000000000000/clients"},{"@type":"Link","rel":"farms","uri":"https://sandboxapi.deere.com/platform/organizations/000000/fields/00000000-0000-0000-0000-000000000000/farms"},{"@type":"Link","rel":"owningOrganization","uri":"https://sandboxapi.deere.com/platform/organizations/000000"},{"@type":"Link","rel":"boundaries","uri":"https://sandboxapi.deere.com/platform/organizations/000000/fields/00000000-0000-0000-0000-000000000000/boundaries"},{"@type":"Link","rel":"simplifiedBoundaries","uri":"https://sandboxapi.deere.com/platform/organizations/000000/fields/00000000-0000-0000-0000-000000000000/boundaries?simple=true"},{"@type":"Link","rel":"addBoundary","uri":"https://sandboxapi.deere.com/platform/organizations/000000/fields/00000000-0000-0000-0000-000000000000/boundaries"},{"@type":"Link","rel":"deleteField","uri":"https://sandboxapi.deere.com/platform/organizations/000000/fields/00000000-0000-0000-0000-000000000000"},{"@type":"Link","rel":"editField","uri":"https://sandboxapi.deere.com/platform/organizations/000000/fields/00000000-0000-0000-0000-000000000000"}]}]}'
|
144
144
|
http_version:
|
145
|
-
recorded_at:
|
145
|
+
recorded_at: Mon, 10 Feb 2020 17:29:22 GMT
|
146
146
|
recorded_with: VCR 5.0.0
|
@@ -16,7 +16,7 @@ http_interactions:
|
|
16
16
|
Authorization:
|
17
17
|
- OAuth oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
|
18
18
|
oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
|
19
|
-
oauth_signature_method="HMAC-SHA1", oauth_timestamp="
|
19
|
+
oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
|
20
20
|
oauth_version="1.0"
|
21
21
|
response:
|
22
22
|
status:
|
@@ -24,15 +24,15 @@ http_interactions:
|
|
24
24
|
message: OK
|
25
25
|
headers:
|
26
26
|
Date:
|
27
|
-
-
|
27
|
+
- Mon, 10 Feb 2020 17:29:24 GMT
|
28
28
|
Content-Type:
|
29
29
|
- application/vnd.deere.axiom.v3+json;charset=UTF-8
|
30
30
|
X-Deere-Handling-Server:
|
31
|
-
- ip-10-214-44-
|
31
|
+
- ip-10-214-44-215
|
32
32
|
X-Frame-Options:
|
33
33
|
- SAMEORIGIN
|
34
34
|
X-Deere-Elapsed-Ms:
|
35
|
-
- '
|
35
|
+
- '193'
|
36
36
|
Cache-Control:
|
37
37
|
- no-store
|
38
38
|
Content-Language:
|
@@ -43,5 +43,5 @@ http_interactions:
|
|
43
43
|
encoding: ASCII-8BIT
|
44
44
|
string: '{"links":[{"rel":"self","uri":"https://sandboxapi.deere.com/platform/organizations/000000/fields/00000000-0000-0000-0000-000000000000/flags"}],"total":0,"values":[]}'
|
45
45
|
http_version:
|
46
|
-
recorded_at:
|
46
|
+
recorded_at: Mon, 10 Feb 2020 17:29:24 GMT
|
47
47
|
recorded_with: VCR 5.0.0
|
@@ -16,22 +16,22 @@ http_interactions:
|
|
16
16
|
Authorization:
|
17
17
|
- OAuth oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
|
18
18
|
oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
|
19
|
-
oauth_signature_method="HMAC-SHA1", oauth_timestamp="
|
19
|
+
oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_version="1.0"
|
20
20
|
response:
|
21
21
|
status:
|
22
22
|
code: 200
|
23
23
|
message: OK
|
24
24
|
headers:
|
25
25
|
Date:
|
26
|
-
-
|
26
|
+
- Mon, 10 Feb 2020 17:29:20 GMT
|
27
27
|
Content-Type:
|
28
28
|
- application/vnd.deere.axiom.v3+json;charset=UTF-8
|
29
29
|
X-Deere-Handling-Server:
|
30
|
-
- ip-10-214-
|
30
|
+
- ip-10-214-44-36
|
31
31
|
X-Frame-Options:
|
32
32
|
- SAMEORIGIN
|
33
33
|
X-Deere-Elapsed-Ms:
|
34
|
-
- '
|
34
|
+
- '11'
|
35
35
|
Cache-Control:
|
36
36
|
- no-store
|
37
37
|
Content-Language:
|
@@ -42,7 +42,7 @@ http_interactions:
|
|
42
42
|
encoding: ASCII-8BIT
|
43
43
|
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"}]}'
|
44
44
|
http_version:
|
45
|
-
recorded_at:
|
45
|
+
recorded_at: Mon, 10 Feb 2020 17:29:20 GMT
|
46
46
|
- request:
|
47
47
|
method: get
|
48
48
|
uri: https://sandboxapi.deere.com/platform/organizations/000000
|
@@ -59,7 +59,7 @@ http_interactions:
|
|
59
59
|
Authorization:
|
60
60
|
- OAuth oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
|
61
61
|
oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
|
62
|
-
oauth_signature_method="HMAC-SHA1", oauth_timestamp="
|
62
|
+
oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
|
63
63
|
oauth_version="1.0"
|
64
64
|
response:
|
65
65
|
status:
|
@@ -67,11 +67,11 @@ http_interactions:
|
|
67
67
|
message: OK
|
68
68
|
headers:
|
69
69
|
Date:
|
70
|
-
-
|
70
|
+
- Mon, 10 Feb 2020 17:29:20 GMT
|
71
71
|
Content-Type:
|
72
72
|
- application/vnd.deere.axiom.v3+json;charset=UTF-8
|
73
73
|
X-Deere-Handling-Server:
|
74
|
-
- ip-10-214-
|
74
|
+
- ip-10-214-44-36
|
75
75
|
X-Frame-Options:
|
76
76
|
- SAMEORIGIN
|
77
77
|
X-Deere-Elapsed-Ms:
|
@@ -86,5 +86,5 @@ http_interactions:
|
|
86
86
|
encoding: ASCII-8BIT
|
87
87
|
string: '{"@type":"Organization","name":"Organization Name","type":"customer","member":true,"id":"000000","links":[{"@type":"Link","rel":"self","uri":"https://sandboxapi.deere.com/platform/organizations/000000"},{"@type":"Link","rel":"machines","uri":"https://sandboxapi.deere.com/platform/organizations/000000/machines"},{"@type":"Link","rel":"wdtCapableMachines","uri":"https://sandboxapi.deere.com/platform/organizations/000000/machines?capability=wdt"},{"@type":"Link","rel":"files","uri":"https://sandboxapi.deere.com/platform/organizations/000000/files"},{"@type":"Link","rel":"transferableFiles","uri":"https://sandboxapi.deere.com/platform/organizations/000000/files?transferable=true"},{"@type":"Link","rel":"uploadFile","uri":"https://sandboxapi.deere.com/platform/organizations/000000/files"},{"@type":"Link","rel":"sendFileToMachine","uri":"https://sandboxapi.deere.com/platform/organizations/000000/fileTransfers"},{"@type":"Link","rel":"addMachine","uri":"https://sandboxapi.deere.com/platform/organizations/000000/machines"},{"@type":"Link","rel":"addField","uri":"https://sandboxapi.deere.com/platform/organizations/000000/fields"},{"@type":"Link","rel":"assets","uri":"https://sandboxapi.deere.com/platform/organizations/000000/assets"},{"@type":"Link","rel":"fields","uri":"https://sandboxapi.deere.com/platform/organizations/000000/fields"},{"@type":"Link","rel":"farms","uri":"https://sandboxapi.deere.com/platform/organizations/000000/farms"},{"@type":"Link","rel":"boundaries","uri":"https://sandboxapi.deere.com/platform/organizations/000000/boundaries"},{"@type":"Link","rel":"clients","uri":"https://sandboxapi.deere.com/platform/organizations/000000/clients"},{"@type":"Link","rel":"flags","uri":"https://sandboxapi.deere.com/platform/organizations/000000/flags"},{"@type":"Link","rel":"flagCategory","uri":"https://sandboxapi.deere.com/platform/organizations/000000/flagCategories"},{"@type":"Link","rel":"controllers","uri":"https://sandboxapi.deere.com/platform/organizations/000000/orgController"}]}'
|
88
88
|
http_version:
|
89
|
-
recorded_at:
|
89
|
+
recorded_at: Mon, 10 Feb 2020 17:29:20 GMT
|
90
90
|
recorded_with: VCR 5.0.0
|
@@ -16,22 +16,22 @@ http_interactions:
|
|
16
16
|
Authorization:
|
17
17
|
- OAuth oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
|
18
18
|
oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
|
19
|
-
oauth_signature_method="HMAC-SHA1", oauth_timestamp="
|
19
|
+
oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_version="1.0"
|
20
20
|
response:
|
21
21
|
status:
|
22
22
|
code: 200
|
23
23
|
message: OK
|
24
24
|
headers:
|
25
25
|
Date:
|
26
|
-
-
|
26
|
+
- Mon, 10 Feb 2020 17:29:18 GMT
|
27
27
|
Content-Type:
|
28
28
|
- application/vnd.deere.axiom.v3+json;charset=UTF-8
|
29
29
|
X-Deere-Handling-Server:
|
30
|
-
- ip-10-214-44-
|
30
|
+
- ip-10-214-44-33
|
31
31
|
X-Frame-Options:
|
32
32
|
- SAMEORIGIN
|
33
33
|
X-Deere-Elapsed-Ms:
|
34
|
-
- '
|
34
|
+
- '9'
|
35
35
|
Cache-Control:
|
36
36
|
- no-store
|
37
37
|
Content-Language:
|
@@ -42,7 +42,7 @@ http_interactions:
|
|
42
42
|
encoding: ASCII-8BIT
|
43
43
|
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"}]}'
|
44
44
|
http_version:
|
45
|
-
recorded_at:
|
45
|
+
recorded_at: Mon, 10 Feb 2020 17:29:19 GMT
|
46
46
|
- request:
|
47
47
|
method: get
|
48
48
|
uri: https://sandboxapi.deere.com/platform/organizations
|
@@ -59,7 +59,7 @@ http_interactions:
|
|
59
59
|
Authorization:
|
60
60
|
- OAuth oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
|
61
61
|
oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
|
62
|
-
oauth_signature_method="HMAC-SHA1", oauth_timestamp="
|
62
|
+
oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
|
63
63
|
oauth_version="1.0"
|
64
64
|
response:
|
65
65
|
status:
|
@@ -67,15 +67,15 @@ http_interactions:
|
|
67
67
|
message: OK
|
68
68
|
headers:
|
69
69
|
Date:
|
70
|
-
-
|
70
|
+
- Mon, 10 Feb 2020 17:29:19 GMT
|
71
71
|
Content-Type:
|
72
72
|
- application/vnd.deere.axiom.v3+json;charset=UTF-8
|
73
73
|
X-Deere-Handling-Server:
|
74
|
-
- ip-10-214-44-
|
74
|
+
- ip-10-214-44-215
|
75
75
|
X-Frame-Options:
|
76
76
|
- SAMEORIGIN
|
77
77
|
X-Deere-Elapsed-Ms:
|
78
|
-
- '
|
78
|
+
- '25'
|
79
79
|
Cache-Control:
|
80
80
|
- no-store
|
81
81
|
Content-Language:
|
@@ -96,7 +96,7 @@ http_interactions:
|
|
96
96
|
Name","type":"customer","member":true,"id":"000000","links":[{"@type":"Link","rel":"self","uri":"https://sandboxapi.deere.com/platform/organizations/000000"},{"@type":"Link","rel":"machines","uri":"https://sandboxapi.deere.com/platform/organizations/000000/machines"},{"@type":"Link","rel":"wdtCapableMachines","uri":"https://sandboxapi.deere.com/platform/organizations/000000/machines?capability=wdt"},{"@type":"Link","rel":"files","uri":"https://sandboxapi.deere.com/platform/organizations/000000/files"},{"@type":"Link","rel":"transferableFiles","uri":"https://sandboxapi.deere.com/platform/organizations/000000/files?transferable=true"},{"@type":"Link","rel":"uploadFile","uri":"https://sandboxapi.deere.com/platform/organizations/000000/files"},{"@type":"Link","rel":"sendFileToMachine","uri":"https://sandboxapi.deere.com/platform/organizations/000000/fileTransfers"},{"@type":"Link","rel":"addMachine","uri":"https://sandboxapi.deere.com/platform/organizations/000000/machines"},{"@type":"Link","rel":"addField","uri":"https://sandboxapi.deere.com/platform/organizations/000000/fields"},{"@type":"Link","rel":"assets","uri":"https://sandboxapi.deere.com/platform/organizations/000000/assets"},{"@type":"Link","rel":"fields","uri":"https://sandboxapi.deere.com/platform/organizations/000000/fields"},{"@type":"Link","rel":"farms","uri":"https://sandboxapi.deere.com/platform/organizations/000000/farms"},{"@type":"Link","rel":"boundaries","uri":"https://sandboxapi.deere.com/platform/organizations/000000/boundaries"},{"@type":"Link","rel":"clients","uri":"https://sandboxapi.deere.com/platform/organizations/000000/clients"},{"@type":"Link","rel":"flags","uri":"https://sandboxapi.deere.com/platform/organizations/000000/flags"},{"@type":"Link","rel":"flagCategory","uri":"https://sandboxapi.deere.com/platform/organizations/000000/flagCategories"},{"@type":"Link","rel":"controllers","uri":"https://sandboxapi.deere.com/platform/organizations/000000/orgController"}]},{"@type":"Organization","name":"Organization
|
97
97
|
Name","type":"customer","member":true,"id":"000000","links":[{"@type":"Link","rel":"self","uri":"https://sandboxapi.deere.com/platform/organizations/000000"},{"@type":"Link","rel":"machines","uri":"https://sandboxapi.deere.com/platform/organizations/000000/machines"},{"@type":"Link","rel":"wdtCapableMachines","uri":"https://sandboxapi.deere.com/platform/organizations/000000/machines?capability=wdt"},{"@type":"Link","rel":"files","uri":"https://sandboxapi.deere.com/platform/organizations/000000/files"},{"@type":"Link","rel":"transferableFiles","uri":"https://sandboxapi.deere.com/platform/organizations/000000/files?transferable=true"},{"@type":"Link","rel":"uploadFile","uri":"https://sandboxapi.deere.com/platform/organizations/000000/files"},{"@type":"Link","rel":"sendFileToMachine","uri":"https://sandboxapi.deere.com/platform/organizations/000000/fileTransfers"},{"@type":"Link","rel":"addMachine","uri":"https://sandboxapi.deere.com/platform/organizations/000000/machines"},{"@type":"Link","rel":"addField","uri":"https://sandboxapi.deere.com/platform/organizations/000000/fields"},{"@type":"Link","rel":"assets","uri":"https://sandboxapi.deere.com/platform/organizations/000000/assets"},{"@type":"Link","rel":"fields","uri":"https://sandboxapi.deere.com/platform/organizations/000000/fields"},{"@type":"Link","rel":"farms","uri":"https://sandboxapi.deere.com/platform/organizations/000000/farms"},{"@type":"Link","rel":"boundaries","uri":"https://sandboxapi.deere.com/platform/organizations/000000/boundaries"},{"@type":"Link","rel":"clients","uri":"https://sandboxapi.deere.com/platform/organizations/000000/clients"},{"@type":"Link","rel":"flags","uri":"https://sandboxapi.deere.com/platform/organizations/000000/flags"},{"@type":"Link","rel":"flagCategory","uri":"https://sandboxapi.deere.com/platform/organizations/000000/flagCategories"},{"@type":"Link","rel":"controllers","uri":"https://sandboxapi.deere.com/platform/organizations/000000/orgController"}]}]}'
|
98
98
|
http_version:
|
99
|
-
recorded_at:
|
99
|
+
recorded_at: Mon, 10 Feb 2020 17:29:19 GMT
|
100
100
|
- request:
|
101
101
|
method: get
|
102
102
|
uri: https://sandboxapi.deere.com/platform/organizations;start=10;count=10
|
@@ -113,7 +113,7 @@ http_interactions:
|
|
113
113
|
Authorization:
|
114
114
|
- OAuth oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
|
115
115
|
oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
|
116
|
-
oauth_signature_method="HMAC-SHA1", oauth_timestamp="
|
116
|
+
oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
|
117
117
|
oauth_version="1.0"
|
118
118
|
response:
|
119
119
|
status:
|
@@ -121,15 +121,15 @@ http_interactions:
|
|
121
121
|
message: OK
|
122
122
|
headers:
|
123
123
|
Date:
|
124
|
-
-
|
124
|
+
- Mon, 10 Feb 2020 17:29:19 GMT
|
125
125
|
Content-Type:
|
126
126
|
- application/vnd.deere.axiom.v3+json;charset=UTF-8
|
127
127
|
X-Deere-Handling-Server:
|
128
|
-
- ip-10-214-
|
128
|
+
- ip-10-214-44-33
|
129
129
|
X-Frame-Options:
|
130
130
|
- SAMEORIGIN
|
131
131
|
X-Deere-Elapsed-Ms:
|
132
|
-
- '
|
132
|
+
- '52'
|
133
133
|
Cache-Control:
|
134
134
|
- no-store
|
135
135
|
Content-Language:
|
@@ -145,5 +145,5 @@ http_interactions:
|
|
145
145
|
Name","type":"customer","member":true,"id":"000000","links":[{"@type":"Link","rel":"self","uri":"https://sandboxapi.deere.com/platform/organizations/000000"},{"@type":"Link","rel":"machines","uri":"https://sandboxapi.deere.com/platform/organizations/000000/machines"},{"@type":"Link","rel":"wdtCapableMachines","uri":"https://sandboxapi.deere.com/platform/organizations/000000/machines?capability=wdt"},{"@type":"Link","rel":"files","uri":"https://sandboxapi.deere.com/platform/organizations/000000/files"},{"@type":"Link","rel":"transferableFiles","uri":"https://sandboxapi.deere.com/platform/organizations/000000/files?transferable=true"},{"@type":"Link","rel":"uploadFile","uri":"https://sandboxapi.deere.com/platform/organizations/000000/files"},{"@type":"Link","rel":"sendFileToMachine","uri":"https://sandboxapi.deere.com/platform/organizations/000000/fileTransfers"},{"@type":"Link","rel":"addMachine","uri":"https://sandboxapi.deere.com/platform/organizations/000000/machines"},{"@type":"Link","rel":"addField","uri":"https://sandboxapi.deere.com/platform/organizations/000000/fields"},{"@type":"Link","rel":"assets","uri":"https://sandboxapi.deere.com/platform/organizations/000000/assets"},{"@type":"Link","rel":"fields","uri":"https://sandboxapi.deere.com/platform/organizations/000000/fields"},{"@type":"Link","rel":"farms","uri":"https://sandboxapi.deere.com/platform/organizations/000000/farms"},{"@type":"Link","rel":"boundaries","uri":"https://sandboxapi.deere.com/platform/organizations/000000/boundaries"},{"@type":"Link","rel":"clients","uri":"https://sandboxapi.deere.com/platform/organizations/000000/clients"},{"@type":"Link","rel":"flags","uri":"https://sandboxapi.deere.com/platform/organizations/000000/flags"},{"@type":"Link","rel":"flagCategory","uri":"https://sandboxapi.deere.com/platform/organizations/000000/flagCategories"},{"@type":"Link","rel":"controllers","uri":"https://sandboxapi.deere.com/platform/organizations/000000/orgController"}]},{"@type":"Organization","name":"Organization
|
146
146
|
Name","type":"customer","member":true,"id":"000000","links":[{"@type":"Link","rel":"self","uri":"https://sandboxapi.deere.com/platform/organizations/000000"},{"@type":"Link","rel":"machines","uri":"https://sandboxapi.deere.com/platform/organizations/000000/machines"},{"@type":"Link","rel":"wdtCapableMachines","uri":"https://sandboxapi.deere.com/platform/organizations/000000/machines?capability=wdt"},{"@type":"Link","rel":"files","uri":"https://sandboxapi.deere.com/platform/organizations/000000/files"},{"@type":"Link","rel":"transferableFiles","uri":"https://sandboxapi.deere.com/platform/organizations/000000/files?transferable=true"},{"@type":"Link","rel":"uploadFile","uri":"https://sandboxapi.deere.com/platform/organizations/000000/files"},{"@type":"Link","rel":"sendFileToMachine","uri":"https://sandboxapi.deere.com/platform/organizations/000000/fileTransfers"},{"@type":"Link","rel":"addMachine","uri":"https://sandboxapi.deere.com/platform/organizations/000000/machines"},{"@type":"Link","rel":"addField","uri":"https://sandboxapi.deere.com/platform/organizations/000000/fields"},{"@type":"Link","rel":"assets","uri":"https://sandboxapi.deere.com/platform/organizations/000000/assets"},{"@type":"Link","rel":"fields","uri":"https://sandboxapi.deere.com/platform/organizations/000000/fields"},{"@type":"Link","rel":"farms","uri":"https://sandboxapi.deere.com/platform/organizations/000000/farms"},{"@type":"Link","rel":"boundaries","uri":"https://sandboxapi.deere.com/platform/organizations/000000/boundaries"},{"@type":"Link","rel":"clients","uri":"https://sandboxapi.deere.com/platform/organizations/000000/clients"},{"@type":"Link","rel":"flags","uri":"https://sandboxapi.deere.com/platform/organizations/000000/flags"},{"@type":"Link","rel":"flagCategory","uri":"https://sandboxapi.deere.com/platform/organizations/000000/flagCategories"},{"@type":"Link","rel":"controllers","uri":"https://sandboxapi.deere.com/platform/organizations/000000/orgController"}]}]}'
|
147
147
|
http_version:
|
148
|
-
recorded_at:
|
148
|
+
recorded_at: Mon, 10 Feb 2020 17:29:19 GMT
|
149
149
|
recorded_with: VCR 5.0.0
|
@@ -16,22 +16,22 @@ http_interactions:
|
|
16
16
|
Authorization:
|
17
17
|
- OAuth oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
|
18
18
|
oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
|
19
|
-
oauth_signature_method="HMAC-SHA1", oauth_timestamp="
|
19
|
+
oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_version="1.0"
|
20
20
|
response:
|
21
21
|
status:
|
22
22
|
code: 200
|
23
23
|
message: OK
|
24
24
|
headers:
|
25
25
|
Date:
|
26
|
-
-
|
26
|
+
- Mon, 10 Feb 2020 17:28:57 GMT
|
27
27
|
Content-Type:
|
28
28
|
- application/vnd.deere.axiom.v3+json;charset=UTF-8
|
29
29
|
X-Deere-Handling-Server:
|
30
|
-
- ip-10-214-44-
|
30
|
+
- ip-10-214-44-205
|
31
31
|
X-Frame-Options:
|
32
32
|
- SAMEORIGIN
|
33
33
|
X-Deere-Elapsed-Ms:
|
34
|
-
- '
|
34
|
+
- '10'
|
35
35
|
Cache-Control:
|
36
36
|
- no-store
|
37
37
|
Content-Language:
|
@@ -42,7 +42,7 @@ http_interactions:
|
|
42
42
|
encoding: ASCII-8BIT
|
43
43
|
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"}]}'
|
44
44
|
http_version:
|
45
|
-
recorded_at:
|
45
|
+
recorded_at: Mon, 10 Feb 2020 17:28:58 GMT
|
46
46
|
- request:
|
47
47
|
method: get
|
48
48
|
uri: https://sandboxapi.deere.com/platform/oauth/request_token
|
@@ -59,18 +59,18 @@ http_interactions:
|
|
59
59
|
Authorization:
|
60
60
|
- OAuth oauth_callback="oob", oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
|
61
61
|
oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
|
62
|
-
oauth_signature_method="HMAC-SHA1", oauth_timestamp="
|
62
|
+
oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_version="1.0"
|
63
63
|
response:
|
64
64
|
status:
|
65
65
|
code: 200
|
66
66
|
message: OK
|
67
67
|
headers:
|
68
68
|
Date:
|
69
|
-
-
|
69
|
+
- Mon, 10 Feb 2020 17:28:58 GMT
|
70
70
|
Content-Type:
|
71
71
|
- text/plain;charset=UTF-8
|
72
72
|
X-Deere-Handling-Server:
|
73
|
-
- ip-10-214-
|
73
|
+
- ip-10-214-44-190
|
74
74
|
Vary:
|
75
75
|
- Accept-Encoding
|
76
76
|
Transfer-Encoding:
|
@@ -79,5 +79,5 @@ http_interactions:
|
|
79
79
|
encoding: ASCII-8BIT
|
80
80
|
string: oauth_token=00000000-0000-0000-0000-000000000000&oauth_token_secret=000000000000000000000000000000000000000000&oauth_callback_confirmed=true
|
81
81
|
http_version:
|
82
|
-
recorded_at:
|
82
|
+
recorded_at: Mon, 10 Feb 2020 17:28:58 GMT
|
83
83
|
recorded_with: VCR 5.0.0
|
@@ -16,22 +16,22 @@ http_interactions:
|
|
16
16
|
Authorization:
|
17
17
|
- OAuth oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
|
18
18
|
oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
|
19
|
-
oauth_signature_method="HMAC-SHA1", oauth_timestamp="
|
19
|
+
oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_version="1.0"
|
20
20
|
response:
|
21
21
|
status:
|
22
22
|
code: 200
|
23
23
|
message: OK
|
24
24
|
headers:
|
25
25
|
Date:
|
26
|
-
-
|
26
|
+
- Mon, 10 Feb 2020 17:29:30 GMT
|
27
27
|
Content-Type:
|
28
28
|
- application/vnd.deere.axiom.v3+json;charset=UTF-8
|
29
29
|
X-Deere-Handling-Server:
|
30
|
-
- ip-10-214-45-
|
30
|
+
- ip-10-214-45-66
|
31
31
|
X-Frame-Options:
|
32
32
|
- SAMEORIGIN
|
33
33
|
X-Deere-Elapsed-Ms:
|
34
|
-
- '
|
34
|
+
- '10'
|
35
35
|
Cache-Control:
|
36
36
|
- no-store
|
37
37
|
Content-Language:
|
@@ -42,7 +42,7 @@ http_interactions:
|
|
42
42
|
encoding: ASCII-8BIT
|
43
43
|
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"}]}'
|
44
44
|
http_version:
|
45
|
-
recorded_at:
|
45
|
+
recorded_at: Mon, 10 Feb 2020 17:29:31 GMT
|
46
46
|
- request:
|
47
47
|
method: get
|
48
48
|
uri: https://sandboxapi.deere.com/platform/organizations
|
@@ -59,7 +59,7 @@ http_interactions:
|
|
59
59
|
Authorization:
|
60
60
|
- OAuth oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
|
61
61
|
oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
|
62
|
-
oauth_signature_method="HMAC-SHA1", oauth_timestamp="
|
62
|
+
oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
|
63
63
|
oauth_version="1.0"
|
64
64
|
response:
|
65
65
|
status:
|
@@ -67,15 +67,15 @@ http_interactions:
|
|
67
67
|
message: OK
|
68
68
|
headers:
|
69
69
|
Date:
|
70
|
-
-
|
70
|
+
- Mon, 10 Feb 2020 17:29:31 GMT
|
71
71
|
Content-Type:
|
72
72
|
- application/vnd.deere.axiom.v3+json;charset=UTF-8
|
73
73
|
X-Deere-Handling-Server:
|
74
|
-
- ip-10-214-
|
74
|
+
- ip-10-214-44-28
|
75
75
|
X-Frame-Options:
|
76
76
|
- SAMEORIGIN
|
77
77
|
X-Deere-Elapsed-Ms:
|
78
|
-
- '
|
78
|
+
- '44'
|
79
79
|
Cache-Control:
|
80
80
|
- no-store
|
81
81
|
Content-Language:
|
@@ -96,7 +96,7 @@ http_interactions:
|
|
96
96
|
Name","type":"customer","member":true,"id":"000000","links":[{"@type":"Link","rel":"self","uri":"https://sandboxapi.deere.com/platform/organizations/000000"},{"@type":"Link","rel":"machines","uri":"https://sandboxapi.deere.com/platform/organizations/000000/machines"},{"@type":"Link","rel":"wdtCapableMachines","uri":"https://sandboxapi.deere.com/platform/organizations/000000/machines?capability=wdt"},{"@type":"Link","rel":"files","uri":"https://sandboxapi.deere.com/platform/organizations/000000/files"},{"@type":"Link","rel":"transferableFiles","uri":"https://sandboxapi.deere.com/platform/organizations/000000/files?transferable=true"},{"@type":"Link","rel":"uploadFile","uri":"https://sandboxapi.deere.com/platform/organizations/000000/files"},{"@type":"Link","rel":"sendFileToMachine","uri":"https://sandboxapi.deere.com/platform/organizations/000000/fileTransfers"},{"@type":"Link","rel":"addMachine","uri":"https://sandboxapi.deere.com/platform/organizations/000000/machines"},{"@type":"Link","rel":"addField","uri":"https://sandboxapi.deere.com/platform/organizations/000000/fields"},{"@type":"Link","rel":"assets","uri":"https://sandboxapi.deere.com/platform/organizations/000000/assets"},{"@type":"Link","rel":"fields","uri":"https://sandboxapi.deere.com/platform/organizations/000000/fields"},{"@type":"Link","rel":"farms","uri":"https://sandboxapi.deere.com/platform/organizations/000000/farms"},{"@type":"Link","rel":"boundaries","uri":"https://sandboxapi.deere.com/platform/organizations/000000/boundaries"},{"@type":"Link","rel":"clients","uri":"https://sandboxapi.deere.com/platform/organizations/000000/clients"},{"@type":"Link","rel":"flags","uri":"https://sandboxapi.deere.com/platform/organizations/000000/flags"},{"@type":"Link","rel":"flagCategory","uri":"https://sandboxapi.deere.com/platform/organizations/000000/flagCategories"},{"@type":"Link","rel":"controllers","uri":"https://sandboxapi.deere.com/platform/organizations/000000/orgController"}]},{"@type":"Organization","name":"Organization
|
97
97
|
Name","type":"customer","member":true,"id":"000000","links":[{"@type":"Link","rel":"self","uri":"https://sandboxapi.deere.com/platform/organizations/000000"},{"@type":"Link","rel":"machines","uri":"https://sandboxapi.deere.com/platform/organizations/000000/machines"},{"@type":"Link","rel":"wdtCapableMachines","uri":"https://sandboxapi.deere.com/platform/organizations/000000/machines?capability=wdt"},{"@type":"Link","rel":"files","uri":"https://sandboxapi.deere.com/platform/organizations/000000/files"},{"@type":"Link","rel":"transferableFiles","uri":"https://sandboxapi.deere.com/platform/organizations/000000/files?transferable=true"},{"@type":"Link","rel":"uploadFile","uri":"https://sandboxapi.deere.com/platform/organizations/000000/files"},{"@type":"Link","rel":"sendFileToMachine","uri":"https://sandboxapi.deere.com/platform/organizations/000000/fileTransfers"},{"@type":"Link","rel":"addMachine","uri":"https://sandboxapi.deere.com/platform/organizations/000000/machines"},{"@type":"Link","rel":"addField","uri":"https://sandboxapi.deere.com/platform/organizations/000000/fields"},{"@type":"Link","rel":"assets","uri":"https://sandboxapi.deere.com/platform/organizations/000000/assets"},{"@type":"Link","rel":"fields","uri":"https://sandboxapi.deere.com/platform/organizations/000000/fields"},{"@type":"Link","rel":"farms","uri":"https://sandboxapi.deere.com/platform/organizations/000000/farms"},{"@type":"Link","rel":"boundaries","uri":"https://sandboxapi.deere.com/platform/organizations/000000/boundaries"},{"@type":"Link","rel":"clients","uri":"https://sandboxapi.deere.com/platform/organizations/000000/clients"},{"@type":"Link","rel":"flags","uri":"https://sandboxapi.deere.com/platform/organizations/000000/flags"},{"@type":"Link","rel":"flagCategory","uri":"https://sandboxapi.deere.com/platform/organizations/000000/flagCategories"},{"@type":"Link","rel":"controllers","uri":"https://sandboxapi.deere.com/platform/organizations/000000/orgController"}]}]}'
|
98
98
|
http_version:
|
99
|
-
recorded_at:
|
99
|
+
recorded_at: Mon, 10 Feb 2020 17:29:31 GMT
|
100
100
|
- request:
|
101
101
|
method: get
|
102
102
|
uri: https://sandboxapi.deere.com/platform/organizations/000000/assets
|
@@ -113,7 +113,7 @@ http_interactions:
|
|
113
113
|
Authorization:
|
114
114
|
- OAuth oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
|
115
115
|
oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
|
116
|
-
oauth_signature_method="HMAC-SHA1", oauth_timestamp="
|
116
|
+
oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
|
117
117
|
oauth_version="1.0"
|
118
118
|
response:
|
119
119
|
status:
|
@@ -121,15 +121,15 @@ http_interactions:
|
|
121
121
|
message: OK
|
122
122
|
headers:
|
123
123
|
Date:
|
124
|
-
-
|
124
|
+
- Mon, 10 Feb 2020 17:29:31 GMT
|
125
125
|
Content-Type:
|
126
126
|
- application/vnd.deere.axiom.v3+json;charset=UTF-8
|
127
127
|
X-Deere-Handling-Server:
|
128
|
-
- ip-10-214-
|
128
|
+
- ip-10-214-44-205
|
129
129
|
X-Frame-Options:
|
130
130
|
- SAMEORIGIN
|
131
131
|
X-Deere-Elapsed-Ms:
|
132
|
-
- '
|
132
|
+
- '89'
|
133
133
|
Cache-Control:
|
134
134
|
- no-store
|
135
135
|
Content-Language:
|
@@ -138,19 +138,23 @@ http_interactions:
|
|
138
138
|
- chunked
|
139
139
|
body:
|
140
140
|
encoding: ASCII-8BIT
|
141
|
-
string: '{"links":[{"rel":"self","uri":"https://sandboxapi.deere.com/platform/organizations/000000/assets"}],"total":
|
142
|
-
Title","assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","lastModifiedDate":"2020-02-
|
143
|
-
Title","assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","lastModifiedDate":"2020-02-
|
144
|
-
Title","assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","lastModifiedDate":"2020-02-
|
145
|
-
Title","assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","lastModifiedDate":"2020-02-
|
141
|
+
string: '{"links":[{"rel":"self","uri":"https://sandboxapi.deere.com/platform/organizations/000000/assets"}],"total":8,"values":[{"@type":"ContributedAsset","title":"Asset
|
142
|
+
Title","assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","lastModifiedDate":"2020-02-10T11:29:32.000Z","id":"00000000-0000-0000-0000-000000000000","links":[{"@type":"Link","rel":"self","uri":"https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000"},{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/platform/contributionDefinitions/00000000-0000-0000-0000-000000000000"},{"@type":"Link","rel":"organization","uri":"https://sandboxapi.deere.com/platform/organizations/000000"},{"@type":"Link","rel":"locations","uri":"https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000/locations"},{"@type":"Link","rel":"lastKnownLocation","uri":"https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000/locations?lastKnown=true"}]},{"@type":"ContributedAsset","title":"Asset
|
143
|
+
Title","assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","lastModifiedDate":"2020-02-10T11:29:32.000Z","id":"00000000-0000-0000-0000-000000000000","links":[{"@type":"Link","rel":"self","uri":"https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000"},{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/platform/contributionDefinitions/00000000-0000-0000-0000-000000000000"},{"@type":"Link","rel":"organization","uri":"https://sandboxapi.deere.com/platform/organizations/000000"},{"@type":"Link","rel":"locations","uri":"https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000/locations"},{"@type":"Link","rel":"lastKnownLocation","uri":"https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000/locations?lastKnown=true"}]},{"@type":"ContributedAsset","title":"Asset
|
144
|
+
Title","assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","lastModifiedDate":"2020-02-10T11:29:32.000Z","id":"00000000-0000-0000-0000-000000000000","links":[{"@type":"Link","rel":"self","uri":"https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000"},{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/platform/contributionDefinitions/00000000-0000-0000-0000-000000000000"},{"@type":"Link","rel":"organization","uri":"https://sandboxapi.deere.com/platform/organizations/000000"},{"@type":"Link","rel":"locations","uri":"https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000/locations"},{"@type":"Link","rel":"lastKnownLocation","uri":"https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000/locations?lastKnown=true"}]},{"@type":"ContributedAsset","title":"Asset
|
145
|
+
Title","assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","lastModifiedDate":"2020-02-10T11:29:32.000Z","id":"00000000-0000-0000-0000-000000000000","links":[{"@type":"Link","rel":"self","uri":"https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000"},{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/platform/contributionDefinitions/00000000-0000-0000-0000-000000000000"},{"@type":"Link","rel":"organization","uri":"https://sandboxapi.deere.com/platform/organizations/000000"},{"@type":"Link","rel":"locations","uri":"https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000/locations"},{"@type":"Link","rel":"lastKnownLocation","uri":"https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000/locations?lastKnown=true"}]},{"@type":"ContributedAsset","title":"Asset
|
146
|
+
Title","assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","lastModifiedDate":"2020-02-10T11:29:32.000Z","id":"00000000-0000-0000-0000-000000000000","links":[{"@type":"Link","rel":"self","uri":"https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000"},{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/platform/contributionDefinitions/00000000-0000-0000-0000-000000000000"},{"@type":"Link","rel":"organization","uri":"https://sandboxapi.deere.com/platform/organizations/000000"},{"@type":"Link","rel":"locations","uri":"https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000/locations"},{"@type":"Link","rel":"lastKnownLocation","uri":"https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000/locations?lastKnown=true"}]},{"@type":"ContributedAsset","title":"Asset
|
147
|
+
Title","assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","lastModifiedDate":"2020-02-10T11:29:32.000Z","id":"00000000-0000-0000-0000-000000000000","links":[{"@type":"Link","rel":"self","uri":"https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000"},{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/platform/contributionDefinitions/00000000-0000-0000-0000-000000000000"},{"@type":"Link","rel":"organization","uri":"https://sandboxapi.deere.com/platform/organizations/000000"},{"@type":"Link","rel":"locations","uri":"https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000/locations"},{"@type":"Link","rel":"lastKnownLocation","uri":"https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000/locations?lastKnown=true"}]},{"@type":"ContributedAsset","title":"Asset
|
148
|
+
Title","assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","lastModifiedDate":"2020-02-10T11:29:32.000Z","id":"00000000-0000-0000-0000-000000000000","links":[{"@type":"Link","rel":"self","uri":"https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000"},{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/platform/contributionDefinitions/00000000-0000-0000-0000-000000000000"},{"@type":"Link","rel":"organization","uri":"https://sandboxapi.deere.com/platform/organizations/000000"},{"@type":"Link","rel":"locations","uri":"https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000/locations"},{"@type":"Link","rel":"lastKnownLocation","uri":"https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000/locations?lastKnown=true"}]},{"@type":"ContributedAsset","title":"Asset
|
149
|
+
Title","assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","lastModifiedDate":"2020-02-10T11:29:32.000Z","id":"00000000-0000-0000-0000-000000000000","links":[{"@type":"Link","rel":"self","uri":"https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000"},{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/platform/contributionDefinitions/00000000-0000-0000-0000-000000000000"},{"@type":"Link","rel":"organization","uri":"https://sandboxapi.deere.com/platform/organizations/000000"},{"@type":"Link","rel":"locations","uri":"https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000/locations"},{"@type":"Link","rel":"lastKnownLocation","uri":"https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000/locations?lastKnown=true"}]}]}'
|
146
150
|
http_version:
|
147
|
-
recorded_at:
|
151
|
+
recorded_at: Mon, 10 Feb 2020 17:29:32 GMT
|
148
152
|
- request:
|
149
153
|
method: post
|
150
154
|
uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000/locations
|
151
155
|
body:
|
152
156
|
encoding: UTF-8
|
153
|
-
string: '[{"timestamp":"2020-02-
|
157
|
+
string: '[{"timestamp":"2020-02-10T11:29:32.000Z","geometry":"{\"type\":\"Feature\",\"geometry\":{\"geometries\":[{\"coordinates\":[-96.668978,40.865984],\"type\":\"Point\"}],\"type\":\"GeometryCollection\"}}","measurementData":[{"name":"Temperature","value":"68.0","unit":"F"}]}]'
|
154
158
|
headers:
|
155
159
|
Accept:
|
156
160
|
- application/vnd.deere.axiom.v3+json
|
@@ -163,9 +167,9 @@ http_interactions:
|
|
163
167
|
Content-Length:
|
164
168
|
- '271'
|
165
169
|
Authorization:
|
166
|
-
- OAuth oauth_body_hash="
|
170
|
+
- OAuth oauth_body_hash="j6n5nXd3YUxf2DSeTHRDGwb2n9E%3D", oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
|
167
171
|
oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
|
168
|
-
oauth_signature_method="HMAC-SHA1", oauth_timestamp="
|
172
|
+
oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
|
169
173
|
oauth_version="1.0"
|
170
174
|
response:
|
171
175
|
status:
|
@@ -173,24 +177,24 @@ http_interactions:
|
|
173
177
|
message: Created
|
174
178
|
headers:
|
175
179
|
Date:
|
176
|
-
-
|
180
|
+
- Mon, 10 Feb 2020 17:29:32 GMT
|
177
181
|
Content-Type:
|
178
182
|
- application/vnd.deere.axiom.v3+json
|
179
183
|
X-Deere-Handling-Server:
|
180
|
-
- ip-10-214-
|
184
|
+
- ip-10-214-45-186
|
181
185
|
X-Frame-Options:
|
182
186
|
- SAMEORIGIN
|
183
187
|
Location:
|
184
188
|
- https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000/locations
|
185
189
|
X-Deere-Elapsed-Ms:
|
186
|
-
- '
|
190
|
+
- '201'
|
187
191
|
Transfer-Encoding:
|
188
192
|
- chunked
|
189
193
|
body:
|
190
194
|
encoding: ASCII-8BIT
|
191
195
|
string: ''
|
192
196
|
http_version:
|
193
|
-
recorded_at:
|
197
|
+
recorded_at: Mon, 10 Feb 2020 17:29:32 GMT
|
194
198
|
- request:
|
195
199
|
method: get
|
196
200
|
uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000/locations?count=1
|
@@ -209,7 +213,7 @@ http_interactions:
|
|
209
213
|
Authorization:
|
210
214
|
- OAuth oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
|
211
215
|
oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
|
212
|
-
oauth_signature_method="HMAC-SHA1", oauth_timestamp="
|
216
|
+
oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
|
213
217
|
oauth_version="1.0"
|
214
218
|
response:
|
215
219
|
status:
|
@@ -217,15 +221,15 @@ http_interactions:
|
|
217
221
|
message: OK
|
218
222
|
headers:
|
219
223
|
Date:
|
220
|
-
-
|
224
|
+
- Mon, 10 Feb 2020 17:29:33 GMT
|
221
225
|
Content-Type:
|
222
226
|
- application/vnd.deere.axiom.v3+json;charset=UTF-8
|
223
227
|
X-Deere-Handling-Server:
|
224
|
-
- ip-10-214-
|
228
|
+
- ip-10-214-44-205
|
225
229
|
X-Frame-Options:
|
226
230
|
- SAMEORIGIN
|
227
231
|
X-Deere-Elapsed-Ms:
|
228
|
-
- '
|
232
|
+
- '92'
|
229
233
|
Cache-Control:
|
230
234
|
- no-store
|
231
235
|
Content-Language:
|
@@ -234,7 +238,7 @@ http_interactions:
|
|
234
238
|
- chunked
|
235
239
|
body:
|
236
240
|
encoding: ASCII-8BIT
|
237
|
-
string: '{"links":[{"rel":"self","uri":"https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000/locations?count=1"}],"total":1,"values":[{"@type":"ContributedAssetLocation","timestamp":"2020-02-
|
241
|
+
string: '{"links":[{"rel":"self","uri":"https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000/locations?count=1"}],"total":1,"values":[{"@type":"ContributedAssetLocation","timestamp":"2020-02-10T11:29:32.000Z","geometry":"{\"type\":\"Feature\",\"geometry\":{\"geometries\":[{\"coordinates\":[-96.668978,40.865984],\"type\":\"Point\"}],\"type\":\"GeometryCollection\"}}","measurementData":[{"@type":"BasicMeasurement","name":"Temperature","value":"68.0","unit":"F"}],"links":[]}]}'
|
238
242
|
http_version:
|
239
|
-
recorded_at:
|
243
|
+
recorded_at: Mon, 10 Feb 2020 17:29:33 GMT
|
240
244
|
recorded_with: VCR 5.0.0
|