Sha256: ad0aa97a24a74a949f36718ccaa8bc860c6d0f05f01e088abf969f1ef0afa20b

Contents?: true

Size: 1.41 KB

Versions: 9

Compression:

Stored size: 1.41 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://owner-api.teslamotors.com/oauth/token
    body:
      encoding: UTF-8
      string: grant_type=refresh_token&client_id=<TESLA_CLIENT_ID>&client_secret=<TESLA_CLIENT_SECRET>&refresh_token=<TESLA_REFRESH_TOKEN>
    headers:
      User-Agent:
      - github.com/timdorr/tesla-api v:1.5.0
      Authorization:
      - Bearer <TESLA_ACCESS_TOKEN>
  response:
    status:
      code: 200
      message: OK
    headers:
      Server:
      - nginx
      Date:
      - Mon, 23 Sep 2019 17:25:05 GMT
      Content-Type:
      - application/json; charset=utf-8
      Transfer-Encoding:
      - chunked
      Connection:
      - keep-alive
      X-Frame-Options:
      - SAMEORIGIN
      - SAMEORIGIN
      X-Xss-Protection:
      - 1; mode=block
      X-Content-Type-Options:
      - nosniff
      Cache-Control:
      - no-store
      Pragma:
      - no-cache
      Etag:
      - W/"25e04c26d708b6763d3dca87bcaeb2a7"
      X-Request-Id:
      - d153d7b0-ce0b-4c24-a109-e60488df7f48
      X-Runtime:
      - '0.020946'
    body:
      encoding: UTF-8
      string: '{"access_token":"bb91d9892b8af05ad389f2d05b9689657a076f61c4d97ff398f23d86112fb5ca","token_type":"bearer","expires_in":3888000,"refresh_token":"21879d76c4e00309b3d69c6ecb128b89e0c7e210838404601d9f433e9a069022","created_at":1569259505}'
    http_version: 
  recorded_at: Mon, 23 Sep 2019 17:25:05 GMT
recorded_with: VCR 4.0.0

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
tesla_api-3.0.7 spec/cassettes/client-refresh.yml
tesla_api-3.0.6 spec/cassettes/client-refresh.yml
tesla_api-3.0.5 spec/cassettes/client-refresh.yml
tesla_api-3.0.4 spec/cassettes/client-refresh.yml
tesla_api-3.0.3 spec/cassettes/client-refresh.yml
tesla_api-3.0.2 spec/cassettes/client-refresh.yml
tesla_api-3.0.1 spec/cassettes/client-refresh.yml
tesla_api-3.0.0 spec/cassettes/client-refresh.yml
tesla_api-2.0.0 spec/cassettes/client-refresh.yml