GET /teams/{teamID}/metrics/max
Maximum team metrics
Get the maximum metrics for the team in the given interval
Параметры
teamID·string· путь · обязательноstart·integer· запрос · необязательноUnix timestamp for the start of the interval, in seconds, for which the metrics
Формат:
int64Минимум:
0end·integer· запрос · необязательноUnix timestamp for the end of the interval, in seconds, for which the metrics
Формат:
int64Минимум:
0metric·concurrent_sandboxes | sandbox_start_rate· запрос · обязательноMetric to retrieve the maximum value for
Допустимые значения:
concurrent_sandboxes|sandbox_start_rate
Ответы
200
Successfully returned the team metrics
Content-Type: application/json
Схема: MaxTeamMetric
Team metric with timestamp
timestampUnix·integer· обязательноTimestamp of the metric entry in Unix time (seconds since epoch)
Формат:
int64value·number· обязательноThe maximum value of the requested metric in the given interval
400
Bad request
Content-Type: application/json
Схема: Error
code·integer· обязательноError code
Формат:
int32message·string· обязательноError
401
Authentication error
Content-Type: application/json
Схема: Error
code·integer· обязательноError code
Формат:
int32message·string· обязательноError
403
Forbidden
Content-Type: application/json
Схема: Error
code·integer· обязательноError code
Формат:
int32message·string· обязательноError
500
Server error
Content-Type: application/json
Схема: Error
code·integer· обязательноError code
Формат:
int32message·string· обязательноError