title: WP-REST-API v2 ajax call for post details
body: <p>Version 2 of the Wordpress REST-API isn't returning enough needed detail. Doing a ajax get request for Wordpress post. Code is below. The post title, date, link and image are great. However, when I add in the date and author I get a ISO8601 formatted date ( just need a standard date: December 29, 2015, and the author is only the ID ( need the author name ). I'm loading more posts in on button click. I read in the docs it's possible to modify the request with an action ( <a href="http://v2.wp-api.org/extending/modifying/" rel="nofollow">http://v2.wp-api.org/extending/modifying/</a> ), but not advanced in php enough to know how to change the date and get the author name. Any help would be greatly appreciated!</p>
  
  <pre><code>var loadMorePosts = function( e ) {                                                                                    
  
      e.preventDefault();                                                                                                
  
      $.ajax({                                                                                                           
          url: '/wp-json/wp/v2/posts?page=2&amp;filter[posts_per_page]=3',                                       
          success: function( data ) {                                                                                      
  
              $( data ).each(function( k, v ) {                                                                                                                                                                                                         
  
                  // Check for data                                                                                      
                  if ( v ) {                                                                                             
                      var excerpt = v.excerpt.rendered,                                                                  
                          title = v.title.rendered,                                                                      
                          author = v.author,                                                                             
                          date = v.date,                                                                                 
                          link = v.link;                                                                                 
                  } else {                                                                                               
                      return;                                                                                            
                  }                                                                                                                                                                                                                                                                
  
              });                                                                                                        
  
          },                                                                                                                                                                                                                       
  
          cache: false                                                                                                   
  
      });                                                                                                                
  }
  </code></pre>