Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/github/platform-samples
A public place for all platform sample projects.
https://github.com/github/platform-samples
graphql hooks javascript platform platform-samples pre-receive-hooks ruby sample
Last synced: 27 days ago
JSON representation
A public place for all platform sample projects.
- Host: GitHub
- URL: https://github.com/github/platform-samples
- Owner: github
- License: cc0-1.0
- Created: 2013-02-27T01:04:54.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2024-02-21T14:57:36.000Z (9 months ago)
- Last Synced: 2024-02-23T10:35:02.991Z (8 months ago)
- Topics: graphql, hooks, javascript, platform, platform-samples, pre-receive-hooks, ruby, sample
- Language: Shell
- Size: 7.32 MB
- Stars: 1,841
- Watchers: 625
- Forks: 1,716
- Open Issues: 48
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-notes - github/platform-samples `github`
- jimsghstars - github/platform-samples - A public place for all platform sample projects. (Shell)
README
platform-samples
================This is a public place for all sample projects related to the GitHub Platform.
## Hierarchy
The directories are organized to correlate with guides found on developer.github.com.
But here it is, broken down:* _api_: here's a bunch of sample code relating to the GitHub API. Subdirectories in this
category are broken up by language. Do you have a language sample you'd like added?
Make a pull request and we'll consider it.
* _graphql_: here's a bunch of sample GraphQL queries that can be run against our [GitHub GraphQL API](https://docs.github.com/graphql).
* _hooks_: want to find out how to write a consumer for [our web hooks](https://docs.github.com/webhooks-and-events/webhooks/about-webhooks)? The examples in this subdirectory show you how. We are open for more contributions via pull requests.
* _microsoft-graph-api_: here's a bunch of sample [Microsoft Graph](https://learn.microsoft.com/en-us/graph/use-the-api) commands related to integrations for GitHub, such as EMU (Enterprise Managed User) OIDC authentication for Azure AD/Entra.
* _pre-receive-hooks_: this one contains [pre-receive-hooks](https://docs.github.com/enterprise-server/admin/policies/enforcing-policy-with-pre-receive-hooks) that can block commits on GitHub Enterprise that do not fit your requirements. Do you have more great examples? Create a pull request and we will check it out.
* _scripts_: want to analyze or clean-up your Git repository? The scripts in this subdirectory show you how. We are open for more contributions via pull requests.
* _sql_: here are sql scripts for custom reporting for GitHub Enterprise Server. We are open for more contributions via pull requests.