anchor.diff:              }]
   
   
  -# Group Vehicle Status
  +## State and Settings [/api/1/vehicles/{vehicle_id}]
   These resources are read-only and determine the state of the vehicle's various sub-systems.
   
  -Must have a `_s_portal_session` and `user_credentials` cookie set for all requests.
  -
  -## GET /vehicles/{id}/mobile_enabled
  ++ Parameters
  +    + vehicle_id: `1` (number) - The id of the Vehicle.
  +
  +## Mobile Access [GET /api/1/vehicles/{vehicle_id}/mobile_enabled]
   Determines if mobile access to the vehicle is enabled.
   + Parameters
   
  -    + id (number) ... The ID number of the car
  +    + vehicle_id: `1` (number) - The id of the Vehicle.
   
   + Response 200 (application/json)
   
  
positive.code: FORMAT: 1A
  HOST: https://portal.vn.teslamotors.com
  
  # Tesla Model S JSON API
  This is unofficial documentation of the Tesla Model S JSON API used by the iOS and Android apps. It features functionality to monitor and control the Model S remotely.
  
  # Group Authentication Flow
  These endpoints handle login and session management
  
  ## GET /login
  Returns the login form. Sets a `_s_portal_session` cookie for the session
  + Response 200
  
      + Headers
  
              Set-Cookie: _s_portal_session={cookie}; path=/; secure; HttpOnly
  
      + Body
  
              Login Screen HTML
  
  ## POST /login
  Performs the login. Takes in an plain text email and password, matching the owner's login from [http://teslamotors.com/mytesla](http://teslamotors.com/mytesla).
  
  Sets a `user_credentials` cookie that expires in 3 months, which is passed along with all future requests to authenticate the user.
  
  Redirects back to a dummy welcome page. This page is ignored by the smartphone app and can be ignored by your API client.
  + Request (application/x-www-form-urlencoded)
  
      + Body
  
              user_session%5Bemail%5D=string&user_session%5Bpassword%5D=string
  
  + Response 302
  
      + Headers
  
              Set-Cookie: _s_portal_session={cookie}; path=/; secure; HttpOnly
              Set-Cookie: user_credentials=x; path=/; expires=Fri, 03-May-2013 03:01:54 GMT; secure; HttpOnly
              Location: https://portal.vn.teslamotors.com/
  
  
      + Body
  
              Dummy Welcome Page
  
  
  # Group Vehicle List
  A logged in user can have multiple vehicles under their account. This resource is primarily responsible for listing the vehicles and the basic details about them.
  
  Must have a `_s_portal_session` and `user_credentials` cookie set for all requests.
  
  ## GET /vehicles
  Retrieve a list of your owned vehicles (includes vehicles not yet shipped!)
  + Response 200 (application/json)
  
      + Body
  
negative.code:               "reason": "failure reason"
              }
  
  ## GET /api/1/vehicles/{vehicle_id}/command/auto_conditioning_start
  Start the HVAC system. Will cool or heat automatically, depending on set temperature.
  + Parameters
  
      + vehicle_id: `1` (number) - The id of the Vehicle.
  
  + Response 200 (application/json)
  
      + Body
  
              {
                "result": false,
                "reason": "failure reason"
              }
  
  ## GET /api/1/vehicles/{vehicle_id}/command/auto_conditioning_stop
  Stop the HVAC system.
  + Parameters
  
      + vehicle_id: `1` (number) - The id of the Vehicle.
  
  + Response 200 (application/json)
  
      + Body
  
              {
                "result": false,
                "reason": "failure reason"
              }
  
  ## GET /api/1/vehicles/{vehicle_id}/command/sun_roof_control?state={state}
  Controls the car's panoramic roof, if installed.
  + Parameters
  
      + vehicle_id: `1` (number) - The id of the Vehicle.
      + state (string)
          The desired state of the panoramic roof. The approximate percent open values for each state are `open` = 100%, `close` = 0%, `comfort` = 80%, and `vent` = ~15%
          + Values
  