MCP Control
Коммуникации · Чтение

Социальные сети · Публикации · Просмотр · Операция

social_posts_get_operation
Контактные карточки и телефон

Попробуйте три запроса

Получить данные
  1. Вы указываетеPostid
  2. ПомощникЧтение
  3. Вы получаетеПоля ответа
Запрос в чат
Для задачи «Социальные сети / Публикации / Просмотр / Операция» выполни чтение по выбранной записи (postId). Выведи кратко: статус, результат.
Что искать в ответе
status
Статус
result
Результат
Задать параметры
  1. Вы указываетеPostid
  2. ПомощникСверка выбора
  3. Вы получаетеТочный объект
Запрос в чат
Покажи, как получить «Социальные сети / Публикации / Просмотр / Операция» на учебном примере с postId = DEMO-101. Объясни, какие ещё данные нужны и как будет выглядеть ответ.
Фрагмент учебных параметров
postId
DEMO-101
archived
true
Разобрать ответ
  1. Вы указываетеПолученный ответ
  2. ПомощникРазбор значений
  3. Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Социальные сети / Публикации / Просмотр / Операция» объясни статус, результат. Отметь отсутствующие значения.
Поля для проверки
status
Статус
result
Результат
Как работает действие

Это чтение. Выберите запись или задайте фильтры в доступной компании. Прочитайте актуальную версию записи перед подготовкой запроса.

Описание разработчика

Recover the saved archive/restore result after a lost response using exactly the original arguments. Checks current read/update permissions and existing company post; does not repeat, unlock or change any operation.

Параметры запроса
postId
Canonical company social_content document ID from social_posts_list. A provider post ID or URL cannot replace this ID. обязательно по схеме · string · до символов 160
expectedRevision
Версия, прочитанная перед изменением. обязательно по схеме · string
archived
True sets the native isArchived flag; false restores it in SABSUS. This is not provider deletion or publication. обязательно по схеме · boolean
requestId
Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string · до символов 128
Что вернёт команда
status
An existing atomic receipt, or no receipt at this check. not_recorded does not prove failure or authorize another request ID. обязательно по схеме · string · варианты committed, not_recorded
result
Historical committed result, or null when no completed receipt exists. обязательно по схеме · object / null
Поля и технические схемы
Входные поля и поля ответа social_posts_get_operation
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "postId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 160,
      "pattern": "^[A-Za-z0-9_~:@+.-]+$",
      "description": "Canonical company social_content document ID from social_posts_list. A provider post ID or URL cannot replace this ID."
    },
    "expectedRevision": {
      "type": "string",
      "pattern": "^fsv1:-?\\d{1,12}:\\d{1,9}$",
      "description": "Exact current Firestore revision from social_posts_get. Any concurrent native change causes a conflict."
    },
    "archived": {
      "type": "boolean",
      "description": "True sets the native isArchived flag; false restores it in SABSUS. This is not provider deletion or publication."
    },
    "requestId": {
      "type": "string",
      "minLength": 8,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_-]+$",
      "description": "Stable identifier for these exact arguments. After an uncertain response, check social_posts_get_operation with the original arguments."
    }
  },
  "required": [
    "postId",
    "expectedRevision",
    "archived",
    "requestId"
  ],
  "additionalProperties": false
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "enum": [
        "committed",
        "not_recorded"
      ],
      "description": "An existing atomic receipt, or no receipt at this check. not_recorded does not prove failure or authorize another request ID."
    },
    "result": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "postId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 160,
              "pattern": "^[A-Za-z0-9_~:@+.-]+$",
              "description": "Canonical company social_content document ID from social_posts_list. A provider post ID or URL cannot replace this ID."
            },
            "archived": {
              "type": "boolean",
              "description": "Native archive flag committed by the original operation. Read the post again to obtain its later current state."
            }
          },
          "required": [
            "postId",
            "archived"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ],
      "description": "Historical committed result, or null when no completed receipt exists."
    }
  },
  "required": [
    "status",
    "result"
  ],
  "additionalProperties": false
}