Обновить ячейки
Request
POST
https://api.wiki.yandex.net/v1/grids/{idx}/cells
Path parameters
|
Name |
Description |
|
idx |
Type: string<uuid4> Example: `` |
Body
application/json
{
"revision": "example",
"cells": [
{
"row_id": 0,
"column_slug": "example",
"value": 0
}
]
}
|
Name |
Description |
|
cells |
Type: UpdateCellSchema[] Example
|
|
revision |
Type: string Example: |
UserIdentityExtended
|
Name |
Description |
|
cloud_uid |
Type: string Example: |
|
uid |
Type: string Example: |
|
username |
Type: string Example: |
Example
{
"uid": "example",
"cloud_uid": "example",
"username": "example"
}
UpdateCellSchema
|
Name |
Description |
|
column_slug |
Type: string Example: |
|
row_id |
Type: integer |
|
value |
Any of 6 types
Example: |
Example
{
"row_id": 0,
"column_slug": "example",
"value": 0
}
Responses
200 OK
OK
Body
application/json
{
"revision": "example",
"cells": [
{
"row_id": "example",
"column_slug": "example",
"value": 0
}
]
}
|
Name |
Description |
|
cells |
Type: CellSchema[] Example
|
|
revision |
Type: string Example: |
TicketSchema
|
Name |
Description |
|
key |
Type: string Example: |
|
resolved |
Type: boolean |
Example
{
"key": "example",
"resolved": true
}
UserIdentity
|
Name |
Description |
|
cloud_uid |
Type: string Example: |
|
uid |
Type: string Example: |
Example
{
"uid": "example",
"cloud_uid": "example"
}
UserSchema
|
Name |
Description |
|
display_name |
Type: string Example: |
|
id |
Type: integer |
|
is_dismissed |
Type: boolean |
|
username |
Type: string Example: |
|
identity |
Type: UserIdentity Example
|
Example
{
"id": 0,
"identity": {
"uid": "example",
"cloud_uid": "example"
},
"username": "example",
"display_name": "example",
"is_dismissed": true
}
UnresolvedUserSchema
|
Name |
Description |
|
identity |
Type: UserIdentity Example
|
|
username |
Type: string Example: |
Example
{
"username": "example",
"identity": {
"uid": "example",
"cloud_uid": "example"
}
}
TrackerEnumField
|
Name |
Description |
|
display |
Type: string Example: |
|
key |
Type: string Example: |
Example
{
"display": "example",
"key": "example"
}
CellSchema
|
Name |
Description |
|
column_slug |
Type: string Example: |
|
row_id |
Type: string Example: |
|
value |
Any of 10 types
Example: |
Example
{
"row_id": "example",
"column_slug": "example",
"value": 0
}
No longer supported, please use an alternative and newer version.