Initial resumable file upload.

Other changes.
This commit is contained in:
2020-03-25 17:31:42 +01:00
parent 2a8f4cbb8d
commit d546edaa0d
11 changed files with 462 additions and 68 deletions

View File

@@ -0,0 +1,17 @@
namespace FarmmapsApi.Models
{
public class FileResponse : FileRequest
{
/// <summary>
/// Code created for the registered file, use this in subsequent calls
/// </summary>
/// <example>a00fbd18320742c787f99f952aef0dbb</example>
public string Code { get; set; }
/// <summary>
/// If a chunked upload, the number of chunks to upload
/// </summary>
/// <example>1</example>
public long Chunks { get; set; }
}
}