add project api method