Skip to content

Add /api/v2/keyfigures endpoint (Fixes #20)#26

Open
osborn-xiao wants to merge 1 commit into
OpenElements:mainfrom
osborn-xiao:main
Open

Add /api/v2/keyfigures endpoint (Fixes #20)#26
osborn-xiao wants to merge 1 commit into
OpenElements:mainfrom
osborn-xiao:main

Conversation

@osborn-xiao

Copy link
Copy Markdown

This PR implements the missing REST endpoint requested in Issue #20.

Changes

  • Added StatsController with /api/v2/keyfigures endpoint
  • Returns open_issues, contributors, repositories, stars for the configured GitHub organization
  • Uses authenticated GitHub API requests to avoid rate limiting

Testing

  • Tested locally with a valid GitHub token
  • Sample response: {"repositories":13,"contributors":13,"stars":46,"open_issues":8}

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your first pull request! We're excited to review it. 🚀

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.

1 participant