get project and namespace by name using API