refactor so "server" parameter in API informs all possible endpoints
Necessary because export endpoints do not have the same root as upload and status queries