Cloudsave Service Events 0.1.0 documentation
- Protobuf File Spec: cloudsave.proto
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
Name | Type | Description |
---|---|---|
key | string | record key |
namespace | string | namespace 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
Name | Type | Description |
---|---|---|
key | string | record key |
namespace | string | namespace 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
Name | Type | Description |
---|---|---|
key | string | record key |
namespace | string | namespace 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
Name | Type | Description |
---|---|---|
setBy | string | - |
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
Name | Type | Description |
---|---|---|
setBy | string | - |
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
Name | Type | Description |
---|---|---|
key | string | record key |
namespace | string | namespace 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
Name | Type | Description |
---|---|---|
key | string | record key |
namespace | string | namespace of the record |
userId | string | record user id |
actorUserId | string | requester 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
Name | Type | Description |
---|---|---|
key | string | record key |
namespace | string | namespace of the record |
userId | string | record user id |
actorUserId | string | requester 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
Name | Type | Description |
---|---|---|
key | string | record key |
namespace | string | namespace of the record |
userId | string | record user id |
actorUserId | string | requester 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
Name | Type | Description |
---|---|---|
key | string | record key |
namespace | string | namespace of the record |
userId | string | record user id |
actorUserId | string | requester user id |
isPublic | boolean | type 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
Name | Type | Description |
---|---|---|
key | string | record key |
namespace | string | namespace of the record |
userId | string | record user id |
actorUserId | string | requester user id |
isPublic | boolean | type 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
Name | Type | Description |
---|---|---|
key | string | record key |
namespace | string | namespace of the record |
userId | string | record user id |
actorUserId | string | requester user id |
Schemas
recordPayload
Name | Type | Description |
---|---|---|
key | string | record key |
namespace | string | namespace of the record |
event
Name | Type | Description |
---|---|---|
id | string | - |
version | integer | - |
name | string | - |
namespace | string | - |
parentNamespace | string | - |
timestamp | string (date-time) | - |
clientId | string | - |
userId | string | - |
traceId | string | - |
sessionId | string | - |
adminPlayerRecordPayload
Name | Type | Description |
---|---|---|
key | string | record key |
namespace | string | namespace of the record |
userId | string | record user id |
actorUserId | string | requester user id |
playerRecordPayload
Name | Type | Description |
---|---|---|
key | string | record key |
namespace | string | namespace of the record |
userId | string | record user id |
actorUserId | string | requester user id |
isPublic | boolean | type of the player record |