README code examples should use consistent json returns
This commit is contained in:
parent
5cac2bb6b1
commit
15c58cc8bc
22
README.md
22
README.md
|
@ -38,17 +38,17 @@ This endpoint shall return a json struct containing interfaces, and IP addresses
|
||||||
```
|
```
|
||||||
{
|
{
|
||||||
"Interfaces":[
|
"Interfaces":[
|
||||||
{
|
{
|
||||||
"Name":"eth0",
|
"Name":"eth0",
|
||||||
"Addresses":[
|
"Addresses":[
|
||||||
"10.0.0.1/32",
|
"10.0.0.1/32",
|
||||||
"10.0.1.100/24"
|
"10.0.1.100/24"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Name":"wg0",
|
"Name":"wg0",
|
||||||
"Addresses":[
|
"Addresses":[
|
||||||
"192.168.0.1/24"
|
"192.168.0.1/24"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -74,8 +74,8 @@ This shall return a struct, describing the current tea making capabilities of th
|
||||||
|
|
||||||
```
|
```
|
||||||
{
|
{
|
||||||
"tea" : "available",
|
"tea":"available",
|
||||||
"height" : "short",
|
"height":"short",
|
||||||
"width" : "stout
|
"width":"stout
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue