Add /pipeline and /pipeline/{id} api resources