meta { name: Get Contributions type: http seq: 5 } get { url: {{baseUrl}}/api/git-repos/1/contributions?branch=main&year=2025 body: none auth: none } params:query { branch: main year: 2025 ~author: john@example.com } headers { Accept: application/json Cookie: {{sessionCookie}} } docs { # Get Contributions Fetches daily contribution data for a specific repository, branch, and year. Used for generating GitHub-style contribution heatmaps. ## Query Parameters - `branch`: Git branch name (default: 'main') - `year`: Year for contributions (default: current year) - `author`: Optional email filter for specific author ## Response ```json { "contributions": [ { "date": "2025-01-01", "count": 3, "weekday": 3 }, { "date": "2025-01-02", "count": 0, "weekday": 4 } ] } ``` ## Weekday Format - 0 = Sunday - 1 = Monday - ... - 6 = Saturday ## Caching - Cached for 1 hour (3600 seconds) - Cache key includes repository ID, branch, author, and year }