Clone Grid
Starts an asynchronous operation to copy a dynamic table.
For common headers and authentication methods, see Access to the API. For sample scenarios, see API usage examples.
Request
POST
https://api.wiki.yandex.net/v1/grids/{idx}/clone
Path parameters
|
Name |
Description |
|
idx |
Type: string<uuid4> Dynamic table UUID. The value of Example: `` |
Body
application/json
{
"target": "example",
"title": "example",
"with_data": false
}
|
Name |
Description |
|
target |
Type: string Address (slug) of the page to copy the table to. If the page does not exist, it is created. Example: |
|
title |
Type: string If provided, the title after cloning Min length: Max length: Example: |
|
with_data |
Type: boolean Copy the table along with its row data. Default: |
Responses
200 OK
OK
Body
application/json
{
"operation": {
"type": "clone",
"id": "example"
},
"dry_run": false,
"status_url": "example"
}
|
Name |
Description |
|
operation |
All of 1 type
Asynchronous operation type and ID. Example
|
|
status_url |
Type: string URL for retrieving operation progress information Example: |
|
dry_run |
Type: boolean Indicates that execution conditions are checked without starting the operation. Default: |
B2BOperationType
An enumeration.
Type: string
Enum: clone, clone_inline_grid
B2BOperationIdentity
|
Name |
Description |
|
id |
Type: string Asynchronous operation ID. Use this value as Example: |
|
type |
All of 1 type
The asynchronous operation type. Example: |
Example
{
"type": "clone",
"id": "example"
}