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

[FEATURE] add api endpoint to get all achievements of a specific pull request #124

Open
12 tasks
thatkookooguy opened this issue Nov 28, 2017 · 0 comments
Open
12 tasks
Labels
database Everything that is related to managing\writing\reading the DB. feature Everything that needs an implementation and is new

Comments

@thatkookooguy
Copy link
Member

thatkookooguy commented Nov 28, 2017

API GET ALL PR ACHIEVEMENTS

FEATURE

we should add a way to get all pull request related achievements.
Here is what I'm thinking (and why):

  • /achievements/:repo_owner:/ - get all achievements of a specific owner (all repos)
  • /achievements/:repo_owner:/:repo:/ - get all achievements of a specific repo
  • /achievements/:repo_owner:/:repo:/:pr_id: - get all achievements of a specific pull request
  • /achievements/:repo_owner:/:repo:/:pr_id:/:username:/ - get all achievements of a specific pull request of a specific user

maybe we can have it this way:

  • /achievements/:repo_owner:/ - get all achievements of a specific owner (all repos) [SVG] (user bio or personal website \ cv)
  • /achievements/:repo_owner:/:repo:/ - get all achievements of a specific repo [SVG] (show on a repo's README.md)
  • /achievements/:repo_owner:/:repo:/:pr_id: - get all achievements of a specific pull request [SVG] (show in a pull request comment)
  • /achievements/:repo_owner:/:repo:/:pr_id:/:username:/ - get all achievements of a specific pull request of a specific user [SVG] (show in user site)
  • /raw/achievements/:repo_owner:/ - get all achievements of a specific owner (all repos) [SVG] (user bio or personal website \ cv)
  • /raw/achievements/:repo_owner:/:repo:/ - get all achievements of a specific repo [JSON]
  • /raw/achievements/:repo_owner:/:repo:/:pr_id: - get all achievements of a specific pull request [JSON]
  • /raw/achievements/:repo_owner:/:repo:/:pr_id:/:username:/ - get all achievements of a specific pull request of a specific user [JSON]

RAW paths can be used for the data itself. in a future kibibit cli for example, we can show achievements when a feature is merged.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@thatkookooguy thatkookooguy added feature Everything that needs an implementation and is new database Everything that is related to managing\writing\reading the DB. labels Nov 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
database Everything that is related to managing\writing\reading the DB. feature Everything that needs an implementation and is new
Projects
None yet
Development

No branches or pull requests

1 participant