그룹으로 초대하기
REQUEST
POST /api/groups/invites HTTP/1.1
Content-Type: application/json;charset=UTF-8
Content-Length: 76
Host: localhost:8080
{
"recvUserId" : "43f28ebf-8921-477c-8089-dfa50d587697",
"groupId" : 1
}
Path | Type | Description |
---|---|---|
|
|
초대할 유저 아이디 |
|
|
그룹 아이디 |
RESPONSE
{
"success" : true,
"result" : {
"inviteId" : 1
}
}
Path | Type | Description |
---|---|---|
|
|
성공 여부 |
|
|
초대 아이디 |
초대받은 리스트 조회
REQUEST
GET /api/groups/invites HTTP/1.1
Content-Type: application/json;charset=UTF-8
Host: localhost:8080
RESPONSE
{
"success" : true,
"result" : [ {
"inviteId" : 1,
"nickName" : "유저1",
"groupName" : "첫번째 그룹"
} ]
}
Path | Type | Description |
---|---|---|
|
|
성공 여부 |
|
|
초대 아이디 |
|
|
초대한 사람의 닉네임 |
|
|
초대 그룹 이름 |
초대 상태 변경
REQUEST
PATCH /api/groups/invites/1/status HTTP/1.1
Content-Type: application/json;charset=UTF-8
Content-Length: 25
Host: localhost:8080
{
"status" : "ACCEPT"
}
Parameter | Description |
---|---|
|
초대 아이디 |
Path | Type | Description |
---|---|---|
|
|
|
RESPONSE
{
"success" : true,
"result" : true
}
Path | Type | Description |
---|---|---|
|
|
성공 여부 |
|
|
성공 여부 |