From 756b0e54f88c681470ed0fba73ef607553f8c5f5 Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Thu, 3 Apr 2014 11:05:17 -0300 Subject: [PATCH] Apiary merges contents with the same URL, so we need to identify each separetely --- apiary.apib | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/apiary.apib b/apiary.apib index 947b65f..bd17bdc 100644 --- a/apiary.apib +++ b/apiary.apib @@ -58,14 +58,11 @@ forbidden to create new groups. They can still vote, though. { "status": "ERROR", "error": "username already exists" } -## Single User [/user/] - -**Authenticated** - -Manage a single user. ### Update information [POST] +**Authenticated** + 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 the "password"field. @@ -88,6 +85,8 @@ the "password"field. ### Remove user [DELETE] +**Authenticated** + User removal is only allowed to the user themselves or by a system admin. + Response 200 (application/json)