Session Worker Notification Events 0.1.0 documentation
Published Messages (mpv2SessionHistory)
The service publishes one of these messages below.
PartyRejectedEvent
Contains fields from event and the following payload.
Example value
{
"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"
}
payload
Name | Type | Description |
---|---|---|
userIds | array | - |
namespace | string | - |
topicName | string | - |
message | string | - |
PartyRejoinedEvent
Contains fields from event and the following payload.
Example value
{
"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"
}
payload
Name | Type | Description |
---|---|---|
userIds | array | - |
namespace | string | - |
topicName | string | - |
message | string | - |
PartyDroppedEvent
Contains fields from event and the following payload.
Example value
{
"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"
}
payload
Name | Type | Description |
---|---|---|
userIds | array | - |
namespace | string | - |
topicName | string | - |
message | string | - |
PartyDisconnectedEvent
Contains fields from event and the following payload.
Example value
{
"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"
}
payload
Name | Type | Description |
---|---|---|
userIds | array | - |
namespace | string | - |
topicName | string | - |
message | string | - |
Schemas
event
Name | Type | Description |
---|---|---|
id | string | - |
version | integer | - |
name | string | - |
namespace | string | - |
parentNamespace | string | - |
timestamp | string (date-time) | - |
userId | string | - |
traceId | string | - |
sessionId | string | - |
spanContext | string | - |
notificationPayload
Name | Type | Description |
---|---|---|
userIds | array | - |
namespace | string | - |
topicName | string | - |
message | string | - |