Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Development
  1. OpenProject
  2. Forums
  3. Development
  4. Time Log in API v2 or v3 access

Time Log in API v2 or v3 access

Added by Nick van IJzendoorn almost 9 years ago

Hello,

I’m currently working on a C# application to log time against working packages and to my surprise there is no API support for this in the v2 and v3 API.

How would I be able to implement this? I’m not that familiar with Ruby on Rails (say 0 knowledge) but if I can copy the API interface from the working packages for example I think I could make it work.

Maybe I’ve overlooked something and the feature is there already.
Otherwise, would it be possible to implement this? Where can I find how the API is glued to the URI dispatcher?

The C# application I’m making would be opensource as well, the idea of this application is to see all working packages assigned to you and monitor computer activity. If the activity stops for a defines period of times I could that you got distracted from what you where doing and the application asks if the time is still spend on the same task. And a simple overview of the working packages assigned to you.

So I guess it would be a win win ;)

Cheers,
Nick


Replies (1)

RE: Time Log in API v2 or v3 access - Added by Oliver Günther almost 9 years ago

Hey Nick,

I like the idea of your time watcher app.

You are indeed correct that logging time entries through the APIv3 does not exit. I don’t think we have it on the immediate roadmap. A new APIv3 endpoint for time entries would be quite simple and isolated, however with little to no experience in Rails, it may become rather difficult. We would welcome and support a pull request in that regard though.

Best,
Oliver

  • (1 - 1/1)
Loading...