Skip to content

유저가 속한 모든 그룹 조회

Najeong-Kim edited this page Nov 4, 2021 · 4 revisions
METHOD URL
GET /user/groups

Response

[
    {
        "lastAccessTime": "2021-11-04T02:52:54.000Z",
        "group": {
            "id": 1,
            "name": "hello",
            "code": "MzczNTg3",
            "thumbnail": null | "URL",
            "meetingChannels": [
                {
                    "id": 2,
                    "createdAt": "2021-11-04T03:05:41.221Z",
                    "updatedAt": "2021-11-04T03:05:41.221Z",
                    "name": "미팅할사람"
                },
                {
                    "id": 1,
                    "createdAt": "2021-11-04T02:52:53.603Z",
                    "updatedAt": "2021-11-04T02:52:53.603Z",
                    "name": "default"
                }
            ],
            "textChannels": [
                {
                    "id": 2,
                    "createdAt": "2021-11-04T03:05:15.807Z",
                    "updatedAt": "2021-11-04T03:05:15.807Z",
                    "name": "채팅할사람"
                },
                {
                    "id": 1,
                    "createdAt": "2021-11-04T02:52:53.609Z",
                    "updatedAt": "2021-11-04T02:52:53.609Z",
                    "name": "default"
                }
            ]
        }
    },
    {
        "lastAccessTime": "2021-11-04T07:55:24.000Z",
        "group": {
            "id": 2,
            "name": "새거",
            "code": "NTIzODkx",
            "thumbnail": null | "URL",
            "meetingChannels": [
                {
                    "id": 5,
                    "createdAt": "2021-11-04T07:55:23.901Z",
                    "updatedAt": "2021-11-04T07:55:23.901Z",
                    "name": "default"
                }
            ],
            "textChannels": [
                {
                    "id": 3,
                    "createdAt": "2021-11-04T07:55:23.904Z",
                    "updatedAt": "2021-11-04T07:55:23.904Z",
                    "name": "default"
                }
            ]
        }
    }
]
Clone this wiki locally