diff --git a/MareSynchronosAPI/API.cs b/MareSynchronosAPI/API.cs index 751312b..4d1b7fb 100644 --- a/MareSynchronosAPI/API.cs +++ b/MareSynchronosAPI/API.cs @@ -2,14 +2,14 @@ { public class Api { - public const int Version = 10; + public const int Version = 12; public const string Path = "/mare"; public const string SendFileAbortUpload = "AbortUpload"; public const string InvokeFileSendFiles = "SendFiles"; public const string InvokeFileIsUploadFinished = "IsUploadFinished"; public const string SendFileUploadFileStreamAsync = "UploadFileStreamAsync"; - public const string InvokeFileGetFileSize = "GetFileSize"; + public const string InvokeGetFilesSizes = "GetFilesSizes"; public const string SendFileDeleteAllFiles = "DeleteAllFiles"; public const string InvokeHeartbeat = "Heartbeat"; diff --git a/MareSynchronosAPI/DownloadFileDto.cs b/MareSynchronosAPI/DownloadFileDto.cs index 483c2cc..a907eab 100644 --- a/MareSynchronosAPI/DownloadFileDto.cs +++ b/MareSynchronosAPI/DownloadFileDto.cs @@ -4,6 +4,7 @@ { public bool FileExists { get; set; } = true; public string Hash { get; set; } = string.Empty; + public string Url { get; set; } public long Size { get; set; } = 0; public bool IsForbidden { get; set; } = false; public string ForbiddenBy { get; set; } = string.Empty;