Commit 5426017
committed
fix(groups): return JSON when requesting specific group
This is opposed to returning YAML, which is inconsistent with the format
of the data returned from other API endpoints. Instead of returning a
YAML document like:
description: ""
data:
foo: bar
file:
content:
- 35
- 35
[...snip...]
- 101
- 10
name: ""
encoding: base64
a JSON document with a proper base64-encoded config is returned:
{
"file": {
"content": "IyM[...snip...]ZQo=",
"encoding": "base64",
"filename": ""
},
"meta-data": {
"foo": "bar"
},
"name": "tester"
}1 parent 7515add commit 5426017
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
107 | 106 | | |
108 | 107 | | |
109 | 108 | | |
110 | | - | |
| 109 | + | |
111 | 110 | | |
112 | 111 | | |
113 | 112 | | |
| |||
0 commit comments