---
metadata:
  - name: generator
    content: Diplodoc Platform v5.64.2
alternate:
  - https://yandex.ru/support/wiki/en/api-ref/grids/grids__update_cells.md
  - https://yandex.ru/support/wiki/ru/api-ref/grids/grids__update_cells.md
  - href: https://yandex.ru/support/wiki/ru/api-ref/grids/grids__update_cells.md
    type: text/markdown
    title: Markdown version
  - href: https://yandex.ru/support/wiki/ru/llms.txt?revision=r21947862
    rel: describedby
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.ru/support/wiki/ru/llms.txt?revision=r21947862

<div class="openapi">

# Обновить ячейки

<!-- markdownlint-disable-file -->

Изменяет значения ячеек динамической таблицы.

Общие заголовки и способы аутентификации описаны в разделе [Доступ к API](https://yandex.ru/support/wiki/ru/api-ref/access.md#headers). Примеры сценариев приведены в разделе [Примеры использования API](https://yandex.ru/support/wiki/ru/api-ref/examples.md).

## Request

<div class="openapi__requests">

<div class="openapi__request__wrapper" style="--method: var(--dc-openapi-methods-post);margin-bottom: 12px">

<div class="openapi__request">

POST {.openapi__method}
```text translate=no
https://api.wiki.yandex.net/v1/grids/{idx}/cells
```

</div>

</div>

</div>

### Path parameters

#|
|| **Name** | **Description** ||
||

_idx_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string&lt;uuid4&gt;

UUID динамической таблицы. Значение `idx` совпадает со значением поля `id` в ответе `POST /v1/grids` или поля `results[].id` в ответе `GET /v1/pages/{idx}/grids`. В `/v1/pages/{idx}/grids` параметр `idx` — числовой ID страницы.

_Example:_{.json-schema-reset .json-schema-example} ``
{.table-cell}
||
|#{.json-schema-properties}

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "revision": "example",
  "cells": [
    {
      "row_id": 0,
      "column_slug": "example",
      "value": 0
    }
  ]
}
```

{% endcut %}

#|
|| **Name** | **Description** ||
||

_cells_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: [UpdateCellSchema](#entity-UpdateCellSchema)[]

Ячейки, значения которых нужно изменить. Список должен содержать хотя бы одну ячейку.

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
[
  {
    "row_id": 0,
    "column_slug": "example",
    "value": 0
  }
]
```

{% endcut %}
{.table-cell}
||
||

_revision_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

Версия таблицы, на которой основано изменение. При параллельном изменении той же ячейки возможен конфликт; изменения других ячеек могут быть объединены.

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
|#{.json-schema-properties}

</div>

<div class="openapi-entity">

### UserIdentityExtended {#entity-UserIdentityExtended}

Расширенный идентификатор пользователя с дополнительными полями

#|
|| **Name** | **Description** ||
||

_cloud_uid_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

Идентификатор пользователя в Яндекс Облаке

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
||

_uid_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

Идентификатор пользователя в Яндексе

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
||

_username_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

Логин пользователя

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
|#{.json-schema-properties}

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
{
  "uid": "example",
  "cloud_uid": "example",
  "username": "example"
}
```

{% endcut %}

</div>

<div class="openapi-entity">

### UpdateCellSchema {#entity-UpdateCellSchema}

Новое значение ячейки динамической таблицы.

#|
|| **Name** | **Description** ||
||

_column_slug_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Слаг столбца.

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
||

_row_id_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: integer

Идентификатор строки.
{.table-cell}
||
||

_value_{.json-schema-reset .json-schema-property}
{.table-cell}|
{% cut "**Any of 6 types**" %}{.json-schema-combinators data-marker=or}

- **Type**: integer

- **Type**: number

- **Type**: boolean

- **Type**: string

  _Example:_{.json-schema-reset .json-schema-example} `example`

- **Type**: string[]

  {% cut "**Example**" %}{.json-schema-example}

  ```json translate=no
  [
    "example"
  ]
  ```

  {% endcut %}

- **Type**: [UserIdentityExtended](#entity-UserIdentityExtended)[]

  {% cut "**Example**" %}{.json-schema-example}

  ```json translate=no
  [
    {
      "uid": "example",
      "cloud_uid": "example",
      "username": "example"
    }
  ]
  ```

  {% endcut %}

{% endcut %}

Значение ячейки в формате, соответствующем типу столбца.

_Example:_{.json-schema-reset .json-schema-example} `0`
{.table-cell}
||
|#{.json-schema-properties}

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
{
  "row_id": 0,
  "column_slug": "example",
  "value": 0
}
```

