Navigation Menu

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

Add API get user by id #1075

Merged
merged 2 commits into from Oct 19, 2018
Merged

Add API get user by id #1075

merged 2 commits into from Oct 19, 2018

Conversation

ethan-nelson
Copy link
Contributor

This adds the ability to retrieve a user by id number instead of username. This mostly leverages functions already in the codebase. Note the API URL endpoint required a different path (/user-id/ instead of /user/) as usernames composed only of numbers would still be valid at the /user/ path.

@willemarcel
Copy link
Contributor

@ethan-nelson sorry for the delay. PR approved

@ethan-nelson ethan-nelson merged commit 2cfb0fc into hotosm:develop Oct 19, 2018
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

Successfully merging this pull request may close these issues.

None yet

2 participants