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

[POST] 좋아요 별로예요 기록 #11

Open
1 of 2 tasks
epitone opened this issue Dec 22, 2020 · 0 comments
Open
1 of 2 tasks

[POST] 좋아요 별로예요 기록 #11

epitone opened this issue Dec 22, 2020 · 0 comments
Assignees
Labels

Comments

@epitone
Copy link
Contributor

epitone commented Dec 22, 2020

  • API 명세서 작성하기
  • 로직 구현

URL

POST /like

Request

POST

좋아요

// HEADER
{
	x-access-token: "asdfdsafdsaf"
}

// Body
{
	videoId: 1,
	isLike: true
}

별로에요

// HEADER
{
	x-access-token: "asdfdsafdsaf"
}

// Body
{
	videoId: 2,
	isLike: false
}

Response

{
	status : 200,
	msg : "Success"
}

Flow

  • user_id, video_id, is_like를 받음
  • LIKE_TB에 저장
@epitone epitone self-assigned this Dec 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant