-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Get Company by ID/SFID + Added GitHub v4 GraphQL Lib
- Added v2 Get Company by ID/SFID swagger/API endpoints - Updated company not found error/404 logic - Added 404 error to v2 endponts that were missing it - Added initial release of GitHub v4 GraphQL API library and init logic Signed-off-by: makkalot <[email protected]> Signed-off-by: David Deal <[email protected]>
- Loading branch information
Showing
31 changed files
with
40,718 additions
and
139 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"name": "GitHub API V4 GraphQL Schema", | ||
"schemaPath": "github-schema.graphql", | ||
"extensions": { | ||
"endpoints": { | ||
"GitHub API V4 GraphQL Endpoint": { | ||
"url": "https://api.github.com/graphql", | ||
"headers": { | ||
"Authorization": "Bearer ${env:GITHUB-ACCESS-TOKEN}", | ||
"user-agent": "JS GraphQL" | ||
}, | ||
"introspect": false | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
query BranchProtectionRule($organizationOwner: String!, $repositoryName: String!) { | ||
repository(owner: $organizationOwner, name: $repositoryName) { | ||
id | ||
createdAt | ||
branchProtectionRules(first: 100) { | ||
totalCount | ||
nodes { | ||
pattern | ||
id | ||
allowsDeletions | ||
requiredApprovingReviewCount | ||
requiredStatusCheckContexts | ||
} | ||
edges { | ||
node { | ||
allowsDeletions | ||
id | ||
pattern | ||
} | ||
} | ||
} | ||
diskUsage | ||
hasIssuesEnabled | ||
} | ||
} |
Oops, something went wrong.