Select to view content in your preferred language

Is it possible to rebuild a vector tile cache using the REST API?

452
0
10-31-2024 01:50 PM
Labels (1)
DavidSolari
MVP Regular Contributor

On the item page for a vector tile service, there's a "Rebuild Cache" button that regenerates all tiles based on the referenced data. This calls into the "Manage Vector Tile Cache" GP service in the system caching controllers which does all the heavy lifting. Unfortunately, I can't find a way to call this service using the REST API. I either get an invalid token error on the initial job submission, or I get "ERROR 001359: Failed to connect to the server." in the resulting job's messages.

Has anyone managed to get this workflow functioning? Do I keep trying with the GP Service or is there a better way?

0 Kudos
0 Replies