I'm trying to use the REST API to upload a GPKG file (SQLite with vector data) into GeoServer with curl but I always get Error auto-configuring coverage
.
The (wrong) command I'm currently using is
curl -v -u <USR>:<PASSWORD> -XPUT -H "Content-type: application/geopackage+vnd.sqlite3" --data-binary @<PATH&FILENAME.GPKG> "http://<IP>:<PORT>/geoserver/rest/workspaces/<MYWORKSPACE>/coveragestores/<FILENAME>/file.geopackage%20(mosaic)"
After @IanTurton’s comments below, I noticed that I'm using the wrong endpoint since "geopackage%20(mosaic)" is for raster data only.
Which is the right endpoint I have to use with a vector gpkg?
I tried searching online but I found nothing.