Actions27
- Get User Info
- List Folders
- List Albums
- Get Album
- List Items in Album
- List Recent Items
- List Timeline
- Search Photos
- Get Search Filters
- Create Album
- Update Album
- Delete Album
- Get Item Details
- Update Item
- Delete Item
- Add to Favorite
- Remove from Favorite
- List Sharing
- Create Sharing Link
- Update Sharing
- Delete Sharing
- Get Thumbnail
- Download Item
- Get Settings
- Update Settings
- Get User Quota
- List Photos APIs
List Folders
AI-generatedSummary
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.
