[api] make project#type_id mandatory - fixes #434