Moving columns
Moves columns in 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}/columns/move
Path parameters
|
Name |
Description |
|
idx |
Type: string<uuid4> Dynamic table UUID. The value of Example: `` |
Body
application/json
{
"revision": "example",
"position": 0,
"column_slug": "example",
"columns_count": 1
}
|
Name |
Description |
|
column_slug |
Type: string Slug of the first column to move. Example: |
|
position |
Type: integer Zero-based destination position. |
|
columns_count |
Any of 2 types
The number of subsequent columns to move along with column_slug. If omitted, only the column identified by column_slug is moved. Example: |
|
revision |
Any of 2 types
The table version used as the basis for the changes. Example: |
Responses
200 OK
OK
Body
application/json
{
"revision": "example"
}
|
Name |
Description |
|
revision |
Any of 2 types
Table revision after the operation. Example: |