Setup base REST API endpoints