complete dash api functions
remove unused import from event_api