Group Detail
입력한 pk의 MyGroup object에 대한 정보를 돌려줍니다.
URL/group/<pk>/
MethodGET
Success response
HTTP Status code200
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 code404
Content
{
"detail": "찾을 수 없습니다."
}