Skip to content

willyprayogo26/hacktivgit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Hacktivgit

List of basic routes:

Route HTTP Header(s) Body Description
/google-login POST none email: String, password: String Login using Oauth2 (Google)
success:
(200), example: {object}
errors:
(500), error
/users/starred GET Authorization:
(token github)
none Get all starred repositories
success:
(200), example: {object}
errors:
(500), error
/users/starred/search?name=<repoName> GET Authorization:
(token github)
none Get starred repositories
success:
(200), example: {object}
errors:
(500), error
/users/create POST Authorization:
(token github)
JSON
example: {"name": "test", "private": true}
Create repository
success:
(200), example: {object}
errors:
(500), error
/users/:username GET Authorization:
(token github)
none Get all repositories
success:
(200), example: {object}
errors:
(500), error
/users/unstar/:username/:reponame DELETE Authorization:
(token github)
none Unstar repository
success:
(200), example: {"message": "Repository <reponame> from username <username> unstarred"}
errors:
(500), error

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 77.3%
  • HTML 22.7%