API and agentsAPI reference
TemplateContents
object
What an installed template version holds, read from this server: its map's id, its datasets and a workflow example's workflow.
mapIdstringrequiredThe template map's id. GET /api/maps/{id} reads the map with its layers' SQL and styles, and the layer render and widget-value operations answer its layers, as for a map one may only view; nothing writes it.
revisionstringrequiredThe version's revision, from its archive's checksum; the same for as long as the version is installed.
createdAtstringrequiredformatdate-timeWhen the template's map was made, as it was published.
updatedAtstringrequiredformatdate-timeWhen the template's map last changed before it was published.
datasetsarray of TemplateDatasetrequiredThe template's own datasets.
workflowrequiredA workflow example's workflow: its steps with their parameters and its saved canvas arrangement; null for a map template.
Any of:
object
namestringrequiredThe workflow's name.
stepsarrayrequiredmin items1max items50The steps in their order, each with the bundled result it came with as its output; a template's workflow never runs.
(each item)objectidstringrequiredThe step's id in the template's workflow.
operationstringrequiredThe operation it runs, by its id in the operation catalogue.
parametersobjectrequiredIts parameters as the workflow holds them, its output's name among them, as a workflow's step is defined.
outputTemplateDatasetrequiredreadsarray of stringrequiredThe names it reads: the template's datasets and earlier steps' outputs.
No other keys.
layoutobjectrequiredstepsobjectrequiredA position per step, keyed by step id.
(any other key)LayoutPosition
sourcesobjectrequiredA position per dataset read, keyed by its name.
(any other key)LayoutPosition
notesarray of LayoutNoterequiredThe canvas's notes, in their order.
updatedAtstringor nullrequiredformatdate-timeWhen the arrangement was last written before the version was published; null for one with nothing placed, which the canvas arranges itself.
No other keys.
No other keys.
or null
No other keys.
7439201b