discover function

Discover Available Endpoints