kimai / kimai

Kimai is a web-based multi-user time-tracking application. Works great for everyone: freelancers, companies, organizations - everyone can track their times, generate reports, create invoices and do so much more. SaaS version available at https://www.kimai.cloud

Home Page:https://www.kimai.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add key value map to tags API call for Fetching existing tags

treverehrfurth opened this issue · comments

Describe the problem

When making the api call for tags (/api/tags) it returns the data as just an array.
To make things easier ingesting this JSON in other applications, can we add a key value map to that api call so instead of this:

[
    "Client Weekly Sync",
    "Daily Standup",
    "Engineer Synch"
]

It would be something like this:

{
"tags" : [
    "Client Weekly Sync",
    "Daily Standup",
    "Engineer Synch"
]
}

Similar to how it comes in from the timesheets api call.

Describe the solution you'd like

Tags to appear as such:

{
"tags" : [
    "Client Weekly Sync",
    "Daily Standup",
    "Engineer Synch"
]
}

Describe alternatives you've considered

No response

Screenshots

No response