Read Network data
Changed onget/api/v1/metrics/net
Request
- Base URLhttp://localhost:59232
- URLhttp://localhost:59232/api/v1/metrics/net
- Authtype (a scheme the document does not define) and scheme (a scheme the document does not define) and bearerFormat (a scheme the document does not define)
Response
OK
Example response
{
"data": [
{
"name": "eth0",
"bytes_sent": 1024,
"bytes_recv": 2048,
"packets_sent": 100,
"packets_recv": 200
}
],
"errors": [
{
"metric": [
"cpu.temperature"
]
}
]
}Changes
- warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- warning
- breaking
the
//response's property type changed fromstringtoarrayfor status - breaking
the
//response's property type changed fromstringtoarrayfor status - info
the endpoint scheme security
type AND scheme AND bearerFormatwas added to the API - info
the endpoint scheme security
bearerAuthwas removed from the API
- breaking