REST APIs are interesting when data should be accessed from everywhere including different languages (server and client side). That requires separation from data and processing.