User My List Groups

GET /user/my/groups

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • code string
    • message string
    • results object
      Hide results attribute Show results attribute object
      • data array[object]
        Hide data attributes Show data attributes object
        • JID string
        • OwnerJID string
        • Name string
        • NameSetAt string
        • NameSetBy string
        • GroupCreated string
        • ParticipantVersionID string
        • Participants array[object]
          Hide Participants attributes Show Participants attributes object
          • JID string
          • IsAdmin boolean
          • IsSuperAdmin boolean
          • Error number
  • 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/groups
curl \
 --request GET 'http://localhost:3000/user/my/groups' \
 --user "username:password"
Response examples (200)
{
  "code": "SUCCESS",
  "message": "Success get list groups",
  "results": {
    "data": [
      {
        "JID": "string",
        "OwnerJID": "string",
        "Name": "string",
        "NameSetAt": "string",
        "NameSetBy": "string",
        "GroupCreated": "string",
        "ParticipantVersionID": "string",
        "Participants": [
          {
            "JID": "string",
            "IsAdmin": true,
            "IsSuperAdmin": true,
            "Error": 42.0
          }
        ]
      }
    ]
  }
}
Response examples (500)
{
  "code": "INTERNAL_SERVER_ERROR",
  "message": "you are not loggin",
  "results": {}
}