addedInput schema / $defs
Added value: +{
+ "SegmentSubscriptionInput": {
+ "description": "Input for segment creation. Use `subscriptions` or `emails` to create a manual segment from explicit lists, or `custom_fields` to create a dynamic segment filtered by custom field values.",
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "subscriptions": {
+ "items": {
+ "description": "The prefixed ID of the subscription.",
+ "pattern": "^(sub_[0-9a-fA-F\\-]+)$",
+ "title": "SubscriptionId",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "type": {
+ "description": "Discriminator value: subscriptions",
+ "enum": [
+ "subscriptions"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "subscriptions"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "emails": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "type": {
+ "description": "Discriminator value: emails",
+ "enum": [
+ "emails"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "emails"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "custom_fields": {
+ "items": {
+ "additionalProperties": false,
+ "description": "A single custom field filter condition.",
+ "properties": {
+ "name": {
+ "description": "The display name of the custom field (case-insensitive match). Must be an existing custom field on the publication.",
+ "type": "string"
+ },
+ "operator": {
+ "description": "The comparison operator for the filter (e.g., `equal`, `not_equal`, `contains`, `exists`, `does_not_exist`). Available operators depend on the custom field's type.",
+ "type": "string"
+ },
+ "value": {
+ "description": "The value to compare against. Required for all operators except `exists` and `does_not_exist`.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "operator"
+ ],
+ "title": "CustomFieldFilter",
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "operator": {
+ "description": "The logical operator used to combine multiple custom field filters. Defaults to `and` if not specified.",
+ "enum": [
+ "and",
+ "or"
+ ],
+ "title": "CustomFieldsLogicalOperator",
+ "type": "string"
+ },
+ "type": {
+ "description": "Discriminator value: custom_fields",
+ "enum": [
+ "custom_fields"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "custom_fields"
+ ],
+ "type": "object"
+ }
+ ],
+ "title": "SegmentSubscriptionInput"
+ }
+}
changedInput schema / properties / confirm / description
Previous value: -"Must be true for every account mutation. Confirms only the user-requested action."New value: +"Set true only when the user asked for exactly this action."
addedInput schema / properties / input / $ref
Added value: +"#/$defs/SegmentSubscriptionInput"
removedInput schema / properties / input / description
Removed value: -"Input for segment creation. Use `subscriptions` or `emails` to create a manual segment from explicit lists, or `custom_fields` to create a dynamic segment filtered by custom field values."
removedInput schema / properties / input / oneOf
Removed value: -[
- {
- "additionalProperties": false,
- "properties": {
- "subscriptions": {
- "items": {
- "description": "The prefixed ID of the subscription.",
- "pattern": "^(sub_[0-9a-fA-F\\-]+)$",
- "title": "SubscriptionId",
- "type": "string"
- },
- "type": "array"
- },
- "type": {
- "description": "Discriminator value: subscriptions",
- "enum": [
- "subscriptions"
- ],
- "type": "string"
- }
- },
- "required": [
- "type",
- "subscriptions"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "emails": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "type": {
- "description": "Discriminator value: emails",
- "enum": [
- "emails"
- ],
- "type": "string"
- }
- },
- "required": [
- "type",
- "emails"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "custom_fields": {
- "items": {
- "additionalProperties": false,
- "description": "A single custom field filter condition.",
- "properties": {
- "name": {
- "description": "The display name of the custom field (case-insensitive match). Must be an existing custom field on the publication.",
- "type": "string"
- },
- "operator": {
- "description": "The comparison operator for the filter (e.g., `equal`, `not_equal`, `contains`, `exists`, `does_not_exist`). Available operators depend on the custom field's type.",
- "type": "string"
- },
- "value": {
- "description": "The value to compare against. Required for all operators except `exists` and `does_not_exist`.",
- "type": "string"
- }
- },
- "required": [
- "name",
- "operator"
- ],
- "title": "CustomFieldFilter",
- "type": "object"
- },
- "type": "array"
- },
- "operator": {
- "description": "The logical operator used to combine multiple custom field filters. Defaults to `and` if not specified.",
- "enum": [
- "and",
- "or"
- ],
- "title": "CustomFieldsLogicalOperator",
- "type": "string"
- },
- "type": {
- "description": "Discriminator value: custom_fields",
- "enum": [
- "custom_fields"
- ],
- "type": "string"
- }
- },
- "required": [
- "type",
- "custom_fields"
- ],
- "type": "object"
- }
-]
removedInput schema / properties / input / title
Removed value: -"SegmentSubscriptionInput"
addedInput schema / properties / payload / properties / input / $ref
Added value: +"#/$defs/SegmentSubscriptionInput"
removedInput schema / properties / payload / properties / input / description
Removed value: -"Input for segment creation. Use `subscriptions` or `emails` to create a manual segment from explicit lists, or `custom_fields` to create a dynamic segment filtered by custom field values."
removedInput schema / properties / payload / properties / input / oneOf
Removed value: -[
- {
- "additionalProperties": false,
- "properties": {
- "subscriptions": {
- "items": {
- "description": "The prefixed ID of the subscription.",
- "pattern": "^(sub_[0-9a-fA-F\\-]+)$",
- "title": "SubscriptionId",
- "type": "string"
- },
- "type": "array"
- },
- "type": {
- "description": "Discriminator value: subscriptions",
- "enum": [
- "subscriptions"
- ],
- "type": "string"
- }
- },
- "required": [
- "type",
- "subscriptions"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "emails": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "type": {
- "description": "Discriminator value: emails",
- "enum": [
- "emails"
- ],
- "type": "string"
- }
- },
- "required": [
- "type",
- "emails"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "custom_fields": {
- "items": {
- "additionalProperties": false,
- "description": "A single custom field filter condition.",
- "properties": {
- "name": {
- "description": "The display name of the custom field (case-insensitive match). Must be an existing custom field on the publication.",
- "type": "string"
- },
- "operator": {
- "description": "The comparison operator for the filter (e.g., `equal`, `not_equal`, `contains`, `exists`, `does_not_exist`). Available operators depend on the custom field's type.",
- "type": "string"
- },
- "value": {
- "description": "The value to compare against. Required for all operators except `exists` and `does_not_exist`.",
- "type": "string"
- }
- },
- "required": [
- "name",
- "operator"
- ],
- "title": "CustomFieldFilter",
- "type": "object"
- },
- "type": "array"
- },
- "operator": {
- "description": "The logical operator used to combine multiple custom field filters. Defaults to `and` if not specified.",
- "enum": [
- "and",
- "or"
- ],
- "title": "CustomFieldsLogicalOperator",
- "type": "string"
- },
- "type": {
- "description": "Discriminator value: custom_fields",
- "enum": [
- "custom_fields"
- ],
- "type": "string"
- }
- },
- "required": [
- "type",
- "custom_fields"
- ],
- "type": "object"
- }
-]
removedInput schema / properties / payload / properties / input / title
Removed value: -"SegmentSubscriptionInput"