mirror of
https://github.com/ThunixdotNet/thunix_api.git
synced 2026-01-24 05:10:17 +00:00
README code examples should use consistent json returns
This commit is contained in:
22
README.md
22
README.md
@@ -38,17 +38,17 @@ This endpoint shall return a json struct containing interfaces, and IP addresses
|
||||
```
|
||||
{
|
||||
"Interfaces":[
|
||||
{
|
||||
"Name":"eth0",
|
||||
"Addresses":[
|
||||
"10.0.0.1/32",
|
||||
"10.0.1.100/24"
|
||||
{
|
||||
"Name":"eth0",
|
||||
"Addresses":[
|
||||
"10.0.0.1/32",
|
||||
"10.0.1.100/24"
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name":"wg0",
|
||||
"Addresses":[
|
||||
"192.168.0.1/24"
|
||||
"Name":"wg0",
|
||||
"Addresses":[
|
||||
"192.168.0.1/24"
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -74,8 +74,8 @@ This shall return a struct, describing the current tea making capabilities of th
|
||||
|
||||
```
|
||||
{
|
||||
"tea" : "available",
|
||||
"height" : "short",
|
||||
"width" : "stout
|
||||
"tea":"available",
|
||||
"height":"short",
|
||||
"width":"stout
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user