Skip to main content

Lobby Notification Events 0.1.0 documentation

info

In this document, PUB means "publish" and SUB means "subscribe". This refers to the "publish/subscribe" (pub/sub) messaging framework, where "publish" means that the service sends data to Kafka topics, and "subscribe" means the service acts as a consumer that subscribes to specific Kafka topics to receive data.

Table of Contents

Operations

PUB notifications Operation

Accepts one of the following messages:

Message freeformNotificationSent

Payload
NameTypeDescriptionValueConstraintsNotes
(root)allOf---additional properties are allowed
payload----additional properties are allowed
payload.notificationobject---additional properties are allowed
payload.notification.senderIdstring----
payload.notification.namespacestring----
payload.notification.topicstring----
payload.notification.messagestring----
0 (allOf item)object---additional properties are allowed
idstring----
versioninteger----
namestring----
namespacestring----
parentNamespacestring----
timestampstring--format (date-time)-
clientIdstring----
userIdstringUserId of the operator for this event (optional)---
traceIdstring----
sessionIdstring----
spanContextstring----

Examples of payload (generated)

{
"payload": {
"notification": {
"senderId": "string",
"namespace": "string",
"topic": "string",
"message": "string"
}
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"clientId": "string",
"userId": "string",
"traceId": "string",
"sessionId": "string",
"spanContext": "string"
}

Message freeformNotificationSentToUser

Payload
NameTypeDescriptionValueConstraintsNotes
(root)allOf---additional properties are allowed
payload----additional properties are allowed
payload.notificationallOf---additional properties are allowed
payload.notification.targetUserIdstring----
payload.notification.0 (allOf item)object---additional properties are allowed
payload.notification.0.senderIdstring----
payload.notification.0.namespacestring----
payload.notification.0.topicstring----
payload.notification.0.messagestring----
0 (allOf item)object---additional properties are allowed
idstring----
versioninteger----
namestring----
namespacestring----
parentNamespacestring----
timestampstring--format (date-time)-
clientIdstring----
userIdstringUserId of the operator for this event (optional)---
traceIdstring----
sessionIdstring----
spanContextstring----

Examples of payload (generated)

{
"payload": {
"notification": {
"targetUserId": "string",
"senderId": "string",
"namespace": "string",
"topic": "string",
"message": "string"
}
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"clientId": "string",
"userId": "string",
"traceId": "string",
"sessionId": "string",
"spanContext": "string"
}

Message templatedNotificationCreated

Payload
NameTypeDescriptionValueConstraintsNotes
(root)allOf---additional properties are allowed
payload----additional properties are allowed
payload.notificationallOf---additional properties are allowed
payload.notification.templateContentstring----
payload.notification.0 (allOf item)object---additional properties are allowed
payload.notification.0.namespacestring----
payload.notification.0.templateSlugstring----
payload.notification.0.templateLanguagestring----
0 (allOf item)object---additional properties are allowed
idstring----
versioninteger----
namestring----
namespacestring----
parentNamespacestring----
timestampstring--format (date-time)-
clientIdstring----
userIdstringUserId of the operator for this event (optional)---
traceIdstring----
sessionIdstring----
spanContextstring----

Examples of payload (generated)

{
"payload": {
"notification": {
"templateContent": "string",
"namespace": "string",
"templateSlug": "string",
"templateLanguage": "string"
}
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"clientId": "string",
"userId": "string",
"traceId": "string",
"sessionId": "string",
"spanContext": "string"
}

Message templatedNotificationSent

Payload
NameTypeDescriptionValueConstraintsNotes
(root)allOf---additional properties are allowed
payload----additional properties are allowed
payload.notificationallOf---additional properties are allowed
payload.notification.topicstring----
payload.notification.templateContextobject---additional properties are allowed
payload.notification.0 (allOf item)object---additional properties are allowed
payload.notification.0.namespacestring----
payload.notification.0.templateSlugstring----
payload.notification.0.templateLanguagestring----
0 (allOf item)object---additional properties are allowed
idstring----
versioninteger----
namestring----
namespacestring----
parentNamespacestring----
timestampstring--format (date-time)-
clientIdstring----
userIdstringUserId of the operator for this event (optional)---
traceIdstring----
sessionIdstring----
spanContextstring----

Examples of payload (generated)

{
"payload": {
"notification": {
"topic": "string",
"templateContext": {},
"namespace": "string",
"templateSlug": "string",
"templateLanguage": "string"
}
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"clientId": "string",
"userId": "string",
"traceId": "string",
"sessionId": "string",
"spanContext": "string"
}

Message templatedNotificationSentToUser

Payload
NameTypeDescriptionValueConstraintsNotes
(root)allOf---additional properties are allowed
payload----additional properties are allowed
payload.notificationallOf---additional properties are allowed
payload.notification.topicstring----
payload.notification.templateContextobject---additional properties are allowed
payload.notification.0 (allOf item)object---additional properties are allowed
payload.notification.0.namespacestring----
payload.notification.0.templateSlugstring----
payload.notification.0.templateLanguagestring----
0 (allOf item)object---additional properties are allowed
idstring----
versioninteger----
namestring----
namespacestring----
parentNamespacestring----
timestampstring--format (date-time)-
clientIdstring----
userIdstringUserId of the operator for this event (optional)---
traceIdstring----
sessionIdstring----
spanContextstring----

Examples of payload (generated)

{
"payload": {
"notification": {
"topic": "string",
"templateContext": {},
"namespace": "string",
"templateSlug": "string",
"templateLanguage": "string"
}
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"clientId": "string",
"userId": "string",
"traceId": "string",
"sessionId": "string",
"spanContext": "string"
}

Message templatedNotificationDeleted

Payload
NameTypeDescriptionValueConstraintsNotes
(root)allOf---additional properties are allowed
payload----additional properties are allowed
payload.notificationobject---additional properties are allowed
payload.notification.templateSlugstring----
payload.notification.namespacestring----
0 (allOf item)object---additional properties are allowed
idstring----
versioninteger----
namestring----
namespacestring----
parentNamespacestring----
timestampstring--format (date-time)-
clientIdstring----
userIdstringUserId of the operator for this event (optional)---
traceIdstring----
sessionIdstring----
spanContextstring----

Examples of payload (generated)

{
"payload": {
"notification": {
"templateSlug": "string",
"namespace": "string"
}
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"clientId": "string",
"userId": "string",
"traceId": "string",
"sessionId": "string",
"spanContext": "string"
}

Message templatedNotificationLocalizationUpdated

Payload
NameTypeDescriptionValueConstraintsNotes
(root)allOf---additional properties are allowed
payload----additional properties are allowed
payload.notificationallOf---additional properties are allowed
payload.notification.templateContentstring----
payload.notification.0 (allOf item)object---additional properties are allowed
payload.notification.0.namespacestring----
payload.notification.0.templateSlugstring----
payload.notification.0.templateLanguagestring----
0 (allOf item)object---additional properties are allowed
idstring----
versioninteger----
namestring----
namespacestring----
parentNamespacestring----
timestampstring--format (date-time)-
clientIdstring----
userIdstringUserId of the operator for this event (optional)---
traceIdstring----
sessionIdstring----
spanContextstring----

Examples of payload (generated)

{
"payload": {
"notification": {
"templateContent": "string",
"namespace": "string",
"templateSlug": "string",
"templateLanguage": "string"
}
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"clientId": "string",
"userId": "string",
"traceId": "string",
"sessionId": "string",
"spanContext": "string"
}

Message templatedNotificationLocalizationDeleted

Payload
NameTypeDescriptionValueConstraintsNotes
(root)allOf---additional properties are allowed
payload----additional properties are allowed
payload.notificationobject---additional properties are allowed
payload.notification.namespacestring----
payload.notification.templateSlugstring----
payload.notification.templateLanguagestring----
0 (allOf item)object---additional properties are allowed
idstring----
versioninteger----
namestring----
namespacestring----
parentNamespacestring----
timestampstring--format (date-time)-
clientIdstring----
userIdstringUserId of the operator for this event (optional)---
traceIdstring----
sessionIdstring----
spanContextstring----

Examples of payload (generated)

{
"payload": {
"notification": {
"namespace": "string",
"templateSlug": "string",
"templateLanguage": "string"
}
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"clientId": "string",
"userId": "string",
"traceId": "string",
"sessionId": "string",
"spanContext": "string"
}

Message templatedNotificationLocalizationPublished

Payload
NameTypeDescriptionValueConstraintsNotes
(root)allOf---additional properties are allowed
payload----additional properties are allowed
payload.notificationobject---additional properties are allowed
payload.notification.namespacestring----
payload.notification.templateSlugstring----
payload.notification.templateLanguagestring----
0 (allOf item)object---additional properties are allowed
idstring----
versioninteger----
namestring----
namespacestring----
parentNamespacestring----
timestampstring--format (date-time)-
clientIdstring----
userIdstringUserId of the operator for this event (optional)---
traceIdstring----
sessionIdstring----
spanContextstring----

Examples of payload (generated)

{
"payload": {
"notification": {
"namespace": "string",
"templateSlug": "string",
"templateLanguage": "string"
}
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"clientId": "string",
"userId": "string",
"traceId": "string",
"sessionId": "string",
"spanContext": "string"
}

Message freeformNotificationSentToParty

Payload
NameTypeDescriptionValueConstraintsNotes
(root)allOf---additional properties are allowed
payload----additional properties are allowed
payload.notificationallOf---additional properties are allowed
payload.notification.partyIdstring----
payload.notification.0 (allOf item)object---additional properties are allowed
payload.notification.0.senderIdstring----
payload.notification.0.namespacestring----
payload.notification.0.topicstring----
payload.notification.0.messagestring----
0 (allOf item)object---additional properties are allowed
idstring----
versioninteger----
namestring----
namespacestring----
parentNamespacestring----
timestampstring--format (date-time)-
clientIdstring----
userIdstringUserId of the operator for this event (optional)---
traceIdstring----
sessionIdstring----
spanContextstring----

Examples of payload (generated)

{
"payload": {
"notification": {
"partyId": "string",
"senderId": "string",
"namespace": "string",
"topic": "string",
"message": "string"
}
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"clientId": "string",
"userId": "string",
"traceId": "string",
"sessionId": "string",
"spanContext": "string"
}

Message templatedNotificationSentToParty

Payload
NameTypeDescriptionValueConstraintsNotes
(root)allOf---additional properties are allowed
payload----additional properties are allowed
payload.notificationallOf---additional properties are allowed
payload.notification.topicstring----
payload.notification.templateContextobject---additional properties are allowed
payload.notification.partyIdstring----
payload.notification.0 (allOf item)object---additional properties are allowed
payload.notification.0.namespacestring----
payload.notification.0.templateSlugstring----
payload.notification.0.templateLanguagestring----
0 (allOf item)object---additional properties are allowed
idstring----
versioninteger----
namestring----
namespacestring----
parentNamespacestring----
timestampstring--format (date-time)-
clientIdstring----
userIdstringUserId of the operator for this event (optional)---
traceIdstring----
sessionIdstring----
spanContextstring----

Examples of payload (generated)

{
"payload": {
"notification": {
"topic": "string",
"templateContext": {},
"partyId": "string",
"namespace": "string",
"templateSlug": "string",
"templateLanguage": "string"
}
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"clientId": "string",
"userId": "string",
"traceId": "string",
"sessionId": "string",
"spanContext": "string"
}

PUB topics Operation

Accepts one of the following messages:

Message topicCreated

Payload
NameTypeDescriptionValueConstraintsNotes
(root)allOf---additional properties are allowed
payload----additional properties are allowed
payload.topicobject---additional properties are allowed
payload.topic.namespacestring----
payload.topic.descriptionstring----
payload.topic.topicstring----
0 (allOf item)object---additional properties are allowed
idstring----
versioninteger----
namestring----
namespacestring----
parentNamespacestring----
timestampstring--format (date-time)-
clientIdstring----
userIdstringUserId of the operator for this event (optional)---
traceIdstring----
sessionIdstring----
spanContextstring----

Examples of payload (generated)

{
"payload": {
"topic": {
"namespace": "string",
"description": "string",
"topic": "string"
}
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"clientId": "string",
"userId": "string",
"traceId": "string",
"sessionId": "string",
"spanContext": "string"
}

Message topicDeleted

Payload
NameTypeDescriptionValueConstraintsNotes
(root)allOf---additional properties are allowed
payload----additional properties are allowed
payload.topicobject---additional properties are allowed
payload.topic.namespacestring----
payload.topic.descriptionstring----
payload.topic.topicstring----
0 (allOf item)object---additional properties are allowed
idstring----
versioninteger----
namestring----
namespacestring----
parentNamespacestring----
timestampstring--format (date-time)-
clientIdstring----
userIdstringUserId of the operator for this event (optional)---
traceIdstring----
sessionIdstring----
spanContextstring----

Examples of payload (generated)

{
"payload": {
"topic": {
"namespace": "string",
"description": "string",
"topic": "string"
}
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"clientId": "string",
"userId": "string",
"traceId": "string",
"sessionId": "string",
"spanContext": "string"
}

Message topicModified

Payload
NameTypeDescriptionValueConstraintsNotes
(root)allOf---additional properties are allowed
payload----additional properties are allowed
payload.topicobject---additional properties are allowed
payload.topic.namespacestring----
payload.topic.descriptionstring----
payload.topic.topicstring----
0 (allOf item)object---additional properties are allowed
idstring----
versioninteger----
namestring----
namespacestring----
parentNamespacestring----
timestampstring--format (date-time)-
clientIdstring----
userIdstringUserId of the operator for this event (optional)---
traceIdstring----
sessionIdstring----
spanContextstring----

Examples of payload (generated)

{
"payload": {
"topic": {
"namespace": "string",
"description": "string",
"topic": "string"
}
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"clientId": "string",
"userId": "string",
"traceId": "string",
"sessionId": "string",
"spanContext": "string"
}