GET
/
workspace
/
folders
/
hierarchy
curl --request GET \
  --url https://api.mudstack.com/workspace/folders/hierarchy \
  --header 'Authorization: Bearer <token>' \
  --header 'x-account-id: <x-account-id>' \
  --header 'x-workspace-id: <x-workspace-id>'
[
  {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "file_location": "<string>",
    "parent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-account-id
string
required
x-workspace-id
string
required

Response

200 - application/json
Folder hierarchy retrieved successfully.
id
string

The unique identifier of the folder item.

file_location
string

The file location of the folder item.

parent_id
string | null

The unique identifier of the parent folder item. Can be null if it is a root item.