Копировать таблицу

Request

POST

https://api.wiki.yandex.net/v1/grids/{idx}/clone

Path parameters

Name

Description

idx*

Type: string<uuid4>

Body

application/json
{
    "target": "string",
    "title": "string",
    "with_data": false
}

Name

Description

target*

Type: string

slug страницы, на которую нужно скопировать таблицу. Если страницы нет, она будет создана.

title

Type: string

Если передан, название после копирования.

Min length: 1

Max length: 255

with_data

Type: boolean

Default: false

Responses

200 OK

OK

Body

application/json
{
    "operation": {
        "type": "test",
        "id": "string"
    },
    "dry_run": false,
    "status_url": "URL по которому вернется прогресс операции"
}

Name

Description

operation*

Type: OperationIdentity

dry_run

Type: boolean

Default: false

status_url

Type: string

Default: URL по которому вернется прогресс операции

OperationIdentity

Name

Description

id*

Type: string

type*

Type: OperationType

An enumeration.

Enum: test, export, move, clone, clone_grid, clone_inline_grid, apply_template, e2e_prepare, e2e_cleanup

OperationType

An enumeration.

Type

Description

OperationType

Enum: test, export, move, clone, clone_grid, clone_inline_grid, apply_template, e2e_prepare, e2e_cleanup

No longer supported, please use an alternative and newer version.