Further to a minor incident involving the current week's shifts being deleted, I have written a backup script that works by logging me in on a Headless Chrome browser controlled by Selenium / Webdriver and clicks on every shift to read out each one, so I can check this data into a private Git repository in case a backup copy is needed again due to any future mistakes of this type. My Selenium script depends on the current layout and class names, and is therefore liable to be broken by any future interface adjustments. It would be nice if there were a single API-type URL I could use to fetch all shifts of all projects I'm involved in, for backup purposes. Admin should not be needed for this if it is read-only, since it's providing data that would be available to a normal user anyway.
Further to a minor incident involving the current week's shifts being deleted, I have written a backup script that works by logging me in on a Headless Chrome browser controlled by Selenium / Webdriver and clicks on every shift to read out each one, so I can check this data into a private Git repository in case a backup copy is needed again due to any future mistakes of this type. My Selenium script depends on the current layout and class names, and is therefore liable to be broken by any future interface adjustments. It would be nice if there were a single API-type URL I could use to fetch all shifts of all projects I'm involved in, for backup purposes. Admin should not be needed for this if it is read-only, since it's providing data that would be available to a normal user anyway.