Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorKaren Carias <karen@gitlab.com>2015-05-28 19:48:12 +0300
committerKaren Carias <karen@gitlab.com>2015-05-28 19:48:12 +0300
commit80b76e084751c4bf026b53d49aabad83c0644701 (patch)
tree8757e5458f3c8ec30a4405658f92538d13f86fc1 /doc/api
parentd0d596ae4a7efd3c35031f485954896a3702f8d1 (diff)
added info about namespaces
Diffstat (limited to 'doc/api')
-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
+```