<rss version="2.0" xmlns:a10="http://www.w3.org/2005/Atom"><channel><title>Inflectra Customer Forums: Api request to retrieve folders + hierarchy + test cases lists  (Thread)</title><description> Hi inflectra,     I would like to know if an API request exist to retrieve (get) the content off all test case folders of a project with also the folders and subfolders + hierarchy. More precisely i want to retrieve not only the test cases folders (as possible with  projects/{project_id}/test-folders ) and not only the list of test cases (as possible with  projects/{project_id}/test-cases?starting_row={starting_row}&amp;number_of_rows={number_of_rows}&amp;sort_field={sort_field}&amp;sort_direction={sort_direction}&amp;release_id={release_id} )  but i want to retrieve from a project the folders (level 0 just at the root) + its test cases lists + its subfolders level 1 + the test case lists level1 + its subfolders level2 + its test cases list level 2 + its subfolders level3, etc.)  It would be nice to have like a request api that scan and retrieve all the content of all folders of the project to get at the end the hierarchy folders and the tests cases lists with their position in the hierarchy.     Hope its clear and you will be able to answer to me.     Thanks.  Carine </description><language>en-US</language><copyright>(C) Copyright 2006-2026 Inflectra Corporation.</copyright><managingEditor>support@inflectra.com</managingEditor><category domain="http://www.dmoz.org">/Computers/Software/Project_Management/</category><category domain="http://www.dmoz.org">/Computers/Software/Quality_Assurance/</category><generator>KronoDesk</generator><a10:contributor><a10:email>support@inflectra.com</a10:email></a10:contributor><a10:id>http://www.inflectra.com/kronodesk/forums/threads</a10:id><ttl>120</ttl><link>/Support/Forum/spiratest/issues-questions/2950.aspx</link><item><guid isPermaLink="false">threadId=2950</guid><author>Carine Doucouré (carine.doucoure@telemis.com)</author><category domain="http://www.inflectra.com/kronodesk/thread/tag">api</category><category domain="http://www.inflectra.com/kronodesk/thread/tag"> test cases</category><category domain="http://www.inflectra.com/kronodesk/thread/tag"> hierarchy</category><title>Api request to retrieve folders + hierarchy + test cases lists </title><description> Hi inflectra,     I would like to know if an API request exist to retrieve (get) the content off all test case folders of a project with also the folders and subfolders + hierarchy. More precisely i want to retrieve not only the test cases folders (as possible with  projects/{project_id}/test-folders ) and not only the list of test cases (as possible with  projects/{project_id}/test-cases?starting_row={starting_row}&amp;number_of_rows={number_of_rows}&amp;sort_field={sort_field}&amp;sort_direction={sort_direction}&amp;release_id={release_id} )  but i want to retrieve from a project the folders (level 0 just at the root) + its test cases lists + its subfolders level 1 + the test case lists level1 + its subfolders level2 + its test cases list level 2 + its subfolders level3, etc.)  It would be nice to have like a request api that scan and retrieve all the content of all folders of the project to get at the end the hierarchy folders and the tests cases lists with their position in the hierarchy.     Hope its clear and you will be able to answer to me.     Thanks.  Carine </description><pubDate>Mon, 15 Jul 2024 14:29:23 -0400</pubDate><a10:updated>2024-07-16T12:23:10-04:00</a10:updated><link>/Support/Forum/spiratest/issues-questions/2950.aspx</link></item><item><guid isPermaLink="false">messageId=6814</guid><author>David J (adam.sandman+support@inflectra.com)</author><title> Hi Carine,  In general, the current (v7.0 at time of writing) APIs support:   Retrieving a folder b</title><description> Hi Carine,  In general, the current (v7.0 at time of writing) APIs support:   Retrieving a folder based on its parent (or the root folders)  Retrieving a test cases based on its folder (or root test cases)   That was done mainly for performance reasons, so you would need to make as series of recursive calls to get all the data.  However, there is an older v4.0 API that works closer to the way you want:   GET: projects/{project_id}/test-cases/search?starting_row={starting_row}&amp;number_of_rows={number_of_rows}   Regards  David </description><pubDate>Tue, 16 Jul 2024 12:23:10 -0400</pubDate><a10:updated>2024-07-16T12:23:10-04:00</a10:updated><link>/Support/Forum/spiratest/issues-questions/2950.aspx#reply6814</link></item></channel></rss>