Commit c27b1cd3 authored by EmilienMottet's avatar EmilienMottet Committed by Emilien Mottet

fix json response

parent 01785533
...@@ -28,12 +28,14 @@ Example response: ...@@ -28,12 +28,14 @@ Example response:
[ [
{ {
"id": 1, "id": 1,
"name": "user1",
"path": "user1", "path": "user1",
"kind": "user", "kind": "user",
"full_path": "user1" "full_path": "user1"
}, },
{ {
"id": 2, "id": 2,
"name": "group1",
"path": "group1", "path": "group1",
"kind": "group", "kind": "group",
"full_path": "group1", "full_path": "group1",
...@@ -42,6 +44,7 @@ Example response: ...@@ -42,6 +44,7 @@ Example response:
}, },
{ {
"id": 3, "id": 3,
"name": "bar",
"path": "bar", "path": "bar",
"kind": "group", "kind": "group",
"full_path": "foo/bar", "full_path": "foo/bar",
...@@ -77,6 +80,7 @@ Example response: ...@@ -77,6 +80,7 @@ Example response:
[ [
{ {
"id": 4, "id": 4,
"name": "twitter",
"path": "twitter", "path": "twitter",
"kind": "group", "kind": "group",
"full_path": "twitter", "full_path": "twitter",
......
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