Move Rows
Moves rows 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}/rows/move
Path parameters
|
Name |
Description |
|
idx |
Type: string<uuid4> Dynamic table UUID. The value of Example: `` |
Body
application/json
{
"revision": "example",
"position": 0,
"after_row_id": "example",
"row_id": "example",
"rows_count": 0
}
|
Name |
Description |
|
row_id |
Type: string The ID of the first row to move. Example: |
|
after_row_id |
Type: string ID of the row after which to place the rows. Takes precedence over position. Example: |
|
position |
Type: integer The destination position, starting from zero. Used if after_row_id is not specified. If neither field is provided, the rows are moved to the end of the table. |
|
revision |
Type: string The table version used as the basis for the changes. Example: |
|
rows_count |
Type: integer Number of subsequent rows to move together with row_id. If omitted, only row_id is moved. Exclusive min: |
Responses
200 OK
OK
Body
application/json
{
"revision": "example"
}
|
Name |
Description |
|
revision |
Type: string Table revision after the operation. Example: |