curl --request PUT \
--url https://apix.us.amity.co/api/v3/network-settings/feed-setting \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"post": {
"video": {
"allowed": true,
"transcodeConfig": {
"maxResolution": "1080p",
"minResolution": "1080p"
},
"maxDurationSeconds": 3600.5
}
},
"message": {
"video": {
"allowed": true,
"transcodeConfig": {
"maxResolution": "1080p",
"minResolution": "1080p"
},
"maxDurationSeconds": 300.5
}
},
"story": {
"video": {
"allowed": true,
"transcodeConfig": {
"maxResolution": "1080p",
"minResolution": "1080p"
},
"maxDurationSeconds": 45.5
}
}
}'
{
"feedSettings": [
{
"feedType": "<string>",
"contentSettings": [
{
"contentType": "<string>",
"allowed": true,
"maxDurationSeconds": 123,
"transcodeConfig": {
"maxResolution": "<string>",
"minResolution": "<string>"
}
}
]
}
]
}
Update feed setting check configuration.
curl --request PUT \
--url https://apix.us.amity.co/api/v3/network-settings/feed-setting \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"post": {
"video": {
"allowed": true,
"transcodeConfig": {
"maxResolution": "1080p",
"minResolution": "1080p"
},
"maxDurationSeconds": 3600.5
}
},
"message": {
"video": {
"allowed": true,
"transcodeConfig": {
"maxResolution": "1080p",
"minResolution": "1080p"
},
"maxDurationSeconds": 300.5
}
},
"story": {
"video": {
"allowed": true,
"transcodeConfig": {
"maxResolution": "1080p",
"minResolution": "1080p"
},
"maxDurationSeconds": 45.5
}
}
}'
{
"feedSettings": [
{
"feedType": "<string>",
"contentSettings": [
{
"contentType": "<string>",
"allowed": true,
"maxDurationSeconds": 123,
"transcodeConfig": {
"maxResolution": "<string>",
"minResolution": "<string>"
}
}
]
}
]
}
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
.
Feed setting check configuration
The content