Working in endpoints public api