Piwigo / Piwigo-Android

Piwigo Native Android App
GNU General Public License v3.0
141 stars 43 forks source link

Check if Piwigo accepts upload #160

Open ramack opened 4 years ago

ramack commented 4 years ago

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.

EddyLB commented 4 years ago

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).

ramack commented 4 years ago

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: