Hi, is there any way to automatically publish a feature layer? That is, eliminate the human element in the content publishing process.
In general, the answer would be yes you can. However, you may need to provide some more details about your specific case. You could look here:
Scripting service publishing with ArcPy—ArcGIS Server Administration (Windows) | ArcGIS Enterprise
There is also a library called ArcREST:
GitHub - Esri/ArcREST: python package for REST API (AGS, AGOL, webmap JSON, etc..)
And what could be interesting to look at is the new ArcGIS Python API:
ArcGIS API for Python | ArcGIS for Developers
Some learning resources were recently published here:
Learning resources for ArcGIS API for Python
Retrieving data ...