summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorOswaldo Ferreira <oswaldo@gitlab.com>2017-06-27 17:35:35 -0300
committerOswaldo Ferreira <oswaldo@gitlab.com>2017-06-28 15:50:29 -0300
commitda3e4f412846b754d31439da0d884181653bced0 (patch)
treee1c6da18204cf5c7990c350c5b9c01501ff60192 /doc
parent9f44687a14d57fec596b9736584bf8718df75a2e (diff)
downloadgitlab-ce-da3e4f412846b754d31439da0d884181653bced0.tar.gz
Add "members_count" and "parent_id" data on namespaces API
Diffstat (limited to 'doc')
-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
}
]
```