pub async fn sync( __arg0: State<AppState>, body: Option<Json<SyncRequest>>, ) -> ApiResult<Json<SyncReport>>