POST api/Settings/SetAutoModeration

Activating the waiting room

Request Information

URI Parameters

None.

Body Parameters

Waiting room settings

AutoModeration
NameDescriptionTypeAdditional 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": "1c10352d-c209-421a-8ca1-10aae560bbd5",
        "locked": true,
        "name": "sample string 5",
        "originName": "sample string 6",
        "readOnly": true,
        "dataType": "sample string 8"
      }
    },
    {
      "minimum": 1,
      "property": {
        "id": 1,
        "indexed": true,
        "guid": "1c10352d-c209-421a-8ca1-10aae560bbd5",
        "locked": true,
        "name": "sample string 5",
        "originName": "sample string 6",
        "readOnly": true,
        "dataType": "sample string 8"
      }
    }
  ],
  "requireAdminAproval": true
}

Response Information

Resource Description

Result containing the flag of successful operation

ObjResultOfBoolean
NameDescriptionTypeAdditional 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