Server side api for get all table names