curl --request PUT \
--url https://apix.us.amity.co/api/v3/network-settings/video-streaming \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"enabled": true,
"moderation": {
"enabled": true,
"categories": [
{
"category": "pornography",
"flagThreshold": 0.5,
"terminateThreshold": 0.5
}
]
}
}'
{
"enabled": true,
"moderation": {
"enabled": true,
"categories": [
{
"category": "pornography",
"flagThreshold": 0.5,
"terminateThreshold": 0.5
}
]
}
}
Update video streaming setting check configuration.
curl --request PUT \
--url https://apix.us.amity.co/api/v3/network-settings/video-streaming \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"enabled": true,
"moderation": {
"enabled": true,
"categories": [
{
"category": "pornography",
"flagThreshold": 0.5,
"terminateThreshold": 0.5
}
]
}
}'
{
"enabled": true,
"moderation": {
"enabled": true,
"categories": [
{
"category": "pornography",
"flagThreshold": 0.5,
"terminateThreshold": 0.5
}
]
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
information for a network setting
The body is of type object
.
Video Streaming setting check configuration
Response for video streaming setting