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 .jsv suffix or ?format=jsv
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: text/jsv
Content-Type: text/jsv
Content-Length: length
{
SafeMode: False,
IsSpotlightFeatureEnabled: False
}
HTTP/1.1 200 OK Content-Type: text/jsv 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 }