Feature Request: Webhook Event for Repository ZIP Downloads #137884
Replies: 1 comment
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
Feature Request: Webhook Event for Repository ZIP Downloads
Description
Currently, there is no way to track when a repository is downloaded as a ZIP file through GitHub's API or webhook system. This feature would be incredibly useful for repository owners who want to monitor the popularity and usage of their projects beyond just stars and forks.
Proposed Solution
Implement a new webhook event that triggers when a repository is downloaded as a ZIP file. This event could be named
repository_download
or similar.Event Payload
The event payload could include:
repository
: The repository that was downloadedsender
: The user who initiated the download (if authenticated)timestamp
: When the download occurreddownload_type
: e.g., "zip", "tar.gz"ref
: The branch or tag that was downloaded (if applicable)Use Cases
Potential Challenges
Additional Context
This feature would complement existing analytics like clone statistics and provide a more comprehensive view of repository usage and popularity.
Would this feature be useful to you?
Yes, I am developing a GitHub integration application that would greatly benefit from the ability to track repository downloads for our users.
Thank you for considering this feature request!
Beta Was this translation helpful? Give feedback.
All reactions