User My Privacy Setting

GET /user/my/privacy

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • code string
    • message string
    • results object
      Hide results attributes Show results attributes object
      • group_add string
      • last_seen string
      • status string
      • profile string
      • read_receipts string
  • 500 application/json

    Internal Server Error

    Hide response attributes Show response attributes object
    • code string

      SYSTEM_CODE_ERROR

    • message string

      Detail error message

    • results object

      additional data

GET /user/my/privacy
curl \
 --request GET 'http://localhost:3000/user/my/privacy' \
 --user "username:password"
Response examples (200)
{
  "code": "SUCCESS",
  "message": "Success get privacy",
  "results": {
    "group_add": "all",
    "last_seen": "string",
    "status": "all",
    "profile": "all",
    "read_receipts": "all"
  }
}
Response examples (500)
{
  "code": "INTERNAL_SERVER_ERROR",
  "message": "you are not loggin",
  "results": {}
}