https://github.com/runnable/github-webhook-fixtures
A set of testing fixtures for the GitHub Webhooks API v3
https://github.com/runnable/github-webhook-fixtures
Last synced: 12 months ago
JSON representation
A set of testing fixtures for the GitHub Webhooks API v3
- Host: GitHub
- URL: https://github.com/runnable/github-webhook-fixtures
- Owner: Runnable
- License: mit
- Created: 2015-10-19T19:59:20.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-10-19T21:17:51.000Z (over 10 years ago)
- Last Synced: 2025-01-16T04:30:50.358Z (over 1 year ago)
- Language: JavaScript
- Size: 137 KB
- Stars: 3
- Watchers: 12
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# github-webhook-fixtures
A set of testing fixtures for the GitHub Webhooks API v3
## Overview
This library provides a set of fixtures that can be used for testing your GitHub
webhooks API enabled applications. The provided fixtures give example headers
and body objects provided by the webhooks API.
## Usage
```js
var webhooks = require('github-webhook-fixtures');
var pushHeaders = webhooks.push.headers;
var pushBody = webhooks.push.body;
```
## Supported Webhooks
Fixtures for the following Webhooks are provided:
* `commit_comment`
* `create`
* `delete`
* `deployment`
* `deployment_status`
* `fork`
* `gollum`
* `issue_comment`
* `issues`
* `member`
* `membership`
* `page_build`
* `public`
* `pull_request`
* `pull_request_review_comment`
* `push`
* `release`
* `repository`
* `status`
* `team_add`
* `watch`
For more information about GitHub webhooks please see the
[the official GitHub Webhooks API Documentation](https://developer.github.com/v3/activity/events/types/).
## License
MIT