v1.16.9
This commit is contained in:
dayterr
2026-10-23 16:06:09 +03:00
parent 84164a72a4
commit 54a86e5361
21 changed files with 351 additions and 71 deletions

View File

@@ -59,6 +59,14 @@ type ListRequest struct {
// Required: false
SortBy string `url:"sortBy,omitempty" json:"sortBy,omitempty" validate:"omitempty,sortBy"`
// Sort by account ID
// Required: false
AccountID uint64 `url:"account_id,omitempty" json:"account_id,omitempty"`
// Sort by sep type
// Required: false
SEPType string `url:"sep_type,omitempty" json:"sep_type,omitempty" validate:"omitempty,sepTypes"`
// Page number
// Required: false
Page uint64 `url:"page,omitempty" json:"page,omitempty"`

View File

@@ -89,6 +89,9 @@ type RecordImage struct {
// Purge attempts
PurgeAttempts uint64 `json:"purgeAttempts"`
// Real size if the image
RealSize uint64 `json:"real_size"`
// Reference ID
ReferenceID string `json:"referenceId"`
@@ -277,6 +280,15 @@ type ItemImage struct {
// Virtual
Virtual bool `json:"virtual"`
// Real size of the image
RealSize uint64 `json:"real_size"`
// CKey
CKey string `json:"_ckey"`
// Meta info
Meta interface{} `json:"_meta"`
}
// List images