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"
    }
  ]
}
TypeConditionRequiredDefaultValue LimitsDescription
versionstring
2020-04-30Format version of master data
categoryModelsList<CategoryModel>~ 1000 itemsCategory 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.

TypeConditionRequiredDefaultValue LimitsDescription
categoryModelIdstring
✓*
~ 1024 charsCategory Model GRN
* Automatically configured on the server
categoryint
0 ~ 2147483645Category
rejectAccessTokenPostString Enum
enum {
  “Enabled”,
  “Disabled”
}
Reject posts using access tokens
Enumerator String DefinitionDescription
“Enabled”Enabled
“Disabled”Disabled