Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
REST API Equivalent Of cache.purgeAllCache #7
Will the REST API have an endpoint for clearing everything in a pull zone? The existing XML-RPC API has a command for purging the entire pull zone -- cache.purgeAllCache -- and I'm not finding an equivalent for the new REST API.
I've been doing some testing on our staging server, and (oddly enough) passing a wildcard for the filename does seem to be working. I think.
https://rws.netdna.com/[company alias]/zones/pull.json/[zone ID]/cache
If there aren't any plans for supporting the REST equivalent of cache.purgeAllCache and you don't plan to eliminate support for wildcards, then this issue becomes moot.
But if wildcards really aren't working (although testing seems to indicate otherwise) then we'll need an endpoint that does purge the entire pull zone.