Heroic Labs · Schema
apiStorageObject
An object within the storage engine.
Game BackendMultiplayerReal-TimeWebSocketMatchmakingLeaderboardsSocial GamingOpen SourceLiveOpsgRPC
Properties
| Name | Type | Description |
|---|---|---|
| collection | string | The collection which stores the object. |
| key | string | The key of the object within the collection. |
| userId | string | The user owner of the object. |
| value | string | The value of the object. |
| version | string | The version hash of the object. |
| permissionRead | integer | The read access permissions for the object. |
| permissionWrite | integer | The write access permissions for the object. |
| createTime | string | The UNIX time (for gRPC clients) or ISO string (for REST clients) when the object was created. |
| updateTime | string | The UNIX time (for gRPC clients) or ISO string (for REST clients) when the object was last updated. |
JSON Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://api-evangelist.github.io/heroiclabs/json-schema/apiStorageObject.json",
"title": "apiStorageObject",
"type": "object",
"properties": {
"collection": {
"type": "string",
"description": "The collection which stores the object."
},
"key": {
"type": "string",
"description": "The key of the object within the collection."
},
"userId": {
"type": "string",
"description": "The user owner of the object."
},
"value": {
"type": "string",
"description": "The value of the object."
},
"version": {
"type": "string",
"description": "The version hash of the object."
},
"permissionRead": {
"type": "integer",
"format": "int32",
"description": "The read access permissions for the object."
},
"permissionWrite": {
"type": "integer",
"format": "int32",
"description": "The write access permissions for the object."
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "The UNIX time (for gRPC clients) or ISO string (for REST clients) when the object was created."
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "The UNIX time (for gRPC clients) or ISO string (for REST clients) when the object was last updated."
}
},
"description": "An object within the storage engine."
}