Commit 4460863b authored by Tomasz Maczukin's avatar Tomasz Maczukin

Make parent_id field integer/null value instead of string

parent 4e846c73
...@@ -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
}, },
{ {
...@@ -48,7 +48,7 @@ Example response: ...@@ -48,7 +48,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
} }
] ]
...@@ -84,7 +84,7 @@ Example response: ...@@ -84,7 +84,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
} }
] ]
...@@ -117,7 +117,7 @@ Example response: ...@@ -117,7 +117,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
} }
``` ```
...@@ -137,7 +137,7 @@ Example response: ...@@ -137,7 +137,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