new functions for api, added temporal,geometry and bbox
create new function for api polygon feature
correct error in sql file
api widget changes