SubscriptionAndNotifyStrategyForModify

更新时间:
复制 MD 格式

名称

类型

描述

示例值

object

聚合实体的写入载荷,用于 Create/Update。

  • Create:notifyStrategy 必填,subscription(单条主订阅)二选一与 subscriptions 互斥

  • Update:uuid + version 必填;只传哪个子字段就只更新哪个子实体;批量调整成员订阅时使用 subscriptions(SubscriptionOp 数组)

uuid

string

Update 必填,Create 可省略由后端生成

version

integer

Update 必填,与后端记录一致才能写入;不一致返回 OPTIMISTIC_LOCK_FAILED

name

string

可省略,后端会从 notifyStrategy 派生

description

string

enabled

boolean

notifyStrategy NotifyStrategyForSNSModify

subscription SubscriptionForSNSModify

subscriptions

array

Update 专用,对成员订阅做 create/update/remove 批量调整

SubscriptionOp

responsePlan IncidentResponsePlanForSNSModify