develop
feat(api): improve API endpoints typing and validation
WIP(api): created api routes and functions for this endpoints