Перейти к содержимому

GET /teams/{teamID}/metrics ​

Team metrics

Get metrics for the team

Параметры ​

  • teamID · string · путь · обязательно

  • start · integer · запрос · необязательно

    Unix timestamp for the start of the interval, in seconds, for which the metrics

    Формат: int64

    Минимум: 0

  • end · integer · запрос · необязательно

    Unix timestamp for the end of the interval, in seconds, for which the metrics

    Формат: int64

    Минимум: 0

Ответы ​

200 ​

Successfully returned the team metrics

Content-Type: application/json

Схема: array<TeamMetric>

  • timestampUnix · integer · обязательно

    Timestamp of the metric entry in Unix time (seconds since epoch)

    Формат: int64

  • concurrentSandboxes · integer · обязательно

    The number of concurrent sandboxes for the team

    Формат: int32

  • sandboxStartRate · number · обязательно

    Number of sandboxes started per second

    Формат: float

400 ​

Bad request

Content-Type: application/json

Схема: Error

  • code · integer · обязательно

    Error code

    Формат: int32

  • message · string · обязательно

    Error

401 ​

Authentication error

Content-Type: application/json

Схема: Error

  • code · integer · обязательно

    Error code

    Формат: int32

  • message · string · обязательно

    Error

403 ​

Forbidden

Content-Type: application/json

Схема: Error

  • code · integer · обязательно

    Error code

    Формат: int32

  • message · string · обязательно

    Error

500 ​

Server error

Content-Type: application/json

Схема: Error

  • code · integer · обязательно

    Error code

    Формат: int32

  • message · string · обязательно

    Error