Копировать таблицу
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": "clone",
"id": "example"
},
"dry_run": false,
"status_url": "example"
}
|
Name |
Description |
|
operation |
Type: B2BOperationIdentity Example
|
|
status_url |
Type: string URL, по которому вернется прогресс операции Example: |
|
dry_run |
Type: boolean Default: |
B2BOperationType
An enumeration.
Type: string
Enum: clone, clone_inline_grid
B2BOperationIdentity
|
Name |
Description |
|
id |
Type: string Example: |
|
type |
Type: B2BOperationType An enumeration. Enum: |
Example
{
"type": "clone",
"id": "example"
}
Was the article helpful?
Previous
Next