using Piwigo.Client.Contract; namespace Piwigo.Client; public interface IImageApi { Task AddAsync(ImageUpload imageUpload, CancellationToken cancellationToken = default); Task UpdateAsync(int imageId, ImageUpload imageUpload, CancellationToken cancellationToken = default); Task AddCommentAsync(int imageId, string? author, string content, string key, CancellationToken cancellationToken = default); Task AddChunkAsync(byte[] data, string originalSum, int position, CancellationToken cancellationToken = default); Task ReadyForUploadAsync(CancellationToken cancellationToken = default); Task GetInfoAsync(int imageId, int? commentsPage, int? commentsPerPage, CancellationToken cancellationToken = default); Task GetImages(int albumId, bool recursive, PagingInfo page, ImageFilter filter, ImageOrder order = ImageOrder.Name, CancellationToken cancellationToken = default); /* checkFiles delete deleteOrphans emptyLounge exist -> formats delete searchImage rate search setInfo setMd5sum setPrivacyLevel setRank syncMetadata upload uploadAsync uploadCompleted */ }