2022-10-15 00:07:59 +02:00
|
|
|
using Piwigo.Client.Contract;
|
|
|
|
|
|
|
|
namespace Piwigo.Client;
|
|
|
|
|
2022-10-16 23:00:03 +02:00
|
|
|
public interface IAlbumApi
|
2022-10-15 00:07:59 +02:00
|
|
|
{
|
2022-10-16 23:53:17 +02:00
|
|
|
Task<AlbumOrphans> CalculateOrphansAsync(int albumId);
|
|
|
|
|
2022-10-16 22:58:38 +02:00
|
|
|
Task<int> AddAsync(string name, int? parentId = null, string? comment = null, bool? visible = null, CategoryStatus? status = null, bool? commentable = null,
|
|
|
|
CategoryPosition? position = null);
|
|
|
|
|
2022-10-16 23:00:03 +02:00
|
|
|
Task<IReadOnlyCollection<Album>> GetAllAsync();
|
2022-10-15 00:07:59 +02:00
|
|
|
}
|