유저가 속해있는 그룹들 목록 읽어오기 [GET]
유저가 속해있는 그룹들 목록 읽어오기
GET
http://3.135.231.171/api/user/{user_id}/group
URI ParameterPermalink
Name | In | Required | Type | Description |
---|---|---|---|---|
user_id | path | true | Long | 유저의 id |
ResponsePermalink
Status code | Type | Description |
---|---|---|
200 OK | Iterable<Party> | 유저가 속해있는 그룹들 목록 |
예제Permalink
Sample RequestPermalink
GET
http://3.135.231.171/api/user/1/group
Sample ResponsePermalink
Status code: 200
[
{
"id": 2,
"name": "new group",
"interest":{
"id": 1,
"subject": "workout"
},
"goal": "목표",
"maximumNumberOfPeople": 10,
"recruit": true
},
{
"id": 4,
"name": "new group 2",
"interest":{
"id": 1,
"subject": "workout"
},
"goal": "목표",
"maximumNumberOfPeople": 10,
"recruit": true
}
]