Skip to main content

Cloudsave Service Events 0.1.0 documentation

Published Messages (adminGameRecord)

The service publishes one of these messages below.

adminGameRecordCreated

Message is sent when the new Admin Game Record is created. Contains fields from event and the following payload.

Example value
{
"payload": {
"key": "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"
}

payload

NameTypeDescription
keystringrecord key
namespacestringnamespace of the record

adminGameRecordUpdated

Message is sent when the Admin Game Record is updated. Contains fields from event and the following payload.

Example value
{
"payload": {
"key": "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"
}

payload

NameTypeDescription
keystringrecord key
namespacestringnamespace of the record

adminGameRecordDeleted

Message is sent when the Admin Game Record is deleted. Contains fields from event and the following payload.

Example value
{
"payload": {
"key": "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"
}

payload

NameTypeDescription
keystringrecord key
namespacestringnamespace of the record

Published Messages (gameRecord)

The service publishes one of these messages below.

gameRecordCreated

Message is sent when the new Game Record is created. Contains fields from event and the following payload.

Example value
{
"payload": {
"setBy": "string",
"key": "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"
}

payload

NameTypeDescription
setBystring-

gameRecordUpdated

Message is sent when the Game Record is updated. Contains fields from event and the following payload.

Example value
{
"payload": {
"setBy": "string",
"key": "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"
}

payload

NameTypeDescription
setBystring-

gameRecordDeleted

Message is sent when the Game Record is deleted. Contains fields from event and the following payload.

Example value
{
"payload": {
"key": "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"
}

payload

NameTypeDescription
keystringrecord key
namespacestringnamespace of the record

Published Messages (adminPlayerRecord)

The service publishes one of these messages below.

adminPlayerRecordCreated

Message is sent when the Admin Player Record is created. Contains fields from event and the following payload.

Example value
{
"payload": {
"key": "string",
"namespace": "string",
"userId": "string",
"actorUserId": "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"
}

payload

NameTypeDescription
keystringrecord key
namespacestringnamespace of the record
userIdstringrecord user id
actorUserIdstringrequester user id

adminPlayerRecordUpdated

Message is sent when the Admin Player Record is updated. Contains fields from event and the following payload.

Example value
{
"payload": {
"key": "string",
"namespace": "string",
"userId": "string",
"actorUserId": "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"
}

payload

NameTypeDescription
keystringrecord key
namespacestringnamespace of the record
userIdstringrecord user id
actorUserIdstringrequester user id

adminPlayerRecordDeleted

Message is sent when the Admin Player Record is deleted. Contains fields from event and the following payload.

Example value
{
"payload": {
"key": "string",
"namespace": "string",
"userId": "string",
"actorUserId": "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"
}

payload

NameTypeDescription
keystringrecord key
namespacestringnamespace of the record
userIdstringrecord user id
actorUserIdstringrequester user id

Published Messages (playerRecord)

The service publishes one of these messages below.

playerRecordCreated

Message is sent when the Player Record is created. Contains fields from event and the following payload.

Example value
{
"payload": {
"key": "string",
"namespace": "string",
"userId": "string",
"actorUserId": "string",
"isPublic": true
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"clientId": "string",
"userId": "string",
"traceId": "string",
"sessionId": "string"
}

payload

NameTypeDescription
keystringrecord key
namespacestringnamespace of the record
userIdstringrecord user id
actorUserIdstringrequester user id
isPublicbooleantype of the player record

playerRecordUpdated

Message is sent when the Player Record is updated. Contains fields from event and the following payload.

Example value
{
"payload": {
"key": "string",
"namespace": "string",
"userId": "string",
"actorUserId": "string",
"isPublic": true
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"clientId": "string",
"userId": "string",
"traceId": "string",
"sessionId": "string"
}

payload

NameTypeDescription
keystringrecord key
namespacestringnamespace of the record
userIdstringrecord user id
actorUserIdstringrequester user id
isPublicbooleantype of the player record

playerRecordDeleted

Message is sent when the Player Record is deleted. Contains fields from event and the following payload.

Example value
{
"payload": {
"key": "string",
"namespace": "string",
"userId": "string",
"actorUserId": "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"
}

payload

NameTypeDescription
keystringrecord key
namespacestringnamespace of the record
userIdstringrecord user id
actorUserIdstringrequester user id

Schemas

recordPayload

NameTypeDescription
keystringrecord key
namespacestringnamespace of the record

event

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

adminPlayerRecordPayload

NameTypeDescription
keystringrecord key
namespacestringnamespace of the record
userIdstringrecord user id
actorUserIdstringrequester user id

playerRecordPayload

NameTypeDescription
keystringrecord key
namespacestringnamespace of the record
userIdstringrecord user id
actorUserIdstringrequester user id
isPublicbooleantype of the player record