Копировать таблицу
Request
POST
https://api.wiki.yandex.net/v1/grids/{idx}/clone
Path parameters
|
Name |
Description |
|
idx |
Type: string<uuid4> Example: `` |
Body
application/json
{
"target": "example",
"title": "example",
"with_data": false
}
|
Name |
Description |
|
target |
Type: string slug страницы, на которую нужно скопировать таблицу. Если страницы нет, она будет создана. Example: |
|
title |
Type: string Если передан, название после копирования. Min length: Max length: Example: |
|
with_data |
Type: boolean Default: |
Responses
200 OK
OK
Body
application/json
{
"operation": {
"type": "test",
"id": "example"
},
"dry_run": false,
"status_url": "URL по которому вернется прогресс операции"
}
|
Name |
Description |
|
operation |
Type: OperationIdentity Example
|
|
dry_run |
Type: boolean Default: |
|
status_url |
Type: string Default: |
OperationType
An enumeration.
Type: string
Enum: test, export, move, clone, clone_grid, clone_inline_grid, apply_template, e2e_prepare, e2e_cleanup
OperationIdentity
|
Name |
Description |
|
id |
Type: string Example: |
|
type |
Type: OperationType An enumeration. Enum: |
Example
{
"type": "test",
"id": "example"
}
No longer supported, please use an alternative and newer version.