Skip to content
developers
Open TestCollab

Get test plan regressions' count

GET/testplanregressions/count

Get test plan regressions’ count for a specific project

Use resource IDs from your own project. Keep the API token in your server or CI environment.

example.ts
import { createConfiguration, TestPlanRegressionsApi } from '@testcollab/sdk';
const config = createConfiguration(process.env.TESTCOLLAB_TOKEN!);
const api = new TestPlanRegressionsApi(config);
const result = await api.getTestPlanRegressionCount({
"project": 123
});
console.log(result);
Name Location Type Required Description
project query number Yes Project ID

200 — Count of test plan regressions

Field Type Required Description
count number Yes —
Illustrative response
{
"count": 123
}
Status Meaning
403 Forbidden