Skip to Content
Xeonr Developer Docs
UplApiBuckets

List personal storage

POST
/uplim.api.v1.BucketsService/ListUserStorage

Every person with at least one personal bucket, by email, with their storage used across those buckets (from the usage rollup), their storage cap with where it comes from, and how many of their buckets have a cap of their own. A person's buckets are listed with GetOwnerUsage, owner_scope personal and their user_id.

Access: the upl:admin scope, else PermissionDenied.

Required scopes: upl:admin

Authorization

OAuth2 upl:admin
AuthorizationBearer <token>

OAuth 2.0 authorization

In: header

Scope: upl:admin

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

query?string

Narrows to people whose email or display name contains this, ignoring case.

Lengthlength <= 128
pageSize?integer

People per page; 0 is 50.

Formatint32
Range0 <= value <= 200
pageToken?string

From a previous response's next_page_token.

Lengthlength <= 64
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://uploads-api.xeonr.io/uplim.api.v1.BucketsService/ListUserStorage" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "users": [
    "map[bucketCount:2 bytesUsed:734003200 email:[email protected] overriddenBucketCount:0 poolBytes:10737418240 poolSource:TEAM_ENTITLEMENT_SOURCE_DEFAULT providerId:urn:xeonr:auth:uid:user:3 userId:42 username:luke]"
  ],
  "nextPageToken": "eyJhZnRlciI6Imx1a2VAZXhhbXBsZS5jb20ifQ"
}