summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-10-07 18:39:04 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-10-10 16:32:32 +0300
commitfdfc93679d1ca91d4666095ba2ca732fdb273947 (patch)
tree846264a82545a1397221a63130bb8acc3c7cfb90 /doc
parentd6cfc0042ed2ce9a33f31a6c44661c136e861b98 (diff)
downloadgitlab-ce-fdfc93679d1ca91d4666095ba2ca732fdb273947.tar.gz
Fix API specs behaviour for invalid routing
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/README.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/api/README.md b/doc/api/README.md
index bbd5bcfb386..8004a00659c 100644
--- a/doc/api/README.md
+++ b/doc/api/README.md
@@ -355,6 +355,19 @@ follows:
}
```
+## Bad request
+
+When you try to access API URL that does not exist you will receive 400 Bad Request.
+
+```
+HTTP/1.1 400 Bad Request
+Content-Type: application/json
+{
+ "error": "400 Bad Request"
+}
+```
+
+
## Clients
There are many unofficial GitLab API Clients for most of the popular