GET /bhm/api/v1/servers/{server_name}/data - Adaptive Applications - BlueCat Gateway - 22.1

BlueCat Health Monitoring Administration Guide

Locale
English
Product name
BlueCat Gateway
Version
22.1

Description

Retrieves information about the specified server.

Parameters

Name Description
server_name Location: path

Type: string

The name of the server that you would like to retrieve information from.

metric (optional) Location: query

Type: string

The metric that you would like to retrieve from the specified server.

start_time (optional) Location: query

Type: DateTime

The start time to retrieve the metric(s) in the following format: start_time=2021-09-13T10:16:20

The default value is 6 hours ago.

end_time (optional) Location: query

Type: DateTime

The end time to retrieve the metric in the following format: end_time=2021-09-13T16:16:20

The default value is now.

Responses

Status Description
Successful

Code: 200

Body:
For each metric:

{
    Metric Name (string): [
        {
            Type of Metric Data (string): Value (float),
            "timestamp": Time (DateTime)
        }
    ]
}