Skip to content

Update Setting

  • Endpoint Path: /api/fresns/v1/user/setting
  • Method: PATCH
  • Request: application/json

Headers Optional Parameter

KeyPublic Mode (Required)Private Mode (Required)
X-Fresns-Aidrequiredrequired
X-Fresns-Aid-Tokenrequiredrequired
X-Fresns-Uidrequiredrequired
X-Fresns-Uid-Tokenrequiredrequired

Body Params

KeyTypeRequiredDescription
conversationPolicyNumberoptionalConversation setting
commentPolicyNumberoptionalComment setting
deviceTokenStringoptionaliOS or Android device Token

Request Description

  • conversationPolicy and commentPolicy
    • 1 Everyone
    • 2 People you follow
    • 3 People you follow or verified
    • 4 No one is allowed

Return

json
{
    "code": 0,
    "message": "ok",
    "data": null
}

Released under the Apache-2.0 License