API: Subfolders

I’d think it would be useful to have an API call

GET /folders/:id/folders

to get the folders within a specific folder.

What do you think?

1 Like

If you do /folders you’ll already get all the folders in a tree. Wouldn’t that do what you need?

Yes, but I want to limit to subfolders of a specific folder only.
I now use the children property, but I thought a /folders/:id/folders would be nice and symmetrical.

I haven't found the children attribute yet, or how to fetch only a subset of folders. There's little info about children on the API page. Currently to get subfolders of a certain folder, I fetch all folders then filter by parent_id.