-
-
Notifications
You must be signed in to change notification settings - Fork 597
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API: Kimai metadata endpoint #320
Comments
Currently Kimai2 doesn't know its version number. But I guess I have to add it... probably to the |
I'm totally fine with only the version number! I thought this could be useful to other API clients, like a data-migration script. But that's not a common use case and the exposed PHP or database version could lead to a security breach. If you could add the version number to the How do you plan on updating the version number? Do you get the version from the database or a static config file? |
I would keep it as constant in one file. Other third party provider already asked for it, as they need it for their automated installer. I'll add the changes later and send you an update here. |
Added PR #321 - do you have a local installation for testing the branch? |
I'm having some issues with creating a local dev environment for Kimai2. If I execute
Also if I try to run the server using
PHP and Composer are up to date and the PHP extension intl is installed. |
You are running in prod mode, please change your |
Oh wow. I should read the full documentation next time... Testing the branch now 👍 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Describe the solution you'd like
Currently, there aren't any endpoints to determine some metadata about the running Kimai instance. It would be very beneficial to get some data about the currently running Kimai version and other information. Examples:
Additional context
As you know, I'm currently converting Timeu to support Kimai2 instead of Kimai v1. It would be really helpful to get the version of the running Kimai instance. With the version number, I could verify, that certain API endpoints and functionalities are available . Currently, I use the version number of the swagger API documentation for that use case, which isn't really optimal. I'm not even sure if the version number gets updated on an API change:
Related issues
#319
The text was updated successfully, but these errors were encountered: