Support pipes in api