collapse api project into web