Skip to content

Commit

Permalink
Merge pull request #147 from snyk/feat/gh_search_api_support
Browse files Browse the repository at this point in the history
feat: add gh search api to accept
  • Loading branch information
odinn1984 authored Nov 19, 2018
2 parents 0bd21f4 + 8ec8530 commit ef3f744
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions client-templates/github-com/accept.json.sample
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,13 @@
],
"private":
[
{
"//": "search for user's repos",
"method": "GET",
"path": "/search/repositories",
"origin": "https://${GITHUB_TOKEN}@${GITHUB_API}"
},

{
"//": "list the user's info, and validate their credentials",
"method": "GET",
Expand Down
7 changes: 7 additions & 0 deletions client-templates/github-enterprise/accept.json.sample
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,13 @@
],
"private":
[
{
"//": "search for user's repos",
"method": "GET",
"path": "/search/repositories",
"origin": "https://${GITHUB_TOKEN}@${GITHUB_API}"
},

{
"//": "list the user's info, and validate their credentials",
"method": "GET",
Expand Down

0 comments on commit ef3f744

Please sign in to comment.