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

게시글 Like #6

Open
changmink opened this issue Jun 10, 2021 · 0 comments
Open

게시글 Like #6

changmink opened this issue Jun 10, 2021 · 0 comments
Assignees

Comments

@changmink
Copy link
Contributor

changmink commented Jun 10, 2021

  1. Method : PATCH
  2. Request Header
    1. 유저 정보 token
  3. Path : 게시글 ID / number {id}
  4. Request Body : X
  5. Response Body
    1. ( 좋아요 여부 ) like_post : Boolean / Required
  6. Response Code : 상단 참조
  7. URI : /post/{id}/like
  8. 기타 참고 사항
    1. 좋아요 눌러있는 상태에서 요청보낼 경우, unlike 상태가 되고, 좋아요 없는 상태에서 요청 보낼 경우, like 상태가 됨
    2. 내 경험치 +1
    3. 작성자 경험치 +1
    4. 공지/이벤트 글도 가능함
@changmink changmink self-assigned this Jun 10, 2021
enjay27 added a commit to enjay27/dev-in_API that referenced this issue Jun 11, 2021
This was referenced Jun 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant