Skip to content
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

usage: query usage for recently active users #173

Merged
merged 5 commits into from
Oct 31, 2023

Conversation

gioelecerati
Copy link
Member

@gioelecerati gioelecerati commented Oct 2, 2023

This removes any need to fetch users by activity on studio and doing multiple api calls to data to retrieve usage for these users. In a single api, you can fetch usage for active users in a requested timeframe

Also, this creates a new endpoint grouped where you can pass a list of userIds with their billing cycle and retrieve their usage in a single query

@gioelecerati gioelecerati requested a review from a team as a code owner October 2, 2023 18:07
@gioelecerati gioelecerati marked this pull request as draft October 2, 2023 18:16
@gioelecerati gioelecerati changed the title usage: query usage for recently active users usage: query usage for recently active users & grouped usage from user list Oct 2, 2023
@gioelecerati gioelecerati changed the title usage: query usage for recently active users & grouped usage from user list usage: query usage for recently active users Oct 31, 2023
@gioelecerati gioelecerati marked this pull request as ready for review October 31, 2023 19:06
@gioelecerati gioelecerati merged commit babf50e into main Oct 31, 2023
13 checks passed
@gioelecerati gioelecerati deleted the gio/usage/active-users branch October 31, 2023 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant