Skip to main content

Reporting Service Events 0.1.0 documentation

Published Messages (autoModeration)

The service publishes one of these messages below.

hideContent

Contains fields from event and the following payload.

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

payload

NameTypeDescription
autoHideContentobject-
payload.autoHideContent
NameTypeDescription
namespacestring-
userIdstring-
contentIdstring-

Published Messages (report)

The service publishes one of these messages below.

userReport

Contains fields from event and the following payload.

Example value
{
"payload": {
"Category": "string",
"Comment": "string",
"CreatedAt": "2019-08-24T14:15:22Z",
"ExtensionCategory": "string",
"ID": "string",
"Namespace": "string",
"ObjectID": "string",
"ObjectType": "string",
"Reason": "string",
"ReporterID": "string",
"TicketID": "string",
"UpdatedAt": "2019-08-24T14:15:22Z",
"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"
}

payload

NameTypeDescription
Categorystring-
Commentstring-
CreatedAtstring (date-time)-
ExtensionCategorystring-
IDstring-
Namespacestring-
ObjectIDstring-
ObjectTypestring-
Reasonstring-
ReporterIDstring-
TicketIDstring-
UpdatedAtstring (date-time)-
UserIDstring-

adminReport

Contains fields from event and the following payload.

Example value
{
"payload": {
"Category": "string",
"Comment": "string",
"CreatedAt": "2019-08-24T14:15:22Z",
"ExtensionCategory": "string",
"ID": "string",
"Namespace": "string",
"ObjectID": "string",
"ObjectType": "string",
"Reason": "string",
"ReporterID": "string",
"TicketID": "string",
"UpdatedAt": "2019-08-24T14:15:22Z",
"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"
}

payload

NameTypeDescription
Categorystring-
Commentstring-
CreatedAtstring (date-time)-
ExtensionCategorystring-
IDstring-
Namespacestring-
ObjectIDstring-
ObjectTypestring-
Reasonstring-
ReporterIDstring-
TicketIDstring-
UpdatedAtstring (date-time)-
UserIDstring-

Schemas

event

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

reportContent

NameTypeDescription
Categorystring-
Commentstring-
CreatedAtstring (date-time)-
ExtensionCategorystring-
IDstring-
Namespacestring-
ObjectIDstring-
ObjectTypestring-
Reasonstring-
ReporterIDstring-
TicketIDstring-
UpdatedAtstring (date-time)-
UserIDstring-