PATCH | /User/Account/Settings/Client |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
SafeMode | query | bool? | No | |
IsSpotlightFeatureEnabled | query | bool? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
IsSpotlightFeaturedEnabled | form | bool | No | Determines if the user has the Spotlight popup enabled. |
SafeMode | form | bool | No | Determines if the user has SafeMode enabled. |
FileUploadLimit | form | int | No | The maximum file upload size supported. |
IsImageReplyEnabled | form | bool | No | If true allow reply with Gif or Image in all comments (and comment replies), as well as allow Gifs in Messenger. |
Grants | form | ClientGrants | No | Client features settings |
IsIgnoreConversationEnabled | form | bool | No | If true the ignore confersation feature is active. |
IsGiftingEnabled | form | bool | No | If true the Store Credit / Gifting feature is active. |
IsUserPhotoCommentsEnabled | form | bool | No | If true show the comment button on user photos. |
UserVideoSizeLimit | form | int | No | The maximum user video upload size supported (bytes). |
CommunityVideoSizeLimit | form | int | No | The maximum community video upload size supported (bytes). |
IsVideoMessageEnabled | form | bool | No | If true the Video messaging is active. |
MobileValidationNumber | form | string | No | Mobile number for manual validation. |
UserVideoUploadMaxRetries | form | int | No | The number of times to poll when merging a Video. |
UserVideoUploadPollInterval | form | int | No | The number milliseconds between polls when merging a Video. |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Prospects | form | ProspectGrants | No | |
Photo | form | PhotoGrants | No | |
Message | form | MessageGrants | No | |
Event | form | EventGrants | No | |
Group | form | GroupGrants | No | |
Profile | form | PofileGrants | No | |
Community | form | CommunityGrants | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
CanViewLikes | form | bool | No | |
CanViewMatches | form | bool | No | |
CanRemoveLike | form | bool | No | |
CanRemoveFav | form | bool | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
UploadRequired | form | bool | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
AUVisaRequired | form | bool | No | |
ShowReplyLimit | form | bool | No | |
CanMakeVideoCalls | form | bool | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
CanViewContacts | form | bool | No | |
CanCreateEvent | form | bool | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
CanManageGroups | form | bool | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
CanViewPhoneNumbers | form | bool | No | |
CanUseAnonymousBrowsing | form | bool | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ArticleCanComment | form | bool | No | |
EventCanComment | form | bool | No | |
StoryCanComment | form | bool | No | |
ForumCanComment | form | bool | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
PATCH /User/Account/Settings/Client HTTP/1.1
Host: tstsrvs.redhotpie.com.au
Accept: application/json
Content-Type: application/json
Content-Length: length
{"SafeMode":false,"IsSpotlightFeatureEnabled":false}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"IsSpotlightFeaturedEnabled":false,"SafeMode":false,"FileUploadLimit":0,"IsImageReplyEnabled":false,"Grants":{"Prospects":{"CanViewLikes":false,"CanViewMatches":false,"CanRemoveLike":false,"CanRemoveFav":false},"Photo":{"UploadRequired":false},"Message":{"AUVisaRequired":false,"ShowReplyLimit":false,"CanMakeVideoCalls":false},"Event":{"CanViewContacts":false,"CanCreateEvent":false},"Group":{"CanManageGroups":false},"Profile":{"CanViewPhoneNumbers":false,"CanUseAnonymousBrowsing":false},"Community":{"ArticleCanComment":false,"EventCanComment":false,"StoryCanComment":false,"ForumCanComment":false}},"IsIgnoreConversationEnabled":false,"IsGiftingEnabled":false,"IsUserPhotoCommentsEnabled":false,"UserVideoSizeLimit":0,"CommunityVideoSizeLimit":0,"IsVideoMessageEnabled":false,"MobileValidationNumber":"String","UserVideoUploadMaxRetries":0,"UserVideoUploadPollInterval":0}