Skip to main content
GET
/
folders
/
{folderHash}
/
path
curl https://app.drime.cloud/api/v1/folders/MTExMzQ0fHBhZA/path \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
{
  "path": [
    {
      "id": 111344,
      "name": "Documents",
      "type": "folder",
      "path": "111344",
      "hash": "MTExMzQ0fHBhZA"
    },
    {
      "id": 111345,
      "name": "Projects",
      "type": "folder",
      "path": "111344/111345",
      "hash": "MTExMzQ1fHBhZA"
    },
    {
      "id": 111346,
      "name": "2024",
      "type": "folder",
      "path": "111344/111345/111346",
      "hash": "MTExMzQ2fHBhZA"
    }
  ],
  "status": "success"
}

Overview

Returns the folder hierarchy path (breadcrumbs) from root to the specified folder. Useful for navigation UI.

Path Parameters

folderHash
string
required
The folder hash

Query Parameters

vaultId
integer
Optional vault ID for encrypted folders

Response

path
array
Array of folder objects from root to target
status
string
Request status (success)
curl https://app.drime.cloud/api/v1/folders/MTExMzQ0fHBhZA/path \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
{
  "path": [
    {
      "id": 111344,
      "name": "Documents",
      "type": "folder",
      "path": "111344",
      "hash": "MTExMzQ0fHBhZA"
    },
    {
      "id": 111345,
      "name": "Projects",
      "type": "folder",
      "path": "111344/111345",
      "hash": "MTExMzQ1fHBhZA"
    },
    {
      "id": 111346,
      "name": "2024",
      "type": "folder",
      "path": "111344/111345/111346",
      "hash": "MTExMzQ2fHBhZA"
    }
  ],
  "status": "success"
}