{% endcut %}

</div>

## Responses

<div class="openapi__response__code__200">

## 200 OK

OK

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "revision": "example",
  "cells": [
    {
      "row_id": "example",
      "column_slug": "example",
      "value": 0
    }
  ]
}
```

{% endcut %}

#|
|| **Name** | **Description** ||
||

_cells_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: [CellSchema](#entity-CellSchema)[]

Измененные ячейки с их значениями после обработки сервисом.

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
[
  {
    "row_id": "example",
    "column_slug": "example",
    "value": 0
  }
]
```

{% endcut %}
{.table-cell}
||
||

_revision_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

Версия таблицы после выполнения операции.

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
|#{.json-schema-properties}

</div>

<div class="openapi-entity">

### TicketSchema {#entity-TicketSchema}

Схема задачи из Яндекс Трекера

#|
|| **Name** | **Description** ||
||

_key_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Ключ задачи (например, `WIKI-123`)

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
||

_resolved_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: boolean

Задача решена (закрыта).
{.table-cell}
||
|#{.json-schema-properties}

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
{
  "key": "example",
  "resolved": true
}
```

{% endcut %}

</div>

<div class="openapi-entity">

### UserIdentity {#entity-UserIdentity}

Идентификатор пользователя

#|
|| **Name** | **Description** ||
||

_cloud_uid_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

Идентификатор пользователя в облаке

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
||

_uid_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

Идентификатор пользователя в Яндексе

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
|#{.json-schema-properties}

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
{
  "uid": "example",
  "cloud_uid": "example"
}
```

{% endcut %}

</div>

<div class="openapi-entity">

### UserSchema {#entity-UserSchema}

Информация о пользователе

#|
|| **Name** | **Description** ||
||

_affiliation_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Принадлежность пользователя

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
||

_display_name_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Отображаемое имя пользователя

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
||

_id_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: integer

Внутренний идентификатор пользователя
{.table-cell}
||
||

_is_dismissed_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: boolean

Пользователь уволен
{.table-cell}
||
||

_username_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Логин пользователя

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
||

_identity_{.json-schema-reset .json-schema-property}
{.table-cell}|
{% cut "**All of 1 type**" %}{.json-schema-combinators data-marker=and}

