UGC Service Events 0.1.0 documentation
Published Messages (ugcContent)
The service publishes one of these messages below.
ugcContentUpdated
Contains fields from event and the following payload.
Example value
{
"payload": {
"ugcContent": {
"contentId": "string",
"namespace": "string",
"channel": "string",
"userId": "string",
"createdTime": "2019-08-24T14:15:22Z",
"isOfficial": true,
"updatedTime": "2019-08-24T14:15:22Z",
"tags": [
"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"
}
ugcContentDeleted
Contains fields from event and the following payload.
Example value
{
"payload": {
"ugcContentDelete": {
"namespace": "string",
"contentId": "string",
"userId": "string",
"deleteBy": "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"
}
Name | Type | Description |
---|
ugcContentDelete | object | - |
payload.ugcContentDelete
Name | Type | Description |
---|
namespace | string | - |
contentId | string | - |
userId | string | - |
deleteBy | string | - |
ugcContentHide
Contains fields from event and the following payload.
Example value
{
"payload": {
"ugcContentHide": {
"namespace": "string",
"contentId": "string",
"userId": "string",
"autoModeration": 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"
}
ugcContentUnHide
Contains fields from event and the following payload.
Example value
{
"payload": {
"ugcContentHide": {
"namespace": "string",
"contentId": "string",
"userId": "string",
"autoModeration": 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"
}
ugcContentCreated
Contains fields from event and the following payload.
Example value
{
"payload": {
"ugcContent": {
"contentId": "string",
"namespace": "string",
"channel": "string",
"userId": "string",
"createdTime": "2019-08-24T14:15:22Z",
"isOfficial": true,
"updatedTime": "2019-08-24T14:15:22Z",
"tags": [
"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"
}
ugcContentLiked
Contains fields from event and the following payload.
Example value
{
"payload": {
"ugcContentLike": {
"namespace": "string",
"userId": "string",
"creatorId": "string",
"contentId": "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"
}
ugcContentUnLiked
Contains fields from event and the following payload.
Example value
{
"payload": {
"ugcContentLike": {
"namespace": "string",
"userId": "string",
"creatorId": "string",
"contentId": "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"
}
The service publishes one of these messages below.
Contains fields from event and the following payload.
Example value
{
"payload": {
"ugcChannel": {
"namespace": "string",
"channelId": "string",
"userId": "string",
"channelName": "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"
}
Contains fields from event and the following payload.
Example value
{
"payload": {
"ugcChannel": {
"namespace": "string",
"channelId": "string",
"userId": "string",
"channelName": "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"
}
Contains fields from event and the following payload.
Example value
{
"payload": {
"ugcChannel": {
"namespace": "string",
"channelId": "string",
"userId": "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"
}
Name | Type | Description |
---|
ugcChannel | object | - |
Name | Type | Description |
---|
namespace | string | - |
channelId | string | - |
userId | string | - |
The service publishes one of these messages below.
Contains fields from event and the following payload.
Example value
{
"payload": {
"ugcCreator": {
"namespace": "string",
"userId": "string",
"creatorId": "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"
}
Contains fields from event and the following payload.
Example value
{
"payload": {
"ugcCreator": {
"namespace": "string",
"userId": "string",
"creatorId": "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"
}
Contains fields from event and the following payload.
Example value
{
"payload": {
"ugcCreator": {
"namespace": "string",
"userId": "string",
"creatorId": "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"
}
Contains fields from event and the following payload.
Example value
{
"payload": {
"ugcCreator": {
"namespace": "string",
"userId": "string",
"creatorId": "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"
}
Contains fields from event and the following payload.
Example value
{
"payload": {
"ugcCreatorBan": {
"namespace": "string",
"userId": "string",
"reason": "string",
"type": "string",
"enable": true,
"endDate": "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",
"traceId": "string",
"sessionId": "string"
}
Contains fields from event and the following payload.
Example value
{
"payload": {
"ugcCreatorBan": {
"namespace": "string",
"userId": "string",
"reason": "string",
"type": "string",
"enable": true,
"endDate": "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",
"traceId": "string",
"sessionId": "string"
}
Published Messages (ugcContentGroup)
The service publishes one of these messages below.
ugcContentGroupCreated
Contains fields from event and the following payload.
Example value
{
"payload": {
"ugcContentGroup": {
"namespace": "string",
"groupId": "string",
"name": "string",
"userId": "string",
"contents": [
"string"
],
"createdTime": "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",
"traceId": "string",
"sessionId": "string"
}
ugcContentGroupUpdated
Contains fields from event and the following payload.
Example value
{
"payload": {
"ugcContentGroup": {
"namespace": "string",
"groupId": "string",
"name": "string",
"userId": "string",
"contents": [
"string"
],
"createdTime": "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",
"traceId": "string",
"sessionId": "string"
}
ugcContentGroupDeleted
Contains fields from event and the following payload.
Example value
{
"payload": {
"ugcContentGroup": {
"namespace": "string",
"groupId": "string",
"name": "string",
"userId": "string",
"contents": [
"string"
],
"createdTime": "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",
"traceId": "string",
"sessionId": "string"
}
ugcContent
Name | Type | Description |
---|
contentId | string | - |
namespace | string | - |
channel | string | - |
userId | string | - |
createdTime | string (date-time) | - |
isOfficial | boolean | - |
updatedTime | string (date-time) | - |
tags | array | - |
ugcContentHide
Name | Type | Description |
---|
namespace | string | - |
contentId | string | - |
userId | string | - |
autoModeration | boolean | - |
ugcContentLike
Name | Type | Description |
---|
namespace | string | - |
userId | string | - |
creatorId | string | - |
contentId | string | - |
Name | Type | Description |
---|
namespace | string | - |
channelId | string | - |
userId | string | - |
channelName | string | - |
Name | Type | Description |
---|
namespace | string | - |
userId | string | - |
creatorId | string | - |
Name | Type | Description |
---|
namespace | string | - |
userId | string | - |
reason | string | - |
type | string | - |
enable | boolean | - |
endDate | string (date-time) | - |
ugcContentGroup
Name | Type | Description |
---|
namespace | string | - |
groupId | string | - |
name | string | - |
userId | string | - |
contents | array | - |
createdTime | string (date-time) | - |
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 | - |