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 #24

Open
hiroto0227 opened this issue Dec 4, 2018 · 4 comments
Open

複数のユーザー情報を返すAPI #24

hiroto0227 opened this issue Dec 4, 2018 · 4 comments

Comments

@hiroto0227
Copy link
Contributor

GET http://localhost:8080/users?ids=1,2,4
-> useridが1と2と4の情報(useridとavatar url)を複数返す
@hiroto0227
Copy link
Contributor Author

自分ととったことがある人たちの中から探す。
idを指定しない場合は自分ととったことがある人、全員分返ってくる。

@hiroto0227
Copy link
Contributor Author

写った写真の多さ順にsortされたほうが良い?

@hiroto0227
Copy link
Contributor Author

一緒に写った回数も表示される

@agatsssssma
Copy link
Contributor

agatsssssma commented Dec 21, 2018

一番上はできた

GET /users?userid=agatsuma,agatsuma,shotaro

[
    {
        "userid": "aga",
        "avatarurl": "aga.jpg"
    },
    {
        "userid": "agatsuma",
        "avatarurl": "agatsuma.jpg"
    },
    {
        "userid": "shotaro",
        "avatarurl": "shotaro.jpg"
    }
]

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