/**
  * Get the site index.
  *
  * This endpoint describes the capabilities of the site.
  *
  * @todo Should we generate text documentation too based on PHPDoc?
  *
  * @return array Index entity
  */
 public function get_index()
 {
     // General site data
     $available = array('name' => get_option('blogname'), 'description' => get_option('blogdescription'), 'url' => get_option('siteurl'), 'namespaces' => array_keys($this->namespaces), 'authentication' => array(), 'routes' => $this->get_route_data($this->get_routes()));
     $response = new WP_REST_Response($available);
     $response->add_link('help', 'http://v2.wp-api.org/');
     /**
      * Filter the API root index data.
      *
      * This contains the data describing the API. This includes information
      * about supported authentication schemes, supported namespaces, routes
      * available on the API, and a small amount of data about the site.
      *
      * @param WP_REST_Response $response Response data.
      */
     return apply_filters('vp_rest_index', $response);
 }