Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 8.2 KB

File metadata and controls

12 lines (9 loc) · 8.2 KB

CreateTopicSubscriptionsRequestDto

Fields

Field Type Required Description Example
subscriberIds List<String> : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

List of subscriber IDs to subscribe to the topic (max: 100). @deprecated Use the "subscriptions" property instead.
[
"subscriberId1",
"subscriberId2"
]
subscriptions List<CreateTopicSubscriptionsRequestDtoSubscription> List of subscriptions to subscribe to the topic (max: 100). Can be either a string array of subscriber IDs or an array of objects with identifier and subscriberId [
{
"identifier": "subscriber-123-subscription-a",
"subscriberId": "subscriber-123"
},
{
"identifier": "subscriber-456-subscription-b",
"subscriberId": "subscriber-456"
}
]
name Optional<String> The name of the topic My Topic
context Map<String, CreateTopicSubscriptionsRequestDtoContextUnion> N/A
preferences List<CreateTopicSubscriptionsRequestDtoPreference> The preferences of the topic. Can be a simple workflow ID string, workflow preference object, or group filter object [
{
"workflowId": "workflow-123",
"condition": {
"===": [
{
"var": "tier"
},
"premium"
]
}
}
]