Master Data Reference of GS2-Chat
Reference of the format of master data and various models to be imported
Master Data Format
{
"version": "2020-04-30",
"categoryModels": [
{
"category": "[int]Category",
"rejectAccessTokenPost": "[string enum?]Reject posts using access tokens"
}
]
}| Type | Condition | Required | Default | Value Limits | Description | |
|---|---|---|---|---|---|---|
| version | string | ✓ | 2020-04-30 | Format version of master data | ||
| categoryModels | List<CategoryModel> | ~ 1000 items | Category Model The category model is the setting for the categories to be posted in the room. |
Model
CategoryModel
Category Model
The category model is the setting for the categories to be posted in the room.
| Type | Condition | Required | Default | Value Limits | Description | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| categoryModelId | string | ✓* | ~ 1024 chars | Category Model GRN * Automatically configured on the server | ||||||||
| category | int | ✓ | 0 ~ 2147483645 | Category | ||||||||
| rejectAccessTokenPost | String Enum enum { “Enabled”, “Disabled” } | Reject posts using access tokens
|