Add a REST API to enable programmatic data access.