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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5c3847859a2d14a7a9f7b2a7a3bd24dcd1f8a75a46e025c856df025ae8cda773
4
- data.tar.gz: ee6697cc5dbcfd946deacb535b6eafe417b6bb5c4bd705bcc797b1ad434975b6
3
+ metadata.gz: 323b2dbcafff1df5b7b99acdeca601dadbac2c505dcbc1083409c5140b24d004
4
+ data.tar.gz: '08836d5ef6a97a75a41819be9e0b4bc03e5b278c495c42e660e063dcd432f4c4'
5
5
  SHA512:
6
- metadata.gz: f9c3426b893a24e62caff5bd56847b350e38020ddd910d481ec7ebf84b2be019dd573a1a0638819277e6327a11969818a666628bed64071c9296c46e3d6cd987
7
- data.tar.gz: 11dd36324795e0c3942a02d58fe6efab452d4be514be7e01e8a83eb98bae16488b1967c67eafa3b55fb567166144f0db87e4396645ee1a17f84aefe3fca53204
6
+ metadata.gz: e2649b788f9abdad89c05f5335a181be1d2df328d1c093325c9e1dfc9ef728f87115ab2a5c386c509fecc649de5040aa64407c5d038258cee5b4fcf5ff26d604
7
+ data.tar.gz: baa8f6cf444d43be11907b42c618ff70b43a27e11c811c656c163ce56b7c7b4b9055281023603f4108d670cc8d5ec002e2f24398876210418208a9fe81fc4856
@@ -1,3 +1,3 @@
1
1
  module MyJohnDeereApi
2
- VERSION='1.2.1'
2
+ VERSION='1.2.2'
3
3
  end
@@ -65,7 +65,17 @@ describe 'MyJohnDeereApi::Client' do
65
65
  end
66
66
 
67
67
  describe '#post' do
68
- let(:attributes) { CONFIG.asset_attributes }
68
+ let(:attributes) do
69
+ CONFIG.sanitized_asset_attributes.merge(
70
+ links: [
71
+ {
72
+ '@type' => 'Link',
73
+ 'rel' => 'contributionDefinition',
74
+ 'uri' => "#{CONFIG.url}/contributionDefinitions/#{CONFIG.sanitized_asset_attributes[:contribution_definition_id]}"
75
+ }
76
+ ]
77
+ )
78
+ end
69
79
 
70
80
  it 'returns the response as a Hash' do
71
81
  response = VCR.use_cassette('post_assets') do
@@ -92,14 +102,23 @@ describe 'MyJohnDeereApi::Client' do
92
102
  let(:new_title) { 'i REALLY like turtles!' }
93
103
 
94
104
  let(:attributes) do
95
- CONFIG.asset_attributes.slice(
105
+ CONFIG.sanitized_asset_attributes.slice(
96
106
  :asset_category, :asset_type, :asset_sub_type, :links
97
- ).merge(title: new_title)
107
+ ).merge(
108
+ title: new_title,
109
+ links: [
110
+ {
111
+ '@type' => 'Link',
112
+ 'rel' => 'contributionDefinition',
113
+ 'uri' => "#{CONFIG.url}/contributionDefinitions/#{CONFIG.sanitized_asset_attributes[:contribution_definition_id]}"
114
+ }
115
+ ]
116
+ )
98
117
  end
99
118
 
100
119
  it 'sends the request' do
101
120
  response = VCR.use_cassette('put_asset') { client.put("/assets/#{asset_id}", attributes) }
102
-
121
+ puts "HASH!! #{response.inspect}" if response.is_a?(Hash)
103
122
  assert_equal '204', response.code
104
123
  assert_equal 'No Content', response.message
105
124
  end
@@ -42,7 +42,7 @@ describe 'MyJohnDeereApi::Request::Collection::Assets' do
42
42
 
43
43
  describe '#create(attributes)' do
44
44
  it 'creates a new asset with the given attributes' do
45
- attributes = CONFIG.asset_attributes
45
+ attributes = CONFIG.sanitized_asset_attributes
46
46
  object = VCR.use_cassette('post_assets') { collection.create(attributes) }
47
47
 
48
48
  assert_kind_of JD::Model::Asset, object
@@ -7,7 +7,7 @@ describe 'MyJohnDeereApi::Request::Create::Asset' do
7
7
  end
8
8
 
9
9
  let(:valid_attributes) do
