List all thin client directories:

curl \

--request GET\

--header 'Cookie: JSESSIONID=3FB2F3F6A089FE9029DFD6DAFEF146DC' \

https://[server]:8443/umsapi/v3/directories/tcdirectories/



Response

The response contains a list of thin client directories in JSON format. The ID of the root thin client directory is always -1. Find a detailed description of the Thin Client Directory resource in the IMI API Reference.

Compare the JSON response to the thin client directory tree you see in your UMS console.

directory-tree


IMI provides a flat view of these directories, subdirectories can only be recognized via their parentID. In order to better see the nesting, use the children facet.


[

{

"id": "15592",

"name": "Pool",

"parentID": "-1",

"movedToBin": false,

"objectType": "tcdirectory",

"links": [

{

"rel": "self",

"href": "https://172.30.91.227:8443/umsapi/v3/directories/tcdirectories/15592"

},

{

"rel": "Parent",

"href": "root"

}

]

},

{

"id": "76863",

"name": "New Subdirectory",

"parentID": "76462",

"movedToBin": false,

"objectType": "tcdirectory",

"links": [

{

"rel": "self",

"href": "https://172.30.91.227:8443/umsapi/v3/directories/tcdirectories/76863"

},

{

"rel": "Parent",

"href": "https://172.30.91.227:8443/umsapi/v3/directories/tcdirectories/76462"

}

]

},

{

"id": "76462",

"name": "New Directory",

"parentID": "-1",

"movedToBin": false,

"objectType": "tcdirectory",

"links": [

{

"rel": "self",

"href": "https://172.30.91.227:8443/umsapi/v3/directories/tcdirectories/76462"

},

{

"rel": "Parent",

"href": "root"

}

]

}

]