I work for a large company which has several non-RESTful APIs. I am tasked with building a web application to interact with these APIs. Each API handles and provides very different business processes and data.
Should I build one RESTful API (one subdomain) for my entire company
http://api.mycompany.com /business_process_1/resource/ /business_process_2/resource /business_process_3/resource
and make it front the very different business processes and data? Or, should I build multiple APIs (multiple subdomains)?
http://business-process-1.mycompany.com http://business-process-2.mycompany.com http://business-process-3.mycompany.com