Reporting Service Events 0.1.0 documentation
- Protobuf File Spec: reporting.proto
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
Name | Type | Description |
---|---|---|
autoHideContent | object | - |
payload.autoHideContent
Name | Type | Description |
---|---|---|
namespace | string | - |
userId | string | - |
contentId | string | - |
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
Name | Type | Description |
---|---|---|
Category | string | - |
Comment | string | - |
CreatedAt | string (date-time) | - |
ExtensionCategory | string | - |
ID | string | - |
Namespace | string | - |
ObjectID | string | - |
ObjectType | string | - |
Reason | string | - |
ReporterID | string | - |
TicketID | string | - |
UpdatedAt | string (date-time) | - |
UserID | string | - |
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
Name | Type | Description |
---|---|---|
Category | string | - |
Comment | string | - |
CreatedAt | string (date-time) | - |
ExtensionCategory | string | - |
ID | string | - |
Namespace | string | - |
ObjectID | string | - |
ObjectType | string | - |
Reason | string | - |
ReporterID | string | - |
TicketID | string | - |
UpdatedAt | string (date-time) | - |
UserID | string | - |
Schemas
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 | - |
reportContent
Name | Type | Description |
---|---|---|
Category | string | - |
Comment | string | - |
CreatedAt | string (date-time) | - |
ExtensionCategory | string | - |
ID | string | - |
Namespace | string | - |
ObjectID | string | - |
ObjectType | string | - |
Reason | string | - |
ReporterID | string | - |
TicketID | string | - |
UpdatedAt | string (date-time) | - |
UserID | string | - |