I am looking for a REST API that I can use to create a hosted feature layer (schema only) or feature class from a JSON definition via HTTP POST.
The JSON payload will include the layer name, geometry type, spatial reference, attributes (names and types), and other relevant information.
I checked the ArcGIS REST APIs, but I could not find an appropriate endpoint.
Please provide your feedback.
Thank you.