Need help understanding how javascript communicates with backend

I am writing a commit to add trashcan feature to the simple folder type. Everything was going smoothly until I tried to connect the frontend to the backend. What I imagine is the frontend using some rest calls to notify the configuration to update.

In this function, I have yet to understand how this save config causes versioner to update. Is my hypothesis of rest calls correct and if so, could you point me to the line where the code sends the update versioner to the backend

There is no separate versioning configuration rest endpoints.

There is one configuration rest endpoint and all configuration changes go via that, updating the whole config in one go.

So $scope.saveConfig at the bottom of this function is what updates the configuration.

1 Like