piwigodotnet/PiwigoDotnet/Piwigo.Client/IAlbumApi.cs

15 lines
458 B
C#

using Piwigo.Client.Contract;
namespace Piwigo.Client;
public interface IAlbumApi
{
Task<AlbumOrphans> CalculateOrphansAsync(int albumId);
Task DeleteAsync(int albumId, string apiToken);
Task<int> AddAsync(string name, int? parentId = null, string? comment = null, bool? visible = null, CategoryStatus? status = null, bool? commentable = null,
CategoryPosition? position = null);
Task<IReadOnlyCollection<Album>> GetAllAsync();
}