This endpoint lets you fetch one test under your organization using its ID.
Query Parameters | Expected Value | Default |
mode | "basic" | "detailed" | "basic" |
With the "mode" parameter, you can choose to receive a smaller or a bigger object for each task, depending on your needs.
If the value of mode is "basic", the test object in the response will be in this type:
// "basic" test object:
{
testId: string;
title: string;
createdAt: number; // seconds
}
If the value of mode is "detailed", you will receive all of the properties from "basic" and also these properties:
// "detailed" test object:
Basic & {
organizationId: string;
description: string;
timeLimit: number; // seconds
favorite: boolean;
folder: string;
labels: string[];
tags: Record;
sections: {
uuid: string;
title: string | null;
timeLimit: number; //seconds
noOfPages: number;
}[];
}