pipeline REST API, with integration tests