Statistic Events 0.1.0 documentation
In this document, PUB
means "publish" and SUB
means "subscribe". This refers to the "publish/subscribe" (pub/sub) messaging framework, where "publish" means that the service sends data to Kafka topics, and "subscribe" means the service acts as a consumer that subscribes to specific Kafka topics to receive data.
- Specification ID:
http://social-service
- Protobuf File Spec: statistic.proto
Table of Contents
Operations
PUB statManagement
Operation
Accepts one of the following messages:
Message statCreated
Payload
Name | Type | Description | Value | Constraints | Notes |
---|---|---|---|---|---|
(root) | object allOf | - | - | - | additional properties are allowed |
payload | object | - | - | - | additional properties are allowed |
payload.namespace | string | - | - | - | - |
payload.statCode | string | - | - | - | - |
payload.status | string | - | - | - | - |
payload.name | string | - | - | - | - |
payload.description | string | - | - | - | - |
payload.maximum | number | - | - | format (double ) | - |
payload.minimum | number | - | - | format (double ) | - |
payload.defaultValue | integer | - | - | - | - |
payload.incrementOnly | boolean | - | - | - | - |
payload.setAsGlobal | boolean | - | - | - | - |
payload.setBy | string | - | - | - | - |
payload.tags | object | - | - | - | - |
payload.tags (additional properties) | string | - | - | - | - |
payload.createdAt | string | - | - | format (date-time ) | - |
payload.updatedAt | string | - | - | format (date-time ) | - |
payload.ignoreAdditionalDataOnValueRejected | boolean | - | - | - | - |
0 (allOf item) | object | - | - | - | additional properties are allowed |
id | string | - | - | - | - |
version | integer | - | - | - | - |
name | string | - | - | - | - |
namespace | string | - | - | - | - |
parentNamespace | string | - | - | - | - |
timestamp | string | - | - | format (date-time ) | - |
clientId | string | - | - | - | - |
userId | string | as operator id | - | - | - |
sessionId | string | - | - | - | - |
Examples of payload (generated)
{
"payload": {
"namespace": "string",
"statCode": "string",
"status": "string",
"name": "string",
"description": "string",
"maximum": 0,
"minimum": 0,
"defaultValue": 0,
"incrementOnly": true,
"setAsGlobal": true,
"setBy": "string",
"tags": {
"property1": "string",
"property2": "string"
},
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"ignoreAdditionalDataOnValueRejected": true
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"clientId": "string",
"userId": "string",
"sessionId": "string"
}
Message statDeleted
Payload
Name | Type | Description | Value | Constraints | Notes |
---|---|---|---|---|---|
(root) | object allOf | - | - | - | additional properties are allowed |
payload | object | - | - | - | additional properties are allowed |
payload.namespace | string | - | - | - | - |
payload.statCode | string | - | - | - | - |
payload.status | string | - | - | - | - |
payload.name | string | - | - | - | - |
payload.description | string | - | - | - | - |
payload.maximum | number | - | - | format (double ) | - |
payload.minimum | number | - | - | format (double ) | - |
payload.defaultValue | integer | - | - | - | - |
payload.incrementOnly | boolean | - | - | - | - |
payload.setAsGlobal | boolean | - | - | - | - |
payload.setBy | string | - | - | - | - |
payload.tags | object | - | - | - | - |
payload.tags (additional properties) | string | - | - | - | - |
payload.createdAt | string | - | - | format (date-time ) | - |
payload.updatedAt | string | - | - | format (date-time ) | - |
payload.ignoreAdditionalDataOnValueRejected | boolean | - | - | - | - |
0 (allOf item) | object | - | - | - | additional properties are allowed |
id | string | - | - | - | - |
version | integer | - | - | - | - |
name | string | - | - | - | - |
namespace | string | - | - | - | - |
parentNamespace | string | - | - | - | - |
timestamp | string | - | - | format (date-time ) | - |
clientId | string | - | - | - | - |
userId | string | as operator id | - | - | - |
sessionId | string | - | - | - | - |
Examples of payload (generated)
{
"payload": {
"namespace": "string",
"statCode": "string",
"status": "string",
"name": "string",
"description": "string",
"maximum": 0,
"minimum": 0,
"defaultValue": 0,
"incrementOnly": true,
"setAsGlobal": true,
"setBy": "string",
"tags": {
"property1": "string",
"property2": "string"
},
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"ignoreAdditionalDataOnValueRejected": true
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"clientId": "string",
"userId": "string",
"sessionId": "string"
}
Message statUpdated
Payload
Name | Type | Description | Value | Constraints | Notes |
---|---|---|---|---|---|
(root) | object allOf | - | - | - | additional properties are allowed |
payload | object | - | - | - | additional properties are allowed |
payload.namespace | string | - | - | - | - |
payload.statCode | string | - | - | - | - |
payload.status | string | - | - | - | - |
payload.name | string | - | - | - | - |
payload.description | string | - | - | - | - |
payload.maximum | number | - | - | format (double ) | - |
payload.minimum | number | - | - | format (double ) | - |
payload.defaultValue | integer | - | - | - | - |
payload.incrementOnly | boolean | - | - | - | - |
payload.setAsGlobal | boolean | - | - | - | - |
payload.setBy | string | - | - | - | - |
payload.tags | object | - | - | - | - |
payload.tags (additional properties) | string | - | - | - | - |
payload.createdAt | string | - | - | format (date-time ) | - |
payload.updatedAt | string | - | - | format (date-time ) | - |
payload.ignoreAdditionalDataOnValueRejected | boolean | - | - | - | - |
0 (allOf item) | object | - | - | - | additional properties are allowed |
id | string | - | - | - | - |
version | integer | - | - | - | - |
name | string | - | - | - | - |
namespace | string | - | - | - | - |
parentNamespace | string | - | - | - | - |
timestamp | string | - | - | format (date-time ) | - |
clientId | string | - | - | - | - |
userId | string | as operator id | - | - | - |
sessionId | string | - | - | - | - |
Examples of payload (generated)
{
"payload": {
"namespace": "string",
"statCode": "string",
"status": "string",
"name": "string",
"description": "string",
"maximum": 0,
"minimum": 0,
"defaultValue": 0,
"incrementOnly": true,
"setAsGlobal": true,
"setBy": "string",
"tags": {
"property1": "string",
"property2": "string"
},
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"ignoreAdditionalDataOnValueRejected": true
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"clientId": "string",
"userId": "string",
"sessionId": "string"
}
Message statImported
Payload
Name | Type | Description | Value | Constraints | Notes |
---|---|---|---|---|---|
(root) | object allOf | - | - | - | additional properties are allowed |
payload | object | - | - | - | additional properties are allowed |
payload.namespace | string | - | - | - | - |
payload.replacedStatCodes | array<string> | - | - | - | - |
payload.replacedStatCodes (single item) | string | - | - | - | - |
payload.ignoredStatCodes | array<string> | - | - | - | - |
payload.ignoredStatCodes (single item) | string | - | - | - | - |
payload.newStatCodes | array<string> | - | - | - | - |
payload.newStatCodes (single item) | string | - | - | - | - |
payload.failedStatCodes | array<string> | - | - | - | - |
payload.failedStatCodes (single item) | string | - | - | - | - |
0 (allOf item) | object | - | - | - | additional properties are allowed |
id | string | - | - | - | - |
version | integer | - | - | - | - |
name | string | - | - | - | - |
namespace | string | - | - | - | - |
parentNamespace | string | - | - | - | - |
timestamp | string | - | - | format (date-time ) | - |
clientId | string | - | - | - | - |
userId | string | as operator id | - | - | - |
sessionId | string | - | - | - | - |
Examples of payload (generated)
{
"payload": {
"namespace": "string",
"replacedStatCodes": [
"string"
],
"ignoredStatCodes": [
"string"
],
"newStatCodes": [
"string"
],
"failedStatCodes": [
"string"
]
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"clientId": "string",
"userId": "string",
"sessionId": "string"
}
Message statExported
Payload
Name | Type | Description | Value | Constraints | Notes |
---|---|---|---|---|---|
(root) | object allOf | - | - | - | additional properties are allowed |
payload | object | - | - | - | additional properties are allowed |
payload.namespace | string | - | - | - | - |
payload.statCodes | array<string> | - | - | - | - |
payload.statCodes (single item) | string | - | - | - | - |
0 (allOf item) | object | - | - | - | additional properties are allowed |
id | string | - | - | - | - |
version | integer | - | - | - | - |
name | string | - | - | - | - |
namespace | string | - | - | - | - |
parentNamespace | string | - | - | - | - |
timestamp | string | - | - | format (date-time ) | - |
clientId | string | - | - | - | - |
userId | string | as operator id | - | - | - |
sessionId | string | - | - | - | - |
Examples of payload (generated)
{
"payload": {
"namespace": "string",
"statCodes": [
"string"
]
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"clientId": "string",
"userId": "string",
"sessionId": "string"
}
PUB statistic
Operation
Accepts one of the following messages:
Message statItemCreated
Payload
Name | Type | Description | Value | Constraints | Notes |
---|---|---|---|---|---|
(root) | object allOf | - | - | - | additional properties are allowed |
payload | object | - | - | - | additional properties are allowed |
payload.namespace | string | - | - | - | - |
payload.statCode | string | - | - | - | - |
payload.userId | string | - | - | - | - |
payload.latestValue | number | - | - | format (double ) | - |
payload.inc | number | - | - | format (double ) | - |
payload.additionalData | object | - | - | - | - |
payload.additionalData (additional properties) | object | - | - | - | additional properties are allowed |
payload.ignoreAdditionalDataOnValueRejected | boolean | - | - | - | - |
payload.defaultValue | number | - | - | format (double ) | - |
payload.requestValue | number | - | - | format (double ) | - |
payload.updateStrategy | string | - | - | - | - |
0 (allOf item) | object | - | - | - | additional properties are allowed |
id | string | - | - | - | - |
version | integer | - | - | - | - |
name | string | - | - | - | - |
namespace | string | - | - | - | - |
parentNamespace | string | - | - | - | - |
timestamp | string | - | - | format (date-time ) | - |
clientId | string | - | - | - | - |
userId | string | as operator id | - | - | - |
sessionId | string | - | - | - | - |
Examples of payload (generated)
{
"payload": {
"namespace": "string",
"statCode": "string",
"userId": "string",
"latestValue": 0,
"inc": 0,
"additionalData": {
"property1": {},
"property2": {}
},
"ignoreAdditionalDataOnValueRejected": true,
"defaultValue": 0,
"requestValue": 0,
"updateStrategy": "string"
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"clientId": "string",
"userId": "string",
"sessionId": "string"
}
Message statItemUpdated
Payload
Name | Type | Description | Value | Constraints | Notes |
---|---|---|---|---|---|
(root) | object allOf | - | - | - | additional properties are allowed |
payload | object | - | - | - | additional properties are allowed |
payload.namespace | string | - | - | - | - |
payload.statCode | string | - | - | - | - |
payload.userId | string | - | - | - | - |
payload.latestValue | number | - | - | format (double ) | - |
payload.inc | number | - | - | format (double ) | - |
payload.additionalData | object | - | - | - | - |
payload.additionalData (additional properties) | object | - | - | - | additional properties are allowed |
payload.ignoreAdditionalDataOnValueRejected | boolean | - | - | - | - |
payload.defaultValue | number | - | - | format (double ) | - |
payload.requestValue | number | - | - | format (double ) | - |
payload.updateStrategy | string | - | - | - | - |
0 (allOf item) | object | - | - | - | additional properties are allowed |
id | string | - | - | - | - |
version | integer | - | - | - | - |
name | string | - | - | - | - |
namespace | string | - | - | - | - |
parentNamespace | string | - | - | - | - |
timestamp | string | - | - | format (date-time ) | - |
clientId | string | - | - | - | - |
userId | string | as operator id | - | - | - |
sessionId | string | - | - | - | - |
Examples of payload (generated)
{
"payload": {
"namespace": "string",
"statCode": "string",
"userId": "string",
"latestValue": 0,
"inc": 0,
"additionalData": {
"property1": {},
"property2": {}
},
"ignoreAdditionalDataOnValueRejected": true,
"defaultValue": 0,
"requestValue": 0,
"updateStrategy": "string"
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"clientId": "string",
"userId": "string",
"sessionId": "string"
}
Message statItemDeleted
Payload
Name | Type | Description | Value | Constraints | Notes |
---|---|---|---|---|---|
(root) | object allOf | - | - | - | additional properties are allowed |
payload | object | - | - | - | additional properties are allowed |
payload.namespace | string | - | - | - | - |
payload.statCode | string | - | - | - | - |
payload.userId | string | - | - | - | - |
payload.latestValue | number | - | - | format (double ) | - |
payload.inc | number | - | - | format (double ) | - |
payload.additionalData | object | - | - | - | - |
payload.additionalData (additional properties) | object | - | - | - | additional properties are allowed |
payload.ignoreAdditionalDataOnValueRejected | boolean | - | - | - | - |
payload.defaultValue | number | - | - | format (double ) | - |
payload.requestValue | number | - | - | format (double ) | - |
payload.updateStrategy | string | - | - | - | - |
0 (allOf item) | object | - | - | - | additional properties are allowed |
id | string | - | - | - | - |
version | integer | - | - | - | - |
name | string | - | - | - | - |
namespace | string | - | - | - | - |
parentNamespace | string | - | - | - | - |
timestamp | string | - | - | format (date-time ) | - |
clientId | string | - | - | - | - |
userId | string | as operator id | - | - | - |
sessionId | string | - | - | - | - |
Examples of payload (generated)
{
"payload": {
"namespace": "string",
"statCode": "string",
"userId": "string",
"latestValue": 0,
"inc": 0,
"additionalData": {
"property1": {},
"property2": {}
},
"ignoreAdditionalDataOnValueRejected": true,
"defaultValue": 0,
"requestValue": 0,
"updateStrategy": "string"
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"clientId": "string",
"userId": "string",
"sessionId": "string"
}
Message globalStatItemUpdated
Payload
Name | Type | Description | Value | Constraints | Notes |
---|---|---|---|---|---|
(root) | object allOf | - | - | - | additional properties are allowed |
payload | object | - | - | - | additional properties are allowed |
payload.namespace | string | - | - | - | - |
payload.statCode | string | - | - | - | - |
payload.latestValue | number | - | - | format (double ) | - |
payload.inc | number | - | - | format (double ) | - |
0 (allOf item) | object | - | - | - | additional properties are allowed |
id | string | - | - | - | - |
version | integer | - | - | - | - |
name | string | - | - | - | - |
namespace | string | - | - | - | - |
parentNamespace | string | - | - | - | - |
timestamp | string | - | - | format (date-time ) | - |
clientId | string | - | - | - | - |
userId | string | as operator id | - | - | - |
sessionId | string | - | - | - | - |
Examples of payload (generated)
{
"payload": {
"namespace": "string",
"statCode": "string",
"latestValue": 0,
"inc": 0
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"clientId": "string",
"userId": "string",
"sessionId": "string"
}
PUB statCycleManagement
Operation
Accepts one of the following messages:
Message statCycleCreated
Payload
Name | Type | Description | Value | Constraints | Notes |
---|---|---|---|---|---|
(root) | object allOf | - | - | - | additional properties are allowed |
payload | object | - | - | - | additional properties are allowed |
payload.id | string | - | - | - | - |
payload.namespace | string | - | - | - | - |
payload.cycleType | string | - | - | - | - |
payload.resetTime | string | - | - | - | - |
payload.resetDay | integer | - | - | - | - |
payload.resetDate | integer | - | - | - | - |
payload.resetMonth | integer | - | - | - | - |
payload.seasonPeriod | integer | - | - | - | - |
payload.currentVersion | integer | - | - | - | - |
payload.status | string | - | - | - | - |
payload.nextReset | string | - | - | format (date-time ) | - |
payload.start | string | - | - | format (date-time ) | - |
payload.end | string | - | - | format (date-time ) | - |
payload.createdAt | string | - | - | format (date-time ) | - |
payload.updatedAt | string | - | - | format (date-time ) | - |
0 (allOf item) | object | - | - | - | additional properties are allowed |
id | string | - | - | - | - |
version | integer | - | - | - | - |
name | string | - | - | - | - |
namespace | string | - | - | - | - |
parentNamespace | string | - | - | - | - |
timestamp | string | - | - | format (date-time ) | - |
clientId | string | - | - | - | - |
userId | string | as operator id | - | - | - |
sessionId | string | - | - | - | - |
Examples of payload (generated)
{
"payload": {
"id": "string",
"namespace": "string",
"cycleType": "string",
"resetTime": "string",
"resetDay": 0,
"resetDate": 0,
"resetMonth": 0,
"seasonPeriod": 0,
"currentVersion": 0,
"status": "string",
"nextReset": "2019-08-24T14:15:22Z",
"start": "2019-08-24T14:15:22Z",
"end": "2019-08-24T14:15:22Z",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"clientId": "string",
"userId": "string",
"sessionId": "string"
}
Message statCycleUpdated
Payload
Name | Type | Description | Value | Constraints | Notes |
---|---|---|---|---|---|
(root) | object allOf | - | - | - | additional properties are allowed |
payload | object | - | - | - | additional properties are allowed |
payload.id | string | - | - | - | - |
payload.namespace | string | - | - | - | - |
payload.cycleType | string | - | - | - | - |
payload.resetTime | string | - | - | - | - |
payload.resetDay | integer | - | - | - | - |
payload.resetDate | integer | - | - | - | - |
payload.resetMonth | integer | - | - | - | - |
payload.seasonPeriod | integer | - | - | - | - |
payload.currentVersion | integer | - | - | - | - |
payload.status | string | - | - | - | - |
payload.nextReset | string | - | - | format (date-time ) | - |
payload.start | string | - | - | format (date-time ) | - |
payload.end | string | - | - | format (date-time ) | - |
payload.createdAt | string | - | - | format (date-time ) | - |
payload.updatedAt | string | - | - | format (date-time ) | - |
0 (allOf item) | object | - | - | - | additional properties are allowed |
id | string | - | - | - | - |
version | integer | - | - | - | - |
name | string | - | - | - | - |
namespace | string | - | - | - | - |
parentNamespace | string | - | - | - | - |
timestamp | string | - | - | format (date-time ) | - |
clientId | string | - | - | - | - |
userId | string | as operator id | - | - | - |
sessionId | string | - | - | - | - |
Examples of payload (generated)
{
"payload": {
"id": "string",
"namespace": "string",
"cycleType": "string",
"resetTime": "string",
"resetDay": 0,
"resetDate": 0,
"resetMonth": 0,
"seasonPeriod": 0,
"currentVersion": 0,
"status": "string",
"nextReset": "2019-08-24T14:15:22Z",
"start": "2019-08-24T14:15:22Z",
"end": "2019-08-24T14:15:22Z",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"clientId": "string",
"userId": "string",
"sessionId": "string"
}
Message statCycleReset
Payload
Name | Type | Description | Value | Constraints | Notes |
---|---|---|---|---|---|
(root) | object allOf | - | - | - | additional properties are allowed |
payload | object | - | - | - | additional properties are allowed |
payload.id | string | - | - | - | - |
payload.namespace | string | - | - | - | - |
payload.cycleType | string | - | - | - | - |
payload.resetTime | string | - | - | - | - |
payload.resetDay | integer | - | - | - | - |
payload.resetDate | integer | - | - | - | - |
payload.resetMonth | integer | - | - | - | - |
payload.seasonPeriod | integer | - | - | - | - |
payload.currentVersion | integer | - | - | - | - |
payload.status | string | - | - | - | - |
payload.nextReset | string | - | - | format (date-time ) | - |
payload.start | string | - | - | format (date-time ) | - |
payload.end | string | - | - | format (date-time ) | - |
payload.createdAt | string | - | - | format (date-time ) | - |
payload.updatedAt | string | - | - | format (date-time ) | - |
0 (allOf item) | object | - | - | - | additional properties are allowed |
id | string | - | - | - | - |
version | integer | - | - | - | - |
name | string | - | - | - | - |
namespace | string | - | - | - | - |
parentNamespace | string | - | - | - | - |
timestamp | string | - | - | format (date-time ) | - |
clientId | string | - | - | - | - |
userId | string | as operator id | - | - | - |
sessionId | string | - | - | - | - |
Examples of payload (generated)
{
"payload": {
"id": "string",
"namespace": "string",
"cycleType": "string",
"resetTime": "string",
"resetDay": 0,
"resetDate": 0,
"resetMonth": 0,
"seasonPeriod": 0,
"currentVersion": 0,
"status": "string",
"nextReset": "2019-08-24T14:15:22Z",
"start": "2019-08-24T14:15:22Z",
"end": "2019-08-24T14:15:22Z",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"clientId": "string",
"userId": "string",
"sessionId": "string"
}
Message statCycleDeleted
Payload
Name | Type | Description | Value | Constraints | Notes |
---|---|---|---|---|---|
(root) | object allOf | - | - | - | additional properties are allowed |
payload | object | - | - | - | additional properties are allowed |
payload.id | string | - | - | - | - |
payload.namespace | string | - | - | - | - |
payload.cycleType | string | - | - | - | - |
payload.resetTime | string | - | - | - | - |
payload.resetDay | integer | - | - | - | - |
payload.resetDate | integer | - | - | - | - |
payload.resetMonth | integer | - | - | - | - |
payload.seasonPeriod | integer | - | - | - | - |
payload.currentVersion | integer | - | - | - | - |
payload.status | string | - | - | - | - |
payload.nextReset | string | - | - | format (date-time ) | - |
payload.start | string | - | - | format (date-time ) | - |
payload.end | string | - | - | format (date-time ) | - |
payload.createdAt | string | - | - | format (date-time ) | - |
payload.updatedAt | string | - | - | format (date-time ) | - |
0 (allOf item) | object | - | - | - | additional properties are allowed |
id | string | - | - | - | - |
version | integer | - | - | - | - |
name | string | - | - | - | - |
namespace | string | - | - | - | - |
parentNamespace | string | - | - | - | - |
timestamp | string | - | - | format (date-time ) | - |
clientId | string | - | - | - | - |
userId | string | as operator id | - | - | - |
sessionId | string | - | - | - | - |
Examples of payload (generated)
{
"payload": {
"id": "string",
"namespace": "string",
"cycleType": "string",
"resetTime": "string",
"resetDay": 0,
"resetDate": 0,
"resetMonth": 0,
"seasonPeriod": 0,
"currentVersion": 0,
"status": "string",
"nextReset": "2019-08-24T14:15:22Z",
"start": "2019-08-24T14:15:22Z",
"end": "2019-08-24T14:15:22Z",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"clientId": "string",
"userId": "string",
"sessionId": "string"
}
PUB statisticCycle
Operation
Accepts one of the following messages:
Message statItemCycleCreated
Payload
Name | Type | Description | Value | Constraints | Notes |
---|---|---|---|---|---|
(root) | object allOf | - | - | - | additional properties are allowed |
payload | object | - | - | - | additional properties are allowed |
payload.namespace | string | - | - | - | - |
payload.cycleId | string | - | - | - | - |
payload.statCode | string | - | - | - | - |
payload.userId | string | - | - | - | - |
payload.updateStrategy | string | - | - | - | - |
payload.cycleVersion | integer | - | - | - | - |
payload.latestValue | number | - | - | format (double ) | - |
payload.updateValue | number | - | - | format (double ) | - |
0 (allOf item) | object | - | - | - | additional properties are allowed |
id | string | - | - | - | - |
version | integer | - | - | - | - |
name | string | - | - | - | - |
namespace | string | - | - | - | - |
parentNamespace | string | - | - | - | - |
timestamp | string | - | - | format (date-time ) | - |
clientId | string | - | - | - | - |
userId | string | as operator id | - | - | - |
sessionId | string | - | - | - | - |
Examples of payload (generated)
{
"payload": {
"namespace": "string",
"cycleId": "string",
"statCode": "string",
"userId": "string",
"updateStrategy": "string",
"cycleVersion": 0,
"latestValue": 0,
"updateValue": 0
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"clientId": "string",
"userId": "string",
"sessionId": "string"
}
Message statItemCycleUpdated
Payload
Name | Type | Description | Value | Constraints | Notes |
---|---|---|---|---|---|
(root) | object allOf | - | - | - | additional properties are allowed |
payload | object | - | - | - | additional properties are allowed |
payload.namespace | string | - | - | - | - |
payload.cycleId | string | - | - | - | - |
payload.statCode | string | - | - | - | - |
payload.userId | string | - | - | - | - |
payload.updateStrategy | string | - | - | - | - |
payload.cycleVersion | integer | - | - | - | - |
payload.latestValue | number | - | - | format (double ) | - |
payload.updateValue | number | - | - | format (double ) | - |
0 (allOf item) | object | - | - | - | additional properties are allowed |
id | string | - | - | - | - |
version | integer | - | - | - | - |
name | string | - | - | - | - |
namespace | string | - | - | - | - |
parentNamespace | string | - | - | - | - |
timestamp | string | - | - | format (date-time ) | - |
clientId | string | - | - | - | - |
userId | string | as operator id | - | - | - |
sessionId | string | - | - | - | - |
Examples of payload (generated)
{
"payload": {
"namespace": "string",
"cycleId": "string",
"statCode": "string",
"userId": "string",
"updateStrategy": "string",
"cycleVersion": 0,
"latestValue": 0,
"updateValue": 0
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"clientId": "string",
"userId": "string",
"sessionId": "string"
}