algoristas / api

Algorists dashboard API
4 stars 1 forks source link

Create Users controller #7

Closed rendon closed 7 years ago

rendon commented 7 years ago

This controller will handle all requests to the Users resource.

Users can be identified either by ID or user name. User names are unique for they do not fully identify a user, the ID does.

URI: /users/{user_id|user_name}/...

Gansito144 commented 7 years ago

Will this user_id be the same across all different judges or how do you plan to handle that?

rendon commented 7 years ago

The user ID will be internal, the one we assign when they register in our platform. Each user will have a list of users names in other platforms, one for codeforces, one for COJ, etc.

Gansito144 commented 7 years ago

Will this be the general profile for each user?

rendon commented 7 years ago

Yes, eventually, for now though it will return only basic info.

rendon commented 7 years ago

Fixed with https://github.com/algoristas/api/pull/9