summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSebastian Ziebell <sebastian.ziebell@asquera.de>2013-02-27 12:58:06 +0100
committerSebastian Ziebell <sebastian.ziebell@asquera.de>2013-02-27 12:58:06 +0100
commitdffc2b8a8b3ed03f12dc8f41a6f24b96f2605268 (patch)
treea7a803fe6a6c2e2324c423d129119d109a83610d /doc
parent873db06255eae1f69644c2a0815b88c923021c8f (diff)
downloadgitlab-ce-dffc2b8a8b3ed03f12dc8f41a6f24b96f2605268.tar.gz
API: session documentation updated and test added
Diffstat (limited to 'doc')
-rw-r--r--doc/api/session.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/api/session.md b/doc/api/session.md
index c7e57aaca7a..5f49d989967 100644
--- a/doc/api/session.md
+++ b/doc/api/session.md
@@ -21,3 +21,8 @@ Parameters:
"blocked": true
}
```
+
+Return values:
+
++ `201 Created` on success
++ `401 Unauthorized` if the authentication process failed, e.g. invalid password or attribute not given