Skip to content

"Sync Now" Button

We want to develop a feature so that a user with the "maintainer"-role can trigger the sync process. This will release the bottleneck of a backend developer to orchestrate the process.

There should a button only be available to "Maintainers". This can be placed on the list pages (UpdateItem and NovelCondensate). Clicking this will call a POST API which will trigger the sync process (by inserting a task into the task queue and returning the task ID).

API from flask server: [POST] /sync

Edited by Soumyadeep Ghosh