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.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
WordPress® is a registered trademark of the WordPress Foundation, and WooCommerce® is a registered trademark of WooCommerce, Inc. MainWP is an independent product and is not affiliated, associated, or endorsed by the WordPress Foundation, WooCommerce, Inc., or Automattic Inc., except where noted under the Jetpack® API and Trademark License Agreement. All product names, logos, and brands are property of their respective owners and are used for identification purposes only.