Finished memory endpoint

This commit is contained in:
Ubergeek
2020-01-26 21:45:29 -05:00
parent 86f099cb2d
commit de6cb59e94
2 changed files with 22 additions and 2 deletions

View File

@@ -57,7 +57,7 @@ This endpoint shall return a json struct containing interfaces, and IP addresses
### uptime
This will return a struct of system uptime:
This will return a JSON payload of system uptime:
```
{
@@ -68,6 +68,19 @@ This will return a struct of system uptime:
}
```
### mem
This will return a JSON payload containing information about the system memory, in bytes:
```
{
"free" : 8668672000,
"total" : 33638055936,
"percent" : 74.2,
"used" : 22686449664
}
```
### teapot
This shall return a struct, describing the current tea making capabilities of the system: