In a feature service , Rest endpoint ApplyEdits permit to fill the version name where the edits occur .
How can we retrieve the version list of the feature being edited ?
A possible solution will be to retrieve the list of versions through python
import arcpy database = "Database Connections/toolboxDEFAULTVersion.sde" versions = arcpy.ListVersions(database) # Print the versions available to the user for version in versions: print(version)
see here for on line help
ListVersions—ArcPy Functions | ArcGIS for Desktop
this python script can be published as geoprossecing service and finally accessed from your web app in order to create the versions list.
Retrieving data ...