List buckets
Retrieves all buckets owned by or shared with the authenticated user, including shared resource access.
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
includeLatestUploads?integer
Format
int32Range
value <= 100includeAliasStatus?boolean
Include detailed alias status information for each bucket validate:skip a bool has no bounds
hasFile?|
Filter to only return buckets where this file exists
ownerScope?||
Restrict the listing to a single owner. Omitted returns everything the caller can see, across every owner.
[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://uploads-api.xeonr.io/uplim.api.v1.BucketsService/ListBuckets" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"buckets": [
"map[adminPermissionLevel:BUCKET_PERMISSION_LEVEL_ADMIN bucket:map[aliases:[screenshots i.example.com] bucketId:1042 bucketName:Screenshots createdAt:2026-03-14T11:02:45Z destination:BUCKET_DESTINATION_DEFAULT isPrimary:false lifecycleRuleCount:1 managedBy: ownerTeam:urn:xeonr:auth:team:0f6b5f8c-21f4-4b6e-9b4f-3a6a2c7d8e91 ownerTeamSlug:acme portalConfig:map[cdnMode:false] primaryAlias:i.example.com private:false slug:screenshots totalSpaceBytes:10737418240 type:BUCKET_TYPE_UPLOADS_DIRECTORY updatedAt:2026-10-22T09:30:00Z uploadCount:1284 url:https://i.example.com usedSpaceBytes:734003200] isPrimaryOwner:true latestUploads:[map[oauthClientId:5d2e8a41-7c3b-4f9e-a6d0-1b8c9e2f7a34 thumbnailUrl:https://screenshots.upl.im/.upl/thumbnails/9b7e4d2a-3c5f-4e1a-8d2b-6f0e1a7c3b95/thumbnail_dark.webp?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Expires=900&X-Amz-Signature=… uploadId:9b7e4d2a-3c5f-4e1a-8d2b-6f0e1a7c3b95 url:https://i.example.com/photos/sunset.png]] ownerTeam:urn:xeonr:auth:team:0f6b5f8c-21f4-4b6e-9b4f-3a6a2c7d8e91 ownerTeamSlug:acme permissionLevel:BUCKET_PERMISSION_LEVEL_ADMIN]"
],
"sharedResources": [
"map[bucket:map[bucketId:1042 bucketName:Screenshots slug:screenshots url:https://i.example.com] folder:map[folderId:2207 path:/photos revokedSubpaths:[/photos/private]] permissionId:88 permissionLevel:BUCKET_PERMISSION_LEVEL_READ sharedAt:2026-10-22T09:30:00Z sharedBy:map[id:42 username:luke]]"
]
}