adds implementation for every endpoint except /previews/