Migrate to REST API adapter