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

Users/Profile #7

Open
8 tasks
lmeireles opened this issue Jan 2, 2020 · 0 comments
Open
8 tasks

Users/Profile #7

lmeireles opened this issue Jan 2, 2020 · 0 comments
Assignees

Comments

@lmeireles
Copy link
Collaborator

lmeireles commented Jan 2, 2020

Types of User

  • User
  • Admin

Endpoints Users

  • GET /v1/users - List all users (Admin Only)
  • GET /v1/users/{:ID} - Get user by ID (Admin Only)
  • PUT /v1/users/{:ID} - Update user by ID (Admin Only)
  • DELETE /v1/users/{:ID} - Set User as inactive (Admin Only)

Endpoints Profile

  • GET /v1/profile - Get current user
  • POST /v1/profile - Create a new user
  • PUT /v1/profile - Update current user
  • DELETE /v1/profile - Set current user as inactive and invalidate token
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant