SunLink icon

SunLink

SunLink 博客 API 完整集成节点 (自动登录)

📎 文件管理 (File) → 📋 获取文件列表 (List)

AI-generated

Summary

List files under a specified virtual folder path with an optional limit on the number of files returned.

Inputs

  • 虚拟路径 (URI) — The virtual folder URI to list files from, e.g., 'anzhiyu://my/fengmian'. Defaults to 'anzhiyu://my/'.
  • 数量限制 — Maximum number of files to retrieve. Defaults to 100.

Output shape

A JSON array containing file objects fetched from the specified folder URI.

The response is paginated by the 'limit' parameter that restricts the number of files returned. If the API returns an error, it will be encapsulated in the output JSON object under 'error' if continueOnFail is enabled.

Examples

Example 1: Retrieve up to 50 files from the folder 'anzhiyu://my/photos' to process or filter downstream.

Set '虚拟路径 (URI)' to 'anzhiyu://my/photos' and '数量限制' to 50.

Discussion