This commit is contained in:
seb
2026-10-14 00:21:31 +02:00
parent 74b24686bc
commit f9ed4fe75d
18 changed files with 1508 additions and 279 deletions

View File

@@ -1780,6 +1780,178 @@
* isPdf:
* type: boolean
* description: True if file is a PDF document
* BackupFileDetail:
* type: object
* required: [name, sizeBytes, sourceExists]
* properties:
* name:
* type: string
* sizeBytes:
* type: integer
* sourceExists:
* type: boolean
* BackupDatabaseDetail:
* type: object
* required: [name, sizeBytes, backedUp]
* properties:
* name:
* type: string
* nullable: true
* sizeBytes:
* type: integer
* backedUp:
* type: boolean
* reason:
* type: string
* nullable: true
* BackupManifest:
* type: object
* required: [id, timestamp, dateKey, monthKey, dbProvider, manual, files, totalSizeBytes, durationMs]
* properties:
* id:
* type: string
* timestamp:
* type: string
* format: date-time
* dateKey:
* type: string
* monthKey:
* type: string
* dbProvider:
* type: string
* manual:
* type: boolean
* files:
* type: object
* required: [vfs, storage, database]
* properties:
* vfs:
* $ref: '#/components/schemas/BackupFileDetail'
* storage:
* $ref: '#/components/schemas/BackupFileDetail'
* database:
* $ref: '#/components/schemas/BackupDatabaseDetail'
* totalSizeBytes:
* type: integer
* durationMs:
* type: integer
* BackupEntry:
* type: object
* required: [name, path, totalSizeBytes, timestamp]
* properties:
* name:
* type: string
* path:
* type: string
* totalSizeBytes:
* type: integer
* timestamp:
* type: string
* format: date-time
* nullable: true
* manifest:
* $ref: '#/components/schemas/BackupManifest'
* nullable: true
* BackupTierCounts:
* type: object
* required: [hourly, daily, monthly]
* properties:
* hourly:
* type: integer
* daily:
* type: integer
* monthly:
* type: integer
* BackupRetentionConfig:
* type: object
* required: [hourlyMax, dailyMax, monthly]
* properties:
* hourlyMax:
* type: integer
* dailyMax:
* type: integer
* monthly:
* type: string
* BackupStatus:
* type: object
* required: [enabled, isRunning, dbProvider, mssqlWarning, backupDir, retention, counts]
* properties:
* enabled:
* type: boolean
* isRunning:
* type: boolean
* dbProvider:
* type: string
* mssqlWarning:
* type: boolean
* backupDir:
* type: string
* retention:
* $ref: '#/components/schemas/BackupRetentionConfig'
* counts:
* $ref: '#/components/schemas/BackupTierCounts'
* latestHourly:
* $ref: '#/components/schemas/BackupEntry'
* nullable: true
* latestDaily:
* $ref: '#/components/schemas/BackupEntry'
* nullable: true
* latestMonthly:
* $ref: '#/components/schemas/BackupEntry'
* nullable: true
* BackupListing:
* type: object
* required: [counts, hourly, daily, monthly]
* properties:
* counts:
* $ref: '#/components/schemas/BackupTierCounts'
* hourly:
* type: array
* items:
* $ref: '#/components/schemas/BackupEntry'
* daily:
* type: array
* items:
* $ref: '#/components/schemas/BackupEntry'
* monthly:
* type: array
* items:
* $ref: '#/components/schemas/BackupEntry'
* BackupOverviewResponse:
* type: object
* required: [status, backups]
* properties:
* status:
* $ref: '#/components/schemas/BackupStatus'
* backups:
* $ref: '#/components/schemas/BackupListing'
* BackupRunResult:
* type: object
* required: [success, id, timestamp, promotedDaily, promotedMonthly, totalSizeBytes, pruneResult, manifest]
* properties:
* success:
* type: boolean
* id:
* type: string
* timestamp:
* type: string
* format: date-time
* promotedDaily:
* type: boolean
* promotedMonthly:
* type: boolean
* totalSizeBytes:
* type: integer
* pruneResult:
* type: object
* required: [hourlyPruned, dailyPruned]
* properties:
* hourlyPruned:
* type: integer
* dailyPruned:
* type: integer
* manifest:
* $ref: '#/components/schemas/BackupManifest'
*/
export {};