Synology Photos icon

Synology Photos

Browse, manage, and organize Synology Photos (albums, items, sharing)

List Folders

AI-generated

Summary

Retrieve a list of photo folders from Synology Photos, with control over the maximum number of folders returned and the starting point within the list.

Inputs

  • Limit — Maximum number of folders to return in one API call, defaulting to 50.
  • Offset — Number of folders to skip before starting to collect the results, defaults to 0.

Output shape

a JSON object representing the list of photo folders, including metadata such as folder names, IDs, and potentially pagination info.

The returned data comes from Synology Photos APIs 'SYNO.Foto.Browse.Folder' or 'SYNO.Foto.Folder' with 'list' or 'get' methods, respecting the limit and offset parameters for pagination purposes. The response includes success flags and may throw errors if the API call fails or if authorization is invalid.

Links

Discussion