Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[API Doc] 팔로우하기 #38

Open
yeeeun0514 opened this issue Dec 2, 2023 · 0 comments
Open

[API Doc] 팔로우하기 #38

yeeeun0514 opened this issue Dec 2, 2023 · 0 comments
Assignees
Labels
API 설계 API 설계 및 명세화

Comments

@yeeeun0514
Copy link
Contributor

yeeeun0514 commented Dec 2, 2023

API

팔로우하기

myId가 consumerId를 팔로우 한다

Request

  • method: POST
  • path: /api/consumer/follow
  • header:
{
    "Content-Type": "application/json; charset=utf-8"
}
  • body:
{
    "consumerId": "consumer8",
    "myId": "consumer3",
    "isFollow": true
}

Response

  • http-status: 201 Created
{
    "success": true,
    "message": "성공했습니다",
    "result": {
        "followerUpdate": "UPDATED",
        "followingUpdate": "UPDATED"
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API 설계 API 설계 및 명세화
Projects
None yet
Development

No branches or pull requests

1 participant