From the adobe react repo on GitHub, inside the saveApiHandler, I am calling a server api to store and save the document. The functionality works fine, as I am able to save the document.
Now I want to implement the overwriting feature using Status Callback. The documentation tells to use the save and status callback together but did not elaborate further on the topic as How. Please advise about the following.
1. My documents are stored on the server, saved and retrieved through rest calls. How can the status api detect the changes on the server if made by another user.
2. How can I use the save and status callbacks together to achieve the complete save experience (as stated in the documentation). Both are separate callbacks and executes at a different time in the application life cycle.
3. Is there simple documentation on how to handle this very common scenario of preventing overwriting files are when saved through rest calls?