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
diff options
context:
space:
mode:
authorOswaldo Ferreira <oswaldo@gitlab.com>2017-06-27 23:35:35 +0300
committerOswaldo Ferreira <oswaldo@gitlab.com>2017-06-28 21:50:29 +0300
commitda3e4f412846b754d31439da0d884181653bced0 (patch)
treee1c6da18204cf5c7990c350c5b9c01501ff60192 /doc/api/namespaces.md
parent9f44687a14d57fec596b9736584bf8718df75a2e (diff)
Add "members_count" and "parent_id" data on namespaces API
Diffstat (limited to 'doc/api/namespaces.md')
-rw-r--r--doc/api/namespaces.md15
1 files changed, 13 insertions, 2 deletions
diff --git a/doc/api/namespaces.md b/doc/api/namespaces.md
index 4ad6071a0ed..d38a80176d9 100644
--- a/doc/api/namespaces.md
+++ b/doc/api/namespaces.md
@@ -29,18 +29,27 @@ Example response:
{
"id": 1,
"path": "user1",
- "kind": "user"
+ "kind": "user",
+ "full_path": "user1",
+ "parent_id": "null",
+ "members_count": "null"
},
{
"id": 2,
"path": "group1",
- "kind": "group"
+ "kind": "group",
+ "full_path": "group1",
+ "parent_id": "null",
+ "members_count": 2
+
},
{
"id": 3,
"path": "bar",
"kind": "group",
"full_path": "foo/bar",
+ "parent_id": "9",
+ "members_count": 5
}
]
```
@@ -72,6 +81,8 @@ Example response:
"path": "twitter",
"kind": "group",
"full_path": "twitter",
+ "parent_id": "null",
+ "members_count": 2
}
]
```