Browse Source

Apiary merges contents with the same URL, so we need to identify each separetely

master
Julio Biason 11 years ago
parent
commit
756b0e54f8
  1. 9
      apiary.apib

9
apiary.apib

@ -58,14 +58,11 @@ forbidden to create new groups. They can still vote, though.
{ "status": "ERROR", "error": "username already exists" } { "status": "ERROR", "error": "username already exists" }
## Single User [/user/]
**Authenticated**
Manage a single user.
### Update information [POST] ### Update information [POST]
**Authenticated**
Partial requests are valid (e.g., a request with a single "full\_name" will Partial requests are valid (e.g., a request with a single "full\_name" will
update only the full\_name for that user; a password change will require only update only the full\_name for that user; a password change will require only
the "password"field. the "password"field.
@ -88,6 +85,8 @@ the "password"field.
### Remove user [DELETE] ### Remove user [DELETE]
**Authenticated**
User removal is only allowed to the user themselves or by a system admin. User removal is only allowed to the user themselves or by a system admin.
+ Response 200 (application/json) + Response 200 (application/json)

Loading…
Cancel
Save