how to define api endpoints - Search
Refresh