Hi. I tried to truncate cache for a layer and to create seeding tasks for a layer (GeoServer 2.15.2 on Windows 7). And I have errors
1. Truncate (via /masstruncate) Request: POST - http://localhost:8080/geoserver/gwc/rest/masstruncate?requestType=truncateLayer&layer=workspace_name:layergroup_name Response: org.geowebcache.rest.exception.RestException 400 BAD_REQUEST: Format extension unknown or not specified: application/json What does it mean? In documentation <https://docs.geoserver.org/stable/en/api/#/latest/en/api/1.0.0/gwcmasstruncate.yaml> there are no other params 2. Seed Request: GET - http://localhost:8080/geoserver/gwc/rest/seed/workspace_name:layergroup_name.json Headers: {"Content-Type": "application/json"} Body: { "name": "workspace_name:layergroup_name", "bounds": { "coords": { "minX":-111319.49079327358,"minY":-111325.14286638453,"maxX":11339882.520180937,"maxY":8245444.2794010285 } }, "gridSetId": "EPSG:900913", "zoomStart": 5, "zoomStop": 9, "type": "seed", "tileFormat": "image/png8", "threadCount": 4, "parameters": { "entry": {} } } Response: Chunk [{"name": "workspace_name:layergroup_name" ,"bounds":{"coords":{"minX":-111319.49079327358,"minY":-111325.14286638453,"maxX":11339882.520180937,"maxY":8245444.2794010285}},"gridSetId":"EPSG:900913","zoomStart":5,"zoomStop":9,"type":"truncate","threadCount":2,"format":"image/png8","parameters":{"entry":{}}}] is not a valid entry So, what is the valid entry? I tried to remove "bounds" and "parameters", change "gridSetId" to 900913, even to post XML body - nothing changed Any suggestions? Thanks in advance <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Без вирусов. www.avast.ru <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
