mirror of
https://github.com/nicolargo/glances.git
synced 2024-11-25 08:33:22 +03:00
Updated The Glances RESTFULL JSON API (markdown)
parent
81bd9641f0
commit
205cf9e312
@ -150,3 +150,24 @@ Example: _/api/v2/all_
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
GET _**/api/2/:plugin/limits**_
|
||||
|
||||
Return the limits for the specific ``plugin``
|
||||
|
||||
Request parameters:
|
||||
|
||||
* plugin: plugin name
|
||||
|
||||
Request response:
|
||||
|
||||
* 200 - application/json: dictionnary
|
||||
* 404 - Returned if the property does not exist
|
||||
|
||||
Example: _/api/v2/mem/limits_
|
||||
|
||||
```
|
||||
{"mem_careful": 50.0, "mem_critical": 90.0, "mem_warning": 70.0}
|
||||
```
|
||||
|
||||
***
|
||||
|
Loading…
Reference in New Issue
Block a user