Analytics Queries and Endpoints #1
Labels
enhancement
New feature or request
good first issue
Good for newcomers
hacktoberfest
help wanted
Extra attention is needed
When forwarding a request, every time the application writes to the database some information about the request. The table
ShortcutLog
is used for this functionality.This table has the following structure:
Your task is to provide analytics queries and JSON-based endpoints to have a better understanding of how your shortened link is used.
Routes to endpoints are defined here:
shortcut/routes/router.go
Lines 15 to 23 in acf743a
They get authenticated using this middleware:
shortcut/routes/middlewares.go
Lines 55 to 74 in acf743a
If you have any questions about it feel free to ask.
Regards,
David
The text was updated successfully, but these errors were encountered: