Hi Team,
I attempted to update the network settings using the following API call:
PUT https://api.sg.amity.co/api/v3/network-settings/social
Payload:
{
"enabled": true,
"membershipAcceptance": "automatic",
"userPrivacySetting": "public",
"isFollowWithRequestEnabled": false,
"isAllowEditPostWhenReviewingEnabled": true,
"disallowNonMemberInteractInCommunity": false,
"globalFeed": {
"showOnlyMyFeed": false,
"showMyPost": true,
"showEveryonePost": false,
"showCommunityPost": true,
"showFollowingPost": true,
"maxGlobalPinnedPost": 1
},
"customPostRanking": {
"enabled": true,
"score": "(2 * commentsCount + reactionsCount + 1) * (10 * exp_decay(time_diff(createdAt), 0.5) + 1) * log_logistic_decay(time_diff(createdAt), 3, 2)",
"skipCustomPostRankingRedirect": false
},
"story": {
"allowAllUserToCreateStory": false,
"expiryTimeMinutes": 1440
},
"allowJoinPrivateCommunity": true
}
My aim was to change the customPostRanking.score parameter. Although I received a success status (200), the change does not seem to take effect.
Could you please assist in identifying what I might be missing or what additional steps are required?
Thank you for your help.
Best regards,