API and agentsAPI reference
TemplateDetail
object
One template: its card, how it is made, and what its version holds once installed.
idstringrequiredThe template's id, the same across its versions.
kindstringrequiredA finished map, or a workflow example with its result map.
One of
map,workflowversionintegerrequiredminimum1The version an open or a copy begun now takes: the newest the catalogue lists, unless the installed one is as new.
titlestringrequiredThe template's title.
questionstringrequiredThe question it answers, in a line.
placestringrequiredWhere its data is.
tagsarrayrequiredmin items1max items3One to three tags from a closed list.
(each item)stringOne of
First map,Time,Analysis,3D,Big data,Widgets,Flows
dataDatestringrequiredpattern^\d{4}(-\d{2}(-\d{2})?)?$The data's date: a year, a month or a day.
sourcesarray of TemplateSourcerequiredmin items1Every source of its data, with its licence and the credit it asks for.
stepsarrayor nullrequiredmin items1max items50A workflow example's steps in their order, as its workflow holds them, so its graph can be drawn before it is downloaded; null for a map template.
(each item)objectidstringrequiredThe step's id in the template's workflow.
operationstringrequiredThe operation it runs, by its id in the operation catalogue.
outputstringrequiredThe name of the dataset it makes.
readsarray of stringrequiredThe names it reads: datasets of the template and earlier steps' outputs, never anything outside the template.
No other keys.
originstringrequiredshipped: in this instance's image, working with no network; catalogue: listed by the template catalogue.
One of
shipped,catalogueinstalledintegeror nullrequiredminimum1The version installed on this server (shipped or downloaded), or null.
listedintegeror nullrequiredminimum1The newest version the catalogue's last list names, or null.
presentbooleanrequiredWhether version is installed; false means its first open or copy downloads it.
sizeintegerrequiredminimum0The version's archive size in bytes, as transferred.
picturestringrequiredkept: GET /api/templates/{id}/picture answers it; not_kept: the catalogue's picture could not be read, or the pictures kept for one list reached their 64 MB first; too_large: the catalogue's picture was over its 2 MB bound and refused (template_picture_too_large).
One of
kept,not_kept,too_largehowMadeobjectrequiredquestionstringrequiredThe question in full.
datasetsarrayrequired(each item)objectdatasetstringrequiredA dataset of the template.
sourcestringrequiredThe source it came from.
madestringrequiredHow it was made, in a line.
No other keys.
stylingarray of stringrequiredThe styling choices, a line each.
No other keys.
contentsrequiredWhat the version holds, once it is installed on this server (shipped, or downloaded and whole by its record); null while it is not, or when its files do not read. POST /api/templates/{id}/fetch installs a listed version.
Any of:
or null
No other keys.
7439201b