- **UserIdentity**

  **Type**: [UserIdentity](#entity-UserIdentity)

  Идентификатор пользователя

  {% cut "**Example**" %}{.json-schema-example}

  ```json translate=no
  {
    "uid": "example",
    "cloud_uid": "example"
  }
  ```

  {% endcut %}

{% endcut %}

Идентификатор пользователя в системе

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
{
  "uid": "example",
  "cloud_uid": "example"
}
```

{% endcut %}
{.table-cell}
||
|#{.json-schema-properties}

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
{
  "id": 0,
  "identity": {
    "uid": "example",
    "cloud_uid": "example"
  },
  "username": "example",
  "display_name": "example",
  "is_dismissed": true,
  "affiliation": "example"
}
```

{% endcut %}

</div>

<div class="openapi-entity">

### UnresolvedUserSchema {#entity-UnresolvedUserSchema}

Схема пользователя, который не был найден в системе

#|
|| **Name** | **Description** ||
||

_identity_{.json-schema-reset .json-schema-property}
{.table-cell}|
{% cut "**All of 1 type**" %}{.json-schema-combinators data-marker=and}

- **UserIdentity**

  **Type**: [UserIdentity](#entity-UserIdentity)

  Идентификатор пользователя

  {% cut "**Example**" %}{.json-schema-example}

  ```json translate=no
  {
    "uid": "example",
    "cloud_uid": "example"
  }
  ```

  {% endcut %}

{% endcut %}

Идентификатор пользователя

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
{
  "uid": "example",
  "cloud_uid": "example"
}
```

{% endcut %}
{.table-cell}
||
||

_username_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

Логин пользователя

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
|#{.json-schema-properties}

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
{
  "username": "example",
  "identity": {
    "uid": "example",
    "cloud_uid": "example"
  }
}
```

{% endcut %}

</div>

<div class="openapi-entity">

### TrackerEnumField {#entity-TrackerEnumField}

Поле перечисления из Яндекс Трекера

#|
|| **Name** | **Description** ||
||

_display_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Отображаемое значение поля

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
||

_key_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Ключ значения поля

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
|#{.json-schema-properties}

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
{
  "display": "example",
  "key": "example"
}
```

{% endcut %}

</div>

<div class="openapi-entity">

### CellSchema {#entity-CellSchema}

Ячейка динамической таблицы.

#|
|| **Name** | **Description** ||
||

_column_slug_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Слаг столбца.

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
||

_row_id_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Идентификатор строки.

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
||

_value_{.json-schema-reset .json-schema-property}
{.table-cell}|
{% cut "**Any of 10 types**" %}{.json-schema-combinators data-marker=or}

- **Type**: integer

- **Type**: number

- **Type**: boolean

- **Type**: string

  _Example:_{.json-schema-reset .json-schema-example} `example`

- **TicketSchema**

  **Type**: [TicketSchema](#entity-TicketSchema)

  Схема задачи из Яндекс Трекера

  {% cut "**Example**" %}{.json-schema-example}

  ```json translate=no
  {
    "key": "example",
    "resolved": true
  }
  ```

  {% endcut %}

- **Type**: string[]

  {% cut "**Example**" %}{.json-schema-example}

  ```json translate=no
  [
    "example"
  ]
  ```

  {% endcut %}

- {% cut "**Type**: array" %}

  {% cut "**Any of 2 types**" %}{.json-schema-combinators data-marker=or}

  - **UserSchema**

    **Type**: [UserSchema](#entity-UserSchema)

    Информация о пользователе

    {% cut "**Example**" %}{.json-schema-example}

    ```json translate=no
    {
      "id": 0,
      "identity": {
        "uid": "example",
        "cloud_uid": "example"
      },
      "username": "example",
      "display_name": "example",
      "is_dismissed": true,
      "affiliation": "example"
    }
    ```

    {% endcut %}

  - **UnresolvedUserSchema**

    **Type**: [UnresolvedUserSchema](#entity-UnresolvedUserSchema)

    Схема пользователя, который не был найден в системе

    {% cut "**Example**" %}{.json-schema-example}

    ```json translate=no
    {
      "username": "example",
      "identity": {
        "uid": "example",
        "cloud_uid": "example"
      }
    }
    ```

    {% endcut %}

  {% endcut %}

  {% endcut %}

  {% cut "**Example**" %}{.json-schema-example}

  ```json translate=no
  [
    {
      "id": 0,
      "identity": {
        "uid": "example",
        "cloud_uid": "example"
      },
      "username": "example",
      "display_name": "example",
      "is_dismissed": true,
      "affiliation": "example"
    }
  ]
  ```

  {% endcut %}

- **UserSchema**

  **Type**: [UserSchema](#entity-UserSchema)

  Информация о пользователе

  {% cut "**Example**" %}{.json-schema-example}

  ```json translate=no
  {
    "id": 0,
    "identity": {
      "uid": "example",
      "cloud_uid": "example"
    },
    "username": "example",
    "display_name": "example",
    "is_dismissed": true,
    "affiliation": "example"
  }
  ```

  {% endcut %}

- **UnresolvedUserSchema**

  **Type**: [UnresolvedUserSchema](#entity-UnresolvedUserSchema)

  Схема пользователя, который не был найден в системе

  {% cut "**Example**" %}{.json-schema-example}

  ```json translate=no
  {
    "username": "example",
    "identity": {
      "uid": "example",
      "cloud_uid": "example"
    }
  }
  ```

  {% endcut %}

- **TrackerEnumField**

  **Type**: [TrackerEnumField](#entity-TrackerEnumField)

  Поле перечисления из Яндекс Трекера

  {% cut "**Example**" %}{.json-schema-example}

  ```json translate=no
  {
    "display": "example",
    "key": "example"
  }
  ```

  {% endcut %}

{% endcut %}

Значение ячейки в формате, соответствующем типу столбца.

_Example:_{.json-schema-reset .json-schema-example} `0`
{.table-cell}
||
|#{.json-schema-properties}

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
{
  "row_id": "example",
  "column_slug": "example",
  "value": 0
}
```

{% endcut %}

</div>

</div>

</div>

[*Deprecated]: No longer supported, please use an alternative and newer version.