namespace decePubClient.Models.Mastodon; /// /api/v2/instance, the part the client reads: what an upload may be. public class InstanceV2 { public InstanceConfiguration Configuration { get; set; } = new(); } public class InstanceConfiguration { public MediaConfiguration MediaAttachments { get; set; } = new(); } /// The types an upload may have and how big it may be, as the server enforces them. public class MediaConfiguration { public List SupportedMimeTypes { get; set; } = []; public long ImageSizeLimit { get; set; } public long VideoSizeLimit { get; set; } public long ImageMatrixLimit { get; set; } public long VideoMatrixLimit { get; set; } public int VideoFrameRateLimit { get; set; } }