backups: support Cloudflare R2 by listing uploaded parts from Wings

This commit is contained in:
Matthew Penner 2022-09-26 11:15:52 -06:00
parent 0dc77aec25
commit 2dcc46ecd6
No known key found for this signature in database
GPG key ID: 31311906AD4CF6D6
2 changed files with 21 additions and 6 deletions

View file

@ -16,6 +16,9 @@ class ReportBackupCompleteRequest extends FormRequest
'checksum' => 'nullable|string|required_if:successful,true',
'checksum_type' => 'nullable|string|required_if:successful,true',
'size' => 'nullable|numeric|required_if:successful,true',
'parts' => 'nullable|array',
'parts.*.etag' => 'required|string',
'parts.*.part_number' => 'required|numeric',
];
}
}