Architecture
The diagram below explains the overall architecture of R2 REST APIs topography.

Technologies used
Tomcat server to host the APIs
REST framework
WSO2 API Manager for orchestration
R2 back-end for business logic
Oracle as persistent storage
R2 APIs are secured by WSO2 API manager and can be accessed only through a subscription. Upon subscribing to an API, you will be furnished with a bearer token. This bearer token has to be passed in every request as a header attribute.