Update Grid
Updates dynamic table settings.
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}
Path parameters
|
Name |
Description |
|
idx |
Type: string<uuid4> Dynamic table UUID. The value of Example: `` |
Body
application/json
{
"revision": "example",
"title": "example",
"default_sort": [
{}
]
}
|
Name |
Description |
||
|
default_sort |
Type: object[]
Default sorting: a list of objects such as {"column_slug": "asc"} or {"column_slug": "desc"}. An empty list disables sorting. Example
|
||
|
revision |
Type: string The table version used as the basis for the changes. Example: |
||
|
title |
Type: string New table title. If omitted, the title remains unchanged. Min length: Max length: Example: |
SortDirection
Sort direction:
asc: Ascending (smallest to largest, A to Z).desc: Descending (largest to smallest, Z to A).
Type: string
Enum: asc, desc
Responses
200 OK
OK
Body
application/json
{
"revision": "example"
}
|
Name |
Description |
|
revision |
Type: string Table revision after the operation. Example: |