I’m integrating MainWP to my site with the REST API and wondered how is it possible for me to know when a sync is complete (so that I can check for updates)?
I’m talking about the sites/sync-sites endpoints. Anything I should poll or look for that tells me the operation is complete? I can’t randomly check for updates after syncing right?
Upon process completion, the REST API will return success|failed depending on the process status.
If the sync completes successfully, it will return success when the sync process completes, if it fails, it will return failed.