Implementing the 3 REST APIs in pivotal