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

Stats Routes #184

Merged
merged 3 commits into from
Jan 27, 2020
Merged

Stats Routes #184

merged 3 commits into from
Jan 27, 2020

Conversation

mxmeinhold
Copy link
Collaborator

@mxmeinhold mxmeinhold commented Oct 6, 2019

I've started working on stats routes, beginning with a route to grab signatures over time for a single packet.

That route is /api/v1/stats/packet/<packet_id> and returns data in the format of

{
	'packet_id': '<packet_id>',
	'dates': [
		'<date>': {
			'upper': [ 'uid' ],
			'fresh': [ 'username' ],
			'misc': [ 'uid' ],
		},
	],
}

This should allow constructing a few nice graphs for #62, since the data is split categorically and temporally, but I think @devinmatte mentioned some other slices that would be useful, so I was hoping to get some feedback on both this formatting and what else might be helpful.

@mxmeinhold mxmeinhold self-assigned this Oct 6, 2019
An initial pass at the router, very messy (and written late at night)
@mxmeinhold mxmeinhold marked this pull request as ready for review January 20, 2020 05:16
@devinmatte devinmatte merged commit 21ae9ce into ComputerScienceHouse:develop Jan 27, 2020
@mxmeinhold mxmeinhold deleted the stats branch February 19, 2020 03:19
@mxmeinhold mxmeinhold mentioned this pull request Mar 7, 2020
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.

3 participants