-
Notifications
You must be signed in to change notification settings - Fork 1
Users API
Abdullah Almsaeed edited this page Mar 29, 2017
·
3 revisions
All responses are in JSON format and contain either data or error. Successful responses will return a data field containing the requested information.
Method | url | Description | params | Return |
---|---|---|---|---|
POST | /api/v1/users |
Registers users | UserRequest |
UserResponse |
POST | /api/v1/user |
Logs a user in |
username and password
|
UserResponse |
GET | /api/v1/user |
Get user information | api_token |
UserResponse |
PUT | /api/v1/user |
Update user information |
|
UserResponse |
PATCH | /api/v1/user/password |
Update user password |
|
String message |
name | description |
---|---|
UserRequest |
|
UserResponse |
|