[web API] pwg.session.getStatus — "Recent period" number of days? #925

Closed
opened 2026-10-05 00:23:58 +02:00 by adam · 1 comment
Owner

Users can change the number of days of the "Recent period" from the web interface. Admin can also change this number with the admin tools.

To my knowledge, third party apps cannot retrieve this number with API methods. They cannot therefore adopt the choice of the user. I suggest that it is returned by the pwg.session.getStatus method after login.

Users can change the number of days of the "Recent period" from the web interface. Admin can also change this number with the admin tools. To my knowledge, third party apps cannot retrieve this number with API methods. They cannot therefore adopt the choice of the user. I suggest that it is returned by the `pwg.session.getStatus` method after login. <!-- github-sync-id:479751863 -->
adam closed this issue 2026-10-05 00:23:58 +02:00
Author
Owner

I've just realised that the method pwg.users.getList returns the parameter recent_period when called with display = all. So I close this issue.

I've just realised that the method `pwg.users.getList` returns the parameter `recent_period` when called with `display = all`. So I close this issue. <!-- github-comment-id:1839482464 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#925