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
The body is of type object
.
Social configuration
The response is of type object
.