The REST API for mass truncation provides a mechanism for completely clearing caches more conveniently than with the seeding system
Returns available request types for truncation (masstruncateGet)
Returns xml containing the request type capabilities for mass truncation
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
OK
Example data
Content-Type: application/xml
truncateLayer
truncateParameters
truncateOrphans
truncateExtent
Issue a mass truncate request (masstruncatePost)
Issues a mass truncate request based on the request type parameter. truncateLayer, will clear all caches associated with a named layer, including all permutations of gridset, parameter filter values, and image formats.
Query parameters
requestType (required)
Query Parameter — The requestType parameter is used to control which cached tiles to truncate.
layer (optional)
Query Parameter — The layername to truncate
Responses
200
OK