connectapi icon indicating copy to clipboard operation
connectapi copied to clipboard

use /__api__/v1/timezones rather than /__api__/timezones (2024.09.0)

Open aronatkins opened this issue 5 months ago • 0 comments

The Connect 2024.09.0 release publicizes the time zone enumeration API.

connectapi::get_timezones() needs to call this new endpoint when available and call the unversioned endpoint otherwise.

https://github.com/rstudio/connectapi/blob/bfefb00ce4721c0bb80aedf58ae217ff63742bee/R/schedule.R#L339-L345

The payload is unchanged; only the request path is different.

aronatkins avatar Sep 04 '24 13:09 aronatkins