We can create data stores, workspaces with goserver rest api. Is possible to load data to a datastore via geoserver rest api?
1 Answer
You can certainly add data to an existing datastore, or remove the data and add replacement data.
This is documented in the DataStore REST part of the GeoServer user manual. You'd just use a normal PUT operation. The key aspect is the "update" parameter, which selects whether the intention is append or overwrite. Of course, an append has to make sense for the type of DataStore you're changing.