Dies ist ein ReadOnly-Mirror von wiki.piratenpartei.de!
Die Daten werden täglich aktualisiert.
Die Daten werden täglich aktualisiert.
BE:Squads/Piratech/Projekte/DasDing/API/users
Zur Navigation springen
Zur Suche springen
- Parameter marked with * are optional
/users
/users
| action | description | returns | restrictions | params |
| GET | - | - | - | - |
| PUT | - | - | - | - |
| POST | Creates a new user | Status 400 or 201 with location set to userdetails-page | - | name, fullname, password, mail, phone*, mobile* |
| DELETE | - | - | - | - |
/users/{userid}
| action | description | returns | restrictions | params |
| GET | Loads the user | json, xml | Authentication, same userid | - |
| PUT | Updates the user | 400 or 204 | Authentication, same userid | password*, phone*, mobile*, mail* |
| POST | - | - | - | - |
| DELETE | Deletes the user | 400 or 204 | Authenticatin, same userid | - |