Shade icon

Shade

Interact with Shade API

Folder → Get Shares

AI-generated

Summary

Retrieves the share links associated with a folder in a Shade drive, by calling the Shade API's public-file-shares endpoint for the given folder path.

Inputs

  • Workspace — Workspace to work with, chosen from a list or entered by ID. It only populates the Drive dropdown. The request itself doesn't use it.
  • Drive (required) — Drive containing the folder, chosen from a list or entered by ID. The drive ID goes into the request URL.
  • Path — Path of the folder whose shares you want, e.g. /drive123/path/to/my/folder. If the path doesn't start with /, the node adds that prefix automatically. If left empty, the path resolves to the drive root (//).

Output shape

One output item per input item. Its json is the raw response from the Shade API (GET workspaces/drives/{driveId}/public-file-shares?path=...), which holds the share links for that folder.

The exact response fields aren't defined in the node, so they depend on the Shade API. If 'Continue on Fail' is enabled, a failed item returns json with an error message instead. The node also logs the response at info level.

Examples

Example 1: Audit existing share links on a project folder

Select the Workspace and Drive, then set Path to /Projects/Campaign2024. The node prefixes the drive ID automatically.

Example 2: Check whether a folder is already shared before creating a new link

Use Folder > Get Shares with the Drive set by ID and Path from an expression like {{$json.folderPath}}. Then branch with an IF node on the result.

Links

Discussion