Rest api changes