10
- CONFIG.asset_attributes.merge(
10
+ CONFIG.sanitized_asset_attributes.merge(
11
11
  organization_id: organization_id,
12
12
  contribution_definition_id: contribution_definition_id,
13
13
  )
@@ -12,12 +12,6 @@ Minitest::Reporters.use! [Minitest::Reporters::DefaultReporter.new(:color => tru
12
12
  # shortcut for long module name
13
13
  JD = MyJohnDeereApi
14
14
 
15
- API_KEY = ENV['API_KEY']
16
- API_SECRET = ENV['API_SECRET']
17
-
18
- ACCESS_TOKEN = ENV['ACCESS_TOKEN']
19
- ACCESS_SECRET = ENV['ACCESS_SECRET']
20
-
21
15
  TOKEN_PATTERN = /^[0-9a-z\-]+$/
22
16
  SECRET_PATTERN = /^[0-9A-Za-z\-+=\/]+$/
23
17
 
@@ -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="1581028214", oauth_version="1.0"
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
- - Fri, 07 Feb 2020 04:29:00 GMT
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-45-50
30
+ - ip-10-214-45-104
31
31
  X-Frame-Options:
32
32
  - SAMEORIGIN
33
33
  X-Deere-Elapsed-Ms:
34
- - '18'
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: Fri, 07 Feb 2020 04:29:00 GMT
45
+ recorded_at: Mon, 10 Feb 2020 17:28:57 GMT
46
46
  - request:
47
47
  method: get
48
48
  uri: https://sandboxapi.deere.com/platform/
@@ -59,23 +59,22 @@ 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="1581028214", oauth_token="00000000-0000-0000-0000-000000000000",
63
- oauth_version="1.0"
62
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_version="1.0"
64
63
  response:
65
64
  status:
66
65
  code: 200
67
66
  message: OK
68
67
  headers:
69
68
  Date:
70
- - Fri, 07 Feb 2020 04:29:01 GMT
69
+ - Mon, 10 Feb 2020 17:28:57 GMT
71
70
  Content-Type:
72
71
  - application/vnd.deere.axiom.v3+json;charset=UTF-8
73
72
  X-Deere-Handling-Server:
74
- - ip-10-214-45-50
73
+ - ip-10-214-44-36
75
74
  X-Frame-Options:
76
75
  - SAMEORIGIN
77
76
  X-Deere-Elapsed-Ms:
78
- - '17'
77
+ - '16'
79
78
  Cache-Control:
80
79
  - no-store
81
80
  Content-Language:
@@ -84,7 +83,7 @@ http_interactions:
84
83
  - chunked
85
84
  body:
86
85
  encoding: ASCII-8BIT
87
- 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":"files","uri":"https://sandboxapi.deere.com/platform/files"},{"@type":"Link","rel":"fileTransfers","uri":"https://sandboxapi.deere.com/platform/fileTransfers"},{"@type":"Link","rel":"currentUser","uri":"https://sandboxapi.deere.com/platform/users/@currentUser"},{"@type":"Link","rel":"organizations","uri":"https://sandboxapi.deere.com/platform/organizations"},{"@type":"Link","rel":"currentToken","uri":"https://sandboxapi.deere.com/platform/oauthTokens/@currentToken"},{"@type":"Link","rel":"contributionProducts","uri":"https://sandboxapi.deere.com/platform/contributionProducts"},{"@type":"Link","rel":"contributionDefinitions","uri":"https://sandboxapi.deere.com/platform/contributionDefinitions"},{"@type":"Link","rel":"assetCatalog","uri":"https://sandboxapi.deere.com/platform/assetCatalog"},{"@type":"Link","rel":"agencies","uri":"https://sandboxapi.deere.com/platform/agencies"}]}'
86
+ 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"}]}'
88
87
  http_version:
89
- recorded_at: Fri, 07 Feb 2020 04:29:01 GMT
88
+ recorded_at: Mon, 10 Feb 2020 17:28:57 GMT
90
89
  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="1581028214", oauth_version="1.0"
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
- - Fri, 07 Feb 2020 16:22:27 GMT
26
+ - Mon, 10 Feb 2020 17:29:35 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-185
30
+ - ip-10-214-45-213
31
31
  X-Frame-Options:
32
32
  - SAMEORIGIN
33
33
  X-Deere-Elapsed-Ms:
34
- - '14'
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: Fri, 07 Feb 2020 16:22:27 GMT
45
+ recorded_at: Mon, 10 Feb 2020 17:29:35 GMT
46
46
  - request:
47
47
  method: delete
48
48
  uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
@@ -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="1581028214", oauth_token="00000000-0000-0000-0000-000000000000",
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,16 +67,16 @@ http_interactions:
67
67
  message: No Content
68
68
  headers:
69
69
  Date:
70
- - Fri, 07 Feb 2020 16:22:27 GMT
70
+ - Mon, 10 Feb 2020 17:29:36 GMT
71
71
  X-Deere-Handling-Server:
72
- - ip-10-214-44-252
72
+ - ip-10-214-45-99
73
73
  X-Frame-Options:
74
74
  - SAMEORIGIN
75
75
  X-Deere-Elapsed-Ms:
76
- - '59'
76
+ - '96'
77
77
  body:
78
78
  encoding: UTF-8
79
79
  string: ''
80
80
  http_version:
81
- recorded_at: Fri, 07 Feb 2020 16:22:28 GMT
81
+ recorded_at: Mon, 10 Feb 2020 17:29:36 GMT
82
82
  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="1581028214", oauth_token="00000000-0000-0000-0000-000000000000",
19
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
20
20
  oauth_verifier="VERIFY", oauth_version="1.0"
21
21
  response:
22
22
  status:
@@ -24,11 +24,11 @@ http_interactions:
24
24
  message: OK
25
25
  headers:
26
26
  Date:
27
- - Fri, 07 Feb 2020 04:29:27 GMT
27
+ - Mon, 10 Feb 2020 17:29:12 GMT
28
28
  Content-Type:
29
29
  - text/plain;charset=UTF-8
30
30
  X-Deere-Handling-Server:
31
- - ip-10-214-45-137
31
+ - ip-10-214-44-36
32
32
  Vary:
33
33
  - Accept-Encoding
34
34
  Transfer-Encoding:
@@ -37,5 +37,5 @@ http_interactions:
37
37
  encoding: ASCII-8BIT
38
38
  string: oauth_token=00000000-0000-0000-0000-000000000000&oauth_token_secret=000000000000000000000000000000000000000000
39
39
  http_version:
40
- recorded_at: Fri, 07 Feb 2020 04:29:27 GMT
40
+ recorded_at: Mon, 10 Feb 2020 17:29:12 GMT
41
41
  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="1581028214", oauth_version="1.0"
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
- - Fri, 07 Feb 2020 16:22:24 GMT
26
+ - Mon, 10 Feb 2020 17:29:28 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-29
30
+ - ip-10-214-44-28
31
31
  X-Frame-Options:
32
32
  - SAMEORIGIN
33
33
  X-Deere-Elapsed-Ms:
34
- - '19'
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: Fri, 07 Feb 2020 16:22:24 GMT
45
+ recorded_at: Mon, 10 Feb 2020 17:29:28 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="1581028214", oauth_token="00000000-0000-0000-0000-000000000000",
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
- - Fri, 07 Feb 2020 16:22:25 GMT
70
+ - Mon, 10 Feb 2020 17:29:28 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-45-97
74
+ - ip-10-214-45-144
75
75
  X-Frame-Options:
76
76
  - SAMEORIGIN
77
77
  X-Deere-Elapsed-Ms:
78
- - '151'
78
+ - '47'
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: Fri, 07 Feb 2020 16:22:25 GMT
99
+ recorded_at: Mon, 10 Feb 2020 17:29:29 GMT
100
100
  - request:
101
101
  method: get
102
102
  uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
@@ -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="1581028214", oauth_token="00000000-0000-0000-0000-000000000000",
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
- - Fri, 07 Feb 2020 16:22:25 GMT
124
+ - Mon, 10 Feb 2020 17:29:29 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-45-143
128
+ - ip-10-214-44-33
129
129
  X-Frame-Options:
130
130
  - SAMEORIGIN
131
131
  X-Deere-Elapsed-Ms:
132
- - '42'
132
+ - '81'
133
133
  Cache-Control:
134
134
  - no-store
135
135
  Content-Language:
@@ -138,7 +138,7 @@ http_interactions:
138
138
  - chunked
139
139
  body:
140
140
  encoding: ASCII-8BIT
141
- string: '{"@type":"ContributedAsset","title":"Asset Title","assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","lastModifiedDate":"2020-02-06T22:30:14.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"}]}'
141
+ string: '{"@type":"ContributedAsset","title":"Asset 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"}]}'
142
142
  http_version:
143
- recorded_at: Fri, 07 Feb 2020 16:22:26 GMT
143
+ recorded_at: Mon, 10 Feb 2020 17:29:29 GMT
144
144
  recorded_with: VCR 5.0.0
@@ -16,18 +16,18 @@ 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="1581028214", oauth_version="1.0"
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
- - Fri, 07 Feb 2020 04:30:22 GMT
26
+ - Mon, 10 Feb 2020 17:29:33 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-185
30
+ - ip-10-214-44-33
31
31
  X-Frame-Options:
32
32
  - SAMEORIGIN
33
33
  X-Deere-Elapsed-Ms:
@@ -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: Fri, 07 Feb 2020 04:30:23 GMT
45
+ recorded_at: Mon, 10 Feb 2020 17:29:33 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="1581028214", oauth_token="00000000-0000-0000-0000-000000000000",
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
- - Fri, 07 Feb 2020 04:30:23 GMT
70
+ - Mon, 10 Feb 2020 17:29:34 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-29
74
+ - ip-10-214-45-104
75
75
  X-Frame-Options:
76
76
  - SAMEORIGIN
77
77
  X-Deere-Elapsed-Ms:
78
- - '55'
78
+ - '36'
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: Fri, 07 Feb 2020 04:30:23 GMT
99
+ recorded_at: Mon, 10 Feb 2020 17:29:34 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="1581028214", oauth_token="00000000-0000-0000-0000-000000000000",
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
- - Fri, 07 Feb 2020 04:30:23 GMT
124
+ - Mon, 10 Feb 2020 17:29:34 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-44-185
128
+ - ip-10-214-45-186
129
129
  X-Frame-Options:
130
130
  - SAMEORIGIN
131
131
  X-Deere-Elapsed-Ms:
132
- - '29'
132
+ - '48'
133
133
  Cache-Control:
134
134
  - no-store
135
135
  Content-Language:
@@ -138,13 +138,17 @@ 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":4,"values":[{"@type":"ContributedAsset","title":"Asset
142
- Title","assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","lastModifiedDate":"2020-02-06T22:30:14.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-06T22:30:14.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-06T22:30:14.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-06T22:30:14.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"}]}]}'
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: Fri, 07 Feb 2020 04:30:24 GMT
151
+ recorded_at: Mon, 10 Feb 2020 17:29:34 GMT
148
152
  - request:
149
153
  method: get
150
154
  uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000/locations
@@ -161,7 +165,7 @@ http_interactions:
161
165
  Authorization:
162
166
  - OAuth oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
163
167
  oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
164
- oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581028214", oauth_token="00000000-0000-0000-0000-000000000000",
168
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
165
169
  oauth_version="1.0"
166
170
  response:
167
171
  status:
@@ -169,15 +173,15 @@ http_interactions:
169
173
  message: OK
170
174
  headers:
171
175
  Date:
172
- - Fri, 07 Feb 2020 04:30:24 GMT
176
+ - Mon, 10 Feb 2020 17:29:35 GMT
173
177
  Content-Type:
174
178
  - application/vnd.deere.axiom.v3+json;charset=UTF-8
175
179
  X-Deere-Handling-Server:
176
- - ip-10-214-44-185
180
+ - ip-10-214-44-215
177
181
  X-Frame-Options:
178
182
  - SAMEORIGIN
179
183
  X-Deere-Elapsed-Ms:
180
- - '33'
184
+ - '59'
181
185
  Cache-Control:
182
186
  - no-store
183
187
  Content-Language:
@@ -186,7 +190,7 @@ http_interactions:
186
190
  - chunked
187
191
  body:
188
192
  encoding: ASCII-8BIT
189
- string: '{"links":[{"rel":"self","uri":"https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000/locations"}],"total":1,"values":[{"@type":"ContributedAssetLocation","timestamp":"2020-02-06T22:30:14.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":[]}]}'
193
+ string: '{"links":[{"rel":"self","uri":"https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000/locations"}],"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":[]}]}'
190
194
  http_version:
191
- recorded_at: Fri, 07 Feb 2020 04:30:24 GMT
195
+ recorded_at: Mon, 10 Feb 2020 17:29:35 GMT
192
196
  recorded_with: VCR 5.0.0