POST api/Settings/SetAutoModeration
Activating the waiting room
Request Information
URI Parameters
None.
Body Parameters
Waiting room settings
AutoModeration| Name | Description | Type | Additional information |
|---|---|---|---|
| IsEnabled |
Required metadata is enabled |
boolean |
None. |
| Items |
Required tags |
Collection of RequiredItem |
None. |
| RequireAdminAproval |
Manual moderation is enabled |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"isEnabled": true,
"items": [
{
"minimum": 1,
"property": {
"id": 1,
"indexed": true,
"guid": "2374185e-fe6e-4115-a5c4-bfbf089d9029",
"supportFts": true,
"locked": true,
"name": "sample string 6",
"originName": "sample string 7",
"readOnly": true,
"dataType": "sample string 9"
}
},
{
"minimum": 1,
"property": {
"id": 1,
"indexed": true,
"guid": "2374185e-fe6e-4115-a5c4-bfbf089d9029",
"supportFts": true,
"locked": true,
"name": "sample string 6",
"originName": "sample string 7",
"readOnly": true,
"dataType": "sample string 9"
}
}
],
"requireAdminAproval": true
}
Response Information
Resource Description
Result containing the flag of successful operation
ObjResultOfBoolean| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | boolean |
None. |
|
| Error |
Error description |
string |
None. |
| Success |
Flag of successful operation |
boolean |
None. |
| ErrorCode |
Error code |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"data": true,
"error": "sample string 2",
"success": true,
"errorCode": 4
}
Parameter Information
value
Waiting room settings
| Property | Description |
|---|---|
| IsEnabled (Boolean) |
Required metadata is enabled |
| Items (RequiredItem[]) |
Required tags |
| RequireAdminAproval (Boolean) |
Manual moderation is enabled |