OBJECT

getFolder

link GraphQL Schema definition

1Query getFolder {
2
3# Returns the folder for the given projectId with the specified Path along with its child folders.
4#
5#
6# Arguments
7# projectId: the project id of the Folder.
8# testPlanId: the Test Plan id of the Folder.
9# path: the path of the Folder.
10getFolder(projectId: String, testPlanId: String, path: String!): FolderResults
11
12}

link Example

The query below returns the root folder and all its child folders.

{
    getFolder(projectId: "10000", path: "/") {
        name
        path
        testsCount
        folders
    }
}

The query below returns the folder with path "/generic" and all its child folders.

{
    getFolder(projectId: "10000", path: "/generic") {
        name
        path
        testsCount
        folders
    }
}