Move 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 idx is the same as the id field value in the response to POST /v1/grids, or results[].id in the response to GET /v1/pages/{idx}/grids. In /v1/pages/{idx}/grids, idx is the numeric page ID.

Example: ``

Body

application/json
{
  "revision": "example",
  "position": 0,
  "column_slug": "example",
  "columns_count": 0
}

Name

Description

column_slug

Type: string

Slug of the first column to move.

Example: example

position

Type: integer

Zero-based destination position.

columns_count

Type: integer

The number of subsequent columns to move along with column_slug. If omitted, only the column identified by column_slug is moved.

Exclusive min: false

revision

Type: string

The table version used as the basis for the changes.

Example: example

Responses

200 OK

OK

Body

application/json
{
  "revision": "example"
}

Name

Description

revision

Type: string

Table revision after the operation.

Example: example