Задачи · Изменение
FlowMap · Доски · Изменение
flowmap_board_edit
Попробуйте три запроса
Подготовить
- Вы указываетеДоска
- ПомощникПодготовка
- Вы получаетеПредпросмотр
Запрос в чат
Подготовь «FlowMap / Доски / Изменение». Для изменения нужны доска, changes. Покажи объект и ожидаемый эффект до выполнения.
- boardId
- Доска
- changes
- Параметр
- label
- Параметр
Применить
- Вы указываетеСогласованные значения
- ПомощникОдин вызов
- Вы получаетеОтвет операции
Запрос в чат
На учебной записи подготовь «FlowMap / Доски / Изменение» с параметром boardId = DEMO-101. Покажи остальные обязательные значения и выполни действие, когда согласованы все поля.
- boardId
- DEMO-101
- expectedRevision
- 4
Проверить итог
- Вы указываетеИсходный ответ
- ПомощникСверка результата
- Вы получаетеПодтверждение
Запрос в чат
Проверь результат «FlowMap / Доски / Изменение» по исходному ответу. Покажи companyId, результат. Объясни, чем подтвердить эффект для выбранного объекта.
- До измененияПрочитать версию
- При записиПередать выбранную версию
- После ответаПеречитать объект
Как работает действие
Этот вызов может изменить рабочие данные. Согласуйте точный объект, новые значения и ожидаемый результат. Присвойте операции стабильный requestId. При повторе той же операции используйте прежний ключ и те же значения. Прочитайте актуальную версию записи перед подготовкой запроса.
Описание разработчика
Apply up to 100 ordered canvas edits atomically in one request: board metadata, node/edge/drawing create-update-delete, comments, replies and resolution. Supports content, tasks, tables, charts, frames, styling and geometry through native node fields. All other state is preserved; stale revisions fail.
Параметры запроса
- requestId
- Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
- boardId
- Native boardId value; use the value and type returned by the corresponding service. обязательно по схеме · string
- expectedRevision
- Версия, прочитанная перед изменением. обязательно по схеме · integer · минимум 0 · максимум 9007199254740991
- changes
- Native changes value; use the value and type returned by the corresponding service. обязательно по схеме · array · до элементов 100
- label
- Native label value; use the value and type returned by the corresponding service. необязательно · string · до символов 200
Что вернёт команда
- companyId
- Native companyId value; use the value and type returned by the corresponding service. обязательно по схеме · string
- result
- Native result value; use the value and type returned by the corresponding service. обязательно по схеме · object
Поля и технические схемы

