POST api/Settings/SetAutoModeration
Activating the waiting room
Request Information
URI Parameters
None.
Body Parameters
Waiting room settings
AutoModerationName | 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": "7fb879c5-186b-4eea-a631-c295664326c2", "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": "7fb879c5-186b-4eea-a631-c295664326c2", "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
ObjResultOfBooleanName | 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 |