-
Notifications
You must be signed in to change notification settings - Fork 0
[POST] 친구 요청 수락, 거절
Gyunny edited this page Jun 10, 2021
·
9 revisions
메소드 | 경로 | 설명 |
---|---|---|
POST | /api/v2/friend/{friendId}/{alarmId}?accept=true | 친구 요청 수락, 거절 |
- accept: true 수락, false 거절
{
"Content-Type": "application/json",
"accessToken": "token"
}
{
"status": 201,
"message": "팔로우 응답 성공입니다.",
"data": true
}
- 수락했을 때
{
"status": 201,
"message": "팔로우 응답 성공입니다.",
"data": false
}
- 거절 했을 때
- 서버 에러
{
"message": "Server Error",
"status": 500,
"errors": [],
"code": "C004"
}