Вход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"requestId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,128}$",
"description": "Stable request ID for these exact arguments. Keep it if the response is uncertain."
},
"boardId": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,160}$",
"description": "Native boardId value; use the value and type returned by the corresponding service."
},
"expectedRevision": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Native expectedRevision value; use the value and type returned by the corresponding service."
},
"changes": {
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "board_update",
"description": "Native op value; use the value and type returned by the corresponding service."
},
"patch": {
"$ref": "#/$defs/_mcp0"
},
"unset": {
"$ref": "#/$defs/_mcp1"
}
},
"required": [
"op",
"patch"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "node_create",
"description": "Native op value; use the value and type returned by the corresponding service."
},
"node": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"$ref": "#/$defs/__schema0"
},
"description": "Native node fields. Required: id and title. Optional type (task, content, approval, note, frame, table, chart, etc.), presentation, x/y/w/h, due, owner, channel, description, checklist, comments, media, parent, nativeAction and source. Omitted geometry is placed below existing nodes."
}
},
"required": [
"op",
"node"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "node_update",
"description": "Native op value; use the value and type returned by the corresponding service."
},
"nodeId": {
"$ref": "#/$defs/_mcp2"
},
"patch": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"$ref": "#/$defs/__schema0"
},
"description": "Only fields to change; native nested arrays/objects replace that field. ID, receipts and approval evidence are protected."
},
"unset": {
"$ref": "#/$defs/_mcp1"
}
},
"required": [
"op",
"nodeId",
"patch"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "node_delete",
"description": "Native op value; use the value and type returned by the corresponding service."
},
"nodeId": {
"$ref": "#/$defs/_mcp2"
},
"children": {
"default": "reject",
"description": "Native children value; use the value and type returned by the corresponding service.",
"type": "string",
"enum": [
"reject",
"detach",
"delete"
]
}
},
"required": [
"op",
"nodeId",
"children"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "edge_create",
"description": "Native op value; use the value and type returned by the corresponding service."
},
"edge": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"$ref": "#/$defs/__schema0"
},
"description": "Native edge value; use the value and type returned by the corresponding service."
}
},
"required": [
"op",
"edge"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "edge_update",
"description": "Native op value; use the value and type returned by the corresponding service."
},
"edgeId": {
"$ref": "#/$defs/_mcp3"
},
"patch": {
"$ref": "#/$defs/_mcp0"
},
"unset": {
"$ref": "#/$defs/_mcp1"
}
},
"required": [
"op",
"edgeId",
"patch"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "edge_delete",
"description": "Native op value; use the value and type returned by the corresponding service."
},
"edgeId": {
"$ref": "#/$defs/_mcp3"
}
},
"required": [
"op",
"edgeId"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "drawing_create",
"description": "Native op value; use the value and type returned by the corresponding service."
},
"drawing": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"$ref": "#/$defs/__schema0"
},
"description": "Native drawing value; use the value and type returned by the corresponding service."
}
},
"required": [
"op",
"drawing"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "drawing_update",
"description": "Native op value; use the value and type returned by the corresponding service."
},
"drawingId": {
"$ref": "#/$defs/_mcp4"
},
"patch": {
"$ref": "#/$defs/_mcp0"
},
"unset": {
"$ref": "#/$defs/_mcp1"
}
},
"required": [
"op",
"drawingId",
"patch"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "drawing_delete",
"description": "Native op value; use the value and type returned by the corresponding service."
},
"drawingId": {
"$ref": "#/$defs/_mcp4"
}
},
"required": [
"op",
"drawingId"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "comment_create",
"description": "Native op value; use the value and type returned by the corresponding service."
},
"nodeId": {
"$ref": "#/$defs/_mcp5"
},
"comment": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,160}$",
"description": "Native id value; use the value and type returned by the corresponding service."
},
"text": {
"type": "string",
"minLength": 1,
"maxLength": 5000,
"description": "Native text value; use the value and type returned by the corresponding service."
},
"x": {
"description": "Native x value; use the value and type returned by the corresponding service.",
"type": "number",
"minimum": -10000000,
"maximum": 10000000
},
"y": {
"description": "Native y value; use the value and type returned by the corresponding service.",
"type": "number",
"minimum": -10000000,
"maximum": 10000000
}
},
"required": [
"id",
"text"
],
"additionalProperties": false,
"description": "Native comment value; use the value and type returned by the corresponding service."
},
"threadId": {
"$ref": "#/$defs/_mcp6"
}
},
"required": [
"op",
"comment"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "comment_update",
"description": "Native op value; use the value and type returned by the corresponding service."
},
"nodeId": {
"$ref": "#/$defs/_mcp5"
},
"commentId": {
"$ref": "#/$defs/_mcp7"
},
"threadId": {
"$ref": "#/$defs/_mcp6"
},
"text": {
"description": "Native text value; use the value and type returned by the corresponding service.",
"type": "string",
"minLength": 1,
"maxLength": 5000
},
"resolved": {
"description": "Native resolved value; use the value and type returned by the corresponding service.",
"type": "boolean"
}
},
"required": [
"op",
"commentId"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "comment_delete",
"description": "Native op value; use the value and type returned by the corresponding service."
},
"nodeId": {
"$ref": "#/$defs/_mcp5"
},
"commentId": {
"$ref": "#/$defs/_mcp7"
},
"threadId": {
"$ref": "#/$defs/_mcp6"
}
},
"required": [
"op",
"commentId"
],
"additionalProperties": false
}
]
},
"description": "Native changes value; use the value and type returned by the corresponding service."
},
"label": {
"description": "Native label value; use the value and type returned by the corresponding service.",
"type": "string",
"maxLength": 200
}
},
"required": [
"requestId",
"boardId",
"expectedRevision",
"changes"
],
"additionalProperties": false,
"$defs": {
"__schema0": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
},
{
"type": "array",
"items": {
"$ref": "#/$defs/__schema0"
}
},
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"$ref": "#/$defs/__schema0"
}
}
]
},
"_mcp0": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"$ref": "#/$defs/__schema0"
},
"description": "Native patch value; use the value and type returned by the corresponding service."
},
"_mcp1": {
"description": "Native unset value; use the value and type returned by the corresponding service.",
"maxItems": 50,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"_mcp2": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,160}$",
"description": "Native nodeId value; use the value and type returned by the corresponding service."
},
"_mcp3": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,160}$",
"description": "Native edgeId value; use the value and type returned by the corresponding service."
},
"_mcp4": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,160}$",
"description": "Native drawingId value; use the value and type returned by the corresponding service."
},
"_mcp5": {
"description": "Native nodeId value; use the value and type returned by the corresponding service.",
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,160}$"
},
"_mcp6": {
"description": "Native threadId value; use the value and type returned by the corresponding service.",
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,160}$"
},
"_mcp7": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,160}$",
"description": "Native commentId value; use the value and type returned by the corresponding service."
}
}
}Выход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"companyId": {
"type": "string",
"description": "Native companyId value; use the value and type returned by the corresponding service."
},
"result": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"$ref": "#/$defs/__schema0"
},
"description": "Native result value; use the value and type returned by the corresponding service."
}
},
"required": [
"companyId",
"result"
],
"additionalProperties": false,
"$defs": {
"__schema0": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
},
{
"type": "array",
"items": {
"$ref": "#/$defs/__schema0"
}
},
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"$ref": "#/$defs/__schema0"
}
}
]
}
}
}