Update 'README.md'
This commit is contained in:
parent
0d00968f2e
commit
dcf51fb12f
|
@ -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:
|
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
|
## 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:
|
This endpoint shall return a json struct containing interfaces, and IP addresses in CIDR format:
|
||||||
|
|
||||||
|
|
||||||
```{
|
```
|
||||||
|
{
|
||||||
"Interfaces":[
|
"Interfaces":[
|
||||||
{
|
{
|
||||||
"Name":"eth0",
|
"Name":"eth0",
|
||||||
|
|
Loading…
Reference in New Issue