Skip to content
developers
Open TestCollab

Get specific suite

GET/suites/{id}

fetch suite data

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

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

200 — Selected suite

Field Type Required Description
id number Yes —
title string Yes —
description string No —
parent_id number No —
order number No —
created_by number No —
is_bdd_managed boolean No True when the suite is managed by BDD sync from a feature file in Git.
is_reference boolean No Will be true only for links
source_id number No Only for links - source entity ID
source_project number No Only for links - source Project ID
is_main_link boolean No Will be true only for top level link suite
Illustrative response
{
"id": 123,
"title": "example",
"description": "example",
"parent_id": 123,
"order": 123,
"created_by": 123,
"is_bdd_managed": true,
"is_reference": true,
"source_id": 123
}
Status Meaning
403 Forbidden