update api 10

This commit is contained in:
Stanley Dimant
2022-08-15 17:42:58 +02:00
parent 1ee130413f
commit 21fe024dfb
2 changed files with 2 additions and 1 deletions

View File

@@ -8,7 +8,7 @@ namespace MareSynchronos.API
{ {
public class Api public class Api
{ {
public const int Version = 9; public const int Version = 10;
public const string Path = "/mare"; public const string Path = "/mare";
public const string SendFileAbortUpload = "AbortUpload"; public const string SendFileAbortUpload = "AbortUpload";

View File

@@ -4,6 +4,7 @@
{ {
public bool FileExists { get; set; } = true; public bool FileExists { get; set; } = true;
public string Hash { get; set; } = string.Empty; public string Hash { get; set; } = string.Empty;
public string Url { get; set; }
public long Size { get; set; } = 0; public long Size { get; set; } = 0;
public bool IsForbidden { get; set; } = false; public bool IsForbidden { get; set; } = false;
public string ForbiddenBy { get; set; } = string.Empty; public string ForbiddenBy { get; set; } = string.Empty;