RESTful iOS api sync