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

V2.5: Add api endpoint to get all achievements of a specific Repository \ Organization \ Pull Requests #179

Open
7 tasks
thatkookooguy opened this issue Nov 3, 2018 · 0 comments
Assignees
Labels
database Everything that is related to managing\writing\reading the DB. feature Everything that needs an implementation and is new Server Related to server side changes

Comments

@thatkookooguy
Copy link
Member

thatkookooguy commented Nov 3, 2018

API GET ALL REPO\ORGANIZATION\PR ACHIEVEMENTS

FEATURE

This should be pretty similar to #160

we should add a way to get all Repository \ Organization \ Pull Requests related achievements.
Here is what I'm thinking (and why):

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

[NOTICE]: if the user is an organization, get achievements based on organization and not the organization user (for all team members)

This will allow us to add these later for some achievement SWAG:

  • get SVG Badge of all achievements of a specific user (all repos) (user bio or personal website \ cv)
  • get SVG Badge of all achievements of a specific repo (show on a repo's README.md)
  • get SVG Badge of all achievements of a specific pull request [SVG] (added by us in a pull request comment when it is merged)
  • get SVG Badge of all achievements of a specific organization (all repos) (for organization swag :-))

RAW paths should be implemented as well since we would be able to use 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.

@dunaevsky dunaevsky self-assigned this Nov 3, 2018
@thatkookooguy thatkookooguy added feature Everything that needs an implementation and is new database Everything that is related to managing\writing\reading the DB. Server Related to server side changes labels Nov 3, 2018
@thatkookooguy thatkookooguy added this to the achievibit V2.0 milestone Nov 3, 2018
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 Server Related to server side changes
Projects
None yet
Development

No branches or pull requests

2 participants