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] 좋아요 업데이트 #40

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

[API Doc] 좋아요 업데이트 #40

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

Comments

@yeeeun0514
Copy link
Contributor

API

좋아요 업데이트

isPlus
true -> 좋아요하기
false -> 좋아요 취소

Request

  • method: POST
  • path: /api/magazine/like
  • header:
{
    "Content-Type": "application/json; charset=utf-8"
}
  • body:
{
    "magazineId": "magazine_haqjvllckd",
    "consumerId": "consumer1",
    "isPlus": true
}

Response

  • http-status: 201 Created
{
    "success": true,
    "message": "성공했습니다",
    "result": {
        "likeCountUpdate": "UPDATED",
        "likeListUpdate": "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