Get a preview link of a DataLens HTML page
datalens_htmlpages_preview_url_getGenerate a temporary signed preview URL for a DataLens HTML page. The link stops working after a while.
Instructions
A temporary signed link that shows the page; it stops working after a while.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"entry_id": "<entry_id>"
},
"name": "datalens_htmlpages_preview_url_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language of the preview: `en` or `ru`. | |
| theme | No | Theme of the preview. | |
| branch | No | The version to read when no revision is named: `saved` or `published`. | |
| rev_id | No | One revision, as it is; give it or `branch`, not both. | |
| entry_id | Yes | Entry id. |