--- http_interactions: - request: method: get uri: https://owner-api.teslamotors.com/api/1/vehicles body: encoding: US-ASCII string: '' headers: User-Agent: - github.com/timdorr/tesla-api v:1.3.0 Authorization: - Bearer response: status: code: 200 message: OK headers: Server: - nginx Date: - Tue, 11 Dec 2018 03:59:52 GMT Content-Type: - application/json; charset=utf-8 Content-Length: - '659' Connection: - keep-alive X-Frame-Options: - SAMEORIGIN - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: - nosniff X-Txid: - 7ba6b0ffa0a12110ff272668fe5654cd Etag: - W/"0d85a34aa9e150f718d20dc8c7a68fb1" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - 5d47f7df-9017-4222-8c17-af1670dcdb47 X-Runtime: - '0.020096' body: encoding: UTF-8 string: '{"response":[{"id":19298251174317440,"vehicle_id":1817902171,"vin":"5YJSA1E41GF167745","display_name":"Nikola 2.0","option_codes":"MDLS,RENA,AF02,APF1,APH2,APPB,AU01,BC0R,BP00,BR00,BS00,CDM0,CH05,PBCW,CW00,DCF0,DRLH,DSH7,DV4W,FG02,FR04,HP00,IDBA,IX01,LP01,ME02,MI01,PF01,PI01,PK00,PS01,PX00,PX4D,QTVB,RFP2,SC01,SP00,SR01,SU01,TM00,TP03,TR00,UTAB,WTAS,X001,X003,X007,X011,X013,X021,X024,X027,X028,X031,X037,X040,X044,YFFC,COUS","color":null,"tokens":["08f5098517a10231","8d219a2e09242e02"],"state":"online","in_service":false,"id_s":"19298251174317440","calendar_enabled":true,"api_version":4,"backseat_token":null,"backseat_token_updated_at":null}],"count":1}' http_version: recorded_at: Tue, 11 Dec 2018 03:59:52 GMT - request: method: post uri: https://owner-api.teslamotors.com/api/1/vehicles/19298251174317440/command/schedule_software_update body: encoding: UTF-8 string: offset_sec=7200 headers: User-Agent: - github.com/timdorr/tesla-api v:1.3.0 Authorization: - Bearer response: status: code: 200 message: OK headers: Server: - nginx Date: - Tue, 11 Dec 2018 03:59:53 GMT Content-Type: - application/json; charset=utf-8 Content-Length: - '159' Connection: - keep-alive X-Frame-Options: - SAMEORIGIN - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: - nosniff X-Txid: - 619c829cb360874596a6326d3e950279 Etag: - W/"842860ac949644ddb069883f17553de5" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - d61d0bfc-9895-477f-9759-6ea5a31fc51a X-Runtime: - '0.701839' body: encoding: UTF-8 string: '{"response":{"expected_duration_sec":6000,"reason":"","result":true,"scheduled_time_ms":1544500793459,"status":"scheduled","warning_time_remaining_ms":120000}}' http_version: recorded_at: Tue, 11 Dec 2018 03:59:53 GMT recorded_with: VCR 4.0.0