Move versions endpoint to plugins