configure public api endpoints