Bandum API (runs on your machine): metrics
Delivery metrics for PMs and Ryoma
This page is generated from
openapi.yamlbynpm run gen, so do not edit it by hand. Authentication is described on the overview page.
/v1/metricsDelivery metrics per task, summarized by repo and milestone
Without repo: every tracked repo. Ryoma joins key (GH-n) and repo with the cost per forge.issue.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
repo | query | string | owner/repo | |
milestone | query | string | Milestone name (requires repo) |
Responses
| Code | Description | Type |
|---|---|---|
| 200 | Metrics | application/json · object |
| 400 | Invalid parameter | application/problem+json · object |
| 401 | Not signed in | application/problem+json · object |
| 404 | Repo, milestone, task or organization not found | application/problem+json · object |
Example response
json
{
"repo": "string",
"milestone": "string",
"summary": {
"tasks": 0,
"tested": 0,
"approved": 0,
"done": 0,
"rejections": 0
},
"tasks": [
{
"repo": "string",
"number": 0,
"key": "string",
"title": "string",
"status": "todo",
"level": "S",
"runs": 0,
"rejections": 0
}
]
}Call with curl
bash
curl "http://localhost:8070/v1/metrics" \
-H "Authorization: Bearer $BANDUM_LOCAL_KEY"