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されているかどうか判定するapi #25

Open
physics-machinelearning opened this issue May 22, 2022 · 1 comment
Open
Assignees

Comments

@physics-machinelearning
Copy link

physics-machinelearning commented May 22, 2022

AWS ALB配下にliketionコンテナを配置した際に、そのユーザがいいね済かを判断するAPIが必要。
(クライアントサイドにはユーザーネームを知る術が無いため)

使用法

@badmintoncryer
Copy link
Owner

  • フロントではusernameが分からないので、APIとしては{contentId}のみパスパラメータとして渡す形になると思います。
  • 動詞を含めたAPIパスは不適切そうなんですが、どういう設計にしようか悩みどころです
    • root_path/contentId へのGETはイイね一覧取得としているため、別のパスを用意しないとだめですが、何にしようかという気持ちです。

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

2 participants