List folder tree
Recursively lists all descendant folders (and optionally uploads) as a tree. Supports filtering by path and upload slug.
Required scopes: upl:bucket:read
Authorization
OAuth2 upl:bucket:readAuthorizationBearer <token>
OAuth 2.0 authorization
In: header
Scope: upl:bucket:read
Header Parameters
Connect-Protocol-Version?number
Define the version of the Connect protocol
Connect-Timeout-Ms?number
Define the timeout, in ms
Request Body
application/json
bucketRef?|&|
folder?|&|
includeUploads?boolean
Include uploads in the tree nodes (default: folders only) validate:skip a bool has no bounds
pathFilter?|
uploadFilter?|
Filter on upload slug. When include_uploads=false, folders containing matching uploads are annotated with matches_filter=true.
[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://uploads-api.xeonr.io/uplim.api.v1.BucketFoldersService/ListFolderTree" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"children": [
"map[children:[map[children:[] matchesFilter:true upload:map[path:/screenshots sizeBytes:482113 slug:a8Kd3x.png uploadId:9b7e4d2a-3c1f-4e8b-a6d5-2f0c8e1b7a94]]] folder:map[folderId:318 parentPath:/ path:/screenshots] matchesFilter:true]"
]
}