Synology Drive icon

Synology Drive

Synology Drive / FileStation operations

List Files by Label

AI-generated

Summary

List files associated with a specific label in Synology Drive, using the provided Label ID and pagination parameters.

Inputs

  • Label ID (required) — Specifies the ID of the label whose files should be listed.
  • Limit — Limits the number of files returned. Default is 50.
  • Offset — Specifies the starting point for listing files, used for pagination. Default is 0.

Output shape

an object containing success status and data, where data includes an array of files associated with the label and pagination details

The output includes the files labeled with the specified Label ID, limited and offset according to the input parameters. Additional extraParams can be included but are optional.

Examples

Example 1: List files for a given label with default pagination

Set the 'Label ID' to the target label, use default 'Limit' as 50 and 'Offset' as 0 to fetch the first 50 files.

Links

Discussion