REF: move routes to a separate file
Retrieves the dat's info during publishing from