Api use for sync

which api endpoints used to sync a local directory to the server every 5 minutes?