RESTful create and get a pipeline.