Keep api in sync

This commit is contained in:
Ubergeek 2020-01-22 13:34:36 -05:00
parent 387af5a51f
commit 888ab902c6
1 changed files with 5 additions and 2 deletions

View File

@ -23,7 +23,9 @@ The API shall return a 501 for requests which exist in the spec, but have not be
The API is a RESTful API, and the following URIs will be used:
```https:{hostname}/api/1/{action}```
```
https:{hostname}/api/1/{action}
```
## Informational APIs
@ -33,7 +35,8 @@ The API is a RESTful API, and the following URIs will be used:
This endpoint shall return a json struct containing interfaces, and IP addresses in CIDR format:
```{
```
{
"Interfaces":[
{
"Name":"eth0",