about sync protocol and REST