Open tarpin opened 5 years ago
Could you tell us know more for what it would be needed?
Thanks for Your quick reply.
I'm thinking about making addon for browser inspired by Toggl Button addon. Addon would be integrated with Time Tracker (as backend).
Planned functions of the addon:
Initially, addon would need possibility to:
Can we just add @NoCSRFRequired on several route like the start-timer for example? Would work great as a rest api. Background - I plan a small app for my employees to track their time from mobile and just exposing these ajax routes would help a lot - or is there a way to access them via rest if the don't have the @NoCSRFRequired comment? @reinerj
we will review this and will look for the best way how this can be implemented. There are more reuest like this to have other options to add hours to the application
@adnoh I think you'll need separate routes for API so you can start, stop and add timers for different users as just disabling CSRF is a hack that would require your app to login as the user into the nextcloud app.
We would accept pull requests. When you would send this we would review and integrate it.
Thanks
An API would also be useful to allow using external apps to register check-in/check-out times. It could even be connected to a card reader which would allow to check in times simply by swiping an RFID card.
yes, an api would help to create tracker apps
I'm making standalone device for selecting project that I'm working on. With REST API I could integrate it with timetracker.
Could you please add REST API.