curl --request PUT \
--url https://apix.us.amity.co/api/v3/network-settings/social \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"userPrivacySetting": "public",
"isFollowWithRequestEnabled": false,
"isAllowEditPostWhenReviewingEnabled": true,
"showOnlyMyFeed": false,
"showMyPost": true,
"showEveryonePost": true,
"showCommunityPost": true,
"showFollowingPost": true,
"isAllowMentionedChannelEnabled": true,
"disallowNonMemberInteractInCommunity": true,
"storyExpiryTimeMinutes": 1440,
"allowAllUserToCreateStory": true,
"allowJoinPrivateCommunity": true,
"maxGlobalPinnedPost": 1
}
'{
"enabled": true,
"userPrivacySetting": "public",
"membershipAcceptance": "automatic",
"isFollowWithRequestEnabled": false,
"isAllowEditPostWhenReviewingEnabled": true,
"disallowNonMemberInteractInCommunity": true,
"allowJoinPrivateCommunity": false,
"globalFeed": {
"showOnlyMyFeed": false,
"showMyPost": true,
"showEveryonePost": true,
"showCommunityPost": true,
"showFollowingPost": true,
"maxGlobalPinnedPost": 123
},
"story": {
"expiryTimeMinutes": 720,
"allowAllUserToCreateStory": false
}
}Update social configuration.
curl --request PUT \
--url https://apix.us.amity.co/api/v3/network-settings/social \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"userPrivacySetting": "public",
"isFollowWithRequestEnabled": false,
"isAllowEditPostWhenReviewingEnabled": true,
"showOnlyMyFeed": false,
"showMyPost": true,
"showEveryonePost": true,
"showCommunityPost": true,
"showFollowingPost": true,
"isAllowMentionedChannelEnabled": true,
"disallowNonMemberInteractInCommunity": true,
"storyExpiryTimeMinutes": 1440,
"allowAllUserToCreateStory": true,
"allowJoinPrivateCommunity": true,
"maxGlobalPinnedPost": 1
}
'{
"enabled": true,
"userPrivacySetting": "public",
"membershipAcceptance": "automatic",
"isFollowWithRequestEnabled": false,
"isAllowEditPostWhenReviewingEnabled": true,
"disallowNonMemberInteractInCommunity": true,
"allowJoinPrivateCommunity": false,
"globalFeed": {
"showOnlyMyFeed": false,
"showMyPost": true,
"showEveryonePost": true,
"showCommunityPost": true,
"showFollowingPost": true,
"maxGlobalPinnedPost": 123
},
"story": {
"expiryTimeMinutes": 720,
"allowAllUserToCreateStory": false
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
information for a network setting
public, private 60 <= x <= 1440Allow all user to create story (default will allow only user that have permission to create story)
Controls whether users can join private communities directly or need to be added by moderators.
true - Allow users to join private communities by themselvesfalse - Users need to be added to join private communities⚠️ DEPRECATED NOTICE
Community moderators are now be able to respond whether to allow users to become members of private communities.
Maximum number of global pinned post (only super admin)
1 <= x <= 20Social configuration
public, private Controls how users can join the network
invitation, automatic Show child attributes
Show child attributes