39 lines
944 B
C#
39 lines
944 B
C#
using Piwigo.Client.Contract;
|
|
|
|
namespace Piwigo.Client;
|
|
|
|
public interface IImageApi
|
|
{
|
|
Task<ImageUploaded> AddAsync(ImageUpload imageUpload, CancellationToken cancellationToken = default);
|
|
Task<ImageUploaded> UpdateAsync(int imageId, ImageUpload imageUpload, CancellationToken cancellationToken = default);
|
|
Task AddChunkAsync(byte[] data, string originalSum, int position, CancellationToken cancellationToken = default);
|
|
|
|
Task<bool> ReadyForUploadAsync(CancellationToken cancellationToken = default);
|
|
|
|
Task<PagedImages> GetImages(int albumId, bool recursive, PagingInfo page, ImageFilter filter, ImageOrder order = ImageOrder.Name,
|
|
CancellationToken cancellationToken = default);
|
|
|
|
/*
|
|
addComment
|
|
addFile
|
|
checkFiles
|
|
delete
|
|
deleteOrphans
|
|
emptyLounge
|
|
exist
|
|
-> formats
|
|
delete
|
|
searchImage
|
|
getInfo
|
|
rate
|
|
search
|
|
setInfo
|
|
setMd5sum
|
|
setPrivacyLevel
|
|
setRank
|
|
syncMetadata
|
|
upload
|
|
uploadAsync
|
|
uploadCompleted
|
|
*/
|
|
} |