Session Worker 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.
- Specification ID:
http://session-service-worker
Table of Contents
Operations
PUB mpv2SessionHistory
Operation
Accepts one of the following messages:
Message PartyRejectedEvent
Payload
Name | Type | Description | Value | Constraints | Notes |
---|---|---|---|---|---|
(root) | object allOf | - | - | - | additional properties are allowed |
payload | object | - | - | - | additional properties are allowed |
payload.userIds | array<string> | - | - | - | - |
payload.userIds (single item) | string | - | - | - | - |
payload.namespace | string | - | - | - | - |
payload.topicName | string | - | - | - | - |
payload.message | string | - | - | - | - |
0 (allOf item) | object | - | - | - | additional properties are allowed |
id | string | - | - | - | - |
version | integer | - | - | - | - |
name | string | - | - | - | - |
namespace | string | - | - | - | - |
parentNamespace | string | - | - | - | - |
timestamp | string | - | - | format (date-time ) | - |
userId | string | - | - | - | - |
traceId | string | - | - | - | - |
sessionId | string | - | - | - | - |
spanContext | string | - | - | - | - |
Examples of payload (generated)
{
"payload": {
"userIds": [
"string"
],
"namespace": "string",
"topicName": "string",
"message": "string"
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"userId": "string",
"traceId": "string",
"sessionId": "string",
"spanContext": "string"
}
Message PartyRejoinedEvent
Payload
Name | Type | Description | Value | Constraints | Notes |
---|---|---|---|---|---|
(root) | object allOf | - | - | - | additional properties are allowed |
payload | object | - | - | - | additional properties are allowed |
payload.userIds | array<string> | - | - | - | - |
payload.userIds (single item) | string | - | - | - | - |
payload.namespace | string | - | - | - | - |
payload.topicName | string | - | - | - | - |
payload.message | string | - | - | - | - |
0 (allOf item) | object | - | - | - | additional properties are allowed |
id | string | - | - | - | - |
version | integer | - | - | - | - |
name | string | - | - | - | - |
namespace | string | - | - | - | - |
parentNamespace | string | - | - | - | - |
timestamp | string | - | - | format (date-time ) | - |
userId | string | - | - | - | - |
traceId | string | - | - | - | - |
sessionId | string | - | - | - | - |
spanContext | string | - | - | - | - |
Examples of payload (generated)
{
"payload": {
"userIds": [
"string"
],
"namespace": "string",
"topicName": "string",
"message": "string"
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"userId": "string",
"traceId": "string",
"sessionId": "string",
"spanContext": "string"
}
Message PartyDroppedEvent
Payload
Name | Type | Description | Value | Constraints | Notes |
---|---|---|---|---|---|
(root) | object allOf | - | - | - | additional properties are allowed |
payload | object | - | - | - | additional properties are allowed |
payload.userIds | array<string> | - | - | - | - |
payload.userIds (single item) | string | - | - | - | - |
payload.namespace | string | - | - | - | - |
payload.topicName | string | - | - | - | - |
payload.message | string | - | - | - | - |
0 (allOf item) | object | - | - | - | additional properties are allowed |
id | string | - | - | - | - |
version | integer | - | - | - | - |
name | string | - | - | - | - |
namespace | string | - | - | - | - |
parentNamespace | string | - | - | - | - |
timestamp | string | - | - | format (date-time ) | - |
userId | string | - | - | - | - |
traceId | string | - | - | - | - |
sessionId | string | - | - | - | - |
spanContext | string | - | - | - | - |
Examples of payload (generated)
{
"payload": {
"userIds": [
"string"
],
"namespace": "string",
"topicName": "string",
"message": "string"
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"userId": "string",
"traceId": "string",
"sessionId": "string",
"spanContext": "string"
}
Message PartyDisconnectedEvent
Payload
Name | Type | Description | Value | Constraints | Notes |
---|---|---|---|---|---|
(root) | object allOf | - | - | - | additional properties are allowed |
payload | object | - | - | - | additional properties are allowed |
payload.userIds | array<string> | - | - | - | - |
payload.userIds (single item) | string | - | - | - | - |
payload.namespace | string | - | - | - | - |
payload.topicName | string | - | - | - | - |
payload.message | string | - | - | - | - |
0 (allOf item) | object | - | - | - | additional properties are allowed |
id | string | - | - | - | - |
version | integer | - | - | - | - |
name | string | - | - | - | - |
namespace | string | - | - | - | - |
parentNamespace | string | - | - | - | - |
timestamp | string | - | - | format (date-time ) | - |
userId | string | - | - | - | - |
traceId | string | - | - | - | - |
sessionId | string | - | - | - | - |
spanContext | string | - | - | - | - |
Examples of payload (generated)
{
"payload": {
"userIds": [
"string"
],
"namespace": "string",
"topicName": "string",
"message": "string"
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"userId": "string",
"traceId": "string",
"sessionId": "string",
"spanContext": "string"
}