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

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: example

title

Type: string

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

Min length: 1

Max length: 255

Example: example

with_data

Type: boolean

Default: false

Responses

200 OK

OK

Body

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

Name

Description

operation

Type: OperationIdentity

Example
{
  "type": "test",
  "id": "example"
}

dry_run

Type: boolean

Default: false

status_url

Type: string

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

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: example

type

Type: OperationType

An enumeration.

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

Example
{
  "type": "test",
  "id": "example"
}

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