Updated core for rest to take dynamic sdkid and sdkversion.