Piwigo-Android icon indicating copy to clipboard operation
Piwigo-Android copied to clipboard

Check if Piwigo accepts upload

Open ramack opened this issue 5 years ago • 2 comments

There is a WS to check whether piwigo accepts uploads: pwg.images.checkUpload This shall be used to determine whether the upload FAB is shown or not.

ramack avatar Oct 19 '19 19:10 ramack

This method can only be used by admin users. So it won’t let you know if Community users can upload images.

In fact, I do not know why it exists because admins can always upload images (to my knowledge).

EddyLB avatar Oct 19 '19 21:10 EddyLB

I stumbled over this name and hoped it would to do something useful and expected, that we would not need to check all those special cases, but all is included in this single call. :smile:

Thanks for the details. I get more and more the feeling, that the webservice interface of piwigo cries for a cleanup :cry:

ramack avatar Oct 19 '19 21:10 ramack