Skip to content

API endpoints for stars #3815

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

Closed
wants to merge 214 commits into from
Closed

API endpoints for stars #3815

wants to merge 214 commits into from

Conversation

ethantkoenig
Copy link

This pull request adds the following API endpoints:

  • GET /users/:username/starred: List repositories starred by a user
  • GET /user/starred: List repositories starred by authenticated user
  • GET /user/starred/:owner/:repo: If authenticated user is starring a repository
  • PUT /user/starred/:owner/:repo: Star a repository (as authenticated user)
  • DELETE /user/starred/:owner/:repo: Unstar a repository (as authenticated user)

Each of these endpoints already exists in the Github API.

@ethantkoenig ethantkoenig force-pushed the develop branch 3 times, most recently from c49abe4 to 2c8c147 Compare November 1, 2016 02:33
lunny and others added 12 commits November 12, 2016 13:06
- Added public entries to reserved keywords list
- Rename variables
- Derped comment
* Fix broken link for Contributors Guide

* remove ./
Signed-off-by: Bo-Yi Wu <[email protected]>
That is annoying on Windows, since the editor will change the file if
you just open it. Git will checking as LF anyway.
Fix lint errors in models/wiki (just add methods docs)
Allow updating draft releases while keeping them as draft
@ethantkoenig ethantkoenig force-pushed the develop branch 3 times, most recently from 3522337 to 197b958 Compare November 14, 2016 22:44
@ekozan
Copy link

ekozan commented Nov 18, 2016

@ethantkoenig can you close this pr it's noisy

@ethantkoenig ethantkoenig deleted the develop branch December 24, 2016 19:52
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.