Get/Create/Update/Remove Folder

DATA CENTER AND SERVER | CLOUD

Get/Create/Update/Remove Folder



Contents





Search and retrieve folder information


The following script will search for project tree folders and retrieve detailed information for the found elements.

In this example, the script will look for the folder element in the path <GUI Specifications/Login Page/Icons>. A recursive method will then print the information of the folder elements returned by the POST request.







Create folder structure


The following script will create a folder structure by using several project tree web services.

In this example, the script will create  the following folder structure on the root of the project:

  • GUI Requirements

    • Login Page

    • About Us

    • Home Page

It will then get the tree structure of the project using another web service and print the information of the current tree structure.







Update an existing folder's name


The following script will update the name of an existing folder from the project tree. Returns ok in case of success









Remove an existing folder and all it's child folders


The following script will remove an existing folder and all it's child folders and associated issues from the project tree. Returns ok in case of success