[#1235] REST API GET Schedule endpoint returns all past date as off?

Migrated from Redmine #1235 | Author: Ngoc Phung
Status: New | Priority: Normal | Created: 2024-05-27


Hi, we just notice now your REST API Get schedule /admin/schedule will return all past date with is_day_off==true.
May I confirm is this expected?
If it’s true, what is the reason behind? Our report is using this endpoint, and we usually need to check past date’s data hence this is very inefficient for us now

Redmine Admin wrote:

yes, this is correct

Ngoc Phung wrote:

hi, may I ask is this the same to Json rpc? And can you not do this but still return data for past date?

Since, as I mentioned, we usually need to check data of past date hence it now will be inefficient for us to do…