-
Notifications
You must be signed in to change notification settings - Fork 1
Description of end points
Nejra Zulic edited this page Mar 22, 2015
·
27 revisions
- /api/users
Description: New user creation.
Method: POST
Input parameters: firstname, lastname, email, username, password, password_confirmation. Username and email needs to be unique.
Output: Message "User created."
- /api/users/:id
Description: Update of user info except password.
Method: PUT
Input parameters: id, firstname, lastname, email, username. Username and email needs to be unique.
Output: Message "User successfully updated."
- /api/users/:id/change_password
Description: Change password.
Method: PUT
Input parameters: id, old_password, password, password_confirmation
Output: Message "Password successfully changed."
- /api/users/:id
Description: User can deactivate account. IS_ACTIVE field will be set on FALSE. Method: DELETE Input parameters: id Output: Message "You are deactivated."
- /api/projects/:project_id/members