API: Distinguish spent & earned at /v2/chart/category/dashboard
(or future v2/categories
)
#8345
Open
3 tasks done
Labels
enhancement
Requests for enhancements of existing stuff.
Milestone
Support guidelines
Description
I want to build a page which lists all categories (and the "no category" 'category') and their values during a given timespan.
v1/categories
looks like the ideal candidate, however you are not able to supply a date andearned
andspent
are always empty. This leaves no good options:v1/insight/income/category
,v1/insight/income/no-category
,v1/insight/expense/category
,v1/insight/expense/no-category
Solution
Looking at the v2 API
/v2/chart/category/dashboard
looks like it could almost do what I want in a single call. The only thing missing is that it only reports a sum, not spent & earned separately.Since the v1 api calls distinguish between spent & earned, would it be possible to add those details to that result? Or, if not, would it be possible to get a way to fill-in
spent
&earned
for a futurev2/categories
call?Thank you!
What are alternatives?
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: