UsageByUserDto
| Field | Required | Description |
|---|---|---|
photos | Yes | Number of photos |
quotaSizeInBytes | Yes | User quota size in bytes (null if unlimited) |
usage | Yes | Total storage usage in bytes |
usagePhotos | Yes | Storage usage for photos in bytes |
usageVideos | Yes | Storage usage for videos in bytes |
userId | Yes | User ID |
userName | Yes | User name |
videos | Yes | Number of videos |
Complete definition
required lists fields that must be present. nullable allows a null value; it does not make the field optional. Response enums retain exact wire values for compatibility.
{
"properties": {
"photos": {
"description": "Number of photos",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"quotaSizeInBytes": {
"description": "User quota size in bytes (null if unlimited)",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"nullable": true,
"type": "integer"
},
"usage": {
"description": "Total storage usage in bytes",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"usagePhotos": {
"description": "Storage usage for photos in bytes",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"usageVideos": {
"description": "Storage usage for videos in bytes",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"userId": {
"description": "User ID",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$",
"type": "string"
},
"userName": {
"description": "User name",
"type": "string"
},
"videos": {
"description": "Number of videos",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
}
},
"required": [
"photos",
"quotaSizeInBytes",
"usage",
"usagePhotos",
"usageVideos",
"userId",
"userName",
"videos"
],
"type": "object"
}© 2026 Frameleaf Inc. All rights reserved.
Frameleaf and the Frameleaf logo are Trademarks of Frameleaf Inc.