title: Restfull API multiple resources in unique call
body: <p>I'm building a restfull API for a forum and I have all controllers set up.</p>
  
  <p>This is my setup</p>
  
  <blockquote>
    <p>www.project.com/api/v1/forum/categories -> returns all categories</p>
    
    <p>www.project.com/api/v1/forum/categories/{id}/discussions -> returns all discussions from 1 category</p>
  </blockquote>
  
  <p>Now the point is that in the frond-end, my forum/categories page displays all categories, BUT, as most forums do I want to add data related to each category (number of discussions, last active discussion, etc)</p>
  
  <p>My question is, what is better, add the specific data I need to the www.project.com/api/v1/forum/categories controller or should I call both resources (categories and discussions) and manipulate with the data I need my front-end.</p>
  
  <p>I thought maybe making the api return more data than necesary could compensate the fact that I have to do more AJAX calls if I do it the proper way.</p>
  
  <p>I hope i've expressed myself good enought.</p>