Компания и доступ · Чтение
Компания · Переводы · Просмотр · Операция
company_translations_get_operation
Попробуйте три запроса
Получить данные
- Вы указываетеОбъект
- ПомощникЧтение
- Вы получаетеПоля ответа
Запрос в чат
Для задачи «Компания / Переводы / Просмотр / Операция» выполни чтение в текущей компании. Выведи кратко: статус, результат.
- status
- Статус
- result
- Результат
Задать параметры
- Вы указываетеЗадача
- ПомощникСхема входа
- Вы получаетеУсловия чтения
Запрос в чат
Покажи, как получить «Компания / Переводы / Просмотр / Операция» на учебном примере с operation = set. Объясни, какие ещё данные нужны и как будет выглядеть ответ.
- operation
- set
Разобрать ответ
- Вы указываетеПолученный ответ
- ПомощникРазбор значений
- Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Компания / Переводы / Просмотр / Операция» объясни статус, результат. Отметь отсутствующие значения.
- status
- Статус
- result
- Результат
Как работает действие
Это чтение. Выберите запись или задайте фильтры в доступной компании.
Описание разработчика
Recover the original set/reset result without writing or replaying it. Keep the original arguments and permissions. An absent SQL result is not permission to bypass a pending request.
Параметры запроса
- operation
- Выберите вариант операции из контракта. обязательно по схеме · string · варианты set, reset
- input
- Exact original input, including requestId, expectedRevision and value for set. Do not refresh the revision or edit any argument. обязательно по схеме · object / object
Что вернёт команда
- status
- Whether an existing SQL result was found. not_committed does not rule out an external operation that has not reached SQL yet. обязательно по схеме · string · варианты committed, not_committed
- result
- Original committed result, or null if none was found; it may differ from the current translation after later edits. обязательно по схеме · object / null
Поля и технические схемы

Вход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"operation": {
"type": "string",
"enum": [
"set",
"reset"
],
"description": "Original translation action whose result is being recovered."
},
"input": {
"anyOf": [
{
"type": "object",
"properties": {
"page": {
"$ref": "#/$defs/_mcp0"
},
"language": {
"$ref": "#/$defs/_mcp1"
},
"elementId": {
"$ref": "#/$defs/_mcp2"
},
"expectedRevision": {
"$ref": "#/$defs/_mcp4"
},
"requestId": {
"$ref": "#/$defs/_mcp5"
},
"value": {
"type": "string",
"maxLength": 20000,
"description": "Exact override text. A blank or whitespace-only value restores global/catalog fallback through a native tombstone."
}
},
"required": [
"page",
"language",
"elementId",
"expectedRevision",
"requestId",
"value"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"page": {
"$ref": "#/$defs/_mcp0"
},
"language": {
"$ref": "#/$defs/_mcp1"
},
"elementId": {
"$ref": "#/$defs/_mcp2"
},
"expectedRevision": {
"$ref": "#/$defs/_mcp4"
},
"requestId": {
"$ref": "#/$defs/_mcp5"
}
},
"required": [
"page",
"language",
"elementId",
"expectedRevision",
"requestId"
],
"additionalProperties": false
}
],
"description": "Exact original input, including requestId, expectedRevision and value for set. Do not refresh the revision or edit any argument."
}
},
"required": [
"operation",
"input"
],
"additionalProperties": false,
"$defs": {
"_mcp0": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"description": "Exact page, component or custom-code name from company_translations_catalog."
},
"_mcp1": {
"type": "string",
"minLength": 2,
"maxLength": 24,
"pattern": "^[A-Za-z]{2,3}(?:[-_][A-Za-z0-9]{2,8})*$",
"description": "Language code, such as en, ru or es-MX; matching uses lowercase and hyphens."
},
"_mcp2": {
"type": "string",
"minLength": 1,
"maxLength": 4096,
"description": "Exact catalogued element identifier from company_translations_list; some custom-code identifiers are long text."
},
"_mcp4": {
"anyOf": [
{
"$ref": "#/$defs/_mcp3"
},
{
"type": "null"
}
],
"description": "Use the read expectedRevision unchanged. Explicit null requires the dedicated override row to be absent; concurrent creation conflicts."
},
"_mcp5": {
"type": "string",
"minLength": 8,
"maxLength": 128,
"pattern": "^[A-Za-z0-9_-]+$",
"description": "Stable identifier for this exact change. Keep the identifier and all arguments unchanged for recovery; never issue a fresh identifier to bypass a pending result."
},
"_mcp3": {
"type": "string",
"pattern": "^[a-f0-9]{32}$",
"description": "Exact dedicated company-override row revision from a translation read."
}
}
}Выход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"committed",
"not_committed"
],
"description": "Whether an existing SQL result was found. not_committed does not rule out an external operation that has not reached SQL yet."
},
"result": {
"anyOf": [
{
"type": "object",
"properties": {
"page": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"description": "Exact page, component or custom-code name from company_translations_catalog."
},
"language": {
"type": "string",
"minLength": 2,
"maxLength": 24,
"pattern": "^[A-Za-z]{2,3}(?:[-_][A-Za-z0-9]{2,8})*$",
"description": "Language code, such as en, ru or es-MX; matching uses lowercase and hyphens."
},
"elementId": {
"type": "string",
"minLength": 1,
"maxLength": 4096,
"description": "Exact catalogued element identifier from company_translations_list; some custom-code identifiers are long text."
},
"revision": {
"type": "string",
"pattern": "^[a-f0-9]{32}$",
"description": "Revision returned by the committed native override write."
},
"value": {
"type": "string",
"maxLength": 20000,
"description": "Saved dedicated override text. Empty means that fallback is restored; use a translation read for the effective fallback text."
},
"overrideActive": {
"type": "boolean",
"description": "Whether the saved dedicated entry overrides fallback with nonempty text."
}
},
"required": [
"page",
"language",
"elementId",
"revision",
"value",
"overrideActive"
],
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "Original committed result, or null if none was found; it may differ from the current translation after later edits."
}
},
"required": [
"status",
"result"
],
"additionalProperties": false
}