summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Carias <karen@gitlab.com>2015-05-28 16:48:12 +0000
committerKaren Carias <karen@gitlab.com>2015-05-28 16:48:12 +0000
commit80b76e084751c4bf026b53d49aabad83c0644701 (patch)
tree8757e5458f3c8ec30a4405658f92538d13f86fc1
parentd0d596ae4a7efd3c35031f485954896a3702f8d1 (diff)
downloadgitlab-ce-80b76e084751c4bf026b53d49aabad83c0644701.tar.gz
added info about namespaces
-rw-r--r--doc/api/groups.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/api/groups.md b/doc/api/groups.md
index c903a850fdd..0d493fe8192 100644
--- a/doc/api/groups.md
+++ b/doc/api/groups.md
@@ -176,3 +176,17 @@ Parameters:
- `id` (required) - The ID or path of a user group
- `user_id` (required) - The ID of a group member
+
+## Namespaces in groups
+
+By default, groups only get 20 namespaces at a time because the API results are paginated.
+
+To get more (up to 100), pass the following as an argument to the API call
+```
+per_page=100
+```
+
+And to switch pages add
+```
+page=2
+```