pwg.images.setCategory to associate/dissociate/move photos to albums #1518

Closed
opened 2026-10-05 00:46:50 +02:00 by adam · 2 comments
Owner

As described on https://github.com/Piwigo/Piwigo/issues/802#issuecomment-944392667 we would need a dedicated API method to associate/dissociate/move photos and albums... instead of multiple calls to pwg.images.setInfo

cc @EddyLB @remi-martin

As described on https://github.com/Piwigo/Piwigo/issues/802#issuecomment-944392667 we would need a dedicated API method to associate/dissociate/move photos and albums... instead of multiple calls to `pwg.images.setInfo` cc @EddyLB @remi-martin <!-- github-sync-id:1386005047 -->
adam closed this issue 2026-10-05 00:46:50 +02:00
Author
Owner

@EddyLB I have implemented pwg.images.setCategory. It returns nothing (except a stat=ok, of course). Would you like some specific data in return?

@EddyLB I have implemented `pwg.images.setCategory`. It returns nothing (except a `stat=ok`, of course). Would you like some specific data in return? <!-- github-comment-id:1757889235 -->
Author
Owner

@plg Would it be possible to return the modified album data (all concerned albums), similarly to pwg.categories.getList so that we can update data in cache?

@plg Would it be possible to return the modified album data (all concerned albums), similarly to `pwg.categories.getList` so that we can update data in cache? <!-- github-comment-id:1839517261 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#1518