-
Notifications
You must be signed in to change notification settings - Fork 4
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
Get user profile #19
Get user profile #19
Conversation
@anuveyatsu what issue does this relate to? Also what is the access restriction on this? And have you run it past @akariv ? |
Hmm... not sure what this is going to be used for. |
@akariv so probably we can expose some specific fields: username, userid, full name(?) and join_date. What do you think? |
What's the purpose @anuveyatsu <https://github.com/anuveyatsu>?
…On Thu, Aug 10, 2017 at 11:56 AM Anuar Ustayev ***@***.***> wrote:
@akariv <https://github.com/akariv> so probably we can expose some
specific fields: username, userid, full name(?) and join_date. What do you
think?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#19 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAQMdUwIBHyn0-ViLHWlSvU3k4FuRVaNks5sWsXKgaJpZM4OzFzw>
.
|
@akariv In the frontend, we want to show user profile information - |
Okay - so yes, let's select exactly the fields that we want to expose publicly and only these should be returned in the API. |
@akariv @rufuspollock so I will have these fields exposed:
Please, confirm. UPDATE: I suppose this is already minimal fields so I assume it is confirmed. |
API for getting user profile information:
/auth/get_profile?username=<username>
get_profile_by_username
in controllers