Update Cells
Updates cell values 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}/cells
Path parameters
|
Name |
Description |
|
idx |
Type: string<uuid4> Dynamic table UUID. The value of Example: `` |
Body
application/json
{
"revision": "example",
"cells": [
{
"row_id": 0,
"column_slug": "example",
"value": 0
}
]
}
|
Name |
Description |
|
cells |
Type: UpdateCellSchema[] Cells to update. The list must contain at least one cell. Example
|
|
revision |
Type: string The table version on which the change is based. Concurrent changes to the same cell may cause a conflict. Changes to other cells may be merged. Example: |
UserIdentityExtended
Extended user identifier with additional fields
|
Name |
Description |
|
cloud_uid |
Type: string User identifier in Yandex Cloud Example: |
|
uid |
Type: string Yandex user ID Example: |
|
username |
Type: string User login Example: |
Example
{
"uid": "example",
"cloud_uid": "example",
"username": "example"
}
UpdateCellSchema
New value for a dynamic table cell.
|
Name |
Description |
|
column_slug |
Type: string The column slug. Example: |
|
row_id |
Type: integer The row ID. |
|
value |
Any of 6 types
The cell value in the format that corresponds to the column type. 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[] Updated cells with their values after processing by the service. Example
|
|
revision |
Type: string Table revision after the operation. Example: |
TicketSchema
Yandex Tracker issue schema
|
Name |
Description |
|
key |
Type: string Issue key (for example, Example: |
|
resolved |
Type: boolean The issue is resolved (closed). |
Example
{
"key": "example",
"resolved": true
}
UserIdentity
User identifier
|
Name |
Description |
|
cloud_uid |
Type: string User identifier in the cloud Example: |
|
uid |
Type: string Yandex user ID Example: |
Example
{
"uid": "example",
"cloud_uid": "example"
}
UserSchema
User information
|
Name |
Description |
|
affiliation |
Type: string User affiliation Example: |
|
display_name |
Type: string User display name Example: |
|
id |
Type: integer Internal user identifier |
|
is_dismissed |
Type: boolean The user is dismissed |
|
username |
Type: string User login Example: |
|
identity |
All of 1 type
User identifier in the system Example
|
Example
{
"id": 0,
"identity": {
"uid": "example",
"cloud_uid": "example"
},
"username": "example",
"display_name": "example",
"is_dismissed": true,
"affiliation": "example"
}
UnresolvedUserSchema
Schema for a user that was not found in the system
|
Name |
Description |
|
identity |
All of 1 type
User ID Example
|
|
username |
Type: string User login Example: |
Example
{
"username": "example",
"identity": {
"uid": "example",
"cloud_uid": "example"
}
}
TrackerEnumField
Enum field from Yandex Tracker
|
Name |
Description |
|
display |
Type: string Displayed value of the field Example: |
|
key |
Type: string Field value key Example: |
Example
{
"display": "example",
"key": "example"
}
CellSchema
A dynamic table cell.
|
Name |
Description |
|
column_slug |
Type: string The column slug. Example: |
|
row_id |
Type: string The row ID. Example: |
|
value |
Any of 10 types
The cell value in the format that corresponds to the column type. Example: |
Example
{
"row_id": "example",
"column_slug": "example",
"value": 0
}