Feature Request: Allowing returns of multiple months in api/subscriptions/get_monthly_cost.php or in another endpoint
#880
SimpleAnecdote
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I've made a Wallos widget for Homepage dashboard. As part of that, I wanted to see at a glance:
This results in 4 HTTP requests, 3 of which are to the same endpoint. I do think that the view of these three months is beneficial for people's dashboard. I am also trying to reduce the HTTP requests.
Was wondering if it'd make sense to be able to query this or another endpoint for a time-range.
I can see this working as a 3 month one, being made-for-purpose for this purpose. Alternatively, I can see a query for a time-range with an interval break of a month (or customisable) or for multiple months.
Anyone has thoughts about this? Maybe they have a similar issue/use-case with the same data or similar? Any thoughts about designing this end-point?
All reactions