user
Table of Contents
User
REST Operations
GET
| URI | Parameter | Accept Types | Result | Status Codes |
|---|---|---|---|---|
| /user | optional parameter “delimiter” for text/csv only, default value: “,” | text/html | List of all users. | 200 - OK |
| application/json | 500 - Internal Server Error | |||
| text/plain | ||||
| text/csv | ||||
| /user/<id> | optional parameter “delimiter” for text/csv only, default value: “,” | The user identified by the URI. | 200 - OK | |
| application/json | 401 - Unauthorized | |||
| text/plain | 404 - Not Found | |||
| text/csv | 500 - Internal Server Error |
POST
| URI | Parameter | Accept Types | Result | Status Codes |
|---|---|---|---|---|
| /user | username, email, password | Register a new User. The redirect points to the URI of the new User. | 303 - See Other | |
| 500 - Internal Server Error | ||||
| /user/<id> | pw - password | Modify the user identified by the URI. | 200 - OK | |
| pw2 - repeat password | 401 - Unauthorized | |||
| setPublic | ||||
| setPrivate | 404 - Not Found | |||
| hiddenMethod = updateProfile | ||||
| userMail | ||||
| userLink | ||||
| userWorkplace | ||||
| userCity | ||||
| userCountry | ||||
| hiddenMethod = defaultSetting | ||||
| settingUri | ||||
| hiddenMethod = defaultPackage | ||||
| packUri |
DELETE
| URI | Parameter | Accept Types | Result | Status Codes |
|---|---|---|---|---|
| /user | Delete all users the user has write access on. | 303 - See Other | ||
| 500 - Internal Server Error | ||||
| /user/<id> | Delete the user identified by the URI. | 303 - See Other | ||
| 401 - Unauthorized | ||||
| 404 - Not Found | ||||
| 500 - Internal Server Error |
PUT
Not implemented.
user.txt · Last modified: 2024/03/12 08:33 by anguerasempere
