SemanticTemplateUpdate
SemanticTemplate update request (all fields optional; omitted = no change). templates replaces the whole item list.
name object
하나 이상(anyOf)
- string
- null
string
alias object
하나 이상(anyOf)
- string
- null
string
collection_id object
하나 이상(anyOf)
- string
- null
string
Possible values: non-empty
folder_id object
하나 이상(anyOf)
- string
- null
string
tags object
하나 이상(anyOf)
- string[]
- null
Array [
string
]
description object
하나 이상(anyOf)
- string
- null
string
templates object
하나 이상(anyOf) 하나 이상(anyOf)
- object[]
- null
Array [
nameName (string)필수
Stable name of the computation template within its template group.
description object
Human-readable explanation of the computation.
- string
- null
string
questionsstring[]필수
Example questions used to match requests to this template.
Possible values: >= 1
slots object[]
Input slots shared by every query in the template.
Array [
nameName (string)필수
kindKind (string)
Possible values: [string, number, value, list]
기본값:
stringdescription object
하나 이상(anyOf)
- string
- null
string
requiredRequired (boolean)
기본값:
truedefaultDefault
]
queries object[]필수
Named queries whose results are passed to the computation code.
Possible values: >= 1
Array [
nameName (string)필수
table_idTable Id (string)필수
toolTool (string)
Possible values: [metrics, rows]
기본값:
metricsquery object필수
property name*any
]
codeCode (string)필수
Code that combines the named query results into the template output.
]
SemanticTemplateUpdate
{
"name": "string",
"alias": "string",
"collection_id": "string",
"folder_id": "string",
"tags": [
"string"
],
"description": "string",
"templates": [
{
"name": "string",
"description": "string",
"questions": [
"string"
],
"slots": [
{
"name": "string",
"kind": "string",
"description": "string",
"required": true
}
],
"queries": [
{
"name": "string",
"table_id": "string",
"tool": "metrics",
"query": {}
}
],
"code": "string"
}
]
}