RESTful API for CI mockups