original_docstring:  Returns all data needed to bootstrap Home Assistant. 
docstring: Returns all data needed to bootstrap Home Assistant.
docstring_tokens: Returns all data needed to bootstrap Home Assistant .
code: def _handle_get_api_bootstrap(handler, path_match, data):
      """ Returns all data needed to bootstrap Home Assistant. """
      hass = handler.server.hass
  
      handler.write_json({
          'config': hass.config.as_dict(),
          'states': hass.states.all(),
          'events': _events_json(hass),
          'services': _services_json(hass),
      })
code_tokens: def _handle_get_api_bootstrap ( handler , path_match , data ) : hass = handler . server . hass handler . write_json ( { 'config' : hass . config . as_dict ( ) , 'states' : hass . states . all ( ) , 'events' : _events_json ( hass ) , 'services' : _services_json ( hass ) , } )
short_docstring: Returns all data needed to bootstrap Home Assistant.
short_docstring_tokens: Returns all data needed to bootstrap Home Assistant .
comment: """ Returns all data needed to bootstrap Home Assistant. """