メインコンテンツまでスキップ

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

NameTypeDescription
userIdsarray-
namespacestring-
topicNamestring-
messagestring-

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

NameTypeDescription
userIdsarray-
namespacestring-
topicNamestring-
messagestring-

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

NameTypeDescription
userIdsarray-
namespacestring-
topicNamestring-
messagestring-

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

NameTypeDescription
userIdsarray-
namespacestring-
topicNamestring-
messagestring-

Schemas

event

NameTypeDescription
idstring-
versioninteger-
namestring-
namespacestring-
parentNamespacestring-
timestampstring (date-time)-
userIdstring-
traceIdstring-
sessionIdstring-
spanContextstring-

notificationPayload

NameTypeDescription
userIdsarray-
namespacestring-
topicNamestring-
messagestring-