Group Detail

입력한 pk의 MyGroup object에 대한 정보를 돌려줍니다.

URL
/group/<pk>/

Method
GET

Success response

HTTP Status code
200

Content

[
    {
        "pk": 1,
        "name": "Test Group",
        "profile_img": "http://localhost:8000/media/images/no_image.png",
        "owner": {
            "pk": 1,
            "email": "[email protected]",
            "nickname": "admin",
            "username": "",
            "profile_img": "http://localhost:8000/media/images/no_profile.png"
        },
        "group_type": "PUBLIC",
        "description": "description input test",
        "num_of_members": 2,
        "tags": [
            {
                "pk": 1,
                "name": "test1"
            },
            {
                "pk": 2,
                "name": "test2"
            },
            {
                "pk": 3,
                "name": "test3"
            }
        ]
    }
]

Error response

Group does not exist error

HTTP Status code
404

Content

{
    "detail": "찾을 수 없습니다."
}

results matching ""

    No results matching ""