add uptime for api; add -z for repositories