create a REST API to access Rock tasks