In PR #28, only the high priority methods for Obsidian integration with toggl and toggl-node-cli were updated. The remaining methods need to be updated to use the v9 endpoints and new requirements in the specified module.
Observations from prior work.
The information is the response is no longer nested in a data property. The use of the mapData() function is probably not needed.
In some cases, the API calls now require certain parameters in the request. The methods in this function ensure that the calling client passed the newly required attributes.
In some cases, where an id was passed before, the entire time entry needs to be passed.
All existing client methods work with the new v9 API.
Smoke tests created for all list-type endpoints and should pass locally. Call this out specifically in your PR in case the tests do not run automatically.
In PR #28, only the high priority methods for Obsidian integration with toggl and toggl-node-cli were updated. The remaining methods need to be updated to use the v9 endpoints and new requirements in the specified module.
Observations from prior work.
data
property. The use of themapData()
function is probably not needed.Toggl API Documentation
Acceptance Criteria
Issue created via script