Cache Commands

getCachePath

get
/api/command/getCachePath

Gets the location of the cache for the requested title / layer.

Query parameters
requestIdstringOptional

optional id to track this command, will be returned in the response

idstringOptional

optional: UUID of title/layer to operate on

Example: {218f46f9-e881-49a8-ab17-03c8f9cc8461}
titlestringOptional

optional: Name (or UUID) of the title to operate on.

Responses
200

successful operation

application/json
get
/api/command/getCachePath

rebuildCache

get
/api/command/rebuildCache

Forces a complete rebuild of the requested title/layer.

Query parameters
requestIdstringOptional

optional id to track this command, will be returned in the response

idstringOptional

optional: UUID of title/layer to operate on

Example: {218f46f9-e881-49a8-ab17-03c8f9cc8461}
titlestringOptional

optional: Name (or UUID) of the title to operate on.

Responses
200

successful operation

application/json
get
/api/command/rebuildCache

saveTitleCache

get
/api/command/saveTitleCache

Forces a save of the title cache..

Query parameters
requestIdstringOptional

optional id to track this command, will be returned in the response

idstringOptional

optional: UUID of title/layer to operate on

Example: {218f46f9-e881-49a8-ab17-03c8f9cc8461}
titlestringOptional

optional: Name (or UUID) of the title to operate on.

Responses
200

successful operation

application/json
get
/api/command/saveTitleCache

setCachePath

get
/api/command/setCachePath

Sets a unique location to build the cache for the requested title / layer.

Query parameters
requestIdstringOptional

optional id to track this command, will be returned in the response

idstringOptional

optional: UUID of title/layer to operate on

Example: {218f46f9-e881-49a8-ab17-03c8f9cc8461}
titlestringOptional

optional: Name (or UUID) of the title to operate on.

filestringOptional

File path to write the cache to.

Example: c:\desktop\cachefile.cache
Responses
200

successful operation

application/json
get
/api/command/setCachePath

setMaxCacheCount

get
/api/command/setMaxCacheCount

Sets the number of variable variations to keep in memory and save to file.

Query parameters
requestIdstringOptional

optional id to track this command, will be returned in the response

maxCacheCountnumberOptional

Number of variations to keep in memory.

Example: 20
maxSaveCountnumberOptional

Number of variations to save to file.

Example: 10
Responses
200

successful operation

application/json
get
/api/command/setMaxCacheCount

Last updated