I need to view the historical data in the web application. I have enabled versioning and archiving in the ArcMap and created versions of data using "Geodatabase History". Are there any ways to view and edit these data through ArcGIS JS API or should I create an ArcPy script to run this module? Also, it would be helpful if I get to know about the presence of any Geoprocessing tool to save my purpose.
I am currently using ArcMap - 10.7 and Postgres SQL 10