projects: helper api functions for projects