Written by
🚧 [Experimental] Create wizard chart
Creates a new wizard chart.
Request
POST
https://api.datalens.tech/rpc/createWizardChart
Headers
|
Name |
Description |
|
x-dl-api-version |
Type: string API version header. Const: Example: |
Body
application/json
{
"template": "datalens",
"annotation": {
"description": "example"
},
"data": {},
"key": "example",
"workbookId": "example",
"name": "example"
}
All of 2 types
-
Type: object
data
Type: object
[additional]
Type: unknown
Example:
nullExample
{}template
Type: string
Const:
datalensExample:
exampleannotation
Type: EntryAnnotationArg
Example
{ "description": "example" }[additional]
Type: unknown
Example:
nullExample
{ "template": "datalens", "annotation": { "description": "example" }, "data": {} } -
Type: EntryLocationIdentifiers
Example
{ "key": "example", "workbookId": "example", "name": "example" }
EntryAnnotationArg
|
Name |
Description |
|
description |
Type: string Description of the entry. Example: |
Example
{
"description": "example"
}
EntryLocationIdentifiers
|
Name |
Description |
|
key |
Type: string Entry key when creating the entry in a folder. Example: |
|
name |
Type: string Entry name when creating the entry in a workbook. Example: |
|
workbookId |
Type: string ID of the workbook where the entry should be created. Example: |
Example
{
"key": "example",
"workbookId": "example",
"name": "example"
}
Responses
200 OK
Response
Body
application/json
{}
|
Name |
Description |
|
[additional] |
Type: unknown Example: |