Cache Commands
Gets the location of the cache for the requested title / layer.
optional id to track this command, will be returned in the response
optional: UUID of title/layer to operate on
{218f46f9-e881-49a8-ab17-03c8f9cc8461}optional: Name (or UUID) of the title to operate on.
successful operation
bad request
GET /api/command/getCachePath HTTP/1.1
Host: 127.0.0.1:9022
Accept: */*
{
"result": {
"command": "getCachePath",
"id": "{218f46f9-e881-49a8-ab17-03c8f9cc8461}",
"reply": "getCachePath",
"success": true
}
}Forces a complete rebuild of the requested title/layer.
optional id to track this command, will be returned in the response
optional: UUID of title/layer to operate on
{218f46f9-e881-49a8-ab17-03c8f9cc8461}optional: Name (or UUID) of the title to operate on.
successful operation
bad request
GET /api/command/rebuildCache HTTP/1.1
Host: 127.0.0.1:9022
Accept: */*
{
"result": {
"command": "rebuildCache",
"id": "{218f46f9-e881-49a8-ab17-03c8f9cc8461}",
"reply": "rebuildCache",
"success": true
}
}Forces a save of the title cache..
optional id to track this command, will be returned in the response
optional: UUID of title/layer to operate on
{218f46f9-e881-49a8-ab17-03c8f9cc8461}optional: Name (or UUID) of the title to operate on.
successful operation
bad request
GET /api/command/saveTitleCache HTTP/1.1
Host: 127.0.0.1:9022
Accept: */*
{
"result": {
"command": "saveTitleCache",
"id": "{218f46f9-e881-49a8-ab17-03c8f9cc8461}",
"reply": "saveTitleCache",
"success": true
}
}Sets a unique location to build the cache for the requested title / layer.
optional id to track this command, will be returned in the response
optional: UUID of title/layer to operate on
{218f46f9-e881-49a8-ab17-03c8f9cc8461}optional: Name (or UUID) of the title to operate on.
File path to write the cache to.
c:\desktop\cachefile.cachesuccessful operation
bad request
GET /api/command/setCachePath HTTP/1.1
Host: 127.0.0.1:9022
Accept: */*
{
"result": {
"command": "setCachePath",
"id": "{218f46f9-e881-49a8-ab17-03c8f9cc8461}",
"reply": "setCachePath",
"success": true
}
}Sets the number of variable variations to keep in memory and save to file.
optional id to track this command, will be returned in the response
Number of variations to keep in memory.
20Number of variations to save to file.
10successful operation
bad request
GET /api/command/setMaxCacheCount HTTP/1.1
Host: 127.0.0.1:9022
Accept: */*
{
"result": {
"command": "setMaxCacheCount",
"reply": "setMaxCacheCount",
"success": true
}
}Last updated