Migrate all APIs to v2 endpoints.