跳到主要内容
版本:v0.6

Get resource run statistics for dashboards.

Get resource run statistics for dashboards.

Get resource run statistics for dashboards.

Request Body required
    endTime date-time required
    startTime date-time required
    step string required
Responses

OK


Schema
    statusCount object required
    canceled integer required
    failed integer required
    planned integer required
    running integer required
    succeeded integer required
    statusStats object[] required
  • Array [
  • startTime string
  • ]
POST /v1/dashboards/_/resource-run-statistics

Authorization

name: BasicAuthtype: httpdescription: Basic Authentication, in form of base64(<username>:<password>), the password must be a valid Seal API token.in: headerscheme: basic

Request

Security Scheme
Username
Password
Body required
{
"endTime": "2024-03-21T10:37:38.951Z",
"startTime": "2024-03-21T10:37:38.951Z",
"step": "string"
}
curl / cURL
curl -L -X POST 'https://seal-io.github.io/v1/dashboards/_/resource-run-statistics' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"endTime": "2024-03-21T10:37:38.951Z",
"startTime": "2024-03-21T10:37:38.951Z",
"step": "string"
}'