Commit 9fa6bb49 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'ee-update-namespaces-api-docs' into 'master'

Make parent_id field integer/null value instead of string

See merge request gitlab-org/gitlab-ee!4502
parents fe5501b1 bbbb848e
...@@ -39,7 +39,7 @@ Example response: ...@@ -39,7 +39,7 @@ Example response:
"path": "group1", "path": "group1",
"kind": "group" "kind": "group"
"full_path": "group1", "full_path": "group1",
"parent_id": "null", "parent_id": null,
"members_count_with_descendants": 2, "members_count_with_descendants": 2,
"plan": "bronze" "plan": "bronze"
}, },
...@@ -49,7 +49,7 @@ Example response: ...@@ -49,7 +49,7 @@ Example response:
"path": "bar", "path": "bar",
"kind": "group", "kind": "group",
"full_path": "foo/bar", "full_path": "foo/bar",
"parent_id": "9", "parent_id": 9,
"members_count_with_descendants": 5 "members_count_with_descendants": 5
} }
] ]
...@@ -85,7 +85,7 @@ Example response: ...@@ -85,7 +85,7 @@ Example response:
"path": "twitter", "path": "twitter",
"kind": "group", "kind": "group",
"full_path": "twitter", "full_path": "twitter",
"parent_id": "null", "parent_id": null,
"members_count_with_descendants": 2 "members_count_with_descendants": 2
} }
] ]
...@@ -118,7 +118,7 @@ Example response: ...@@ -118,7 +118,7 @@ Example response:
"path": "group1", "path": "group1",
"kind": "group", "kind": "group",
"full_path": "group1", "full_path": "group1",
"parent_id": "null", "parent_id": null,
"members_count_with_descendants": 2 "members_count_with_descendants": 2
} }
``` ```
...@@ -138,7 +138,7 @@ Example response: ...@@ -138,7 +138,7 @@ Example response:
"path": "group1", "path": "group1",
"kind": "group", "kind": "group",
"full_path": "group1", "full_path": "group1",
"parent_id": "null", "parent_id": null,
"members_count_with_descendants": 2 "members_count_with_descendants": 2
} }
``` ```
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment