almost all of the docrepos now uses the modern API