Compare commits
218 Commits
v3.3.1
...
gitea-support
| Author | SHA1 | Date | |
|---|---|---|---|
| a2bdbf1756 | |||
| 1c899982c1 | |||
| 4f72f9c366 | |||
| edaedd4ce9 | |||
| b793bbfed1 | |||
| c4e51bc4db | |||
| f22656b35f | |||
| 9c954e23a1 | |||
| a920656418 | |||
| 06301b5ab1 | |||
| c91d10f2b2 | |||
| 1739c6dbe4 | |||
| ffc40ad83a | |||
| 2e6b4930e4 | |||
| 8618bb2b63 | |||
| 4399abf450 | |||
| f16cede744 | |||
| 3c382736e0 | |||
| ec227ef416 | |||
| e55d994db5 | |||
| 66bfeb55b9 | |||
| e1c6b6436c | |||
| 598a1cf5be | |||
| f3cedb24ac | |||
| 82e53669b8 | |||
| cd70db9922 | |||
| b3a37b9b9a | |||
| e5ab838da3 | |||
| 56d9dffd38 | |||
| c99be7dbb8 | |||
| 433ece5b7b | |||
| e6bb8aa4b7 | |||
| 8a870336ee | |||
| b6a30802e2 | |||
| a8ff1e82b4 | |||
| 5fcf4a6e13 | |||
| 1f79ca202d | |||
| 59fb74817c | |||
| aa941874be | |||
| bfd950a988 | |||
| 9d685f3a73 | |||
| 1f42c84783 | |||
| b79b935d9e | |||
| ee81f21da7 | |||
| 03cee75fc3 | |||
| 86c24d8570 | |||
| 30fb8f885f | |||
| 957d07ee07 | |||
| a5ce17cac3 | |||
| efae47c3b9 | |||
| b616136c50 | |||
| 303483bff4 | |||
| 4156f32687 | |||
| b03dc868a0 | |||
| 9f0c3ac5d7 | |||
| f4ad678f8e | |||
| a23062206a | |||
| 7c046447e2 | |||
| fafbb08b19 | |||
| c31b74320c | |||
| 5be09cefe2 | |||
| 7a4edfce55 | |||
| bb49f714ae | |||
| 260e9b3afd | |||
| e01b0fd664 | |||
| ef305446ee | |||
| cfd9712d30 | |||
| a7a2c8c856 | |||
| 743f78a93d | |||
| a4dc35a54d | |||
| 9a9f42e1b8 | |||
| cc63869891 | |||
| cb4aa3d145 | |||
| 334436bcc5 | |||
| 3007a7f5c2 | |||
| f248671aae | |||
| 2845fba51e | |||
| e1f5ba4c3a | |||
| ef903a2448 | |||
| 115b7e49a5 | |||
| 9ce6db7e53 | |||
| dc7efa3fa7 | |||
| c3faee81c0 | |||
| 26af15f0e6 | |||
| 2c25dbce5e | |||
| cc33de46ff | |||
| c86c1f184a | |||
| 2c92b6562c | |||
| 0c10330052 | |||
| a9a686f8e5 | |||
| 3534f74a83 | |||
| a740f8cf11 | |||
| 905cac71c9 | |||
| 71b069e705 | |||
| 471fb52f8c | |||
| 1751865845 | |||
| 0a9a3aab3e | |||
| 43ffb318d2 | |||
| 6edb377cee | |||
| c205145bc6 | |||
| a8ef7768a6 | |||
| 2b63b487a9 | |||
| c168baf1a5 | |||
| 08c3e54514 | |||
| 21587e152e | |||
| bf1a77d573 | |||
| d228b48c40 | |||
| 869ac76ba8 | |||
| ebe6b8d143 | |||
| c271d4f1c6 | |||
| 067e3f1d7a | |||
| 0f4713c1d1 | |||
| f053ac6ee1 | |||
| 65f5d60701 | |||
| 295aa6531f | |||
| a1e2052ae0 | |||
| d70f617c2d | |||
| 4ee4acfa25 | |||
| 8856cf3151 | |||
| 739eddd0c9 | |||
| acf48b9638 | |||
| 01a1302e02 | |||
| d9474f43ee | |||
| 4c7b9ae07d | |||
| bad16bfcd0 | |||
| 66059be93b | |||
| 175959ef60 | |||
| 399cac5122 | |||
| a1051fd871 | |||
| ac198c9e6a | |||
| e157e8e469 | |||
| b2ca22db96 | |||
| dee47c0482 | |||
| bba5196bce | |||
| 57ccf4fc30 | |||
| 1b9fe11c1f | |||
| 80aa7fa2fe | |||
| 88515706e6 | |||
| f1f5db7261 | |||
| a92dd933ba | |||
| 26ca2ef893 | |||
| 4fb25871a6 | |||
| 22a6a67d07 | |||
| d7570ff094 | |||
| 2dbe987740 | |||
| b3a5a8edf7 | |||
| dfc330f6eb | |||
| cdc59eb3ef | |||
| a39ebc145a | |||
| 24279ccb4b | |||
| 4708dcb9f1 | |||
| 3fda9e72e1 | |||
| a610eb250e | |||
| f583341fb8 | |||
| 206a8b42fd | |||
| 8bd2d158e5 | |||
| 20522db8e3 | |||
| 16a6e9e307 | |||
| 5009b13eac | |||
| 3b13bc3566 | |||
| 865045c8ba | |||
| fe5cf5a911 | |||
| 1d0289a3ae | |||
| e452811cf1 | |||
| 077706a514 | |||
| adb918738a | |||
| 9cc34fc5d1 | |||
| 63866ac80d | |||
| 866b461aac | |||
| 0035246764 | |||
| 443e255708 | |||
| eb56c26534 | |||
| 2d55603413 | |||
| b9b0e19032 | |||
| e4aa8cba6c | |||
| 28d44801e9 | |||
| 7e745505c0 | |||
| 8ffb2ffc32 | |||
| 84dc839b94 | |||
| 2c541a737f | |||
| d9e847f7ea | |||
| be944ed461 | |||
| 16896cdb6b | |||
| 3e1bb69b7d | |||
| c9c9d981d7 | |||
| 22713e3054 | |||
| 0ebe5231e2 | |||
| b26a00f48c | |||
| 5580947e3e | |||
| 8db8abb389 | |||
| 9e4b7fa61b | |||
| a831111e26 | |||
| f2acbcde40 | |||
| 3ad83a882d | |||
| 32331e68eb | |||
| 6d731433c9 | |||
| 1253715fd8 | |||
| d4d9692af0 | |||
| 1b6492ce45 | |||
| 493e94de50 | |||
| fc20b2a250 | |||
| 1c3914ef16 | |||
| 2aa5fdc243 | |||
| ea44f6921c | |||
| b6e930d373 | |||
| c271ec3e32 | |||
| 0c4911f7f5 | |||
| 3667088d60 | |||
| 9cafa895ff | |||
| 9494e434fc | |||
| 97dd8f3564 | |||
| 8f6fada23d | |||
| 94f9d6694d | |||
| ad5392160c | |||
| 19cab958b6 | |||
| 78ce03b046 | |||
| ced2e979bc | |||
| d60a03e52a |
@@ -0,0 +1,52 @@
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
|
||||
name: Test
|
||||
jobs:
|
||||
lint:
|
||||
name: Lint
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Run linter
|
||||
uses: golangci/golangci-lint-action@v2
|
||||
with:
|
||||
version: v1.35.2
|
||||
|
||||
test:
|
||||
name: Test
|
||||
strategy:
|
||||
matrix:
|
||||
go-version: [1.14.x, 1.15.x]
|
||||
os: [ubuntu-latest, macos-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: ${{ matrix.go-version }}
|
||||
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Restore cache
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/go/pkg/mod
|
||||
key: ${{ runner.os }}-v1-go-${{ hashFiles('**/go.sum') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-v1-go-
|
||||
|
||||
- name: Run tests
|
||||
run: go test -race -covermode=atomic -coverprofile="coverage.out" ./...
|
||||
|
||||
- name: Upload coverage report to Coveralls
|
||||
if: matrix.os == 'ubuntu-latest' && matrix.go-version == '1.15.x'
|
||||
uses: shogo82148/actions-goveralls@v1
|
||||
with:
|
||||
path-to-profile: coverage.out
|
||||
@@ -6,6 +6,7 @@
|
||||
# Folders
|
||||
_obj
|
||||
_test
|
||||
.idea
|
||||
|
||||
# Architecture specific extensions/prefixes
|
||||
*.[568vq]
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
run:
|
||||
tests: false
|
||||
skip-dirs:
|
||||
- _examples
|
||||
|
||||
linters:
|
||||
enable:
|
||||
- vet
|
||||
- vetshadow
|
||||
- golint
|
||||
- megacheck
|
||||
- ineffassign
|
||||
- misspell
|
||||
- errcheck
|
||||
- goconst
|
||||
- gofmt
|
||||
-39
@@ -1,39 +0,0 @@
|
||||
language: go
|
||||
go:
|
||||
- 1.7.6
|
||||
- 1.8.3
|
||||
- tip
|
||||
matrix:
|
||||
allow_failures:
|
||||
- go: tip
|
||||
|
||||
notifications:
|
||||
email:
|
||||
recipients: dean.karn@gmail.com
|
||||
on_success: change
|
||||
on_failure: always
|
||||
|
||||
before_install:
|
||||
- go get -u github.com/go-playground/overalls
|
||||
- go get -u github.com/mattn/goveralls
|
||||
- go get -u golang.org/x/tools/cmd/cover
|
||||
- go get -u github.com/golang/lint/golint
|
||||
- go get -u github.com/gordonklaus/ineffassign
|
||||
- mkdir -p $GOPATH/src/gopkg.in
|
||||
- ln -s $GOPATH/src/github.com/$TRAVIS_REPO_SLUG $GOPATH/src/gopkg.in/webhooks.v2
|
||||
- ln -s $GOPATH/src/github.com/$TRAVIS_REPO_SLUG $GOPATH/src/gopkg.in/webhooks.v3
|
||||
|
||||
before_script:
|
||||
- go vet ./...
|
||||
|
||||
script:
|
||||
- gofmt -d -s .
|
||||
- golint ./...
|
||||
- ineffassign ./
|
||||
- go test -v ./...
|
||||
- go test -race
|
||||
|
||||
after_success: |
|
||||
[ $TRAVIS_GO_VERSION = 1.8.3 ] &&
|
||||
overalls -project="github.com/go-playground/webhooks" -covermode=count -ignore=.git,examples -debug &&
|
||||
goveralls -coverprofile=overalls.coverprofile -service travis-ci -repotoken $COVERALLS_TOKEN
|
||||
@@ -0,0 +1,21 @@
|
||||
GOPATH=$(shell go env GOPATH)
|
||||
|
||||
all: lint test
|
||||
|
||||
linters-install:
|
||||
@echo "+ $@"
|
||||
@$(GOPATH)/bin/golangci-lint --version >/dev/null 2>&1 || { \
|
||||
echo "Install golangci-lint..."; \
|
||||
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(GOPATH)/bin; \
|
||||
}
|
||||
|
||||
lint: linters-install
|
||||
@echo "+ $@"
|
||||
$(GOPATH)/bin/golangci-lint run ./...
|
||||
|
||||
test:
|
||||
@echo "+ $@"
|
||||
GO111MODULE=on go test -covermode=atomic -race ./...
|
||||
|
||||
.PHONY: test lint linters-install
|
||||
.DEFAULT_GOAL := all
|
||||
@@ -1,10 +1,10 @@
|
||||
Library webhooks
|
||||
================
|
||||
<img align="right" src="https://raw.githubusercontent.com/go-playground/webhooks/v3/logo.png">
|
||||
[](https://travis-ci.org/go-playground/webhooks)
|
||||
[](https://coveralls.io/github/go-playground/webhooks?branch=v3)
|
||||
<img align="right" src="https://raw.githubusercontent.com/go-playground/webhooks/v6/logo.png">
|
||||
[](https://github.com/go-playground/webhooks/actions)
|
||||
[](https://coveralls.io/github/go-playground/webhooks?branch=master)
|
||||
[](https://goreportcard.com/report/go-playground/webhooks)
|
||||
[](https://godoc.org/gopkg.in/go-playground/webhooks.v3)
|
||||
[](https://godoc.org/github.com/go-playground/webhooks/v6)
|
||||

|
||||
|
||||
Library webhooks allows for easy receiving and parsing of GitHub, Bitbucket and GitLab Webhook Events
|
||||
@@ -24,123 +24,60 @@ Installation
|
||||
Use go get.
|
||||
|
||||
```shell
|
||||
go get -u gopkg.in/go-playground/webhooks.v3
|
||||
go get -u github.com/go-playground/webhooks/v6
|
||||
```
|
||||
|
||||
Then import the package into your own code.
|
||||
|
||||
import "gopkg.in/go-playground/webhooks.v3"
|
||||
import "github.com/go-playground/webhooks/v6"
|
||||
|
||||
Usage and Documentation
|
||||
------
|
||||
|
||||
Please see http://godoc.org/gopkg.in/go-playground/webhooks.v3 for detailed usage docs.
|
||||
Please see http://godoc.org/github.com/go-playground/webhooks/v6 for detailed usage docs.
|
||||
|
||||
##### Examples:
|
||||
|
||||
Multiple Handlers for each event you subscribe to
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"strconv"
|
||||
|
||||
"gopkg.in/go-playground/webhooks.v3"
|
||||
"gopkg.in/go-playground/webhooks.v3/github"
|
||||
"net/http"
|
||||
|
||||
"github.com/go-playground/webhooks/v6/github"
|
||||
)
|
||||
|
||||
const (
|
||||
path = "/webhooks"
|
||||
port = 3016
|
||||
)
|
||||
|
||||
func main() {
|
||||
hook, _ := github.New(github.Options.Secret("MyGitHubSuperSecretSecrect...?"))
|
||||
|
||||
hook := github.New(&github.Config{Secret: "MyGitHubSuperSecretSecrect...?"})
|
||||
hook.RegisterEvents(HandleRelease, github.ReleaseEvent)
|
||||
hook.RegisterEvents(HandlePullRequest, github.PullRequestEvent)
|
||||
http.HandleFunc(path, func(w http.ResponseWriter, r *http.Request) {
|
||||
payload, err := hook.Parse(r, github.ReleaseEvent, github.PullRequestEvent)
|
||||
if err != nil {
|
||||
if err == github.ErrEventNotFound {
|
||||
// ok event wasn;t one of the ones asked to be parsed
|
||||
}
|
||||
}
|
||||
switch payload.(type) {
|
||||
|
||||
err := webhooks.Run(hook, ":"+strconv.Itoa(port), path)
|
||||
if err != nil {
|
||||
fmt.Println(err)
|
||||
}
|
||||
case github.ReleasePayload:
|
||||
release := payload.(github.ReleasePayload)
|
||||
// Do whatever you want from here...
|
||||
fmt.Printf("%+v", release)
|
||||
|
||||
case github.PullRequestPayload:
|
||||
pullRequest := payload.(github.PullRequestPayload)
|
||||
// Do whatever you want from here...
|
||||
fmt.Printf("%+v", pullRequest)
|
||||
}
|
||||
})
|
||||
http.ListenAndServe(":3000", nil)
|
||||
}
|
||||
|
||||
// HandleRelease handles GitHub release events
|
||||
func HandleRelease(payload interface{}, header webhooks.Header) {
|
||||
|
||||
fmt.Println("Handling Release")
|
||||
|
||||
pl := payload.(github.ReleasePayload)
|
||||
|
||||
// only want to compile on full releases
|
||||
if pl.Release.Draft || pl.Release.Prerelease || pl.Release.TargetCommitish != "master" {
|
||||
return
|
||||
}
|
||||
|
||||
// Do whatever you want from here...
|
||||
fmt.Printf("%+v", pl)
|
||||
}
|
||||
|
||||
// HandlePullRequest handles GitHub pull_request events
|
||||
func HandlePullRequest(payload interface{}, header webhooks.Header) {
|
||||
|
||||
fmt.Println("Handling Pull Request")
|
||||
|
||||
pl := payload.(github.PullRequestPayload)
|
||||
|
||||
// Do whatever you want from here...
|
||||
fmt.Printf("%+v", pl)
|
||||
}
|
||||
```
|
||||
|
||||
Single receiver for events you subscribe to
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"strconv"
|
||||
|
||||
"gopkg.in/go-playground/webhooks.v3"
|
||||
"gopkg.in/go-playground/webhooks.v3/github"
|
||||
)
|
||||
|
||||
const (
|
||||
path = "/webhooks"
|
||||
port = 3016
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
hook := github.New(&github.Config{Secret: "MyGitHubSuperSecretSecrect...?"})
|
||||
hook.RegisterEvents(HandleMultiple, github.ReleaseEvent, github.PullRequestEvent) // Add as many as you want
|
||||
|
||||
err := webhooks.Run(hook, ":"+strconv.Itoa(port), path)
|
||||
if err != nil {
|
||||
fmt.Println(err)
|
||||
}
|
||||
}
|
||||
|
||||
// HandleMultiple handles multiple GitHub events
|
||||
func HandleMultiple(payload interface{}, header webhooks.Header) {
|
||||
|
||||
fmt.Println("Handling Payload..")
|
||||
|
||||
switch payload.(type) {
|
||||
|
||||
case github.ReleasePayload:
|
||||
release := payload.(github.ReleasePayload)
|
||||
// Do whatever you want from here...
|
||||
fmt.Printf("%+v", release)
|
||||
|
||||
case github.PullRequestPayload:
|
||||
pullRequest := payload.(github.PullRequestPayload)
|
||||
// Do whatever you want from here...
|
||||
fmt.Printf("%+v", pullRequest)
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Contributing
|
||||
|
||||
@@ -0,0 +1,62 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"net/http"
|
||||
|
||||
"github.com/go-playground/webhooks/v6/github"
|
||||
)
|
||||
|
||||
const (
|
||||
path1 = "/webhooks1"
|
||||
path2 = "/webhooks2"
|
||||
)
|
||||
|
||||
func main() {
|
||||
hook1, _ := github.New(github.Options.Secret("MyGitHubSuperSecretSecrect...?"))
|
||||
hook2, _ := github.New(github.Options.Secret("MyGitHubSuperSecretSecrect2...?"))
|
||||
|
||||
http.HandleFunc(path1, func(w http.ResponseWriter, r *http.Request) {
|
||||
payload, err := hook1.Parse(r, github.ReleaseEvent, github.PullRequestEvent)
|
||||
if err != nil {
|
||||
if err == github.ErrEventNotFound {
|
||||
// ok event wasn;t one of the ones asked to be parsed
|
||||
}
|
||||
}
|
||||
switch payload.(type) {
|
||||
|
||||
case github.ReleasePayload:
|
||||
release := payload.(github.ReleasePayload)
|
||||
// Do whatever you want from here...
|
||||
fmt.Printf("%+v", release)
|
||||
|
||||
case github.PullRequestPayload:
|
||||
pullRequest := payload.(github.PullRequestPayload)
|
||||
// Do whatever you want from here...
|
||||
fmt.Printf("%+v", pullRequest)
|
||||
}
|
||||
})
|
||||
|
||||
http.HandleFunc(path2, func(w http.ResponseWriter, r *http.Request) {
|
||||
payload, err := hook2.Parse(r, github.ReleaseEvent, github.PullRequestEvent)
|
||||
if err != nil {
|
||||
if err == github.ErrEventNotFound {
|
||||
// ok event wasn;t one of the ones asked to be parsed
|
||||
}
|
||||
}
|
||||
switch payload.(type) {
|
||||
|
||||
case github.ReleasePayload:
|
||||
release := payload.(github.ReleasePayload)
|
||||
// Do whatever you want from here...
|
||||
fmt.Printf("%+v", release)
|
||||
|
||||
case github.PullRequestPayload:
|
||||
pullRequest := payload.(github.PullRequestPayload)
|
||||
// Do whatever you want from here...
|
||||
fmt.Printf("%+v", pullRequest)
|
||||
}
|
||||
})
|
||||
http.ListenAndServe(":3000", nil)
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"net/http"
|
||||
|
||||
"github.com/go-playground/webhooks/v6/github"
|
||||
)
|
||||
|
||||
const (
|
||||
path = "/webhooks"
|
||||
)
|
||||
|
||||
func main() {
|
||||
hook, _ := github.New(github.Options.Secret("MyGitHubSuperSecretSecrect...?"))
|
||||
|
||||
http.HandleFunc(path, func(w http.ResponseWriter, r *http.Request) {
|
||||
payload, err := hook.Parse(r, github.ReleaseEvent, github.PullRequestEvent)
|
||||
if err != nil {
|
||||
if err == github.ErrEventNotFound {
|
||||
// ok event wasn;t one of the ones asked to be parsed
|
||||
}
|
||||
}
|
||||
switch payload.(type) {
|
||||
|
||||
case github.ReleasePayload:
|
||||
release := payload.(github.ReleasePayload)
|
||||
// Do whatever you want from here...
|
||||
fmt.Printf("%+v", release)
|
||||
|
||||
case github.PullRequestPayload:
|
||||
pullRequest := payload.(github.PullRequestPayload)
|
||||
// Do whatever you want from here...
|
||||
fmt.Printf("%+v", pullRequest)
|
||||
}
|
||||
})
|
||||
http.ListenAndServe(":3000", nil)
|
||||
}
|
||||
@@ -0,0 +1,223 @@
|
||||
package bitbucketserver
|
||||
|
||||
import (
|
||||
"crypto/hmac"
|
||||
"crypto/sha256"
|
||||
"encoding/hex"
|
||||
"encoding/json"
|
||||
"errors"
|
||||
"fmt"
|
||||
"io"
|
||||
"io/ioutil"
|
||||
"net/http"
|
||||
)
|
||||
|
||||
var (
|
||||
ErrEventNotSpecifiedToParse = errors.New("no Event specified to parse")
|
||||
ErrInvalidHTTPMethod = errors.New("invalid HTTP Method")
|
||||
ErrMissingEventKeyHeader = errors.New("missing X-Event-Key Header")
|
||||
ErrMissingHubSignatureHeader = errors.New("missing X-Hub-Signature Header")
|
||||
ErrEventNotFound = errors.New("event not defined to be parsed")
|
||||
ErrParsingPayload = errors.New("error parsing payload")
|
||||
ErrHMACVerificationFailed = errors.New("HMAC verification failed")
|
||||
)
|
||||
|
||||
type Event string
|
||||
|
||||
const (
|
||||
RepositoryReferenceChangedEvent Event = "repo:refs_changed"
|
||||
RepositoryModifiedEvent Event = "repo:modified"
|
||||
RepositoryForkedEvent Event = "repo:forked"
|
||||
RepositoryCommentAddedEvent Event = "repo:comment:added"
|
||||
RepositoryCommentEditedEvent Event = "repo:comment:edited"
|
||||
RepositoryCommentDeletedEvent Event = "repo:comment:deleted"
|
||||
|
||||
PullRequestOpenedEvent Event = "pr:opened"
|
||||
PullRequestFromReferenceUpdatedEvent Event = "pr:from_ref_updated"
|
||||
PullRequestModifiedEvent Event = "pr:modified"
|
||||
PullRequestMergedEvent Event = "pr:merged"
|
||||
PullRequestDeclinedEvent Event = "pr:declined"
|
||||
PullRequestDeletedEvent Event = "pr:deleted"
|
||||
|
||||
PullRequestReviewerUpdatedEvent Event = "pr:reviewer:updated"
|
||||
PullRequestReviewerApprovedEvent Event = "pr:reviewer:approved"
|
||||
PullRequestReviewerUnapprovedEvent Event = "pr:reviewer:unapproved"
|
||||
PullRequestReviewerNeedsWorkEvent Event = "pr:reviewer:needs_work"
|
||||
|
||||
PullRequestCommentAddedEvent Event = "pr:comment:added"
|
||||
PullRequestCommentEditedEvent Event = "pr:comment:edited"
|
||||
PullRequestCommentDeletedEvent Event = "pr:comment:deleted"
|
||||
|
||||
DiagnosticsPingEvent Event = "diagnostics:ping"
|
||||
)
|
||||
|
||||
// Option is a configuration option for the webhook
|
||||
type Option func(*Webhook) error
|
||||
|
||||
// Options is a namespace var for configuration options
|
||||
var Options = WebhookOptions{}
|
||||
|
||||
// WebhookOptions is a namespace for configuration option methods
|
||||
type WebhookOptions struct{}
|
||||
|
||||
// Secret registers the GitHub secret
|
||||
func (WebhookOptions) Secret(secret string) Option {
|
||||
return func(hook *Webhook) error {
|
||||
hook.secret = secret
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
// Webhook instance contains all methods needed to process events
|
||||
type Webhook struct {
|
||||
secret string
|
||||
}
|
||||
|
||||
// New creates and returns a WebHook instance denoted by the Provider type
|
||||
func New(options ...Option) (*Webhook, error) {
|
||||
hook := new(Webhook)
|
||||
for _, opt := range options {
|
||||
if err := opt(hook); err != nil {
|
||||
return nil, errors.New("Error applying Option")
|
||||
}
|
||||
}
|
||||
return hook, nil
|
||||
}
|
||||
|
||||
func (hook *Webhook) Parse(r *http.Request, events ...Event) (interface{}, error) {
|
||||
defer func() {
|
||||
_, _ = io.Copy(ioutil.Discard, r.Body)
|
||||
_ = r.Body.Close()
|
||||
}()
|
||||
|
||||
if len(events) == 0 {
|
||||
return nil, ErrEventNotSpecifiedToParse
|
||||
}
|
||||
|
||||
if r.Method != http.MethodPost {
|
||||
return nil, ErrInvalidHTTPMethod
|
||||
}
|
||||
|
||||
event := r.Header.Get("X-Event-Key")
|
||||
if event == "" {
|
||||
return nil, ErrMissingEventKeyHeader
|
||||
}
|
||||
|
||||
bitbucketEvent := Event(event)
|
||||
|
||||
var found bool
|
||||
for _, evt := range events {
|
||||
if evt == bitbucketEvent {
|
||||
found = true
|
||||
break
|
||||
}
|
||||
}
|
||||
// event not defined to be parsed
|
||||
if !found {
|
||||
return nil, ErrEventNotFound
|
||||
}
|
||||
|
||||
if bitbucketEvent == DiagnosticsPingEvent {
|
||||
return DiagnosticsPingPayload{}, nil
|
||||
}
|
||||
|
||||
payload, err := ioutil.ReadAll(r.Body)
|
||||
if err != nil || len(payload) == 0 {
|
||||
return nil, ErrParsingPayload
|
||||
}
|
||||
|
||||
if len(hook.secret) > 0 {
|
||||
signature := r.Header.Get("X-Hub-Signature")
|
||||
if len(signature) == 0 {
|
||||
return nil, ErrMissingHubSignatureHeader
|
||||
}
|
||||
mac := hmac.New(sha256.New, []byte(hook.secret))
|
||||
_, _ = mac.Write(payload)
|
||||
expectedMAC := hex.EncodeToString(mac.Sum(nil))
|
||||
|
||||
if !hmac.Equal([]byte(signature[7:]), []byte(expectedMAC)) {
|
||||
return nil, ErrHMACVerificationFailed
|
||||
}
|
||||
}
|
||||
|
||||
switch bitbucketEvent {
|
||||
case RepositoryReferenceChangedEvent:
|
||||
var pl RepositoryReferenceChangedPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case RepositoryModifiedEvent:
|
||||
var pl RepositoryModifiedPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case RepositoryForkedEvent:
|
||||
var pl RepositoryForkedPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case RepositoryCommentAddedEvent:
|
||||
var pl RepositoryCommentAddedPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case RepositoryCommentEditedEvent:
|
||||
var pl RepositoryCommentEditedPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case RepositoryCommentDeletedEvent:
|
||||
var pl RepositoryCommentDeletedPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case PullRequestOpenedEvent:
|
||||
var pl PullRequestOpenedPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case PullRequestFromReferenceUpdatedEvent:
|
||||
var pl PullRequestFromReferenceUpdatedPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case PullRequestModifiedEvent:
|
||||
var pl PullRequestModifiedPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case PullRequestMergedEvent:
|
||||
var pl PullRequestMergedPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case PullRequestDeclinedEvent:
|
||||
var pl PullRequestDeclinedPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case PullRequestDeletedEvent:
|
||||
var pl PullRequestDeletedPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case PullRequestReviewerUpdatedEvent:
|
||||
var pl PullRequestReviewerUpdatedPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case PullRequestReviewerApprovedEvent:
|
||||
var pl PullRequestReviewerApprovedPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case PullRequestReviewerUnapprovedEvent:
|
||||
var pl PullRequestReviewerUnapprovedPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case PullRequestReviewerNeedsWorkEvent:
|
||||
var pl PullRequestReviewerNeedsWorkPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case PullRequestCommentAddedEvent:
|
||||
var pl PullRequestCommentAddedPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case PullRequestCommentEditedEvent:
|
||||
var pl PullRequestCommentEditedPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case PullRequestCommentDeletedEvent:
|
||||
var pl PullRequestCommentDeletedPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
default:
|
||||
return nil, fmt.Errorf("unknown event %s", bitbucketEvent)
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,319 @@
|
||||
package bitbucketserver
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"io"
|
||||
"log"
|
||||
"net/http"
|
||||
"net/http/httptest"
|
||||
"os"
|
||||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
const (
|
||||
path = "/webhooks"
|
||||
)
|
||||
|
||||
var hook *Webhook
|
||||
|
||||
func TestMain(m *testing.M) {
|
||||
// setup
|
||||
var err error
|
||||
hook, err = New(Options.Secret("secret"))
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
os.Exit(m.Run())
|
||||
// teardown
|
||||
}
|
||||
|
||||
func newServer(handler http.HandlerFunc) *httptest.Server {
|
||||
mux := http.NewServeMux()
|
||||
mux.HandleFunc(path, handler)
|
||||
return httptest.NewServer(mux)
|
||||
}
|
||||
|
||||
func TestBadRequests(t *testing.T) {
|
||||
assert := require.New(t)
|
||||
tests := []struct {
|
||||
name string
|
||||
event Event
|
||||
payload io.Reader
|
||||
headers http.Header
|
||||
}{
|
||||
{
|
||||
name: "BadNoEventHeader",
|
||||
event: RepositoryReferenceChangedEvent,
|
||||
payload: bytes.NewBuffer([]byte("{}")),
|
||||
headers: http.Header{},
|
||||
},
|
||||
{
|
||||
name: "BadSignatureLength",
|
||||
event: RepositoryReferenceChangedEvent,
|
||||
payload: bytes.NewBuffer([]byte("{}")),
|
||||
headers: http.Header{
|
||||
"X-Event-Key": []string{"repo:refs_changed"},
|
||||
"X-Hub-Signature": []string{""},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "BadSignatureMatch",
|
||||
event: RepositoryReferenceChangedEvent,
|
||||
payload: bytes.NewBuffer([]byte("{}")),
|
||||
headers: http.Header{
|
||||
"X-Event-Key": []string{"repo:refs_changed"},
|
||||
"X-Hub-Signature": []string{"sha256=111"},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "UnsubscribedEvent",
|
||||
event: RepositoryReferenceChangedEvent,
|
||||
payload: bytes.NewBuffer([]byte("{}")),
|
||||
headers: http.Header{
|
||||
"X-Event-Key": []string{"nonexistent_event"},
|
||||
"X-Hub-Signature": []string{"sha256=111"},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
for _, tt := range tests {
|
||||
tc := tt
|
||||
client := &http.Client{}
|
||||
t.Run(tt.name, func(t *testing.T) {
|
||||
t.Parallel()
|
||||
var parseError error
|
||||
server := newServer(func(w http.ResponseWriter, r *http.Request) {
|
||||
_, parseError = hook.Parse(r, tc.event)
|
||||
})
|
||||
defer server.Close()
|
||||
|
||||
req, err := http.NewRequest(http.MethodPost, server.URL+path, tc.payload)
|
||||
assert.NoError(err)
|
||||
req.Header = tc.headers
|
||||
req.Header.Set("Content-Type", "application/json")
|
||||
|
||||
resp, err := client.Do(req)
|
||||
|
||||
assert.NoError(err)
|
||||
assert.Equal(http.StatusOK, resp.StatusCode)
|
||||
assert.Error(parseError)
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
func TestWebhooks(t *testing.T) {
|
||||
assert := require.New(t)
|
||||
tests := []struct {
|
||||
name string
|
||||
event Event
|
||||
payloadType interface{}
|
||||
filename string
|
||||
headers http.Header
|
||||
}{
|
||||
{
|
||||
name: "Repository refs updated",
|
||||
event: RepositoryReferenceChangedEvent,
|
||||
payloadType: RepositoryReferenceChangedPayload{},
|
||||
filename: "../testdata/bitbucket-server/repo-refs-changed.json",
|
||||
headers: http.Header{
|
||||
"X-Event-Key": []string{"repo:refs_changed"},
|
||||
"X-Hub-Signature": []string{"sha256=8a60f7487d167f55886df87d4077192035d76f76a8e0b3a48fd8ae8cad25f391"},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "Repository modified",
|
||||
event: RepositoryModifiedEvent,
|
||||
payloadType: RepositoryModifiedPayload{},
|
||||
filename: "../testdata/bitbucket-server/repo-modified.json",
|
||||
headers: http.Header{
|
||||
"X-Event-Key": []string{"repo:modified"},
|
||||
"X-Hub-Signature": []string{"sha256=1511ed69d7697ede1699b0217e17b7d0b492eeccc9a5649d5d30dd84f0e5a89a"},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "Repository forked",
|
||||
event: RepositoryForkedEvent,
|
||||
payloadType: RepositoryForkedPayload{},
|
||||
filename: "../testdata/bitbucket-server/repo-forked.json",
|
||||
headers: http.Header{
|
||||
"X-Event-Key": []string{"repo:forked"},
|
||||
"X-Hub-Signature": []string{"sha256=d34115023042f9e7ef7020200650e2f34da137e0217708475f9b749ad889a16d"},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "Repository commit comment edited",
|
||||
event: RepositoryCommentEditedEvent,
|
||||
payloadType: RepositoryCommentEditedPayload{},
|
||||
filename: "../testdata/bitbucket-server/repo-comment-edited.json",
|
||||
headers: http.Header{
|
||||
"X-Event-Key": []string{"repo:comment:edited"},
|
||||
"X-Hub-Signature": []string{"sha256=90a8f4898d8dd7a4ef99e33a7f1d86dd3645f45b2a5b59110493cc4b3062a712"},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "Repository commit comment deleted",
|
||||
event: RepositoryCommentDeletedEvent,
|
||||
payloadType: RepositoryCommentDeletedPayload{},
|
||||
filename: "../testdata/bitbucket-server/repo-comment-deleted.json",
|
||||
headers: http.Header{
|
||||
"X-Event-Key": []string{"repo:comment:deleted"},
|
||||
"X-Hub-Signature": []string{"sha256=e8b6d3d1581366c9f65949c93149b29ba33252f6afa807432f8f823fb08680e7"},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "Repository commit comment added",
|
||||
event: RepositoryCommentAddedEvent,
|
||||
payloadType: RepositoryCommentAddedPayload{},
|
||||
filename: "../testdata/bitbucket-server/repo-comment-added.json",
|
||||
headers: http.Header{
|
||||
"X-Event-Key": []string{"repo:comment:added"},
|
||||
"X-Hub-Signature": []string{"sha256=80b121d53ec48bb3f8bed9243ba53be62c8eb7d1ce0395ca87fef1938bf9620e"},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "Pull request unapproved",
|
||||
event: PullRequestReviewerUnapprovedEvent,
|
||||
payloadType: PullRequestReviewerUnapprovedPayload{},
|
||||
filename: "../testdata/bitbucket-server/pr-reviewer-unapproved.json",
|
||||
headers: http.Header{
|
||||
"X-Event-Key": []string{"pr:reviewer:unapproved"},
|
||||
"X-Hub-Signature": []string{"sha256=9822024378738817dc85c0a41feb9fa4825058d28a9a1ee7065bfacd6a04c7c1"},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "Pull request reviewer updated",
|
||||
event: PullRequestReviewerUpdatedEvent,
|
||||
payloadType: PullRequestReviewerUpdatedPayload{},
|
||||
filename: "../testdata/bitbucket-server/pr-reviewer-updated.json",
|
||||
headers: http.Header{
|
||||
"X-Event-Key": []string{"pr:reviewer:updated"},
|
||||
"X-Hub-Signature": []string{"sha256=07ca94a0a5c5913819a16ce0414f976023aeb0065fa9d80f990aad7f1d936be5"},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "Pull request opened",
|
||||
event: PullRequestOpenedEvent,
|
||||
payloadType: PullRequestOpenedPayload{},
|
||||
filename: "../testdata/bitbucket-server/pr-opened.json",
|
||||
headers: http.Header{
|
||||
"X-Event-Key": []string{"pr:opened"},
|
||||
"X-Hub-Signature": []string{"sha256=b82c323978a741aa256c0a6bfa13a8f211e1795bd8ddb2641ced122769f7a7c6"},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "Pull request modified",
|
||||
event: PullRequestModifiedEvent,
|
||||
payloadType: PullRequestModifiedPayload{},
|
||||
filename: "../testdata/bitbucket-server/pr-modified.json",
|
||||
headers: http.Header{
|
||||
"X-Event-Key": []string{"pr:modified"},
|
||||
"X-Hub-Signature": []string{"sha256=1e307462390ff6f0c59fcdb8eb4b2977058b5cbc502a24a0db385f5331136227"},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "Pull request merged",
|
||||
event: PullRequestMergedEvent,
|
||||
payloadType: PullRequestMergedPayload{},
|
||||
filename: "../testdata/bitbucket-server/pr-merged.json",
|
||||
headers: http.Header{
|
||||
"X-Event-Key": []string{"pr:merged"},
|
||||
"X-Hub-Signature": []string{"sha256=adbee42ddd6a178b0c1160e89f666b53fb8c76495f782a4e3055e3fbee232704"},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "Pull request marked needs work",
|
||||
event: PullRequestReviewerNeedsWorkEvent,
|
||||
payloadType: PullRequestReviewerNeedsWorkPayload{},
|
||||
filename: "../testdata/bitbucket-server/pr-reviewer-needs-work.json",
|
||||
headers: http.Header{
|
||||
"X-Event-Key": []string{"pr:reviewer:needs_work"},
|
||||
"X-Hub-Signature": []string{"sha256=3d10aadcede2131674654bb48c10fe904b0b2ed3d3b283bdc5c64dbc4856582d"},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "Pull request deleted",
|
||||
event: PullRequestDeletedEvent,
|
||||
payloadType: PullRequestDeletedPayload{},
|
||||
filename: "../testdata/bitbucket-server/pr-deleted.json",
|
||||
headers: http.Header{
|
||||
"X-Event-Key": []string{"pr:deleted"},
|
||||
"X-Hub-Signature": []string{"sha256=657c5d9839c0e3c1c95e5ceceacb07f0e372328883dab6e25bb619ee8b19a359"},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "Pull request declined",
|
||||
event: PullRequestDeclinedEvent,
|
||||
payloadType: PullRequestDeclinedPayload{},
|
||||
filename: "../testdata/bitbucket-server/pr-declined.json",
|
||||
headers: http.Header{
|
||||
"X-Event-Key": []string{"pr:declined"},
|
||||
"X-Hub-Signature": []string{"sha256=e323ab4d057f32475340d03c90aa9ec20cd3a96c15200d75e59f221c14053528"},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "Pull request comment edited",
|
||||
event: PullRequestCommentEditedEvent,
|
||||
payloadType: PullRequestCommentEditedPayload{},
|
||||
filename: "../testdata/bitbucket-server/pr-comment-edited.json",
|
||||
headers: http.Header{
|
||||
"X-Event-Key": []string{"pr:comment:edited"},
|
||||
"X-Hub-Signature": []string{"sha256=66580d1b02904e470cb48c1333452ea0748aecc3a9806f5a0f949be3a8b0a5ec"},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "Pull request comment deleted",
|
||||
event: PullRequestCommentDeletedEvent,
|
||||
payloadType: PullRequestCommentDeletedPayload{},
|
||||
filename: "../testdata/bitbucket-server/pr-comment-deleted.json",
|
||||
headers: http.Header{
|
||||
"X-Event-Key": []string{"pr:comment:deleted"},
|
||||
"X-Hub-Signature": []string{"sha256=7c9575a6e9b141e063ef34e5066ebe67c3a5b59241e633d1332d70aba468fd04"},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "Pull request comment added",
|
||||
event: PullRequestReviewerApprovedEvent,
|
||||
payloadType: PullRequestReviewerApprovedPayload{},
|
||||
filename: "../testdata/bitbucket-server/pr-reviewer-approved.json",
|
||||
headers: http.Header{
|
||||
"X-Event-Key": []string{"pr:reviewer:approved"},
|
||||
"X-Hub-Signature": []string{"sha256=a8b78d774dea02f234069f724ee6c6a3c5c13fc3a3b856dac0a33d8ed9ec1823"},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
for _, tt := range tests {
|
||||
tc := tt
|
||||
client := &http.Client{}
|
||||
t.Run(tt.name, func(t *testing.T) {
|
||||
t.Parallel()
|
||||
payload, err := os.Open(tc.filename)
|
||||
assert.NoError(err)
|
||||
defer func() {
|
||||
_ = payload.Close()
|
||||
}()
|
||||
|
||||
var parseError error
|
||||
var results interface{}
|
||||
|
||||
server := newServer(func(w http.ResponseWriter, r *http.Request) {
|
||||
results, parseError = hook.Parse(r, tc.event)
|
||||
})
|
||||
defer server.Close()
|
||||
|
||||
req, err := http.NewRequest(http.MethodPost, server.URL+path, payload)
|
||||
assert.NoError(err)
|
||||
req.Header = tc.headers
|
||||
req.Header.Set("Content-Type", "application/json")
|
||||
|
||||
resp, err := client.Do(req)
|
||||
assert.NoError(err)
|
||||
assert.Equal(http.StatusOK, resp.StatusCode)
|
||||
assert.NoError(parseError)
|
||||
assert.Equal(reflect.TypeOf(tc.payloadType), reflect.TypeOf(results))
|
||||
})
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,281 @@
|
||||
package bitbucketserver
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"strings"
|
||||
"time"
|
||||
)
|
||||
|
||||
type DiagnosticsPingPayload struct{}
|
||||
|
||||
type RepositoryReferenceChangedPayload struct {
|
||||
Date Date `json:"date"`
|
||||
EventKey Event `json:"eventKey"`
|
||||
Actor User `json:"actor"`
|
||||
Repository Repository `json:"repository"`
|
||||
Changes []RepositoryChange `json:"changes"`
|
||||
}
|
||||
|
||||
type RepositoryModifiedPayload struct {
|
||||
Date Date `json:"date"`
|
||||
EventKey Event `json:"eventKey"`
|
||||
Actor User `json:"actor"`
|
||||
Old Repository `json:"old"`
|
||||
New Repository `json:"new"`
|
||||
}
|
||||
|
||||
type RepositoryForkedPayload struct {
|
||||
Date Date `json:"date"`
|
||||
EventKey Event `json:"eventKey"`
|
||||
Actor User `json:"actor"`
|
||||
Repository Repository `json:"repository"`
|
||||
}
|
||||
|
||||
type RepositoryCommentAddedPayload struct {
|
||||
Date Date `json:"date"`
|
||||
EventKey Event `json:"eventKey"`
|
||||
Actor User `json:"actor"`
|
||||
Comment Comment `json:"comment"`
|
||||
Repository Repository `json:"repository"`
|
||||
Commit string `json:"commit"`
|
||||
}
|
||||
|
||||
type RepositoryCommentEditedPayload struct {
|
||||
Date Date `json:"date"`
|
||||
EventKey Event `json:"eventKey"`
|
||||
Actor User `json:"actor"`
|
||||
Comment Comment `json:"comment"`
|
||||
PreviousComment string `json:"previousComment"`
|
||||
Repository Repository `json:"repository"`
|
||||
Commit string `json:"commit"`
|
||||
}
|
||||
|
||||
type RepositoryCommentDeletedPayload struct {
|
||||
Date Date `json:"date"`
|
||||
EventKey Event `json:"eventKey"`
|
||||
Actor User `json:"actor"`
|
||||
Comment Comment `json:"comment"`
|
||||
Repository Repository `json:"repository"`
|
||||
Commit string `json:"commit"`
|
||||
}
|
||||
|
||||
type PullRequestOpenedPayload struct {
|
||||
Date Date `json:"date"`
|
||||
EventKey Event `json:"eventKey"`
|
||||
Actor User `json:"actor"`
|
||||
PullRequest PullRequest `json:"pullRequest"`
|
||||
}
|
||||
|
||||
type PullRequestFromReferenceUpdatedPayload struct {
|
||||
Date Date `json:"date"`
|
||||
EventKey Event `json:"eventKey"`
|
||||
Actor User `json:"actor"`
|
||||
PullRequest PullRequest `json:"pullRequest"`
|
||||
PreviousFromHash string `json:"previousFromHash"`
|
||||
}
|
||||
|
||||
type PullRequestModifiedPayload struct {
|
||||
Date Date `json:"date"`
|
||||
EventKey Event `json:"eventKey"`
|
||||
Actor User `json:"actor"`
|
||||
PullRequest PullRequest `json:"pullRequest"`
|
||||
PreviousTitle string `json:"previousTitle"`
|
||||
PreviousDescription string `json:"previousDescription"`
|
||||
PreviousTarget map[string]interface{} `json:"previousTarget"`
|
||||
}
|
||||
|
||||
type PullRequestMergedPayload struct {
|
||||
Date Date `json:"date"`
|
||||
EventKey Event `json:"eventKey"`
|
||||
Actor User `json:"actor"`
|
||||
PullRequest PullRequest `json:"pullRequest"`
|
||||
}
|
||||
|
||||
type PullRequestDeclinedPayload struct {
|
||||
Date Date `json:"date"`
|
||||
EventKey Event `json:"eventKey"`
|
||||
Actor User `json:"actor"`
|
||||
PullRequest PullRequest `json:"pullRequest"`
|
||||
}
|
||||
|
||||
type PullRequestDeletedPayload struct {
|
||||
Date Date `json:"date"`
|
||||
EventKey Event `json:"eventKey"`
|
||||
Actor User `json:"actor"`
|
||||
PullRequest PullRequest `json:"pullRequest"`
|
||||
}
|
||||
|
||||
type PullRequestReviewerUpdatedPayload struct {
|
||||
Date Date `json:"date"`
|
||||
EventKey Event `json:"eventKey"`
|
||||
Actor User `json:"actor"`
|
||||
PullRequest PullRequest `json:"pullRequest"`
|
||||
RemovedReviewers []User `json:"removedReviewers"`
|
||||
AddedReviewers []User `json:"addedReviewers"`
|
||||
}
|
||||
|
||||
type PullRequestReviewerApprovedPayload struct {
|
||||
Date Date `json:"date"`
|
||||
EventKey Event `json:"eventKey"`
|
||||
Actor User `json:"actor"`
|
||||
PullRequest PullRequest `json:"pullRequest"`
|
||||
Participant PullRequestParticipant `json:"participant"`
|
||||
PreviousStatus string `json:"previousStatus"`
|
||||
}
|
||||
|
||||
type PullRequestReviewerUnapprovedPayload struct {
|
||||
Date Date `json:"date"`
|
||||
EventKey Event `json:"eventKey"`
|
||||
Actor User `json:"actor"`
|
||||
PullRequest PullRequest `json:"pullRequest"`
|
||||
Participant PullRequestParticipant `json:"participant"`
|
||||
PreviousStatus string `json:"previousStatus"`
|
||||
}
|
||||
|
||||
type PullRequestReviewerNeedsWorkPayload struct {
|
||||
Date Date `json:"date"`
|
||||
EventKey Event `json:"eventKey"`
|
||||
Actor User `json:"actor"`
|
||||
PullRequest PullRequest `json:"pullRequest"`
|
||||
Participant PullRequestParticipant `json:"participant"`
|
||||
PreviousStatus string `json:"previousStatus"`
|
||||
}
|
||||
|
||||
type PullRequestCommentAddedPayload struct {
|
||||
Date Date `json:"date"`
|
||||
EventKey Event `json:"eventKey"`
|
||||
Actor User `json:"actor"`
|
||||
PullRequest PullRequest `json:"pullRequest"`
|
||||
Comment Comment `json:"comment"`
|
||||
CommentParentID uint64 `json:"commentParentId,omitempty"`
|
||||
}
|
||||
|
||||
type PullRequestCommentEditedPayload struct {
|
||||
Date Date `json:"date"`
|
||||
EventKey Event `json:"eventKey"`
|
||||
Actor User `json:"actor"`
|
||||
PullRequest PullRequest `json:"pullRequest"`
|
||||
Comment Comment `json:"comment"`
|
||||
CommentParentID string `json:"commentParentId,omitempty"`
|
||||
PreviousComment string `json:"previousComment"`
|
||||
}
|
||||
|
||||
type PullRequestCommentDeletedPayload struct {
|
||||
Date Date `json:"date"`
|
||||
EventKey Event `json:"eventKey"`
|
||||
Actor User `json:"actor"`
|
||||
PullRequest PullRequest `json:"pullRequest"`
|
||||
Comment Comment `json:"comment"`
|
||||
CommentParentID uint64 `json:"commentParentId,omitempty"`
|
||||
}
|
||||
|
||||
// -----------------------
|
||||
|
||||
type User struct {
|
||||
ID uint64 `json:"id"`
|
||||
Name string `json:"name"`
|
||||
EmailAddress string `json:"emailAddress"`
|
||||
DisplayName string `json:"displayName"`
|
||||
Active bool `json:"active"`
|
||||
Slug string `json:"slug"`
|
||||
Type string `json:"type"`
|
||||
Links map[string]interface{} `json:"links"`
|
||||
}
|
||||
|
||||
type Repository struct {
|
||||
ID uint64 `json:"id"`
|
||||
Slug string `json:"slug"`
|
||||
Name string `json:"name"`
|
||||
ScmID string `json:"scmId"`
|
||||
State string `json:"state"`
|
||||
StatusMessage string `json:"statusMessage"`
|
||||
Forkable bool `json:"forkable"`
|
||||
Origin *Repository `json:"origin,omitempty"`
|
||||
Project Project `json:"project"`
|
||||
Public bool `json:"public"`
|
||||
Links map[string]interface{} `json:"links"`
|
||||
}
|
||||
|
||||
type Project struct {
|
||||
ID uint64 `json:"id"`
|
||||
Key string `json:"key"`
|
||||
Name string `json:"name"`
|
||||
Type string `json:"type"`
|
||||
Public *bool `json:"public,omitempty"`
|
||||
Owner User `json:"owner"`
|
||||
Links map[string]interface{} `json:"links"`
|
||||
}
|
||||
|
||||
type PullRequest struct {
|
||||
ID uint64 `json:"id"`
|
||||
Version uint64 `json:"version"`
|
||||
Title string `json:"title"`
|
||||
Description string `json:"description,omitempty"`
|
||||
State string `json:"state"`
|
||||
Open bool `json:"open"`
|
||||
Closed bool `json:"closed"`
|
||||
CreatedDate uint64 `json:"createdDate"`
|
||||
UpdatedDate uint64 `json:"updatedDate,omitempty"`
|
||||
ClosedDate uint64 `json:"closedDate,omitempty"`
|
||||
FromRef RepositoryReference `json:"fromRef"`
|
||||
ToRef RepositoryReference `json:"toRef"`
|
||||
Locked bool `json:"locked"`
|
||||
Author PullRequestParticipant `json:"author"`
|
||||
Reviewers []PullRequestParticipant `json:"reviewers"`
|
||||
Participants []PullRequestParticipant `json:"participants"`
|
||||
Properties map[string]interface{} `json:"properties,omitempty"`
|
||||
Links map[string]interface{} `json:"links"`
|
||||
}
|
||||
|
||||
type RepositoryChange struct {
|
||||
Reference RepositoryReference `json:"ref"`
|
||||
ReferenceID string `json:"refId"`
|
||||
FromHash string `json:"fromHash"`
|
||||
ToHash string `json:"toHash"`
|
||||
Type string `json:"type"`
|
||||
}
|
||||
|
||||
type RepositoryReference struct {
|
||||
ID string `json:"id"`
|
||||
DisplayID string `json:"displayId"`
|
||||
Type string `json:"type,omitempty"`
|
||||
LatestCommit string `json:"latestCommit,omitempty"`
|
||||
Repository Repository `json:"repository,omitempty"`
|
||||
}
|
||||
|
||||
type Comment struct {
|
||||
ID uint64 `json:"id"`
|
||||
Properties map[string]interface{} `json:"properties,omitempty"`
|
||||
Version uint64 `json:"version"`
|
||||
Text string `json:"text"`
|
||||
Author User `json:"author"`
|
||||
CreatedDate uint64 `json:"createdDate"`
|
||||
UpdatedDate uint64 `json:"updatedDate"`
|
||||
Comments []map[string]interface{} `json:"comments"`
|
||||
Tasks []map[string]interface{} `json:"tasks"`
|
||||
PermittedOperations map[string]interface{} `json:"permittedOperations,omitempty"`
|
||||
}
|
||||
|
||||
type PullRequestParticipant struct {
|
||||
User User `json:"user"`
|
||||
LastReviewedCommit string `json:"lastReviewedCommit,omitempty"`
|
||||
Role string `json:"role"`
|
||||
Approved bool `json:"approved"`
|
||||
Status string `json:"status"`
|
||||
}
|
||||
|
||||
type Date time.Time
|
||||
|
||||
func (b *Date) UnmarshalJSON(p []byte) error {
|
||||
t, err := time.Parse("2006-01-02T15:04:05Z0700", strings.Replace(string(p), "\"", "", -1))
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
*b = Date(t)
|
||||
return nil
|
||||
}
|
||||
|
||||
func (b Date) MarshalJSON() ([]byte, error) {
|
||||
stamp := fmt.Sprintf("\"%s\"", time.Time(b).Format("2006-01-02T15:04:05Z0700"))
|
||||
return []byte(stamp), nil
|
||||
}
|
||||
+105
-96
@@ -2,23 +2,27 @@ package bitbucket
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"errors"
|
||||
"fmt"
|
||||
"io"
|
||||
"io/ioutil"
|
||||
"net/http"
|
||||
)
|
||||
|
||||
"gopkg.in/go-playground/webhooks.v3"
|
||||
// parse errors
|
||||
var (
|
||||
ErrEventNotSpecifiedToParse = errors.New("no Event specified to parse")
|
||||
ErrInvalidHTTPMethod = errors.New("invalid HTTP Method")
|
||||
ErrMissingHookUUIDHeader = errors.New("missing X-Hook-UUID Header")
|
||||
ErrMissingEventKeyHeader = errors.New("missing X-Event-Key Header")
|
||||
ErrEventNotFound = errors.New("event not defined to be parsed")
|
||||
ErrParsingPayload = errors.New("error parsing payload")
|
||||
ErrUUIDVerificationFailed = errors.New("UUID verification failed")
|
||||
)
|
||||
|
||||
// Webhook instance contains all methods needed to process events
|
||||
type Webhook struct {
|
||||
provider webhooks.Provider
|
||||
uuid string
|
||||
eventFuncs map[Event]webhooks.ProcessPayloadFunc
|
||||
}
|
||||
|
||||
// Config defines the configuration to create a new Bitbucket Webhook instance
|
||||
type Config struct {
|
||||
UUID string
|
||||
uuid string
|
||||
}
|
||||
|
||||
// Event defines a Bitbucket hook event type
|
||||
@@ -43,153 +47,158 @@ const (
|
||||
PullRequestDeclinedEvent Event = "pullrequest:rejected"
|
||||
PullRequestCommentCreatedEvent Event = "pullrequest:comment_created"
|
||||
PullRequestCommentUpdatedEvent Event = "pullrequest:comment_updated"
|
||||
PullRequestCommentDeletedEvent Event = "pull_request:comment_deleted"
|
||||
PullRequestCommentDeletedEvent Event = "pullrequest:comment_deleted"
|
||||
)
|
||||
|
||||
// Option is a configuration option for the webhook
|
||||
type Option func(*Webhook) error
|
||||
|
||||
// Options is a namespace var for configuration options
|
||||
var Options = WebhookOptions{}
|
||||
|
||||
// WebhookOptions is a namespace for configuration option methods
|
||||
type WebhookOptions struct{}
|
||||
|
||||
// UUID registers the BitBucket secret
|
||||
func (WebhookOptions) UUID(uuid string) Option {
|
||||
return func(hook *Webhook) error {
|
||||
hook.uuid = uuid
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
// New creates and returns a WebHook instance denoted by the Provider type
|
||||
func New(config *Config) *Webhook {
|
||||
return &Webhook{
|
||||
provider: webhooks.Bitbucket,
|
||||
uuid: config.UUID,
|
||||
eventFuncs: map[Event]webhooks.ProcessPayloadFunc{},
|
||||
func New(options ...Option) (*Webhook, error) {
|
||||
hook := new(Webhook)
|
||||
for _, opt := range options {
|
||||
if err := opt(hook); err != nil {
|
||||
return nil, errors.New("Error applying Option")
|
||||
}
|
||||
}
|
||||
return hook, nil
|
||||
}
|
||||
|
||||
// Provider returns the current hooks provider ID
|
||||
func (hook Webhook) Provider() webhooks.Provider {
|
||||
return hook.provider
|
||||
}
|
||||
// Parse verifies and parses the events specified and returns the payload object or an error
|
||||
func (hook Webhook) Parse(r *http.Request, events ...Event) (interface{}, error) {
|
||||
defer func() {
|
||||
_, _ = io.Copy(ioutil.Discard, r.Body)
|
||||
_ = r.Body.Close()
|
||||
}()
|
||||
|
||||
// RegisterEvents registers the function to call when the specified event(s) are encountered
|
||||
func (hook Webhook) RegisterEvents(fn webhooks.ProcessPayloadFunc, events ...Event) {
|
||||
|
||||
for _, event := range events {
|
||||
hook.eventFuncs[event] = fn
|
||||
if len(events) == 0 {
|
||||
return nil, ErrEventNotSpecifiedToParse
|
||||
}
|
||||
if r.Method != http.MethodPost {
|
||||
return nil, ErrInvalidHTTPMethod
|
||||
}
|
||||
}
|
||||
|
||||
// ParsePayload parses and verifies the payload and fires off the mapped function, if it exists.
|
||||
func (hook Webhook) ParsePayload(w http.ResponseWriter, r *http.Request) {
|
||||
webhooks.DefaultLog.Info("Parsing Payload...")
|
||||
|
||||
uuid := r.Header.Get("X-Hook-UUID")
|
||||
if uuid == "" {
|
||||
webhooks.DefaultLog.Error("Missing X-Hook-UUID Header")
|
||||
http.Error(w, "400 Bad Request - Missing X-Hook-UUID Header", http.StatusBadRequest)
|
||||
return
|
||||
}
|
||||
webhooks.DefaultLog.Debug(fmt.Sprintf("X-Hook-UUID:%s", uuid))
|
||||
|
||||
if uuid != hook.uuid {
|
||||
webhooks.DefaultLog.Error(fmt.Sprintf("X-Hook-UUID does not match configured uuid of %s", hook.uuid))
|
||||
http.Error(w, "403 Forbidden - X-Hook-UUID does not match", http.StatusForbidden)
|
||||
return
|
||||
if hook.uuid != "" && uuid == "" {
|
||||
return nil, ErrMissingHookUUIDHeader
|
||||
}
|
||||
|
||||
event := r.Header.Get("X-Event-Key")
|
||||
if event == "" {
|
||||
webhooks.DefaultLog.Error("Missing X-Event-Key Header")
|
||||
http.Error(w, "400 Bad Request - Missing X-Event-Key Header", http.StatusBadRequest)
|
||||
return
|
||||
return nil, ErrMissingEventKeyHeader
|
||||
}
|
||||
|
||||
if len(hook.uuid) > 0 && uuid != hook.uuid {
|
||||
return nil, ErrUUIDVerificationFailed
|
||||
}
|
||||
webhooks.DefaultLog.Debug(fmt.Sprintf("X-Event-Key:%s", event))
|
||||
|
||||
bitbucketEvent := Event(event)
|
||||
|
||||
fn, ok := hook.eventFuncs[bitbucketEvent]
|
||||
// if no event registered
|
||||
if !ok {
|
||||
webhooks.DefaultLog.Info(fmt.Sprintf("Webhook Event %s not registered, it is recommended to setup only events in bitbucket that will be registered in the webhook to avoid unnecessary traffic and reduce potential attack vectors.", event))
|
||||
return
|
||||
var found bool
|
||||
for _, evt := range events {
|
||||
if evt == bitbucketEvent {
|
||||
found = true
|
||||
break
|
||||
}
|
||||
}
|
||||
// event not defined to be parsed
|
||||
if !found {
|
||||
return nil, ErrEventNotFound
|
||||
}
|
||||
|
||||
payload, err := ioutil.ReadAll(r.Body)
|
||||
if err != nil || len(payload) == 0 {
|
||||
webhooks.DefaultLog.Error("Issue reading Payload")
|
||||
http.Error(w, "Issue reading Payload", http.StatusInternalServerError)
|
||||
return
|
||||
return nil, ErrParsingPayload
|
||||
}
|
||||
webhooks.DefaultLog.Debug(fmt.Sprintf("Payload:%s", string(payload)))
|
||||
hd := webhooks.Header(r.Header)
|
||||
|
||||
switch bitbucketEvent {
|
||||
case RepoPushEvent:
|
||||
var pl RepoPushPayload
|
||||
json.Unmarshal([]byte(payload), &pl)
|
||||
hook.runProcessPayloadFunc(fn, pl, hd)
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case RepoForkEvent:
|
||||
var pl RepoForkPayload
|
||||
json.Unmarshal([]byte(payload), &pl)
|
||||
hook.runProcessPayloadFunc(fn, pl, hd)
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case RepoUpdatedEvent:
|
||||
var pl RepoUpdatedPayload
|
||||
json.Unmarshal([]byte(payload), &pl)
|
||||
hook.runProcessPayloadFunc(fn, pl, hd)
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case RepoCommitCommentCreatedEvent:
|
||||
var pl RepoCommitCommentCreatedPayload
|
||||
json.Unmarshal([]byte(payload), &pl)
|
||||
hook.runProcessPayloadFunc(fn, pl, hd)
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case RepoCommitStatusCreatedEvent:
|
||||
var pl RepoCommitStatusCreatedPayload
|
||||
json.Unmarshal([]byte(payload), &pl)
|
||||
hook.runProcessPayloadFunc(fn, pl, hd)
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case RepoCommitStatusUpdatedEvent:
|
||||
var pl RepoCommitStatusUpdatedPayload
|
||||
json.Unmarshal([]byte(payload), &pl)
|
||||
hook.runProcessPayloadFunc(fn, pl, hd)
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case IssueCreatedEvent:
|
||||
var pl IssueCreatedPayload
|
||||
json.Unmarshal([]byte(payload), &pl)
|
||||
hook.runProcessPayloadFunc(fn, pl, hd)
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case IssueUpdatedEvent:
|
||||
var pl IssueUpdatedPayload
|
||||
json.Unmarshal([]byte(payload), &pl)
|
||||
hook.runProcessPayloadFunc(fn, pl, hd)
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case IssueCommentCreatedEvent:
|
||||
var pl IssueCommentCreatedPayload
|
||||
json.Unmarshal([]byte(payload), &pl)
|
||||
hook.runProcessPayloadFunc(fn, pl, hd)
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case PullRequestCreatedEvent:
|
||||
var pl PullRequestCreatedPayload
|
||||
json.Unmarshal([]byte(payload), &pl)
|
||||
hook.runProcessPayloadFunc(fn, pl, hd)
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case PullRequestUpdatedEvent:
|
||||
var pl PullRequestUpdatedPayload
|
||||
json.Unmarshal([]byte(payload), &pl)
|
||||
hook.runProcessPayloadFunc(fn, pl, hd)
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case PullRequestApprovedEvent:
|
||||
var pl PullRequestApprovedPayload
|
||||
json.Unmarshal([]byte(payload), &pl)
|
||||
hook.runProcessPayloadFunc(fn, pl, hd)
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case PullRequestUnapprovedEvent:
|
||||
var pl PullRequestUnapprovedPayload
|
||||
json.Unmarshal([]byte(payload), &pl)
|
||||
hook.runProcessPayloadFunc(fn, pl, hd)
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case PullRequestMergedEvent:
|
||||
var pl PullRequestMergedPayload
|
||||
json.Unmarshal([]byte(payload), &pl)
|
||||
hook.runProcessPayloadFunc(fn, pl, hd)
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case PullRequestDeclinedEvent:
|
||||
var pl PullRequestDeclinedPayload
|
||||
json.Unmarshal([]byte(payload), &pl)
|
||||
hook.runProcessPayloadFunc(fn, pl, hd)
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case PullRequestCommentCreatedEvent:
|
||||
var pl PullRequestCommentCreatedPayload
|
||||
json.Unmarshal([]byte(payload), &pl)
|
||||
hook.runProcessPayloadFunc(fn, pl, hd)
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case PullRequestCommentUpdatedEvent:
|
||||
var pl PullRequestCommentUpdatedPayload
|
||||
json.Unmarshal([]byte(payload), &pl)
|
||||
hook.runProcessPayloadFunc(fn, pl, hd)
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case PullRequestCommentDeletedEvent:
|
||||
var pl PullRequestCommentDeletedPayload
|
||||
json.Unmarshal([]byte(payload), &pl)
|
||||
hook.runProcessPayloadFunc(fn, pl, hd)
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
default:
|
||||
return nil, fmt.Errorf("unknown event %s", bitbucketEvent)
|
||||
}
|
||||
}
|
||||
|
||||
func (hook Webhook) runProcessPayloadFunc(fn webhooks.ProcessPayloadFunc, results interface{}, header webhooks.Header) {
|
||||
go func(fn webhooks.ProcessPayloadFunc, results interface{}, header webhooks.Header) {
|
||||
fn(results, header)
|
||||
}(fn, results, header)
|
||||
}
|
||||
|
||||
+309
-2986
File diff suppressed because it is too large
Load Diff
@@ -348,8 +348,9 @@ type PullRequestCommentDeletedPayload struct {
|
||||
// Owner is the common Bitbucket Owner Sub Entity
|
||||
type Owner struct {
|
||||
Type string `json:"type"`
|
||||
Username string `json:"username"`
|
||||
NickName string `json:"nickname"`
|
||||
DisplayName string `json:"display_name"`
|
||||
AccountID string `json:"account_id"`
|
||||
UUID string `json:"uuid"`
|
||||
Links struct {
|
||||
Self struct {
|
||||
|
||||
@@ -0,0 +1,92 @@
|
||||
package docker
|
||||
|
||||
// this package receives the Docker Hub Automated Build webhook
|
||||
// https://docs.docker.com/docker-hub/webhooks/
|
||||
// NOT the Docker Trusted Registry webhook
|
||||
// https://docs.docker.com/ee/dtr/user/create-and-manage-webhooks/
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"errors"
|
||||
"io"
|
||||
"io/ioutil"
|
||||
"net/http"
|
||||
)
|
||||
|
||||
// parse errors
|
||||
var (
|
||||
ErrInvalidHTTPMethod = errors.New("invalid HTTP Method")
|
||||
ErrParsingPayload = errors.New("error parsing payload")
|
||||
)
|
||||
|
||||
// Event defines a Docker hook event type
|
||||
type Event string
|
||||
|
||||
// Docker hook types (only one for now)
|
||||
const (
|
||||
BuildEvent Event = "build"
|
||||
)
|
||||
|
||||
// BuildPayload a docker hub build notice
|
||||
// https://docs.docker.com/docker-hub/webhooks/
|
||||
type BuildPayload struct {
|
||||
CallbackURL string `json:"callback_url"`
|
||||
PushData struct {
|
||||
Images []string `json:"images"`
|
||||
PushedAt float32 `json:"pushed_at"`
|
||||
Pusher string `json:"pusher"`
|
||||
Tag string `json:"tag"`
|
||||
} `json:"push_data"`
|
||||
Repository struct {
|
||||
CommentCount int `json:"comment_count"`
|
||||
DateCreated float32 `json:"date_created"`
|
||||
Description string `json:"description"`
|
||||
Dockerfile string `json:"dockerfile"`
|
||||
FullDescription string `json:"full_description"`
|
||||
IsOfficial bool `json:"is_official"`
|
||||
IsPrivate bool `json:"is_private"`
|
||||
IsTrusted bool `json:"is_trusted"`
|
||||
Name string `json:"name"`
|
||||
Namespace string `json:"namespace"`
|
||||
Owner string `json:"owner"`
|
||||
RepoName string `json:"repo_name"`
|
||||
RepoURL string `json:"repo_url"`
|
||||
StarCount int `json:"star_count"`
|
||||
Status string `json:"status"`
|
||||
} `json:"repository"`
|
||||
}
|
||||
|
||||
// Webhook instance contains all methods needed to process events
|
||||
type Webhook struct {
|
||||
}
|
||||
|
||||
// New creates and returns a WebHook instance
|
||||
func New() (*Webhook, error) {
|
||||
hook := new(Webhook)
|
||||
return hook, nil
|
||||
}
|
||||
|
||||
// Parse verifies and parses the events specified and returns the payload object or an error
|
||||
func (hook Webhook) Parse(r *http.Request, events ...Event) (interface{}, error) {
|
||||
defer func() {
|
||||
_, _ = io.Copy(ioutil.Discard, r.Body)
|
||||
_ = r.Body.Close()
|
||||
}()
|
||||
|
||||
if r.Method != http.MethodPost {
|
||||
return nil, ErrInvalidHTTPMethod
|
||||
}
|
||||
|
||||
payload, err := ioutil.ReadAll(r.Body)
|
||||
if err != nil || len(payload) == 0 {
|
||||
return nil, ErrParsingPayload
|
||||
}
|
||||
|
||||
var pl BuildPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
if err != nil {
|
||||
return nil, ErrParsingPayload
|
||||
}
|
||||
return pl, err
|
||||
|
||||
}
|
||||
@@ -0,0 +1,95 @@
|
||||
package docker
|
||||
|
||||
import (
|
||||
"log"
|
||||
"net/http"
|
||||
"net/http/httptest"
|
||||
"os"
|
||||
"testing"
|
||||
|
||||
"reflect"
|
||||
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
// NOTES:
|
||||
// - Run "go test" to run tests
|
||||
// - Run "gocov test | gocov report" to report on test converage by file
|
||||
// - Run "gocov test | gocov annotate -" to report on all code and functions, those ,marked with "MISS" were never called
|
||||
//
|
||||
// or
|
||||
//
|
||||
// -- may be a good idea to change to output path to somewherelike /tmp
|
||||
// go test -coverprofile cover.out && go tool cover -html=cover.out -o cover.html
|
||||
//
|
||||
|
||||
const (
|
||||
path = "/webhooks"
|
||||
)
|
||||
|
||||
var hook *Webhook
|
||||
|
||||
func TestMain(m *testing.M) {
|
||||
|
||||
// setup
|
||||
var err error
|
||||
hook, err = New()
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
os.Exit(m.Run())
|
||||
// teardown
|
||||
}
|
||||
|
||||
func newServer(handler http.HandlerFunc) *httptest.Server {
|
||||
mux := http.NewServeMux()
|
||||
mux.HandleFunc(path, handler)
|
||||
return httptest.NewServer(mux)
|
||||
}
|
||||
|
||||
func TestWebhooks(t *testing.T) {
|
||||
assert := require.New(t)
|
||||
tests := []struct {
|
||||
name string
|
||||
event Event
|
||||
typ interface{}
|
||||
filename string
|
||||
headers http.Header
|
||||
}{
|
||||
{
|
||||
name: "BuildEvent",
|
||||
event: BuildEvent,
|
||||
typ: BuildPayload{},
|
||||
filename: "../testdata/docker/docker_hub_build_notice.json",
|
||||
},
|
||||
}
|
||||
|
||||
for _, tt := range tests {
|
||||
tc := tt
|
||||
client := &http.Client{}
|
||||
t.Run(tt.name, func(t *testing.T) {
|
||||
t.Parallel()
|
||||
payload, err := os.Open(tc.filename)
|
||||
assert.NoError(err)
|
||||
defer func() {
|
||||
_ = payload.Close()
|
||||
}()
|
||||
|
||||
var parseError error
|
||||
var results interface{}
|
||||
server := newServer(func(w http.ResponseWriter, r *http.Request) {
|
||||
results, parseError = hook.Parse(r, tc.event)
|
||||
})
|
||||
defer server.Close()
|
||||
req, err := http.NewRequest(http.MethodPost, server.URL+path, payload)
|
||||
assert.NoError(err)
|
||||
req.Header.Set("Content-Type", "application/json")
|
||||
|
||||
resp, err := client.Do(req)
|
||||
assert.NoError(err)
|
||||
assert.Equal(http.StatusOK, resp.StatusCode)
|
||||
assert.NoError(parseError)
|
||||
assert.Equal(reflect.TypeOf(tc.typ), reflect.TypeOf(results))
|
||||
})
|
||||
}
|
||||
}
|
||||
@@ -1,67 +0,0 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"log"
|
||||
"strconv"
|
||||
|
||||
"gopkg.in/go-playground/webhooks.v3"
|
||||
"gopkg.in/go-playground/webhooks.v3/github"
|
||||
)
|
||||
|
||||
const (
|
||||
path = "/webhooks"
|
||||
port = 3016
|
||||
)
|
||||
|
||||
type myLogger struct {
|
||||
PrintDebugs bool
|
||||
}
|
||||
|
||||
func (l *myLogger) Info(msg string) {
|
||||
log.Println(msg)
|
||||
}
|
||||
|
||||
func (l *myLogger) Error(msg string) {
|
||||
log.Println(msg)
|
||||
}
|
||||
|
||||
func (l *myLogger) Debug(msg string) {
|
||||
if !l.PrintDebugs {
|
||||
return
|
||||
}
|
||||
log.Println(msg)
|
||||
}
|
||||
|
||||
func main() {
|
||||
// webhooks.DefaultLog=webhooks.NewLogger(true)
|
||||
//
|
||||
// or override with your own
|
||||
webhooks.DefaultLog = &myLogger{PrintDebugs: true}
|
||||
|
||||
hook := github.New(&github.Config{Secret: "MyGitHubSuperSecretSecrect...?"})
|
||||
hook.RegisterEvents(HandleMultiple, github.ReleaseEvent, github.PullRequestEvent) // Add as many as you want
|
||||
|
||||
err := webhooks.Run(hook, ":"+strconv.Itoa(port), path)
|
||||
if err != nil {
|
||||
fmt.Println(err)
|
||||
}
|
||||
}
|
||||
|
||||
// HandleMultiple handles multiple GitHub events
|
||||
func HandleMultiple(payload interface{}, header webhooks.Header) {
|
||||
fmt.Println("Handling Payload..")
|
||||
|
||||
switch payload.(type) {
|
||||
|
||||
case github.ReleasePayload:
|
||||
release := payload.(github.ReleasePayload)
|
||||
// Do whatever you want from here...
|
||||
fmt.Printf("%+v", release)
|
||||
|
||||
case github.PullRequestPayload:
|
||||
pullRequest := payload.(github.PullRequestPayload)
|
||||
// Do whatever you want from here...
|
||||
fmt.Printf("%+v", pullRequest)
|
||||
}
|
||||
}
|
||||
@@ -1,51 +0,0 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"strconv"
|
||||
|
||||
"gopkg.in/go-playground/webhooks.v3"
|
||||
"gopkg.in/go-playground/webhooks.v3/github"
|
||||
)
|
||||
|
||||
const (
|
||||
path = "/webhooks"
|
||||
port = 3016
|
||||
)
|
||||
|
||||
func main() {
|
||||
hook := github.New(&github.Config{Secret: "MyGitHubSuperSecretSecrect...?"})
|
||||
hook.RegisterEvents(HandleRelease, github.ReleaseEvent)
|
||||
hook.RegisterEvents(HandlePullRequest, github.PullRequestEvent)
|
||||
|
||||
err := webhooks.Run(hook, ":"+strconv.Itoa(port), path)
|
||||
if err != nil {
|
||||
fmt.Println(err)
|
||||
}
|
||||
}
|
||||
|
||||
// HandleRelease handles GitHub release events
|
||||
func HandleRelease(payload interface{}, header webhooks.Header) {
|
||||
fmt.Println("Handling Release")
|
||||
|
||||
pl := payload.(github.ReleasePayload)
|
||||
|
||||
// only want to compile on full releases
|
||||
if pl.Release.Draft || pl.Release.Prerelease || pl.Release.TargetCommitish != "master" {
|
||||
return
|
||||
}
|
||||
|
||||
// Do whatever you want from here...
|
||||
fmt.Printf("%+v", pl)
|
||||
}
|
||||
|
||||
// HandlePullRequest handles GitHub pull_request events
|
||||
func HandlePullRequest(payload interface{}, header webhooks.Header) {
|
||||
|
||||
fmt.Println("Handling Pull Request")
|
||||
|
||||
pl := payload.(github.PullRequestPayload)
|
||||
|
||||
// Do whatever you want from here...
|
||||
fmt.Printf("%+v", pl)
|
||||
}
|
||||
@@ -1,42 +0,0 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"strconv"
|
||||
|
||||
"gopkg.in/go-playground/webhooks.v3"
|
||||
"gopkg.in/go-playground/webhooks.v3/github"
|
||||
)
|
||||
|
||||
const (
|
||||
path = "/webhooks"
|
||||
port = 3016
|
||||
)
|
||||
|
||||
func main() {
|
||||
hook := github.New(&github.Config{Secret: "MyGitHubSuperSecretSecrect...?"})
|
||||
hook.RegisterEvents(HandleMultiple, github.ReleaseEvent, github.PullRequestEvent) // Add as many as you want
|
||||
|
||||
err := webhooks.Run(hook, ":"+strconv.Itoa(port), path)
|
||||
if err != nil {
|
||||
fmt.Println(err)
|
||||
}
|
||||
}
|
||||
|
||||
// HandleMultiple handles multiple GitHub events
|
||||
func HandleMultiple(payload interface{}, header webhooks.Header) {
|
||||
fmt.Println("Handling Payload..")
|
||||
|
||||
switch payload.(type) {
|
||||
|
||||
case github.ReleasePayload:
|
||||
release := payload.(github.ReleasePayload)
|
||||
// Do whatever you want from here...
|
||||
fmt.Printf("%+v", release)
|
||||
|
||||
case github.PullRequestPayload:
|
||||
pullRequest := payload.(github.PullRequestPayload)
|
||||
// Do whatever you want from here...
|
||||
fmt.Printf("%+v", pullRequest)
|
||||
}
|
||||
}
|
||||
+210
@@ -0,0 +1,210 @@
|
||||
package gitea
|
||||
|
||||
import (
|
||||
structs "code.gitea.io/gitea/modules/structs"
|
||||
"crypto/hmac"
|
||||
"crypto/sha1"
|
||||
"encoding/hex"
|
||||
"encoding/json"
|
||||
"errors"
|
||||
"fmt"
|
||||
"io"
|
||||
"io/ioutil"
|
||||
"net/http"
|
||||
)
|
||||
|
||||
// parse errors
|
||||
var (
|
||||
ErrEventNotSpecifiedToParse = errors.New("no Event specified to parse")
|
||||
ErrInvalidHTTPMethod = errors.New("invalid HTTP Method")
|
||||
ErrMissingGiteaEventHeader = errors.New("missing X-Gitea-Event Header")
|
||||
ErrMissingHubSignatureHeader = errors.New("missing X-Hub-Signature Header")
|
||||
ErrEventNotFound = errors.New("event not defined to be parsed")
|
||||
ErrParsingPayload = errors.New("error parsing payload")
|
||||
ErrHMACVerificationFailed = errors.New("HMAC verification failed")
|
||||
)
|
||||
|
||||
// Event defines a Gitea hook event type
|
||||
type Event string
|
||||
|
||||
// Gitea hook types
|
||||
const (
|
||||
CreateEvent Event = "create"
|
||||
DeleteEvent Event = "delete"
|
||||
ForkEvent Event = "fork"
|
||||
IssuesEvent Event = "issues"
|
||||
IssueAssignEvent Event = "issue_assign"
|
||||
IssueLabelEvent Event = "issue_label"
|
||||
IssueMilestoneEvent Event = "issue_milestone"
|
||||
IssueCommentEvent Event = "issue_comment"
|
||||
PushEvent Event = "push"
|
||||
PullRequestEvent Event = "pull_request"
|
||||
PullRequestAssignEvent Event = "pull_request_assign"
|
||||
PullRequestLabelEvent Event = "pull_request_label"
|
||||
PullRequestMilestoneEvent Event = "pull_request_milestone"
|
||||
PullRequestCommentEvent Event = "pull_request_comment"
|
||||
PullRequestReviewEvent Event = "pull_request_review"
|
||||
PullRequestSyncEvent Event = "pull_request_sync"
|
||||
RepositoryEvent Event = "repository"
|
||||
ReleaseEvent Event = "release"
|
||||
PackageEvent Event = "package"
|
||||
)
|
||||
|
||||
type CreatePayload structs.CreatePayload
|
||||
type DeletePayload structs.DeletePayload
|
||||
type ForkPayload structs.ForkPayload
|
||||
type IssuePayload structs.IssuePayload
|
||||
type IssueCommentPayload structs.IssueCommentPayload
|
||||
type PushPayload structs.PushPayload
|
||||
type PullRequestPayload structs.PullRequestPayload
|
||||
type RepositoryPayload structs.RepositoryPayload
|
||||
type ReleasePayload structs.ReleasePayload
|
||||
type PackagePayload structs.PackagePayload
|
||||
|
||||
// EventSubtype defines a GitHub Hook Event subtype
|
||||
type EventSubtype string
|
||||
|
||||
// Gitea hook event subtypes
|
||||
const (
|
||||
NoSubtype EventSubtype = ""
|
||||
BranchSubtype EventSubtype = "branch"
|
||||
TagSubtype EventSubtype = "tag"
|
||||
PullSubtype EventSubtype = "pull"
|
||||
IssueSubtype EventSubtype = "issues"
|
||||
)
|
||||
|
||||
// Option is a configuration option for the webhook
|
||||
type Option func(*Webhook) error
|
||||
|
||||
// Options is a namespace var for configuration options
|
||||
var Options = WebhookOptions{}
|
||||
|
||||
// WebhookOptions is a namespace for configuration option methods
|
||||
type WebhookOptions struct{}
|
||||
|
||||
// Secret registers the Gitea secret
|
||||
func (WebhookOptions) Secret(secret string) Option {
|
||||
return func(hook *Webhook) error {
|
||||
hook.secret = secret
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
// Webhook instance contains all methods needed to process events
|
||||
type Webhook struct {
|
||||
secret string
|
||||
}
|
||||
|
||||
// New creates and returns a WebHook instance denoted by the Provider type
|
||||
func New(options ...Option) (*Webhook, error) {
|
||||
hook := new(Webhook)
|
||||
for _, opt := range options {
|
||||
if err := opt(hook); err != nil {
|
||||
return nil, errors.New("Error applying Option")
|
||||
}
|
||||
}
|
||||
return hook, nil
|
||||
}
|
||||
|
||||
// Parse verifies and parses the events specified and returns the payload object or an error
|
||||
func (hook Webhook) Parse(r *http.Request, events ...Event) (interface{}, error) {
|
||||
defer func() {
|
||||
_, _ = io.Copy(ioutil.Discard, r.Body)
|
||||
_ = r.Body.Close()
|
||||
}()
|
||||
|
||||
if len(events) == 0 {
|
||||
return nil, ErrEventNotSpecifiedToParse
|
||||
}
|
||||
if r.Method != http.MethodPost {
|
||||
return nil, ErrInvalidHTTPMethod
|
||||
}
|
||||
|
||||
event := r.Header.Get("X-Gitea-Event")
|
||||
if event == "" {
|
||||
return nil, ErrMissingGiteaEventHeader
|
||||
}
|
||||
giteaEvent := Event(event)
|
||||
|
||||
var found bool
|
||||
for _, evt := range events {
|
||||
if evt == giteaEvent {
|
||||
found = true
|
||||
break
|
||||
}
|
||||
}
|
||||
// event not defined to be parsed
|
||||
if !found {
|
||||
return nil, ErrEventNotFound
|
||||
}
|
||||
|
||||
payload, err := ioutil.ReadAll(r.Body)
|
||||
if err != nil || len(payload) == 0 {
|
||||
return nil, ErrParsingPayload
|
||||
}
|
||||
|
||||
// If we have a Secret set, we should check the MAC
|
||||
if len(hook.secret) > 0 {
|
||||
signature := r.Header.Get("X-Hub-Signature")
|
||||
if len(signature) == 0 {
|
||||
return nil, ErrMissingHubSignatureHeader
|
||||
}
|
||||
mac := hmac.New(sha1.New, []byte(hook.secret))
|
||||
_, _ = mac.Write(payload)
|
||||
expectedMAC := hex.EncodeToString(mac.Sum(nil))
|
||||
|
||||
if !hmac.Equal([]byte(signature[5:]), []byte(expectedMAC)) {
|
||||
return nil, ErrHMACVerificationFailed
|
||||
}
|
||||
}
|
||||
|
||||
switch giteaEvent {
|
||||
case CreateEvent:
|
||||
var pl CreatePayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case DeleteEvent:
|
||||
var pl DeletePayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case ForkEvent:
|
||||
var pl ForkPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case IssuesEvent, IssueAssignEvent, IssueLabelEvent, IssueMilestoneEvent:
|
||||
var pl IssuePayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case IssueCommentEvent, PullRequestCommentEvent:
|
||||
var pl IssueCommentPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case PushEvent:
|
||||
var pl PushPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case PullRequestEvent, PullRequestAssignEvent, PullRequestLabelEvent,
|
||||
PullRequestMilestoneEvent, PullRequestSyncEvent:
|
||||
var pl PullRequestPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case PullRequestReviewEvent:
|
||||
var pl PullRequestPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case RepositoryEvent:
|
||||
var pl RepositoryPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case ReleaseEvent:
|
||||
var pl ReleasePayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case PackageEvent:
|
||||
var pl PackagePayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
default:
|
||||
return nil, fmt.Errorf("unknown event %s", giteaEvent)
|
||||
}
|
||||
}
|
||||
+252
-187
@@ -5,60 +5,73 @@ import (
|
||||
"crypto/sha1"
|
||||
"encoding/hex"
|
||||
"encoding/json"
|
||||
"errors"
|
||||
"fmt"
|
||||
"io"
|
||||
"io/ioutil"
|
||||
"net/http"
|
||||
|
||||
"gopkg.in/go-playground/webhooks.v3"
|
||||
)
|
||||
|
||||
// Webhook instance contains all methods needed to process events
|
||||
type Webhook struct {
|
||||
provider webhooks.Provider
|
||||
secret string
|
||||
eventFuncs map[Event]webhooks.ProcessPayloadFunc
|
||||
}
|
||||
|
||||
// Config defines the configuration to create a new GitHub Webhook instance
|
||||
type Config struct {
|
||||
Secret string
|
||||
}
|
||||
// parse errors
|
||||
var (
|
||||
ErrEventNotSpecifiedToParse = errors.New("no Event specified to parse")
|
||||
ErrInvalidHTTPMethod = errors.New("invalid HTTP Method")
|
||||
ErrMissingGithubEventHeader = errors.New("missing X-GitHub-Event Header")
|
||||
ErrMissingHubSignatureHeader = errors.New("missing X-Hub-Signature Header")
|
||||
ErrEventNotFound = errors.New("event not defined to be parsed")
|
||||
ErrParsingPayload = errors.New("error parsing payload")
|
||||
ErrHMACVerificationFailed = errors.New("HMAC verification failed")
|
||||
)
|
||||
|
||||
// Event defines a GitHub hook event type
|
||||
type Event string
|
||||
|
||||
// GitHub hook types
|
||||
const (
|
||||
CommitCommentEvent Event = "commit_comment"
|
||||
CreateEvent Event = "create"
|
||||
DeleteEvent Event = "delete"
|
||||
DeploymentEvent Event = "deployment"
|
||||
DeploymentStatusEvent Event = "deployment_status"
|
||||
ForkEvent Event = "fork"
|
||||
GollumEvent Event = "gollum"
|
||||
IssueCommentEvent Event = "issue_comment"
|
||||
IssuesEvent Event = "issues"
|
||||
LabelEvent Event = "label"
|
||||
MemberEvent Event = "member"
|
||||
MembershipEvent Event = "membership"
|
||||
MilestoneEvent Event = "milestone"
|
||||
OrganizationEvent Event = "organization"
|
||||
OrgBlockEvent Event = "org_block"
|
||||
PageBuildEvent Event = "page_build"
|
||||
ProjectCardEvent Event = "project_card"
|
||||
ProjectColumnEvent Event = "project_column"
|
||||
ProjectEvent Event = "project"
|
||||
PublicEvent Event = "public"
|
||||
PullRequestEvent Event = "pull_request"
|
||||
PullRequestReviewEvent Event = "pull_request_review"
|
||||
PullRequestReviewCommentEvent Event = "pull_request_review_comment"
|
||||
PushEvent Event = "push"
|
||||
ReleaseEvent Event = "release"
|
||||
RepositoryEvent Event = "repository"
|
||||
StatusEvent Event = "status"
|
||||
TeamEvent Event = "team"
|
||||
TeamAddEvent Event = "team_add"
|
||||
WatchEvent Event = "watch"
|
||||
CheckRunEvent Event = "check_run"
|
||||
CheckSuiteEvent Event = "check_suite"
|
||||
CommitCommentEvent Event = "commit_comment"
|
||||
CreateEvent Event = "create"
|
||||
DeleteEvent Event = "delete"
|
||||
DeployKeyEvent Event = "deploy_key"
|
||||
DeploymentEvent Event = "deployment"
|
||||
DeploymentStatusEvent Event = "deployment_status"
|
||||
ForkEvent Event = "fork"
|
||||
GollumEvent Event = "gollum"
|
||||
InstallationEvent Event = "installation"
|
||||
InstallationRepositoriesEvent Event = "installation_repositories"
|
||||
IntegrationInstallationEvent Event = "integration_installation"
|
||||
IntegrationInstallationRepositoriesEvent Event = "integration_installation_repositories"
|
||||
IssueCommentEvent Event = "issue_comment"
|
||||
IssuesEvent Event = "issues"
|
||||
LabelEvent Event = "label"
|
||||
MemberEvent Event = "member"
|
||||
MembershipEvent Event = "membership"
|
||||
MilestoneEvent Event = "milestone"
|
||||
MetaEvent Event = "meta"
|
||||
OrganizationEvent Event = "organization"
|
||||
OrgBlockEvent Event = "org_block"
|
||||
PageBuildEvent Event = "page_build"
|
||||
PingEvent Event = "ping"
|
||||
ProjectCardEvent Event = "project_card"
|
||||
ProjectColumnEvent Event = "project_column"
|
||||
ProjectEvent Event = "project"
|
||||
PublicEvent Event = "public"
|
||||
PullRequestEvent Event = "pull_request"
|
||||
PullRequestReviewEvent Event = "pull_request_review"
|
||||
PullRequestReviewCommentEvent Event = "pull_request_review_comment"
|
||||
PushEvent Event = "push"
|
||||
ReleaseEvent Event = "release"
|
||||
RepositoryEvent Event = "repository"
|
||||
RepositoryVulnerabilityAlertEvent Event = "repository_vulnerability_alert"
|
||||
SecurityAdvisoryEvent Event = "security_advisory"
|
||||
StatusEvent Event = "status"
|
||||
TeamEvent Event = "team"
|
||||
TeamAddEvent Event = "team_add"
|
||||
WatchEvent Event = "watch"
|
||||
WorkflowDispatchEvent Event = "workflow_dispatch"
|
||||
WorkflowJobEvent Event = "workflow_job"
|
||||
WorkflowRunEvent Event = "workflow_run"
|
||||
)
|
||||
|
||||
// EventSubtype defines a GitHub Hook Event subtype
|
||||
@@ -73,209 +86,261 @@ const (
|
||||
IssueSubtype EventSubtype = "issues"
|
||||
)
|
||||
|
||||
// Option is a configuration option for the webhook
|
||||
type Option func(*Webhook) error
|
||||
|
||||
// Options is a namespace var for configuration options
|
||||
var Options = WebhookOptions{}
|
||||
|
||||
// WebhookOptions is a namespace for configuration option methods
|
||||
type WebhookOptions struct{}
|
||||
|
||||
// Secret registers the GitHub secret
|
||||
func (WebhookOptions) Secret(secret string) Option {
|
||||
return func(hook *Webhook) error {
|
||||
hook.secret = secret
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
// Webhook instance contains all methods needed to process events
|
||||
type Webhook struct {
|
||||
secret string
|
||||
}
|
||||
|
||||
// New creates and returns a WebHook instance denoted by the Provider type
|
||||
func New(config *Config) *Webhook {
|
||||
return &Webhook{
|
||||
provider: webhooks.GitHub,
|
||||
secret: config.Secret,
|
||||
eventFuncs: map[Event]webhooks.ProcessPayloadFunc{},
|
||||
func New(options ...Option) (*Webhook, error) {
|
||||
hook := new(Webhook)
|
||||
for _, opt := range options {
|
||||
if err := opt(hook); err != nil {
|
||||
return nil, errors.New("Error applying Option")
|
||||
}
|
||||
}
|
||||
return hook, nil
|
||||
}
|
||||
|
||||
// Provider returns the current hooks provider ID
|
||||
func (hook Webhook) Provider() webhooks.Provider {
|
||||
return hook.provider
|
||||
}
|
||||
// Parse verifies and parses the events specified and returns the payload object or an error
|
||||
func (hook Webhook) Parse(r *http.Request, events ...Event) (interface{}, error) {
|
||||
defer func() {
|
||||
_, _ = io.Copy(ioutil.Discard, r.Body)
|
||||
_ = r.Body.Close()
|
||||
}()
|
||||
|
||||
// RegisterEvents registers the function to call when the specified event(s) are encountered
|
||||
func (hook Webhook) RegisterEvents(fn webhooks.ProcessPayloadFunc, events ...Event) {
|
||||
|
||||
for _, event := range events {
|
||||
hook.eventFuncs[event] = fn
|
||||
if len(events) == 0 {
|
||||
return nil, ErrEventNotSpecifiedToParse
|
||||
}
|
||||
if r.Method != http.MethodPost {
|
||||
return nil, ErrInvalidHTTPMethod
|
||||
}
|
||||
}
|
||||
|
||||
// ParsePayload parses and verifies the payload and fires off the mapped function, if it exists.
|
||||
func (hook Webhook) ParsePayload(w http.ResponseWriter, r *http.Request) {
|
||||
webhooks.DefaultLog.Info("Parsing Payload...")
|
||||
|
||||
event := r.Header.Get("X-GitHub-Event")
|
||||
if len(event) == 0 {
|
||||
webhooks.DefaultLog.Error("Missing X-GitHub-Event Header")
|
||||
http.Error(w, "400 Bad Request - Missing X-GitHub-Event Header", http.StatusBadRequest)
|
||||
return
|
||||
if event == "" {
|
||||
return nil, ErrMissingGithubEventHeader
|
||||
}
|
||||
webhooks.DefaultLog.Debug(fmt.Sprintf("X-GitHub-Event:%s", event))
|
||||
|
||||
gitHubEvent := Event(event)
|
||||
|
||||
fn, ok := hook.eventFuncs[gitHubEvent]
|
||||
// if no event registered
|
||||
if !ok {
|
||||
webhooks.DefaultLog.Info(fmt.Sprintf("Webhook Event %s not registered, it is recommended to setup only events in github that will be registered in the webhook to avoid unnecessary traffic and reduce potential attack vectors.", event))
|
||||
return
|
||||
var found bool
|
||||
for _, evt := range events {
|
||||
if evt == gitHubEvent {
|
||||
found = true
|
||||
break
|
||||
}
|
||||
}
|
||||
// event not defined to be parsed
|
||||
if !found {
|
||||
return nil, ErrEventNotFound
|
||||
}
|
||||
|
||||
payload, err := ioutil.ReadAll(r.Body)
|
||||
if err != nil || len(payload) == 0 {
|
||||
webhooks.DefaultLog.Error("Issue reading Payload")
|
||||
http.Error(w, "Issue reading Payload", http.StatusInternalServerError)
|
||||
return
|
||||
return nil, ErrParsingPayload
|
||||
}
|
||||
webhooks.DefaultLog.Debug(fmt.Sprintf("Payload:%s", string(payload)))
|
||||
|
||||
// If we have a Secret set, we should check the MAC
|
||||
if len(hook.secret) > 0 {
|
||||
webhooks.DefaultLog.Info("Checking secret")
|
||||
signature := r.Header.Get("X-Hub-Signature")
|
||||
if len(signature) == 0 {
|
||||
webhooks.DefaultLog.Error("Missing X-Hub-Signature required for HMAC verification")
|
||||
http.Error(w, "403 Forbidden - Missing X-Hub-Signature required for HMAC verification", http.StatusForbidden)
|
||||
return
|
||||
return nil, ErrMissingHubSignatureHeader
|
||||
}
|
||||
webhooks.DefaultLog.Debug(fmt.Sprintf("X-Hub-Signature:%s", signature))
|
||||
|
||||
mac := hmac.New(sha1.New, []byte(hook.secret))
|
||||
mac.Write(payload)
|
||||
|
||||
_, _ = mac.Write(payload)
|
||||
expectedMAC := hex.EncodeToString(mac.Sum(nil))
|
||||
|
||||
if !hmac.Equal([]byte(signature[5:]), []byte(expectedMAC)) {
|
||||
webhooks.DefaultLog.Error("HMAC verification failed")
|
||||
http.Error(w, "403 Forbidden - HMAC verification failed", http.StatusForbidden)
|
||||
return
|
||||
return nil, ErrHMACVerificationFailed
|
||||
}
|
||||
}
|
||||
|
||||
// Make headers available to ProcessPayloadFunc as a webhooks type
|
||||
hd := webhooks.Header(r.Header)
|
||||
|
||||
switch gitHubEvent {
|
||||
case CheckRunEvent:
|
||||
var pl CheckRunPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case CheckSuiteEvent:
|
||||
var pl CheckSuitePayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case CommitCommentEvent:
|
||||
var cc CommitCommentPayload
|
||||
json.Unmarshal([]byte(payload), &cc)
|
||||
hook.runProcessPayloadFunc(fn, cc, hd)
|
||||
var pl CommitCommentPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case CreateEvent:
|
||||
var c CreatePayload
|
||||
json.Unmarshal([]byte(payload), &c)
|
||||
hook.runProcessPayloadFunc(fn, c, hd)
|
||||
var pl CreatePayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case DeployKeyEvent:
|
||||
var pl DeployKeyPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case DeleteEvent:
|
||||
var d DeletePayload
|
||||
json.Unmarshal([]byte(payload), &d)
|
||||
hook.runProcessPayloadFunc(fn, d, hd)
|
||||
var pl DeletePayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case DeploymentEvent:
|
||||
var d DeploymentPayload
|
||||
json.Unmarshal([]byte(payload), &d)
|
||||
hook.runProcessPayloadFunc(fn, d, hd)
|
||||
var pl DeploymentPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case DeploymentStatusEvent:
|
||||
var d DeploymentStatusPayload
|
||||
json.Unmarshal([]byte(payload), &d)
|
||||
hook.runProcessPayloadFunc(fn, d, hd)
|
||||
var pl DeploymentStatusPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case ForkEvent:
|
||||
var f ForkPayload
|
||||
json.Unmarshal([]byte(payload), &f)
|
||||
hook.runProcessPayloadFunc(fn, f, hd)
|
||||
var pl ForkPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case GollumEvent:
|
||||
var g GollumPayload
|
||||
json.Unmarshal([]byte(payload), &g)
|
||||
hook.runProcessPayloadFunc(fn, g, hd)
|
||||
var pl GollumPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case InstallationEvent, IntegrationInstallationEvent:
|
||||
var pl InstallationPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case InstallationRepositoriesEvent, IntegrationInstallationRepositoriesEvent:
|
||||
var pl InstallationRepositoriesPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case IssueCommentEvent:
|
||||
var i IssueCommentPayload
|
||||
json.Unmarshal([]byte(payload), &i)
|
||||
hook.runProcessPayloadFunc(fn, i, hd)
|
||||
var pl IssueCommentPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case IssuesEvent:
|
||||
var i IssuesPayload
|
||||
json.Unmarshal([]byte(payload), &i)
|
||||
hook.runProcessPayloadFunc(fn, i, hd)
|
||||
var pl IssuesPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case LabelEvent:
|
||||
var l LabelPayload
|
||||
json.Unmarshal([]byte(payload), &l)
|
||||
hook.runProcessPayloadFunc(fn, l, hd)
|
||||
var pl LabelPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case MemberEvent:
|
||||
var m MemberPayload
|
||||
json.Unmarshal([]byte(payload), &m)
|
||||
hook.runProcessPayloadFunc(fn, m, hd)
|
||||
var pl MemberPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case MembershipEvent:
|
||||
var m MembershipPayload
|
||||
json.Unmarshal([]byte(payload), &m)
|
||||
hook.runProcessPayloadFunc(fn, m, hd)
|
||||
var pl MembershipPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case MetaEvent:
|
||||
var pl MetaPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case MilestoneEvent:
|
||||
var m MilestonePayload
|
||||
json.Unmarshal([]byte(payload), &m)
|
||||
hook.runProcessPayloadFunc(fn, m, hd)
|
||||
var pl MilestonePayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case OrganizationEvent:
|
||||
var o OrganizationPayload
|
||||
json.Unmarshal([]byte(payload), &o)
|
||||
hook.runProcessPayloadFunc(fn, o, hd)
|
||||
var pl OrganizationPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case OrgBlockEvent:
|
||||
var o OrgBlockPayload
|
||||
json.Unmarshal([]byte(payload), &o)
|
||||
hook.runProcessPayloadFunc(fn, o, hd)
|
||||
var pl OrgBlockPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case PageBuildEvent:
|
||||
var p PageBuildPayload
|
||||
json.Unmarshal([]byte(payload), &p)
|
||||
hook.runProcessPayloadFunc(fn, p, hd)
|
||||
var pl PageBuildPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case PingEvent:
|
||||
var pl PingPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case ProjectCardEvent:
|
||||
var p ProjectCardPayload
|
||||
json.Unmarshal([]byte(payload), &p)
|
||||
hook.runProcessPayloadFunc(fn, p, hd)
|
||||
var pl ProjectCardPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case ProjectColumnEvent:
|
||||
var p ProjectColumnPayload
|
||||
json.Unmarshal([]byte(payload), &p)
|
||||
hook.runProcessPayloadFunc(fn, p, hd)
|
||||
var pl ProjectColumnPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case ProjectEvent:
|
||||
var p ProjectPayload
|
||||
json.Unmarshal([]byte(payload), &p)
|
||||
hook.runProcessPayloadFunc(fn, p, hd)
|
||||
var pl ProjectPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case PublicEvent:
|
||||
var p PublicPayload
|
||||
json.Unmarshal([]byte(payload), &p)
|
||||
hook.runProcessPayloadFunc(fn, p, hd)
|
||||
var pl PublicPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case PullRequestEvent:
|
||||
var p PullRequestPayload
|
||||
json.Unmarshal([]byte(payload), &p)
|
||||
hook.runProcessPayloadFunc(fn, p, hd)
|
||||
var pl PullRequestPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case PullRequestReviewEvent:
|
||||
var p PullRequestReviewPayload
|
||||
json.Unmarshal([]byte(payload), &p)
|
||||
hook.runProcessPayloadFunc(fn, p, hd)
|
||||
var pl PullRequestReviewPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case PullRequestReviewCommentEvent:
|
||||
var p PullRequestReviewCommentPayload
|
||||
json.Unmarshal([]byte(payload), &p)
|
||||
hook.runProcessPayloadFunc(fn, p, hd)
|
||||
var pl PullRequestReviewCommentPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case PushEvent:
|
||||
var p PushPayload
|
||||
json.Unmarshal([]byte(payload), &p)
|
||||
hook.runProcessPayloadFunc(fn, p, hd)
|
||||
var pl PushPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case ReleaseEvent:
|
||||
var r ReleasePayload
|
||||
json.Unmarshal([]byte(payload), &r)
|
||||
hook.runProcessPayloadFunc(fn, r, hd)
|
||||
var pl ReleasePayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case RepositoryEvent:
|
||||
var r RepositoryPayload
|
||||
json.Unmarshal([]byte(payload), &r)
|
||||
hook.runProcessPayloadFunc(fn, r, hd)
|
||||
var pl RepositoryPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case RepositoryVulnerabilityAlertEvent:
|
||||
var pl RepositoryVulnerabilityAlertPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case SecurityAdvisoryEvent:
|
||||
var pl SecurityAdvisoryPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case StatusEvent:
|
||||
var s StatusPayload
|
||||
json.Unmarshal([]byte(payload), &s)
|
||||
hook.runProcessPayloadFunc(fn, s, hd)
|
||||
var pl StatusPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case TeamEvent:
|
||||
var t TeamPayload
|
||||
json.Unmarshal([]byte(payload), &t)
|
||||
hook.runProcessPayloadFunc(fn, t, hd)
|
||||
var pl TeamPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case TeamAddEvent:
|
||||
var t TeamAddPayload
|
||||
json.Unmarshal([]byte(payload), &t)
|
||||
hook.runProcessPayloadFunc(fn, t, hd)
|
||||
var pl TeamAddPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case WatchEvent:
|
||||
var w WatchPayload
|
||||
json.Unmarshal([]byte(payload), &w)
|
||||
hook.runProcessPayloadFunc(fn, w, hd)
|
||||
var pl WatchPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case WorkflowDispatchEvent:
|
||||
var pl WorkflowDispatchPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case WorkflowJobEvent:
|
||||
var pl WorkflowJobPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case WorkflowRunEvent:
|
||||
var pl WorkflowRunPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
default:
|
||||
return nil, fmt.Errorf("unknown event %s", gitHubEvent)
|
||||
}
|
||||
}
|
||||
|
||||
func (hook Webhook) runProcessPayloadFunc(fn webhooks.ProcessPayloadFunc, results interface{}, header webhooks.Header) {
|
||||
go func(fn webhooks.ProcessPayloadFunc, results interface{}, header webhooks.Header) {
|
||||
fn(results, header)
|
||||
}(fn, results, header)
|
||||
}
|
||||
|
||||
+572
-5561
File diff suppressed because it is too large
Load Diff
+2098
-152
File diff suppressed because it is too large
Load Diff
+156
-98
@@ -2,27 +2,24 @@ package gitlab
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"errors"
|
||||
"fmt"
|
||||
"io"
|
||||
"io/ioutil"
|
||||
"net/http"
|
||||
|
||||
"gopkg.in/go-playground/webhooks.v3"
|
||||
)
|
||||
|
||||
// Webhook instance contains all methods needed to process events
|
||||
type Webhook struct {
|
||||
provider webhooks.Provider
|
||||
secret string
|
||||
eventFuncs map[Event]webhooks.ProcessPayloadFunc
|
||||
}
|
||||
|
||||
// Config defines the configuration to create a new GitHub Webhook instance
|
||||
type Config struct {
|
||||
Secret string
|
||||
}
|
||||
|
||||
// Event defines a GitHub hook event type
|
||||
type Event string
|
||||
// parse errors
|
||||
var (
|
||||
ErrEventNotSpecifiedToParse = errors.New("no Event specified to parse")
|
||||
ErrInvalidHTTPMethod = errors.New("invalid HTTP Method")
|
||||
ErrMissingGitLabEventHeader = errors.New("missing X-Gitlab-Event Header")
|
||||
ErrGitLabTokenVerificationFailed = errors.New("X-Gitlab-Token validation failed")
|
||||
ErrEventNotFound = errors.New("event not defined to be parsed")
|
||||
ErrParsingPayload = errors.New("error parsing payload")
|
||||
ErrParsingSystemPayload = errors.New("error parsing system payload")
|
||||
// ErrHMACVerificationFailed = errors.New("HMAC verification failed")
|
||||
)
|
||||
|
||||
// GitLab hook types
|
||||
const (
|
||||
@@ -35,123 +32,184 @@ const (
|
||||
WikiPageEvents Event = "Wiki Page Hook"
|
||||
PipelineEvents Event = "Pipeline Hook"
|
||||
BuildEvents Event = "Build Hook"
|
||||
JobEvents Event = "Job Hook"
|
||||
SystemHookEvents Event = "System Hook"
|
||||
|
||||
objectPush string = "push"
|
||||
objectTag string = "tag_push"
|
||||
objectMergeRequest string = "merge_request"
|
||||
objectBuild string = "build"
|
||||
)
|
||||
|
||||
// Option is a configuration option for the webhook
|
||||
type Option func(*Webhook) error
|
||||
|
||||
// Options is a namespace var for configuration options
|
||||
var Options = WebhookOptions{}
|
||||
|
||||
// WebhookOptions is a namespace for configuration option methods
|
||||
type WebhookOptions struct{}
|
||||
|
||||
// Secret registers the GitLab secret
|
||||
func (WebhookOptions) Secret(secret string) Option {
|
||||
return func(hook *Webhook) error {
|
||||
hook.secret = secret
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
// Webhook instance contains all methods needed to process events
|
||||
type Webhook struct {
|
||||
secret string
|
||||
}
|
||||
|
||||
// Event defines a GitLab hook event type by the X-Gitlab-Event Header
|
||||
type Event string
|
||||
|
||||
// New creates and returns a WebHook instance denoted by the Provider type
|
||||
func New(config *Config) *Webhook {
|
||||
return &Webhook{
|
||||
provider: webhooks.GitLab,
|
||||
secret: config.Secret,
|
||||
eventFuncs: map[Event]webhooks.ProcessPayloadFunc{},
|
||||
func New(options ...Option) (*Webhook, error) {
|
||||
hook := new(Webhook)
|
||||
for _, opt := range options {
|
||||
if err := opt(hook); err != nil {
|
||||
return nil, errors.New("Error applying Option")
|
||||
}
|
||||
}
|
||||
return hook, nil
|
||||
}
|
||||
|
||||
// Provider returns the current hooks provider ID
|
||||
func (hook Webhook) Provider() webhooks.Provider {
|
||||
return hook.provider
|
||||
}
|
||||
// Parse verifies and parses the events specified and returns the payload object or an error
|
||||
func (hook Webhook) Parse(r *http.Request, events ...Event) (interface{}, error) {
|
||||
defer func() {
|
||||
_, _ = io.Copy(ioutil.Discard, r.Body)
|
||||
_ = r.Body.Close()
|
||||
}()
|
||||
|
||||
// RegisterEvents registers the function to call when the specified event(s) are encountered
|
||||
func (hook Webhook) RegisterEvents(fn webhooks.ProcessPayloadFunc, events ...Event) {
|
||||
|
||||
for _, event := range events {
|
||||
hook.eventFuncs[event] = fn
|
||||
if len(events) == 0 {
|
||||
return nil, ErrEventNotSpecifiedToParse
|
||||
}
|
||||
}
|
||||
|
||||
// ParsePayload parses and verifies the payload and fires off the mapped function, if it exists.
|
||||
func (hook Webhook) ParsePayload(w http.ResponseWriter, r *http.Request) {
|
||||
webhooks.DefaultLog.Info("Parsing Payload...")
|
||||
|
||||
event := r.Header.Get("X-Gitlab-Event")
|
||||
if len(event) == 0 {
|
||||
webhooks.DefaultLog.Error("Missing X-Gitlab-Event Header")
|
||||
http.Error(w, "400 Bad Request - Missing X-Gitlab-Event Header", http.StatusBadRequest)
|
||||
return
|
||||
if r.Method != http.MethodPost {
|
||||
return nil, ErrInvalidHTTPMethod
|
||||
}
|
||||
webhooks.DefaultLog.Debug(fmt.Sprintf("X-Gitlab-Event:%s", event))
|
||||
|
||||
gitLabEvent := Event(event)
|
||||
|
||||
fn, ok := hook.eventFuncs[gitLabEvent]
|
||||
// if no event registered
|
||||
if !ok {
|
||||
webhooks.DefaultLog.Info(fmt.Sprintf("Webhook Event %s not registered, it is recommended to setup only events in gitlab that will be registered in the webhook to avoid unnecessary traffic and reduce potential attack vectors.", event))
|
||||
return
|
||||
}
|
||||
|
||||
payload, err := ioutil.ReadAll(r.Body)
|
||||
if err != nil || len(payload) == 0 {
|
||||
webhooks.DefaultLog.Error("Issue reading Payload")
|
||||
http.Error(w, "Error reading Payload", http.StatusInternalServerError)
|
||||
return
|
||||
}
|
||||
webhooks.DefaultLog.Debug(fmt.Sprintf("Payload:%s", string(payload)))
|
||||
|
||||
// If we have a Secret set, we should check the MAC
|
||||
if len(hook.secret) > 0 {
|
||||
webhooks.DefaultLog.Info("Checking secret")
|
||||
signature := r.Header.Get("X-Gitlab-Token")
|
||||
if signature != hook.secret {
|
||||
webhooks.DefaultLog.Error(fmt.Sprintf("Invalid X-Gitlab-Token of '%s'", signature))
|
||||
http.Error(w, "403 Forbidden - Token missmatch", http.StatusForbidden)
|
||||
return
|
||||
return nil, ErrGitLabTokenVerificationFailed
|
||||
}
|
||||
}
|
||||
|
||||
// Make headers available to ProcessPayloadFunc as a webhooks type
|
||||
hd := webhooks.Header(r.Header)
|
||||
event := r.Header.Get("X-Gitlab-Event")
|
||||
if len(event) == 0 {
|
||||
return nil, ErrMissingGitLabEventHeader
|
||||
}
|
||||
|
||||
gitLabEvent := Event(event)
|
||||
|
||||
payload, err := ioutil.ReadAll(r.Body)
|
||||
if err != nil || len(payload) == 0 {
|
||||
return nil, ErrParsingPayload
|
||||
}
|
||||
|
||||
return eventParsing(gitLabEvent, events, payload)
|
||||
}
|
||||
|
||||
func eventParsing(gitLabEvent Event, events []Event, payload []byte) (interface{}, error) {
|
||||
|
||||
var found bool
|
||||
for _, evt := range events {
|
||||
if evt == gitLabEvent {
|
||||
found = true
|
||||
break
|
||||
}
|
||||
}
|
||||
// event not defined to be parsed
|
||||
if !found {
|
||||
return nil, ErrEventNotFound
|
||||
}
|
||||
|
||||
switch gitLabEvent {
|
||||
case PushEvents:
|
||||
var pe PushEventPayload
|
||||
json.Unmarshal([]byte(payload), &pe)
|
||||
hook.runProcessPayloadFunc(fn, pe, hd)
|
||||
var pl PushEventPayload
|
||||
err := json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
|
||||
case TagEvents:
|
||||
var te TagEventPayload
|
||||
json.Unmarshal([]byte(payload), &te)
|
||||
hook.runProcessPayloadFunc(fn, te, hd)
|
||||
var pl TagEventPayload
|
||||
err := json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
|
||||
case ConfidentialIssuesEvents:
|
||||
var cie ConfidentialIssueEventPayload
|
||||
json.Unmarshal([]byte(payload), &cie)
|
||||
hook.runProcessPayloadFunc(fn, cie, hd)
|
||||
var pl ConfidentialIssueEventPayload
|
||||
err := json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
|
||||
case IssuesEvents:
|
||||
var ie IssueEventPayload
|
||||
json.Unmarshal([]byte(payload), &ie)
|
||||
hook.runProcessPayloadFunc(fn, ie, hd)
|
||||
var pl IssueEventPayload
|
||||
err := json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
|
||||
case CommentEvents:
|
||||
var ce CommentEventPayload
|
||||
json.Unmarshal([]byte(payload), &ce)
|
||||
hook.runProcessPayloadFunc(fn, ce, hd)
|
||||
var pl CommentEventPayload
|
||||
err := json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
|
||||
case MergeRequestEvents:
|
||||
var mre MergeRequestEventPayload
|
||||
json.Unmarshal([]byte(payload), &mre)
|
||||
hook.runProcessPayloadFunc(fn, mre, hd)
|
||||
var pl MergeRequestEventPayload
|
||||
err := json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
|
||||
case WikiPageEvents:
|
||||
var wpe WikiPageEventPayload
|
||||
json.Unmarshal([]byte(payload), &wpe)
|
||||
hook.runProcessPayloadFunc(fn, wpe, hd)
|
||||
var pl WikiPageEventPayload
|
||||
err := json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
|
||||
case PipelineEvents:
|
||||
var pe PipelineEventPayload
|
||||
json.Unmarshal([]byte(payload), &pe)
|
||||
hook.runProcessPayloadFunc(fn, pe, hd)
|
||||
var pl PipelineEventPayload
|
||||
err := json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
|
||||
case BuildEvents:
|
||||
var be BuildEventPayload
|
||||
json.Unmarshal([]byte(payload), &be)
|
||||
hook.runProcessPayloadFunc(fn, be, hd)
|
||||
var pl BuildEventPayload
|
||||
err := json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
case JobEvents:
|
||||
var pl JobEventPayload
|
||||
err := json.Unmarshal([]byte(payload), &pl)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if pl.ObjectKind == objectBuild {
|
||||
return eventParsing(BuildEvents, events, payload)
|
||||
}
|
||||
return pl, nil
|
||||
|
||||
case SystemHookEvents:
|
||||
var pl SystemHookPayload
|
||||
err := json.Unmarshal([]byte(payload), &pl)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
switch pl.ObjectKind {
|
||||
case objectPush:
|
||||
return eventParsing(PushEvents, events, payload)
|
||||
case objectTag:
|
||||
return eventParsing(TagEvents, events, payload)
|
||||
case objectMergeRequest:
|
||||
return eventParsing(MergeRequestEvents, events, payload)
|
||||
default:
|
||||
switch pl.EventName {
|
||||
case objectPush:
|
||||
return eventParsing(PushEvents, events, payload)
|
||||
case objectTag:
|
||||
return eventParsing(TagEvents, events, payload)
|
||||
case objectMergeRequest:
|
||||
return eventParsing(MergeRequestEvents, events, payload)
|
||||
default:
|
||||
return nil, fmt.Errorf("unknown system hook event %s", gitLabEvent)
|
||||
}
|
||||
}
|
||||
default:
|
||||
return nil, fmt.Errorf("unknown event %s", gitLabEvent)
|
||||
}
|
||||
}
|
||||
|
||||
func (hook Webhook) runProcessPayloadFunc(fn webhooks.ProcessPayloadFunc, results interface{}, header webhooks.Header) {
|
||||
go func(fn webhooks.ProcessPayloadFunc, results interface{}, header webhooks.Header) {
|
||||
fn(results, header)
|
||||
}(fn, results, header)
|
||||
}
|
||||
|
||||
+323
-1143
File diff suppressed because it is too large
Load Diff
+199
-61
@@ -38,6 +38,7 @@ type IssueEventPayload struct {
|
||||
Repository Repository `json:"repository"`
|
||||
ObjectAttributes ObjectAttributes `json:"object_attributes"`
|
||||
Assignee Assignee `json:"assignee"`
|
||||
Changes Changes `json:"changes"`
|
||||
}
|
||||
|
||||
// ConfidentialIssueEventPayload contains the information for GitLab's confidential issue event
|
||||
@@ -52,6 +53,11 @@ type MergeRequestEventPayload struct {
|
||||
ObjectKind string `json:"object_kind"`
|
||||
User User `json:"user"`
|
||||
ObjectAttributes ObjectAttributes `json:"object_attributes"`
|
||||
Changes Changes `json:"changes"`
|
||||
Project Project `json:"project"`
|
||||
Repository Repository `json:"repository"`
|
||||
Labels []Label `json:"labels"`
|
||||
Assignees []Assignee `json:"assignees"`
|
||||
}
|
||||
|
||||
// PushEventPayload contains the information for GitLab's push event
|
||||
@@ -63,6 +69,7 @@ type PushEventPayload struct {
|
||||
CheckoutSHA string `json:"checkout_sha"`
|
||||
UserID int64 `json:"user_id"`
|
||||
UserName string `json:"user_name"`
|
||||
UserUsername string `json:"user_username"`
|
||||
UserEmail string `json:"user_email"`
|
||||
UserAvatar string `json:"user_avatar"`
|
||||
ProjectID int64 `json:"project_id"`
|
||||
@@ -81,6 +88,7 @@ type TagEventPayload struct {
|
||||
CheckoutSHA string `json:"checkout_sha"`
|
||||
UserID int64 `json:"user_id"`
|
||||
UserName string `json:"user_name"`
|
||||
UserUsername string `json:"user_username"`
|
||||
UserAvatar string `json:"user_avatar"`
|
||||
ProjectID int64 `json:"project_id"`
|
||||
Project Project `json:"Project"`
|
||||
@@ -100,12 +108,13 @@ type WikiPageEventPayload struct {
|
||||
|
||||
// PipelineEventPayload contains the information for GitLab's pipeline status change event
|
||||
type PipelineEventPayload struct {
|
||||
ObjectKind string `json:"object_kind"`
|
||||
User User `json:"user"`
|
||||
Project Project `json:"project"`
|
||||
Commit Commit `json:"commit"`
|
||||
ObjectAttributes ObjectAttributes `json:"object_attributes"`
|
||||
Builds []Build `json:"builds"`
|
||||
ObjectKind string `json:"object_kind"`
|
||||
User User `json:"user"`
|
||||
Project Project `json:"project"`
|
||||
Commit Commit `json:"commit"`
|
||||
ObjectAttributes PipelineObjectAttributes `json:"object_attributes"`
|
||||
MergeRequest MergeRequest `json:"merge_request"`
|
||||
Builds []Build `json:"builds"`
|
||||
}
|
||||
|
||||
// CommentEventPayload contains the information for GitLab's comment event
|
||||
@@ -135,13 +144,45 @@ type BuildEventPayload struct {
|
||||
BuildStatus string `json:"build_status"`
|
||||
BuildStartedAt customTime `json:"build_started_at"`
|
||||
BuildFinishedAt customTime `json:"build_finished_at"`
|
||||
BuildDuration int64 `json:"build_duration"`
|
||||
BuildDuration float64 `json:"build_duration"`
|
||||
BuildAllowFailure bool `json:"build_allow_failure"`
|
||||
ProjectID int64 `json:"project_id"`
|
||||
ProjectName string `json:"project_name"`
|
||||
User User `json:"user"`
|
||||
Commit BuildCommit `json:"commit"`
|
||||
Repository Repository `json:"repository"`
|
||||
Runner Runner `json:"runner"`
|
||||
}
|
||||
|
||||
// JobEventPayload contains the information for GitLab's Job status change
|
||||
type JobEventPayload struct {
|
||||
ObjectKind string `json:"object_kind"`
|
||||
Ref string `json:"ref"`
|
||||
Tag bool `json:"tag"`
|
||||
BeforeSHA string `json:"before_sha"`
|
||||
SHA string `json:"sha"`
|
||||
BuildID int64 `json:"build_id"`
|
||||
BuildName string `json:"build_name"`
|
||||
BuildStage string `json:"build_stage"`
|
||||
BuildStatus string `json:"build_status"`
|
||||
BuildStartedAt customTime `json:"build_started_at"`
|
||||
BuildFinishedAt customTime `json:"build_finished_at"`
|
||||
BuildDuration float64 `json:"build_duration"`
|
||||
BuildAllowFailure bool `json:"build_allow_failure"`
|
||||
BuildFailureReason string `json:"build_failure_reason"`
|
||||
PipelineID int64 `json:"pipeline_id"`
|
||||
ProjectID int64 `json:"project_id"`
|
||||
ProjectName string `json:"project_name"`
|
||||
User User `json:"user"`
|
||||
Commit BuildCommit `json:"commit"`
|
||||
Repository Repository `json:"repository"`
|
||||
Runner Runner `json:"runner"`
|
||||
}
|
||||
|
||||
// SystemHookPayload contains the ObjectKind to match with real hook events
|
||||
type SystemHookPayload struct {
|
||||
ObjectKind string `json:"object_kind"`
|
||||
EventName string `json:"event_name"`
|
||||
}
|
||||
|
||||
// Issue contains all of the GitLab issue information
|
||||
@@ -161,7 +202,7 @@ type Issue struct {
|
||||
IID int64 `json:"iid"`
|
||||
}
|
||||
|
||||
// Build contains all of the GitLab build information
|
||||
// Build contains all of the GitLab Build information
|
||||
type Build struct {
|
||||
ID int64 `json:"id"`
|
||||
Stage string `json:"stage"`
|
||||
@@ -173,10 +214,18 @@ type Build struct {
|
||||
When string `json:"when"`
|
||||
Manual bool `json:"manual"`
|
||||
User User `json:"user"`
|
||||
Runner string `json:"runner"`
|
||||
Runner Runner `json:"runner"`
|
||||
ArtifactsFile ArtifactsFile `json:"artifactsfile"`
|
||||
}
|
||||
|
||||
// Runner represents a runner agent
|
||||
type Runner struct {
|
||||
ID int64 `json:"id"`
|
||||
Description string `json:"description"`
|
||||
Active bool `json:"active"`
|
||||
IsShared bool `json:"is_shared"`
|
||||
}
|
||||
|
||||
// ArtifactsFile contains all of the GitLab artifact information
|
||||
type ArtifactsFile struct {
|
||||
Filename string `json:"filename"`
|
||||
@@ -196,6 +245,7 @@ type Wiki struct {
|
||||
type Commit struct {
|
||||
ID string `json:"id"`
|
||||
Message string `json:"message"`
|
||||
Title string `json:"title"`
|
||||
Timestamp customTime `json:"timestamp"`
|
||||
URL string `json:"url"`
|
||||
Author Author `json:"author"`
|
||||
@@ -209,10 +259,10 @@ type BuildCommit struct {
|
||||
ID int64 `json:"id"`
|
||||
SHA string `json:"sha"`
|
||||
Message string `json:"message"`
|
||||
AuthorName string `json:"auuthor_name"`
|
||||
AuthorName string `json:"author_name"`
|
||||
AuthorEmail string `json:"author_email"`
|
||||
Status string `json:"status"`
|
||||
Duration int64 `json:"duration"`
|
||||
Duration float64 `json:"duration"`
|
||||
StartedAt customTime `json:"started_at"`
|
||||
FinishedAt customTime `json:"finished_at"`
|
||||
}
|
||||
@@ -234,18 +284,21 @@ type Snippet struct {
|
||||
|
||||
// User contains all of the GitLab user information
|
||||
type User struct {
|
||||
ID int64 `json:"id"`
|
||||
Name string `json:"name"`
|
||||
UserName string `json:"username"`
|
||||
AvatarURL string `json:"avatar_url"`
|
||||
Email string `json:"email"`
|
||||
}
|
||||
|
||||
// Project contains all of the GitLab project information
|
||||
type Project struct {
|
||||
ID int64 `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Description string `json:"description"`
|
||||
WebURL string `json:"web_url"`
|
||||
AvatarURL string `json:"avatar_url"`
|
||||
GitSSSHURL string `json:"git_ssh_url"`
|
||||
GitSSHURL string `json:"git_ssh_url"`
|
||||
GitHTTPURL string `json:"git_http_url"`
|
||||
Namespace string `json:"namespace"`
|
||||
VisibilityLevel int64 `json:"visibility_level"`
|
||||
@@ -259,59 +312,116 @@ type Project struct {
|
||||
|
||||
// Repository contains all of the GitLab repository information
|
||||
type Repository struct {
|
||||
Name string `json:"name"`
|
||||
URL string `json:"url"`
|
||||
Description string `json:"description"`
|
||||
Homepage string `json:"homepage"`
|
||||
Name string `json:"name"`
|
||||
URL string `json:"url"`
|
||||
Description string `json:"description"`
|
||||
Homepage string `json:"homepage"`
|
||||
GitSSHURL string `json:"git_ssh_url"`
|
||||
GitHTTPURL string `json:"git_http_url"`
|
||||
VisibilityLevel int64 `json:"visibility_level"`
|
||||
}
|
||||
|
||||
// ObjectAttributes contains all of the GitLab object attributes information
|
||||
type ObjectAttributes struct {
|
||||
ID int64 `json:"id"`
|
||||
Title string `json:"title"`
|
||||
AssigneeID int64 `json:"assignee_id"`
|
||||
AuthorID int64 `json:"author_id"`
|
||||
ProjectID int64 `json:"project_id"`
|
||||
CreatedAt customTime `json:"created_at"`
|
||||
UpdatedAt customTime `json:"updated_at"`
|
||||
Position int64 `json:"position"`
|
||||
BranchName string `json:"branch_name"`
|
||||
Description string `json:"description"`
|
||||
MilestoneID int64 `json:"milestone_id"`
|
||||
State string `json:"state"`
|
||||
IID int64 `json:"iid"`
|
||||
URL string `json:"url"`
|
||||
Action string `json:"action"`
|
||||
TargetBranch string `json:"target_branch"`
|
||||
SourceBranch string `json:"source_branch"`
|
||||
SourceProjectID int64 `json:"source_project_id"`
|
||||
TargetProjectID int64 `json:"target_project_id"`
|
||||
StCommits string `json:"st_commits"`
|
||||
MergeStatus string `json:"merge_status"`
|
||||
Content string `json:"content"`
|
||||
Format string `json:"format"`
|
||||
Message string `json:"message"`
|
||||
Slug string `json:"slug"`
|
||||
Ref string `json:"ref"`
|
||||
Tag bool `json:"tag"`
|
||||
SHA string `json:"sha"`
|
||||
BeforeSHA string `json:"before_sha"`
|
||||
Status string `json:"status"`
|
||||
Stages []string `json:"stages"`
|
||||
Duration int64 `json:"duration"`
|
||||
Note string `json:"note"`
|
||||
NotebookType string `json:"noteable_type"`
|
||||
At customTime `json:"attachment"`
|
||||
LineCode string `json:"line_code"`
|
||||
CommitID string `json:"commit_id"`
|
||||
NoteableID int64 `json:"noteable_id"`
|
||||
System bool `json:"system"`
|
||||
WorkInProgress bool `json:"work_in_progress"`
|
||||
StDiffs []StDiff `json:"st_diffs"`
|
||||
Source Source `json:"source"`
|
||||
Target Target `json:"target"`
|
||||
LastCommit LastCommit `json:"last_commit"`
|
||||
Assignee Assignee `json:"assignee"`
|
||||
ID int64 `json:"id"`
|
||||
Title string `json:"title"`
|
||||
AssigneeIDS []int64 `json:"assignee_ids"`
|
||||
AssigneeID int64 `json:"assignee_id"`
|
||||
AuthorID int64 `json:"author_id"`
|
||||
ProjectID int64 `json:"project_id"`
|
||||
CreatedAt customTime `json:"created_at"`
|
||||
UpdatedAt customTime `json:"updated_at"`
|
||||
UpdatedByID int64 `json:"updated_by_id"`
|
||||
LastEditedAt customTime `json:"last_edited_at"`
|
||||
LastEditedByID int64 `json:"last_edited_by_id"`
|
||||
RelativePosition int64 `json:"relative_position"`
|
||||
Position Position `json:"position"`
|
||||
BranchName string `json:"branch_name"`
|
||||
Description string `json:"description"`
|
||||
MilestoneID int64 `json:"milestone_id"`
|
||||
State string `json:"state"`
|
||||
StateID int64 `json:"state_id"`
|
||||
Confidential bool `json:"confidential"`
|
||||
DiscussionLocked bool `json:"discussion_locked"`
|
||||
DueDate customTime `json:"due_date"`
|
||||
TimeEstimate int64 `json:"time_estimate"`
|
||||
TotalTimeSpent int64 `json:"total_time_spent"`
|
||||
IID int64 `json:"iid"`
|
||||
URL string `json:"url"`
|
||||
Action string `json:"action"`
|
||||
TargetBranch string `json:"target_branch"`
|
||||
SourceBranch string `json:"source_branch"`
|
||||
SourceProjectID int64 `json:"source_project_id"`
|
||||
TargetProjectID int64 `json:"target_project_id"`
|
||||
StCommits string `json:"st_commits"`
|
||||
MergeStatus string `json:"merge_status"`
|
||||
Content string `json:"content"`
|
||||
Format string `json:"format"`
|
||||
Message string `json:"message"`
|
||||
Slug string `json:"slug"`
|
||||
Ref string `json:"ref"`
|
||||
Tag bool `json:"tag"`
|
||||
SHA string `json:"sha"`
|
||||
BeforeSHA string `json:"before_sha"`
|
||||
Status string `json:"status"`
|
||||
Stages []string `json:"stages"`
|
||||
Duration int64 `json:"duration"`
|
||||
Note string `json:"note"`
|
||||
NotebookType string `json:"noteable_type"` // nolint:misspell
|
||||
At customTime `json:"attachment"`
|
||||
LineCode string `json:"line_code"`
|
||||
CommitID string `json:"commit_id"`
|
||||
NoteableID int64 `json:"noteable_id"` // nolint: misspell
|
||||
System bool `json:"system"`
|
||||
WorkInProgress bool `json:"work_in_progress"`
|
||||
StDiffs []StDiff `json:"st_diffs"`
|
||||
Source Source `json:"source"`
|
||||
Target Target `json:"target"`
|
||||
LastCommit LastCommit `json:"last_commit"`
|
||||
Assignee Assignee `json:"assignee"`
|
||||
}
|
||||
|
||||
// PipelineObjectAttributes contains pipeline specific GitLab object attributes information
|
||||
type PipelineObjectAttributes struct {
|
||||
ID int64 `json:"id"`
|
||||
Ref string `json:"ref"`
|
||||
Tag bool `json:"tag"`
|
||||
SHA string `json:"sha"`
|
||||
BeforeSHA string `json:"before_sha"`
|
||||
Source string `json:"source"`
|
||||
Status string `json:"status"`
|
||||
Stages []string `json:"stages"`
|
||||
CreatedAt customTime `json:"created_at"`
|
||||
FinishedAt customTime `json:"finished_at"`
|
||||
Duration int64 `json:"duration"`
|
||||
Variables []Variable `json:"variables"`
|
||||
}
|
||||
|
||||
// Variable contains pipeline variables
|
||||
type Variable struct {
|
||||
Key string `json:"key"`
|
||||
Value string `json:"value"`
|
||||
}
|
||||
|
||||
// Position defines a specific location, identified by paths line numbers and
|
||||
// image coordinates, within a specific diff, identified by start, head and
|
||||
// base commit ids.
|
||||
//
|
||||
// Text position will have: new_line and old_line
|
||||
// Image position will have: width, height, x, y
|
||||
type Position struct {
|
||||
BaseSHA string `json:"base_sha"`
|
||||
StartSHA string `json:"start_sha"`
|
||||
HeadSHA string `json:"head_sha"`
|
||||
OldPath string `json:"old_path"`
|
||||
NewPath string `json:"new_path"`
|
||||
PositionType string `json:"position_type"`
|
||||
OldLine int64 `json:"old_line"`
|
||||
NewLine int64 `json:"new_line"`
|
||||
Width int64 `json:"width"`
|
||||
Height int64 `json:"height"`
|
||||
X int64 `json:"x"`
|
||||
Y int64 `json:"y"`
|
||||
}
|
||||
|
||||
// MergeRequest contains all of the GitLab merge request information
|
||||
@@ -338,13 +448,16 @@ type MergeRequest struct {
|
||||
LastCommit LastCommit `json:"last_commit"`
|
||||
WorkInProgress bool `json:"work_in_progress"`
|
||||
Assignee Assignee `json:"assignee"`
|
||||
URL string `json:"url"`
|
||||
}
|
||||
|
||||
// Assignee contains all of the GitLab assignee information
|
||||
type Assignee struct {
|
||||
ID int64 `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Username string `json:"username"`
|
||||
AvatarURL string `json:"avatar_url"`
|
||||
Email string `json:"email"`
|
||||
}
|
||||
|
||||
// StDiff contains all of the GitLab diff information
|
||||
@@ -409,3 +522,28 @@ type Author struct {
|
||||
Name string `json:"name"`
|
||||
Email string `json:"email"`
|
||||
}
|
||||
|
||||
// Changes contains all changes associated with a GitLab issue or MR
|
||||
type Changes struct {
|
||||
LabelChanges LabelChanges `json:"labels"`
|
||||
}
|
||||
|
||||
// LabelChanges contains changes in labels assocatiated with a GitLab issue or MR
|
||||
type LabelChanges struct {
|
||||
Previous []Label `json:"previous"`
|
||||
Current []Label `json:"current"`
|
||||
}
|
||||
|
||||
// Label contains all of the GitLab label information
|
||||
type Label struct {
|
||||
ID int64 `json:"id"`
|
||||
Title string `json:"title"`
|
||||
Color string `json:"color"`
|
||||
ProjectID int64 `json:"project_id"`
|
||||
CreatedAt customTime `json:"created_at"`
|
||||
UpdatedAt customTime `json:"updated_at"`
|
||||
Template bool `json:"template"`
|
||||
Description string `json:"description"`
|
||||
Type string `json:"type"`
|
||||
GroupID int64 `json:"group_id"`
|
||||
}
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
module github.com/go-playground/webhooks/v6
|
||||
|
||||
go 1.15
|
||||
|
||||
require (
|
||||
code.gitea.io/gitea v1.17.4
|
||||
github.com/gogits/go-gogs-client v0.0.0-20200905025246-8bb8a50cb355
|
||||
github.com/stretchr/testify v1.8.0
|
||||
)
|
||||
+176
@@ -0,0 +1,176 @@
|
||||
package gogs
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"errors"
|
||||
"fmt"
|
||||
"io"
|
||||
"io/ioutil"
|
||||
"net/http"
|
||||
|
||||
"crypto/hmac"
|
||||
"crypto/sha256"
|
||||
"encoding/hex"
|
||||
|
||||
client "github.com/gogits/go-gogs-client"
|
||||
)
|
||||
|
||||
// parse errors
|
||||
var (
|
||||
ErrEventNotSpecifiedToParse = errors.New("no Event specified to parse")
|
||||
ErrInvalidHTTPMethod = errors.New("invalid HTTP Method")
|
||||
ErrMissingGogsEventHeader = errors.New("missing X-Gogs-Event Header")
|
||||
ErrMissingGogsSignatureHeader = errors.New("missing X-Gogs-Signature Header")
|
||||
ErrEventNotFound = errors.New("event not defined to be parsed")
|
||||
ErrParsingPayload = errors.New("error parsing payload")
|
||||
ErrHMACVerificationFailed = errors.New("HMAC verification failed")
|
||||
)
|
||||
|
||||
// Option is a configuration option for the webhook
|
||||
type Option func(*Webhook) error
|
||||
|
||||
// Options is a namespace var for configuration options
|
||||
var Options = WebhookOptions{}
|
||||
|
||||
// WebhookOptions is a namespace for configuration option methods
|
||||
type WebhookOptions struct{}
|
||||
|
||||
// Secret registers the GitLab secret
|
||||
func (WebhookOptions) Secret(secret string) Option {
|
||||
return func(hook *Webhook) error {
|
||||
hook.secret = secret
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
// Webhook instance contains all methods needed to process events
|
||||
type Webhook struct {
|
||||
secret string
|
||||
}
|
||||
|
||||
// Event defines a Gogs hook event type
|
||||
type Event string
|
||||
|
||||
// Gogs hook types
|
||||
const (
|
||||
CreateEvent Event = "create"
|
||||
DeleteEvent Event = "delete"
|
||||
ForkEvent Event = "fork"
|
||||
PushEvent Event = "push"
|
||||
IssuesEvent Event = "issues"
|
||||
IssueCommentEvent Event = "issue_comment"
|
||||
PullRequestEvent Event = "pull_request"
|
||||
ReleaseEvent Event = "release"
|
||||
)
|
||||
|
||||
// New creates and returns a WebHook instance denoted by the Provider type
|
||||
func New(options ...Option) (*Webhook, error) {
|
||||
hook := new(Webhook)
|
||||
for _, opt := range options {
|
||||
if err := opt(hook); err != nil {
|
||||
return nil, errors.New("Error applying Option")
|
||||
}
|
||||
}
|
||||
return hook, nil
|
||||
}
|
||||
|
||||
// Parse verifies and parses the events specified and returns the payload object or an error
|
||||
func (hook Webhook) Parse(r *http.Request, events ...Event) (interface{}, error) {
|
||||
defer func() {
|
||||
_, _ = io.Copy(ioutil.Discard, r.Body)
|
||||
_ = r.Body.Close()
|
||||
}()
|
||||
|
||||
if len(events) == 0 {
|
||||
return nil, ErrEventNotSpecifiedToParse
|
||||
}
|
||||
if r.Method != http.MethodPost {
|
||||
return nil, ErrInvalidHTTPMethod
|
||||
}
|
||||
|
||||
event := r.Header.Get("X-Gogs-Event")
|
||||
if len(event) == 0 {
|
||||
return nil, ErrMissingGogsEventHeader
|
||||
}
|
||||
|
||||
gogsEvent := Event(event)
|
||||
|
||||
var found bool
|
||||
for _, evt := range events {
|
||||
if evt == gogsEvent {
|
||||
found = true
|
||||
break
|
||||
}
|
||||
}
|
||||
// event not defined to be parsed
|
||||
if !found {
|
||||
return nil, ErrEventNotFound
|
||||
}
|
||||
|
||||
payload, err := ioutil.ReadAll(r.Body)
|
||||
if err != nil || len(payload) == 0 {
|
||||
return nil, ErrParsingPayload
|
||||
}
|
||||
|
||||
// If we have a Secret set, we should check the MAC
|
||||
if len(hook.secret) > 0 {
|
||||
signature := r.Header.Get("X-Gogs-Signature")
|
||||
if len(signature) == 0 {
|
||||
return nil, ErrMissingGogsSignatureHeader
|
||||
}
|
||||
|
||||
mac := hmac.New(sha256.New, []byte(hook.secret))
|
||||
_, _ = mac.Write(payload)
|
||||
|
||||
expectedMAC := hex.EncodeToString(mac.Sum(nil))
|
||||
|
||||
if !hmac.Equal([]byte(signature), []byte(expectedMAC)) {
|
||||
return nil, ErrHMACVerificationFailed
|
||||
}
|
||||
}
|
||||
|
||||
switch gogsEvent {
|
||||
case CreateEvent:
|
||||
var pl client.CreatePayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
|
||||
case ReleaseEvent:
|
||||
var pl client.ReleasePayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
|
||||
case PushEvent:
|
||||
var pl client.PushPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
|
||||
case DeleteEvent:
|
||||
var pl client.DeletePayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
|
||||
case ForkEvent:
|
||||
var pl client.ForkPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
|
||||
case IssuesEvent:
|
||||
var pl client.IssuesPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
|
||||
case IssueCommentEvent:
|
||||
var pl client.IssueCommentPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
|
||||
case PullRequestEvent:
|
||||
var pl client.PullRequestPayload
|
||||
err = json.Unmarshal([]byte(payload), &pl)
|
||||
return pl, err
|
||||
|
||||
default:
|
||||
return nil, fmt.Errorf("unknown event %s", gogsEvent)
|
||||
}
|
||||
}
|
||||
@@ -1,44 +0,0 @@
|
||||
package webhooks
|
||||
|
||||
import "log"
|
||||
|
||||
// DefaultLog contains the default logger for webhooks, and prints only info and error messages by default
|
||||
// for debugs override DefaultLog or see NewLogger for creating one without debugs.
|
||||
var DefaultLog Logger = new(logger)
|
||||
|
||||
// Logger allows for customizable logging
|
||||
type Logger interface {
|
||||
// Info prints basic information.
|
||||
Info(string)
|
||||
// Error prints error information.
|
||||
Error(string)
|
||||
// Debug prints information usefull for debugging.
|
||||
Debug(string)
|
||||
}
|
||||
|
||||
// NewLogger returns a new logger for use.
|
||||
func NewLogger(debug bool) Logger {
|
||||
return &logger{PrintDebugs: debug}
|
||||
}
|
||||
|
||||
type logger struct {
|
||||
PrintDebugs bool
|
||||
}
|
||||
|
||||
// Info prints basic information.
|
||||
func (l *logger) Info(msg string) {
|
||||
log.Println("INFO:", msg)
|
||||
}
|
||||
|
||||
// v prints error information.
|
||||
func (l *logger) Error(msg string) {
|
||||
log.Println("ERROR:", msg)
|
||||
}
|
||||
|
||||
// Debug prints information usefull for debugging.
|
||||
func (l *logger) Debug(msg string) {
|
||||
if !l.PrintDebugs {
|
||||
return
|
||||
}
|
||||
log.Println("DEBUG:", msg)
|
||||
}
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
{
|
||||
"eventKey": "pr:comment:added",
|
||||
"date": "2019-03-01T10:08:35+0100",
|
||||
"actor": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"pullRequest": {
|
||||
"id": 2,
|
||||
"version": 20,
|
||||
"title": "Update README",
|
||||
"description": "yada yada yada",
|
||||
"state": "OPEN",
|
||||
"open": true,
|
||||
"closed": false,
|
||||
"createdDate": 1550436762919,
|
||||
"updatedDate": 1551366080055,
|
||||
"fromRef": {
|
||||
"id": "refs/heads/feature/wip",
|
||||
"displayId": "feature/wip",
|
||||
"latestCommit": "50a8ee1fae3abf75738a85f9039b4b2de4947174",
|
||||
"repository": {
|
||||
"slug": "webhook-test",
|
||||
"id": 4,
|
||||
"name": "webhook-test",
|
||||
"scmId": "git",
|
||||
"state": "AVAILABLE",
|
||||
"statusMessage": "Available",
|
||||
"forkable": true,
|
||||
"project": {
|
||||
"key": "~gopher",
|
||||
"id": 2,
|
||||
"name": "Foo Bar",
|
||||
"type": "PERSONAL",
|
||||
"owner": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"public": false,
|
||||
"links": {
|
||||
"clone": [
|
||||
{
|
||||
"href": "ssh://git@server.bitbucket.local:7999/~gopher/webhook-test.git",
|
||||
"name": "ssh"
|
||||
},
|
||||
{
|
||||
"href": "https://server.bitbucket.local/scm/~gopher/webhook-test.git",
|
||||
"name": "http"
|
||||
}
|
||||
],
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher/repos/webhook-test/browse"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"toRef": {
|
||||
"id": "refs/heads/master",
|
||||
"displayId": "master",
|
||||
"latestCommit": "038e7b67735e54f6de8f1c5d533c6751df524f6c",
|
||||
"repository": {
|
||||
"slug": "webhook-test",
|
||||
"id": 4,
|
||||
"name": "webhook-test",
|
||||
"scmId": "git",
|
||||
"state": "AVAILABLE",
|
||||
"statusMessage": "Available",
|
||||
"forkable": true,
|
||||
"project": {
|
||||
"key": "~gopher",
|
||||
"id": 2,
|
||||
"name": "Foo Bar",
|
||||
"type": "PERSONAL",
|
||||
"owner": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"public": false,
|
||||
"links": {
|
||||
"clone": [
|
||||
{
|
||||
"href": "ssh://git@server.bitbucket.local:7999/~gopher/webhook-test.git",
|
||||
"name": "ssh"
|
||||
},
|
||||
{
|
||||
"href": "https://server.bitbucket.local/scm/~gopher/webhook-test.git",
|
||||
"name": "http"
|
||||
}
|
||||
],
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher/repos/webhook-test/browse"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"locked": false,
|
||||
"author": {
|
||||
"user": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"role": "AUTHOR",
|
||||
"approved": false,
|
||||
"status": "UNAPPROVED"
|
||||
},
|
||||
"reviewers": [],
|
||||
"participants": [],
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher/repos/webhook-test/pull-requests/2"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"comment": {
|
||||
"properties": {
|
||||
"repositoryId": 4
|
||||
},
|
||||
"id": 167,
|
||||
"version": 0,
|
||||
"text": "test",
|
||||
"author": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"createdDate": 1551431315592,
|
||||
"updatedDate": 1551431315592,
|
||||
"comments": [],
|
||||
"tasks": []
|
||||
},
|
||||
"commentParentId": 164
|
||||
}
|
||||
+210
@@ -0,0 +1,210 @@
|
||||
{
|
||||
"eventKey": "pr:comment:deleted",
|
||||
"date": "2019-03-01T10:09:09+0100",
|
||||
"actor": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"pullRequest": {
|
||||
"id": 2,
|
||||
"version": 20,
|
||||
"title": "Update README",
|
||||
"description": "yada yada yada",
|
||||
"state": "OPEN",
|
||||
"open": true,
|
||||
"closed": false,
|
||||
"createdDate": 1550436762919,
|
||||
"updatedDate": 1551366080055,
|
||||
"fromRef": {
|
||||
"id": "refs/heads/feature/wip",
|
||||
"displayId": "feature/wip",
|
||||
"latestCommit": "50a8ee1fae3abf75738a85f9039b4b2de4947174",
|
||||
"repository": {
|
||||
"slug": "webhook-test",
|
||||
"id": 4,
|
||||
"name": "webhook-test",
|
||||
"scmId": "git",
|
||||
"state": "AVAILABLE",
|
||||
"statusMessage": "Available",
|
||||
"forkable": true,
|
||||
"project": {
|
||||
"key": "~gopher",
|
||||
"id": 2,
|
||||
"name": "Foo Bar",
|
||||
"type": "PERSONAL",
|
||||
"owner": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"public": false,
|
||||
"links": {
|
||||
"clone": [
|
||||
{
|
||||
"href": "ssh://git@server.bitbucket.local:7999/~gopher/webhook-test.git",
|
||||
"name": "ssh"
|
||||
},
|
||||
{
|
||||
"href": "https://server.bitbucket.local/scm/~gopher/webhook-test.git",
|
||||
"name": "http"
|
||||
}
|
||||
],
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher/repos/webhook-test/browse"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"toRef": {
|
||||
"id": "refs/heads/master",
|
||||
"displayId": "master",
|
||||
"latestCommit": "038e7b67735e54f6de8f1c5d533c6751df524f6c",
|
||||
"repository": {
|
||||
"slug": "webhook-test",
|
||||
"id": 4,
|
||||
"name": "webhook-test",
|
||||
"scmId": "git",
|
||||
"state": "AVAILABLE",
|
||||
"statusMessage": "Available",
|
||||
"forkable": true,
|
||||
"project": {
|
||||
"key": "~gopher",
|
||||
"id": 2,
|
||||
"name": "Foo Bar",
|
||||
"type": "PERSONAL",
|
||||
"owner": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"public": false,
|
||||
"links": {
|
||||
"clone": [
|
||||
{
|
||||
"href": "ssh://git@server.bitbucket.local:7999/~gopher/webhook-test.git",
|
||||
"name": "ssh"
|
||||
},
|
||||
{
|
||||
"href": "https://server.bitbucket.local/scm/~gopher/webhook-test.git",
|
||||
"name": "http"
|
||||
}
|
||||
],
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher/repos/webhook-test/browse"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"locked": false,
|
||||
"author": {
|
||||
"user": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"role": "AUTHOR",
|
||||
"approved": false,
|
||||
"status": "UNAPPROVED"
|
||||
},
|
||||
"reviewers": [],
|
||||
"participants": [],
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher/repos/webhook-test/pull-requests/2"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"comment": {
|
||||
"id": 166,
|
||||
"version": 0,
|
||||
"text": "test",
|
||||
"author": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"createdDate": 1551431209893,
|
||||
"updatedDate": 1551431209893,
|
||||
"comments": [],
|
||||
"tasks": []
|
||||
},
|
||||
"commentParentId": 165
|
||||
}
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
{
|
||||
"eventKey": "pr:comment:edited",
|
||||
"date": "2019-03-01T10:06:11+0100",
|
||||
"actor": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"pullRequest": {
|
||||
"id": 2,
|
||||
"version": 20,
|
||||
"title": "Update README",
|
||||
"description": "yada yada yada",
|
||||
"state": "OPEN",
|
||||
"open": true,
|
||||
"closed": false,
|
||||
"createdDate": 1550436762919,
|
||||
"updatedDate": 1551366080055,
|
||||
"fromRef": {
|
||||
"id": "refs/heads/feature/wip",
|
||||
"displayId": "feature/wip",
|
||||
"latestCommit": "50a8ee1fae3abf75738a85f9039b4b2de4947174",
|
||||
"repository": {
|
||||
"slug": "webhook-test",
|
||||
"id": 4,
|
||||
"name": "webhook-test",
|
||||
"scmId": "git",
|
||||
"state": "AVAILABLE",
|
||||
"statusMessage": "Available",
|
||||
"forkable": true,
|
||||
"project": {
|
||||
"key": "~gopher",
|
||||
"id": 2,
|
||||
"name": "Foo Bar",
|
||||
"type": "PERSONAL",
|
||||
"owner": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"public": false,
|
||||
"links": {
|
||||
"clone": [
|
||||
{
|
||||
"href": "ssh://git@server.bitbucket.local:7999/~gopher/webhook-test.git",
|
||||
"name": "ssh"
|
||||
},
|
||||
{
|
||||
"href": "https://server.bitbucket.local/scm/~gopher/webhook-test.git",
|
||||
"name": "http"
|
||||
}
|
||||
],
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher/repos/webhook-test/browse"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"toRef": {
|
||||
"id": "refs/heads/master",
|
||||
"displayId": "master",
|
||||
"latestCommit": "038e7b67735e54f6de8f1c5d533c6751df524f6c",
|
||||
"repository": {
|
||||
"slug": "webhook-test",
|
||||
"id": 4,
|
||||
"name": "webhook-test",
|
||||
"scmId": "git",
|
||||
"state": "AVAILABLE",
|
||||
"statusMessage": "Available",
|
||||
"forkable": true,
|
||||
"project": {
|
||||
"key": "~gopher",
|
||||
"id": 2,
|
||||
"name": "Foo Bar",
|
||||
"type": "PERSONAL",
|
||||
"owner": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"public": false,
|
||||
"links": {
|
||||
"clone": [
|
||||
{
|
||||
"href": "ssh://git@server.bitbucket.local:7999/~gopher/webhook-test.git",
|
||||
"name": "ssh"
|
||||
},
|
||||
{
|
||||
"href": "https://server.bitbucket.local/scm/~gopher/webhook-test.git",
|
||||
"name": "http"
|
||||
}
|
||||
],
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher/repos/webhook-test/browse"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"locked": false,
|
||||
"author": {
|
||||
"user": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"role": "AUTHOR",
|
||||
"approved": false,
|
||||
"status": "UNAPPROVED"
|
||||
},
|
||||
"reviewers": [],
|
||||
"participants": [],
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher/repos/webhook-test/pull-requests/2"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"comment": {
|
||||
"properties": {
|
||||
"repositoryId": 4
|
||||
},
|
||||
"id": 165,
|
||||
"version": 3,
|
||||
"text": "yada edit comment",
|
||||
"author": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"createdDate": 1551430363669,
|
||||
"updatedDate": 1551431171528,
|
||||
"comments": [],
|
||||
"tasks": []
|
||||
},
|
||||
"previousComment": "yada yada yada"
|
||||
}
|
||||
+185
@@ -0,0 +1,185 @@
|
||||
{
|
||||
"eventKey": "pr:declined",
|
||||
"date": "2019-03-01T10:12:35+0100",
|
||||
"actor": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"pullRequest": {
|
||||
"id": 2,
|
||||
"version": 23,
|
||||
"title": "Update README",
|
||||
"description": "yada yada yada",
|
||||
"state": "DECLINED",
|
||||
"open": false,
|
||||
"closed": true,
|
||||
"createdDate": 1550436762919,
|
||||
"updatedDate": 1551431555605,
|
||||
"closedDate": 1551431555605,
|
||||
"fromRef": {
|
||||
"id": "refs/heads/feature/wip",
|
||||
"displayId": "feature/wip",
|
||||
"latestCommit": "50a8ee1fae3abf75738a85f9039b4b2de4947174",
|
||||
"repository": {
|
||||
"slug": "webhook-test",
|
||||
"id": 4,
|
||||
"name": "webhook-test",
|
||||
"scmId": "git",
|
||||
"state": "AVAILABLE",
|
||||
"statusMessage": "Available",
|
||||
"forkable": true,
|
||||
"project": {
|
||||
"key": "~gopher",
|
||||
"id": 2,
|
||||
"name": "Foo Bar",
|
||||
"type": "PERSONAL",
|
||||
"owner": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"public": false,
|
||||
"links": {
|
||||
"clone": [
|
||||
{
|
||||
"href": "ssh://git@server.bitbucket.local:7999/~gopher/webhook-test.git",
|
||||
"name": "ssh"
|
||||
},
|
||||
{
|
||||
"href": "https://server.bitbucket.local/scm/~gopher/webhook-test.git",
|
||||
"name": "http"
|
||||
}
|
||||
],
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher/repos/webhook-test/browse"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"toRef": {
|
||||
"id": "refs/heads/master",
|
||||
"displayId": "master",
|
||||
"latestCommit": "038e7b67735e54f6de8f1c5d533c6751df524f6c",
|
||||
"repository": {
|
||||
"slug": "webhook-test",
|
||||
"id": 4,
|
||||
"name": "webhook-test",
|
||||
"scmId": "git",
|
||||
"state": "AVAILABLE",
|
||||
"statusMessage": "Available",
|
||||
"forkable": true,
|
||||
"project": {
|
||||
"key": "~gopher",
|
||||
"id": 2,
|
||||
"name": "Foo Bar",
|
||||
"type": "PERSONAL",
|
||||
"owner": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"public": false,
|
||||
"links": {
|
||||
"clone": [
|
||||
{
|
||||
"href": "ssh://git@server.bitbucket.local:7999/~gopher/webhook-test.git",
|
||||
"name": "ssh"
|
||||
},
|
||||
{
|
||||
"href": "https://server.bitbucket.local/scm/~gopher/webhook-test.git",
|
||||
"name": "http"
|
||||
}
|
||||
],
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher/repos/webhook-test/browse"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"locked": false,
|
||||
"author": {
|
||||
"user": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"role": "AUTHOR",
|
||||
"approved": false,
|
||||
"status": "UNAPPROVED"
|
||||
},
|
||||
"reviewers": [],
|
||||
"participants": [],
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher/repos/webhook-test/pull-requests/2"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
+184
@@ -0,0 +1,184 @@
|
||||
{
|
||||
"eventKey": "pr:deleted",
|
||||
"date": "2019-03-01T10:17:10+0100",
|
||||
"actor": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"pullRequest": {
|
||||
"id": 2,
|
||||
"version": 26,
|
||||
"title": "Update README",
|
||||
"description": "yada yada yada",
|
||||
"state": "OPEN",
|
||||
"open": true,
|
||||
"closed": false,
|
||||
"createdDate": 1550436762919,
|
||||
"updatedDate": 1551431770064,
|
||||
"fromRef": {
|
||||
"id": "refs/heads/feature/wip",
|
||||
"displayId": "feature/wip",
|
||||
"latestCommit": "50a8ee1fae3abf75738a85f9039b4b2de4947174",
|
||||
"repository": {
|
||||
"slug": "webhook-test",
|
||||
"id": 4,
|
||||
"name": "webhook-test",
|
||||
"scmId": "git",
|
||||
"state": "AVAILABLE",
|
||||
"statusMessage": "Available",
|
||||
"forkable": true,
|
||||
"project": {
|
||||
"key": "~gopher",
|
||||
"id": 2,
|
||||
"name": "Foo Bar",
|
||||
"type": "PERSONAL",
|
||||
"owner": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"public": false,
|
||||
"links": {
|
||||
"clone": [
|
||||
{
|
||||
"href": "ssh://git@server.bitbucket.local:7999/~gopher/webhook-test.git",
|
||||
"name": "ssh"
|
||||
},
|
||||
{
|
||||
"href": "https://server.bitbucket.local/scm/~gopher/webhook-test.git",
|
||||
"name": "http"
|
||||
}
|
||||
],
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher/repos/webhook-test/browse"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"toRef": {
|
||||
"id": "refs/heads/master",
|
||||
"displayId": "master",
|
||||
"latestCommit": "038e7b67735e54f6de8f1c5d533c6751df524f6c",
|
||||
"repository": {
|
||||
"slug": "webhook-test",
|
||||
"id": 4,
|
||||
"name": "webhook-test",
|
||||
"scmId": "git",
|
||||
"state": "AVAILABLE",
|
||||
"statusMessage": "Available",
|
||||
"forkable": true,
|
||||
"project": {
|
||||
"key": "~gopher",
|
||||
"id": 2,
|
||||
"name": "Foo Bar",
|
||||
"type": "PERSONAL",
|
||||
"owner": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"public": false,
|
||||
"links": {
|
||||
"clone": [
|
||||
{
|
||||
"href": "ssh://git@server.bitbucket.local:7999/~gopher/webhook-test.git",
|
||||
"name": "ssh"
|
||||
},
|
||||
{
|
||||
"href": "https://server.bitbucket.local/scm/~gopher/webhook-test.git",
|
||||
"name": "http"
|
||||
}
|
||||
],
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher/repos/webhook-test/browse"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"locked": false,
|
||||
"author": {
|
||||
"user": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"role": "AUTHOR",
|
||||
"approved": false,
|
||||
"status": "UNAPPROVED"
|
||||
},
|
||||
"reviewers": [],
|
||||
"participants": [],
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher/repos/webhook-test/pull-requests/2"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
+214
@@ -0,0 +1,214 @@
|
||||
{
|
||||
"eventKey": "pr:merged",
|
||||
"date": "2019-03-01T10:37:14+0100",
|
||||
"actor": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"pullRequest": {
|
||||
"id": 5,
|
||||
"version": 2,
|
||||
"title": "Update README",
|
||||
"description": "yada yada yada",
|
||||
"state": "MERGED",
|
||||
"open": false,
|
||||
"closed": true,
|
||||
"createdDate": 1551432675860,
|
||||
"updatedDate": 1551433034286,
|
||||
"closedDate": 1551433034286,
|
||||
"fromRef": {
|
||||
"id": "refs/heads/feature/wip",
|
||||
"displayId": "feature/wip",
|
||||
"latestCommit": "32a0b8a740c2963c6f56bd8baf3dc05683d299e0",
|
||||
"repository": {
|
||||
"slug": "webhook-test",
|
||||
"id": 4,
|
||||
"name": "webhook-test",
|
||||
"scmId": "git",
|
||||
"state": "AVAILABLE",
|
||||
"statusMessage": "Available",
|
||||
"forkable": true,
|
||||
"project": {
|
||||
"key": "~gopher",
|
||||
"id": 2,
|
||||
"name": "Foo Bar",
|
||||
"type": "PERSONAL",
|
||||
"owner": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"public": false,
|
||||
"links": {
|
||||
"clone": [
|
||||
{
|
||||
"href": "ssh://git@server.bitbucket.local:7999/~gopher/webhook-test.git",
|
||||
"name": "ssh"
|
||||
},
|
||||
{
|
||||
"href": "https://server.bitbucket.local/scm/~gopher/webhook-test.git",
|
||||
"name": "http"
|
||||
}
|
||||
],
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher/repos/webhook-test/browse"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"toRef": {
|
||||
"id": "refs/heads/master",
|
||||
"displayId": "master",
|
||||
"latestCommit": "cde6c45a4210afe81638aa1f3aa960d633c66a90",
|
||||
"repository": {
|
||||
"slug": "webhook-test",
|
||||
"id": 4,
|
||||
"name": "webhook-test",
|
||||
"scmId": "git",
|
||||
"state": "AVAILABLE",
|
||||
"statusMessage": "Available",
|
||||
"forkable": true,
|
||||
"project": {
|
||||
"key": "~gopher",
|
||||
"id": 2,
|
||||
"name": "Foo Bar",
|
||||
"type": "PERSONAL",
|
||||
"owner": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"public": false,
|
||||
"links": {
|
||||
"clone": [
|
||||
{
|
||||
"href": "ssh://git@server.bitbucket.local:7999/~gopher/webhook-test.git",
|
||||
"name": "ssh"
|
||||
},
|
||||
{
|
||||
"href": "https://server.bitbucket.local/scm/~gopher/webhook-test.git",
|
||||
"name": "http"
|
||||
}
|
||||
],
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher/repos/webhook-test/browse"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"locked": false,
|
||||
"author": {
|
||||
"user": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"role": "AUTHOR",
|
||||
"approved": false,
|
||||
"status": "UNAPPROVED"
|
||||
},
|
||||
"reviewers": [
|
||||
{
|
||||
"user": {
|
||||
"name": "tux",
|
||||
"emailAddress": "cain.piper@foo.bar",
|
||||
"id": 2125,
|
||||
"displayName": "Cain Piper",
|
||||
"active": true,
|
||||
"slug": "tux",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/tux"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"lastReviewedCommit": "32a0b8a740c2963c6f56bd8baf3dc05683d299e0",
|
||||
"role": "REVIEWER",
|
||||
"approved": true,
|
||||
"status": "APPROVED"
|
||||
}
|
||||
],
|
||||
"participants": [],
|
||||
"properties": {
|
||||
"mergeCommit": {
|
||||
"displayId": "cbf26be7bfc",
|
||||
"id": "cbf26be7bfc8394906abbd571498fb8d28888b58"
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher/repos/webhook-test/pull-requests/5"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
+215
@@ -0,0 +1,215 @@
|
||||
{
|
||||
"eventKey": "pr:modified",
|
||||
"date": "2019-03-01T10:19:48+0100",
|
||||
"actor": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bibucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"pullRequest": {
|
||||
"id": 3,
|
||||
"version": 1,
|
||||
"title": "Feature/wip",
|
||||
"description": "Update README",
|
||||
"state": "OPEN",
|
||||
"open": true,
|
||||
"closed": false,
|
||||
"createdDate": 1551431949625,
|
||||
"updatedDate": 1551431988769,
|
||||
"fromRef": {
|
||||
"id": "refs/heads/feature/wip",
|
||||
"displayId": "feature/wip",
|
||||
"latestCommit": "591f702354b3abf1faaca4d23811620d1b2ac984",
|
||||
"repository": {
|
||||
"slug": "webhook-test",
|
||||
"id": 4,
|
||||
"name": "webhook-test",
|
||||
"scmId": "git",
|
||||
"state": "AVAILABLE",
|
||||
"statusMessage": "Available",
|
||||
"forkable": true,
|
||||
"project": {
|
||||
"key": "~gopher",
|
||||
"id": 2,
|
||||
"name": "Foo Bar",
|
||||
"type": "PERSONAL",
|
||||
"owner": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bibucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bibucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"public": false,
|
||||
"links": {
|
||||
"clone": [
|
||||
{
|
||||
"href": "ssh://git@server.bibucket.local:7999/~gopher/webhook-test.git",
|
||||
"name": "ssh"
|
||||
},
|
||||
{
|
||||
"href": "https://server.bibucket.local/scm/~gopher/webhook-test.git",
|
||||
"name": "http"
|
||||
}
|
||||
],
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bibucket.local/users/gopher/repos/webhook-test/browse"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"toRef": {
|
||||
"id": "refs/heads/master",
|
||||
"displayId": "master",
|
||||
"latestCommit": "038e7b67735e54f6de8f1c5d533c6751df524f6c",
|
||||
"repository": {
|
||||
"slug": "webhook-test",
|
||||
"id": 4,
|
||||
"name": "webhook-test",
|
||||
"scmId": "git",
|
||||
"state": "AVAILABLE",
|
||||
"statusMessage": "Available",
|
||||
"forkable": true,
|
||||
"project": {
|
||||
"key": "~gopher",
|
||||
"id": 2,
|
||||
"name": "Foo Bar",
|
||||
"type": "PERSONAL",
|
||||
"owner": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bibucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bibucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"public": false,
|
||||
"links": {
|
||||
"clone": [
|
||||
{
|
||||
"href": "ssh://git@server.bibucket.local:7999/~gopher/webhook-test.git",
|
||||
"name": "ssh"
|
||||
},
|
||||
{
|
||||
"href": "https://server.bibucket.local/scm/~gopher/webhook-test.git",
|
||||
"name": "http"
|
||||
}
|
||||
],
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bibucket.local/users/gopher/repos/webhook-test/browse"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"locked": false,
|
||||
"author": {
|
||||
"user": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bibucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"role": "AUTHOR",
|
||||
"approved": false,
|
||||
"status": "UNAPPROVED"
|
||||
},
|
||||
"reviewers": [
|
||||
{
|
||||
"user": {
|
||||
"name": "tux",
|
||||
"emailAddress": "cain.piper@foo.bar",
|
||||
"id": 2125,
|
||||
"displayName": "Cain Piper",
|
||||
"active": true,
|
||||
"slug": "tux",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bibucket.local/users/tux"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"role": "REVIEWER",
|
||||
"approved": false,
|
||||
"status": "UNAPPROVED"
|
||||
}
|
||||
],
|
||||
"participants": [],
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bibucket.local/users/gopher/repos/webhook-test/pull-requests/3"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"previousTitle": "Feature/wip",
|
||||
"previousDescription": "wip",
|
||||
"previousTarget": {
|
||||
"id": "refs/heads/master",
|
||||
"displayId": "master",
|
||||
"type": "BRANCH",
|
||||
"latestCommit": "038e7b67735e54f6de8f1c5d533c6751df524f6c",
|
||||
"latestChangeset": "038e7b67735e54f6de8f1c5d533c6751df524f6c"
|
||||
}
|
||||
}
|
||||
+206
@@ -0,0 +1,206 @@
|
||||
{
|
||||
"eventKey": "pr:opened",
|
||||
"date": "2019-03-01T10:31:15+0100",
|
||||
"actor": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"pullRequest": {
|
||||
"id": 5,
|
||||
"version": 0,
|
||||
"title": "Update README",
|
||||
"description": "yada yada yada",
|
||||
"state": "OPEN",
|
||||
"open": true,
|
||||
"closed": false,
|
||||
"createdDate": 1551432675860,
|
||||
"updatedDate": 1551432675860,
|
||||
"fromRef": {
|
||||
"id": "refs/heads/feature/wip",
|
||||
"displayId": "feature/wip",
|
||||
"latestCommit": "32a0b8a740c2963c6f56bd8baf3dc05683d299e0",
|
||||
"repository": {
|
||||
"slug": "webhook-test",
|
||||
"id": 4,
|
||||
"name": "webhook-test",
|
||||
"scmId": "git",
|
||||
"state": "AVAILABLE",
|
||||
"statusMessage": "Available",
|
||||
"forkable": true,
|
||||
"project": {
|
||||
"key": "~gopher",
|
||||
"id": 2,
|
||||
"name": "Foo Bar",
|
||||
"type": "PERSONAL",
|
||||
"owner": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"public": false,
|
||||
"links": {
|
||||
"clone": [
|
||||
{
|
||||
"href": "ssh://git@server.bitbucket.local:7999/~gopher/webhook-test.git",
|
||||
"name": "ssh"
|
||||
},
|
||||
{
|
||||
"href": "https://server.bitbucket.local/scm/~gopher/webhook-test.git",
|
||||
"name": "http"
|
||||
}
|
||||
],
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher/repos/webhook-test/browse"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"toRef": {
|
||||
"id": "refs/heads/master",
|
||||
"displayId": "master",
|
||||
"latestCommit": "cde6c45a4210afe81638aa1f3aa960d633c66a90",
|
||||
"repository": {
|
||||
"slug": "webhook-test",
|
||||
"id": 4,
|
||||
"name": "webhook-test",
|
||||
"scmId": "git",
|
||||
"state": "AVAILABLE",
|
||||
"statusMessage": "Available",
|
||||
"forkable": true,
|
||||
"project": {
|
||||
"key": "~gopher",
|
||||
"id": 2,
|
||||
"name": "Foo Bar",
|
||||
"type": "PERSONAL",
|
||||
"owner": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"public": false,
|
||||
"links": {
|
||||
"clone": [
|
||||
{
|
||||
"href": "ssh://git@server.bitbucket.local:7999/~gopher/webhook-test.git",
|
||||
"name": "ssh"
|
||||
},
|
||||
{
|
||||
"href": "https://server.bitbucket.local/scm/~gopher/webhook-test.git",
|
||||
"name": "http"
|
||||
}
|
||||
],
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher/repos/webhook-test/browse"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"locked": false,
|
||||
"author": {
|
||||
"user": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"role": "AUTHOR",
|
||||
"approved": false,
|
||||
"status": "UNAPPROVED"
|
||||
},
|
||||
"reviewers": [
|
||||
{
|
||||
"user": {
|
||||
"name": "tux",
|
||||
"emailAddress": "cain.piper@foo.bar",
|
||||
"id": 2125,
|
||||
"displayName": "Cain Piper",
|
||||
"active": true,
|
||||
"slug": "tux",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/tux"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"role": "REVIEWER",
|
||||
"approved": false,
|
||||
"status": "UNAPPROVED"
|
||||
}
|
||||
],
|
||||
"participants": [],
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher/repos/webhook-test/pull-requests/5"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
+230
@@ -0,0 +1,230 @@
|
||||
{
|
||||
"eventKey": "pr:reviewer:approved",
|
||||
"date": "2019-03-01T10:35:38+0100",
|
||||
"actor": {
|
||||
"name": "tux",
|
||||
"emailAddress": "cain.piper@foo.bar",
|
||||
"id": 2125,
|
||||
"displayName": "Cain Piper",
|
||||
"active": true,
|
||||
"slug": "tux",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/tux"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"pullRequest": {
|
||||
"id": 5,
|
||||
"version": 0,
|
||||
"title": "Update README",
|
||||
"description": "yada yada yada",
|
||||
"state": "OPEN",
|
||||
"open": true,
|
||||
"closed": false,
|
||||
"createdDate": 1551432675860,
|
||||
"updatedDate": 1551432675860,
|
||||
"fromRef": {
|
||||
"id": "refs/heads/feature/wip",
|
||||
"displayId": "feature/wip",
|
||||
"latestCommit": "32a0b8a740c2963c6f56bd8baf3dc05683d299e0",
|
||||
"repository": {
|
||||
"slug": "webhook-test",
|
||||
"id": 4,
|
||||
"name": "webhook-test",
|
||||
"scmId": "git",
|
||||
"state": "AVAILABLE",
|
||||
"statusMessage": "Available",
|
||||
"forkable": true,
|
||||
"project": {
|
||||
"key": "~gopher",
|
||||
"id": 2,
|
||||
"name": "Foo Bar",
|
||||
"type": "PERSONAL",
|
||||
"owner": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"public": false,
|
||||
"links": {
|
||||
"clone": [
|
||||
{
|
||||
"href": "ssh://git@server.bitbucket.local:7999/~gopher/webhook-test.git",
|
||||
"name": "ssh"
|
||||
},
|
||||
{
|
||||
"href": "https://server.bitbucket.local/scm/~gopher/webhook-test.git",
|
||||
"name": "http"
|
||||
}
|
||||
],
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher/repos/webhook-test/browse"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"toRef": {
|
||||
"id": "refs/heads/master",
|
||||
"displayId": "master",
|
||||
"latestCommit": "cde6c45a4210afe81638aa1f3aa960d633c66a90",
|
||||
"repository": {
|
||||
"slug": "webhook-test",
|
||||
"id": 4,
|
||||
"name": "webhook-test",
|
||||
"scmId": "git",
|
||||
"state": "AVAILABLE",
|
||||
"statusMessage": "Available",
|
||||
"forkable": true,
|
||||
"project": {
|
||||
"key": "~gopher",
|
||||
"id": 2,
|
||||
"name": "Foo Bar",
|
||||
"type": "PERSONAL",
|
||||
"owner": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"public": false,
|
||||
"links": {
|
||||
"clone": [
|
||||
{
|
||||
"href": "ssh://git@server.bitbucket.local:7999/~gopher/webhook-test.git",
|
||||
"name": "ssh"
|
||||
},
|
||||
{
|
||||
"href": "https://server.bitbucket.local/scm/~gopher/webhook-test.git",
|
||||
"name": "http"
|
||||
}
|
||||
],
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher/repos/webhook-test/browse"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"locked": false,
|
||||
"author": {
|
||||
"user": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"role": "AUTHOR",
|
||||
"approved": false,
|
||||
"status": "UNAPPROVED"
|
||||
},
|
||||
"reviewers": [
|
||||
{
|
||||
"user": {
|
||||
"name": "tux",
|
||||
"emailAddress": "cain.piper@foo.bar",
|
||||
"id": 2125,
|
||||
"displayName": "Cain Piper",
|
||||
"active": true,
|
||||
"slug": "tux",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/tux"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"lastReviewedCommit": "32a0b8a740c2963c6f56bd8baf3dc05683d299e0",
|
||||
"role": "REVIEWER",
|
||||
"approved": true,
|
||||
"status": "APPROVED"
|
||||
}
|
||||
],
|
||||
"participants": [],
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher/repos/webhook-test/pull-requests/5"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"participant": {
|
||||
"user": {
|
||||
"name": "tux",
|
||||
"emailAddress": "cain.piper@foo.bar",
|
||||
"id": 2125,
|
||||
"displayName": "Cain Piper",
|
||||
"active": true,
|
||||
"slug": "tux",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/tux"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"lastReviewedCommit": "32a0b8a740c2963c6f56bd8baf3dc05683d299e0",
|
||||
"role": "REVIEWER",
|
||||
"approved": true,
|
||||
"status": "APPROVED"
|
||||
},
|
||||
"previousStatus": "NEEDS_WORK"
|
||||
}
|
||||
@@ -0,0 +1,230 @@
|
||||
{
|
||||
"eventKey": "pr:reviewer:needs_work",
|
||||
"date": "2019-03-01T10:34:53+0100",
|
||||
"actor": {
|
||||
"name": "tux",
|
||||
"emailAddress": "cain.piper@foo.bar",
|
||||
"id": 2125,
|
||||
"displayName": "Cain Piper",
|
||||
"active": true,
|
||||
"slug": "tux",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/tux"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"pullRequest": {
|
||||
"id": 5,
|
||||
"version": 0,
|
||||
"title": "Update README",
|
||||
"description": "yada yada yada",
|
||||
"state": "OPEN",
|
||||
"open": true,
|
||||
"closed": false,
|
||||
"createdDate": 1551432675860,
|
||||
"updatedDate": 1551432675860,
|
||||
"fromRef": {
|
||||
"id": "refs/heads/feature/wip",
|
||||
"displayId": "feature/wip",
|
||||
"latestCommit": "32a0b8a740c2963c6f56bd8baf3dc05683d299e0",
|
||||
"repository": {
|
||||
"slug": "webhook-test",
|
||||
"id": 4,
|
||||
"name": "webhook-test",
|
||||
"scmId": "git",
|
||||
"state": "AVAILABLE",
|
||||
"statusMessage": "Available",
|
||||
"forkable": true,
|
||||
"project": {
|
||||
"key": "~gopher",
|
||||
"id": 2,
|
||||
"name": "Foo Bar",
|
||||
"type": "PERSONAL",
|
||||
"owner": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"public": false,
|
||||
"links": {
|
||||
"clone": [
|
||||
{
|
||||
"href": "ssh://git@server.bitbucket.local:7999/~gopher/webhook-test.git",
|
||||
"name": "ssh"
|
||||
},
|
||||
{
|
||||
"href": "https://server.bitbucket.local/scm/~gopher/webhook-test.git",
|
||||
"name": "http"
|
||||
}
|
||||
],
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher/repos/webhook-test/browse"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"toRef": {
|
||||
"id": "refs/heads/master",
|
||||
"displayId": "master",
|
||||
"latestCommit": "cde6c45a4210afe81638aa1f3aa960d633c66a90",
|
||||
"repository": {
|
||||
"slug": "webhook-test",
|
||||
"id": 4,
|
||||
"name": "webhook-test",
|
||||
"scmId": "git",
|
||||
"state": "AVAILABLE",
|
||||
"statusMessage": "Available",
|
||||
"forkable": true,
|
||||
"project": {
|
||||
"key": "~gopher",
|
||||
"id": 2,
|
||||
"name": "Foo Bar",
|
||||
"type": "PERSONAL",
|
||||
"owner": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"public": false,
|
||||
"links": {
|
||||
"clone": [
|
||||
{
|
||||
"href": "ssh://git@server.bitbucket.local:7999/~gopher/webhook-test.git",
|
||||
"name": "ssh"
|
||||
},
|
||||
{
|
||||
"href": "https://server.bitbucket.local/scm/~gopher/webhook-test.git",
|
||||
"name": "http"
|
||||
}
|
||||
],
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher/repos/webhook-test/browse"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"locked": false,
|
||||
"author": {
|
||||
"user": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"role": "AUTHOR",
|
||||
"approved": false,
|
||||
"status": "UNAPPROVED"
|
||||
},
|
||||
"reviewers": [
|
||||
{
|
||||
"user": {
|
||||
"name": "tux",
|
||||
"emailAddress": "cain.piper@foo.bar",
|
||||
"id": 2125,
|
||||
"displayName": "Cain Piper",
|
||||
"active": true,
|
||||
"slug": "tux",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/tux"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"lastReviewedCommit": "32a0b8a740c2963c6f56bd8baf3dc05683d299e0",
|
||||
"role": "REVIEWER",
|
||||
"approved": false,
|
||||
"status": "NEEDS_WORK"
|
||||
}
|
||||
],
|
||||
"participants": [],
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher/repos/webhook-test/pull-requests/5"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"participant": {
|
||||
"user": {
|
||||
"name": "tux",
|
||||
"emailAddress": "cain.piper@foo.bar",
|
||||
"id": 2125,
|
||||
"displayName": "Cain Piper",
|
||||
"active": true,
|
||||
"slug": "tux",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/tux"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"lastReviewedCommit": "32a0b8a740c2963c6f56bd8baf3dc05683d299e0",
|
||||
"role": "REVIEWER",
|
||||
"approved": false,
|
||||
"status": "NEEDS_WORK"
|
||||
},
|
||||
"previousStatus": "UNAPPROVED"
|
||||
}
|
||||
@@ -0,0 +1,230 @@
|
||||
{
|
||||
"eventKey": "pr:reviewer:unapproved",
|
||||
"date": "2019-03-01T10:34:15+0100",
|
||||
"actor": {
|
||||
"name": "tux",
|
||||
"emailAddress": "cain.piper@foo.bar",
|
||||
"id": 2125,
|
||||
"displayName": "Cain Piper",
|
||||
"active": true,
|
||||
"slug": "tux",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/tux"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"pullRequest": {
|
||||
"id": 5,
|
||||
"version": 0,
|
||||
"title": "Update README",
|
||||
"description": "yada yada yada",
|
||||
"state": "OPEN",
|
||||
"open": true,
|
||||
"closed": false,
|
||||
"createdDate": 1551432675860,
|
||||
"updatedDate": 1551432675860,
|
||||
"fromRef": {
|
||||
"id": "refs/heads/feature/wip",
|
||||
"displayId": "feature/wip",
|
||||
"latestCommit": "32a0b8a740c2963c6f56bd8baf3dc05683d299e0",
|
||||
"repository": {
|
||||
"slug": "webhook-test",
|
||||
"id": 4,
|
||||
"name": "webhook-test",
|
||||
"scmId": "git",
|
||||
"state": "AVAILABLE",
|
||||
"statusMessage": "Available",
|
||||
"forkable": true,
|
||||
"project": {
|
||||
"key": "~gopher",
|
||||
"id": 2,
|
||||
"name": "Foo Bar",
|
||||
"type": "PERSONAL",
|
||||
"owner": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"public": false,
|
||||
"links": {
|
||||
"clone": [
|
||||
{
|
||||
"href": "ssh://git@server.bitbucket.local:7999/~gopher/webhook-test.git",
|
||||
"name": "ssh"
|
||||
},
|
||||
{
|
||||
"href": "https://server.bitbucket.local/scm/~gopher/webhook-test.git",
|
||||
"name": "http"
|
||||
}
|
||||
],
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher/repos/webhook-test/browse"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"toRef": {
|
||||
"id": "refs/heads/master",
|
||||
"displayId": "master",
|
||||
"latestCommit": "cde6c45a4210afe81638aa1f3aa960d633c66a90",
|
||||
"repository": {
|
||||
"slug": "webhook-test",
|
||||
"id": 4,
|
||||
"name": "webhook-test",
|
||||
"scmId": "git",
|
||||
"state": "AVAILABLE",
|
||||
"statusMessage": "Available",
|
||||
"forkable": true,
|
||||
"project": {
|
||||
"key": "~gopher",
|
||||
"id": 2,
|
||||
"name": "Foo Bar",
|
||||
"type": "PERSONAL",
|
||||
"owner": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"public": false,
|
||||
"links": {
|
||||
"clone": [
|
||||
{
|
||||
"href": "ssh://git@server.bitbucket.local:7999/~gopher/webhook-test.git",
|
||||
"name": "ssh"
|
||||
},
|
||||
{
|
||||
"href": "https://server.bitbucket.local/scm/~gopher/webhook-test.git",
|
||||
"name": "http"
|
||||
}
|
||||
],
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher/repos/webhook-test/browse"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"locked": false,
|
||||
"author": {
|
||||
"user": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"role": "AUTHOR",
|
||||
"approved": false,
|
||||
"status": "UNAPPROVED"
|
||||
},
|
||||
"reviewers": [
|
||||
{
|
||||
"user": {
|
||||
"name": "tux",
|
||||
"emailAddress": "cain.piper@foo.bar",
|
||||
"id": 2125,
|
||||
"displayName": "Cain Piper",
|
||||
"active": true,
|
||||
"slug": "tux",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/tux"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"lastReviewedCommit": "32a0b8a740c2963c6f56bd8baf3dc05683d299e0",
|
||||
"role": "REVIEWER",
|
||||
"approved": false,
|
||||
"status": "UNAPPROVED"
|
||||
}
|
||||
],
|
||||
"participants": [],
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher/repos/webhook-test/pull-requests/5"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"participant": {
|
||||
"user": {
|
||||
"name": "tux",
|
||||
"emailAddress": "cain.piper@foo.bar",
|
||||
"id": 2125,
|
||||
"displayName": "Cain Piper",
|
||||
"active": true,
|
||||
"slug": "tux",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/tux"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"lastReviewedCommit": "32a0b8a740c2963c6f56bd8baf3dc05683d299e0",
|
||||
"role": "REVIEWER",
|
||||
"approved": false,
|
||||
"status": "UNAPPROVED"
|
||||
},
|
||||
"previousStatus": "NEEDS_WORK"
|
||||
}
|
||||
+225
@@ -0,0 +1,225 @@
|
||||
{
|
||||
"eventKey": "pr:reviewer:updated",
|
||||
"date": "2019-03-01T10:19:48+0100",
|
||||
"actor": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"pullRequest": {
|
||||
"id": 3,
|
||||
"version": 1,
|
||||
"title": "Update README",
|
||||
"description": "yada yada yada",
|
||||
"state": "OPEN",
|
||||
"open": true,
|
||||
"closed": false,
|
||||
"createdDate": 1551431949625,
|
||||
"updatedDate": 1551431988769,
|
||||
"fromRef": {
|
||||
"id": "refs/heads/feature/wip",
|
||||
"displayId": "feature/wip",
|
||||
"latestCommit": "591f702354b3abf1faaca4d23811620d1b2ac984",
|
||||
"repository": {
|
||||
"slug": "webhook-test",
|
||||
"id": 4,
|
||||
"name": "webhook-test",
|
||||
"scmId": "git",
|
||||
"state": "AVAILABLE",
|
||||
"statusMessage": "Available",
|
||||
"forkable": true,
|
||||
"project": {
|
||||
"key": "~gopher",
|
||||
"id": 2,
|
||||
"name": "Foo Bar",
|
||||
"type": "PERSONAL",
|
||||
"owner": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"public": false,
|
||||
"links": {
|
||||
"clone": [
|
||||
{
|
||||
"href": "ssh://git@server.bitbucket.local:7999/~gopher/webhook-test.git",
|
||||
"name": "ssh"
|
||||
},
|
||||
{
|
||||
"href": "https://server.bitbucket.local/scm/~gopher/webhook-test.git",
|
||||
"name": "http"
|
||||
}
|
||||
],
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher/repos/webhook-test/browse"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"toRef": {
|
||||
"id": "refs/heads/master",
|
||||
"displayId": "master",
|
||||
"latestCommit": "038e7b67735e54f6de8f1c5d533c6751df524f6c",
|
||||
"repository": {
|
||||
"slug": "webhook-test",
|
||||
"id": 4,
|
||||
"name": "webhook-test",
|
||||
"scmId": "git",
|
||||
"state": "AVAILABLE",
|
||||
"statusMessage": "Available",
|
||||
"forkable": true,
|
||||
"project": {
|
||||
"key": "~gopher",
|
||||
"id": 2,
|
||||
"name": "Foo Bar",
|
||||
"type": "PERSONAL",
|
||||
"owner": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"public": false,
|
||||
"links": {
|
||||
"clone": [
|
||||
{
|
||||
"href": "ssh://git@server.bitbucket.local:7999/~gopher/webhook-test.git",
|
||||
"name": "ssh"
|
||||
},
|
||||
{
|
||||
"href": "https://server.bitbucket.local/scm/~gopher/webhook-test.git",
|
||||
"name": "http"
|
||||
}
|
||||
],
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher/repos/webhook-test/browse"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"locked": false,
|
||||
"author": {
|
||||
"user": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"role": "AUTHOR",
|
||||
"approved": false,
|
||||
"status": "UNAPPROVED"
|
||||
},
|
||||
"reviewers": [
|
||||
{
|
||||
"user": {
|
||||
"name": "tux",
|
||||
"emailAddress": "cain.piper@foo.bar",
|
||||
"id": 2125,
|
||||
"displayName": "Cain Piper",
|
||||
"active": true,
|
||||
"slug": "tux",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/tux"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"role": "REVIEWER",
|
||||
"approved": false,
|
||||
"status": "UNAPPROVED"
|
||||
}
|
||||
],
|
||||
"participants": [],
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher/repos/webhook-test/pull-requests/3"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"addedReviewers": [
|
||||
{
|
||||
"name": "tux",
|
||||
"emailAddress": "cain.piper@foo.bar",
|
||||
"id": 2125,
|
||||
"displayName": "Cain Piper",
|
||||
"active": true,
|
||||
"slug": "tux",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/tux"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"removedReviewers": []
|
||||
}
|
||||
+105
@@ -0,0 +1,105 @@
|
||||
{
|
||||
"eventKey": "repo:comment:added",
|
||||
"date": "2019-02-28T16:17:06+0100",
|
||||
"actor": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"comment": {
|
||||
"properties": {
|
||||
"repositoryId": 4
|
||||
},
|
||||
"id": 146,
|
||||
"version": 0,
|
||||
"text": "test",
|
||||
"author": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"createdDate": 1551367026162,
|
||||
"updatedDate": 1551367026162,
|
||||
"comments": [],
|
||||
"tasks": []
|
||||
},
|
||||
"repository": {
|
||||
"slug": "webhook-test",
|
||||
"id": 4,
|
||||
"name": "webhook-test",
|
||||
"scmId": "git",
|
||||
"state": "AVAILABLE",
|
||||
"statusMessage": "Available",
|
||||
"forkable": true,
|
||||
"project": {
|
||||
"key": "~gopher",
|
||||
"id": 2,
|
||||
"name": "Foo Bar",
|
||||
"type": "PERSONAL",
|
||||
"owner": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"public": false,
|
||||
"links": {
|
||||
"clone": [
|
||||
{
|
||||
"href": "ssh://git@server.bitbucket.local:7999/~gopher/webhook-test.git",
|
||||
"name": "ssh"
|
||||
},
|
||||
{
|
||||
"href": "https://server.bitbucket.local/scm/~gopher/webhook-test.git",
|
||||
"name": "http"
|
||||
}
|
||||
],
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher/repos/webhook-test/browse"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"commit": "038e7b67735e54f6de8f1c5d533c6751df524f6c"
|
||||
}
|
||||
+102
@@ -0,0 +1,102 @@
|
||||
{
|
||||
"eventKey": "repo:comment:deleted",
|
||||
"date": "2019-03-01T09:40:51+0100",
|
||||
"actor": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"comment": {
|
||||
"id": 145,
|
||||
"version": 1,
|
||||
"text": "Test commit comment editing comment",
|
||||
"author": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"createdDate": 1551366857036,
|
||||
"updatedDate": 1551429525155,
|
||||
"comments": [],
|
||||
"tasks": []
|
||||
},
|
||||
"repository": {
|
||||
"slug": "webhook-test",
|
||||
"id": 4,
|
||||
"name": "webhook-test",
|
||||
"scmId": "git",
|
||||
"state": "AVAILABLE",
|
||||
"statusMessage": "Available",
|
||||
"forkable": true,
|
||||
"project": {
|
||||
"key": "~gopher",
|
||||
"id": 2,
|
||||
"name": "Foo Bar",
|
||||
"type": "PERSONAL",
|
||||
"owner": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"public": false,
|
||||
"links": {
|
||||
"clone": [
|
||||
{
|
||||
"href": "ssh://git@server.bitbucket.local:7999/~gopher/webhook-test.git",
|
||||
"name": "ssh"
|
||||
},
|
||||
{
|
||||
"href": "https://server.bitbucket.local/scm/~gopher/webhook-test.git",
|
||||
"name": "http"
|
||||
}
|
||||
],
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher/repos/webhook-test/browse"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"commit": "038e7b67735e54f6de8f1c5d533c6751df524f6c"
|
||||
}
|
||||
+106
@@ -0,0 +1,106 @@
|
||||
{
|
||||
"eventKey": "repo:comment:edited",
|
||||
"date": "2019-03-01T09:38:45+0100",
|
||||
"actor": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"comment": {
|
||||
"properties": {
|
||||
"repositoryId": 4
|
||||
},
|
||||
"id": 145,
|
||||
"version": 1,
|
||||
"text": "Test commit comment editing comment",
|
||||
"author": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"createdDate": 1551366857036,
|
||||
"updatedDate": 1551429525155,
|
||||
"comments": [],
|
||||
"tasks": []
|
||||
},
|
||||
"repository": {
|
||||
"slug": "webhook-test",
|
||||
"id": 4,
|
||||
"name": "webhook-test",
|
||||
"scmId": "git",
|
||||
"state": "AVAILABLE",
|
||||
"statusMessage": "Available",
|
||||
"forkable": true,
|
||||
"project": {
|
||||
"key": "~gopher",
|
||||
"id": 2,
|
||||
"name": "Foo Bar",
|
||||
"type": "PERSONAL",
|
||||
"owner": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"public": false,
|
||||
"links": {
|
||||
"clone": [
|
||||
{
|
||||
"href": "ssh://git@server.bitbucket.local:7999/~gopher/webhook-test.git",
|
||||
"name": "ssh"
|
||||
},
|
||||
{
|
||||
"href": "https://server.bitbucket.local/scm/~gopher/webhook-test.git",
|
||||
"name": "http"
|
||||
}
|
||||
],
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher/repos/webhook-test/browse"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"commit": "038e7b67735e54f6de8f1c5d533c6751df524f6c",
|
||||
"previousComment": "Test commit comment"
|
||||
}
|
||||
+132
@@ -0,0 +1,132 @@
|
||||
{
|
||||
"eventKey": "repo:forked",
|
||||
"date": "2019-02-28T16:12:04+0100",
|
||||
"actor": {
|
||||
"name": "tux",
|
||||
"emailAddress": "cain.piper@foo.bar",
|
||||
"id": 2125,
|
||||
"displayName": "Cain Piper",
|
||||
"active": true,
|
||||
"slug": "tux",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/tux"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"repository": {
|
||||
"slug": "webhook-test",
|
||||
"id": 124,
|
||||
"name": "webhook-test",
|
||||
"scmId": "git",
|
||||
"state": "AVAILABLE",
|
||||
"statusMessage": "Available",
|
||||
"forkable": true,
|
||||
"origin": {
|
||||
"slug": "webhook-test",
|
||||
"id": 4,
|
||||
"name": "webhook-test",
|
||||
"scmId": "git",
|
||||
"state": "AVAILABLE",
|
||||
"statusMessage": "Available",
|
||||
"forkable": true,
|
||||
"project": {
|
||||
"key": "~gopher",
|
||||
"id": 2,
|
||||
"name": "Foo Bar",
|
||||
"type": "PERSONAL",
|
||||
"owner": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "gopher@foo.bar",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"public": false,
|
||||
"links": {
|
||||
"clone": [
|
||||
{
|
||||
"href": "ssh://git@server.bitbucket.local:7999/~gopher/webhook-test.git",
|
||||
"name": "ssh"
|
||||
},
|
||||
{
|
||||
"href": "https://server.bitbucket.local/scm/~gopher/webhook-test.git",
|
||||
"name": "http"
|
||||
}
|
||||
],
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher/repos/webhook-test/browse"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"project": {
|
||||
"key": "~tux",
|
||||
"id": 19,
|
||||
"name": "Cain Piper",
|
||||
"type": "PERSONAL",
|
||||
"owner": {
|
||||
"name": "tux",
|
||||
"emailAddress": "cain.piper@foo.bar",
|
||||
"id": 2125,
|
||||
"displayName": "Cain Piper",
|
||||
"active": true,
|
||||
"slug": "tux",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/tux"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/tux"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"public": false,
|
||||
"links": {
|
||||
"clone": [
|
||||
{
|
||||
"href": "ssh://git@server.bitbucket.local:7999/~tux/webhook-test.git",
|
||||
"name": "ssh"
|
||||
},
|
||||
{
|
||||
"href": "https://server.bitbucket.local/scm/~tux/webhook-test.git",
|
||||
"name": "http"
|
||||
}
|
||||
],
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/tux/repos/webhook-test/browse"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
+132
@@ -0,0 +1,132 @@
|
||||
{
|
||||
"eventKey": "repo:modified",
|
||||
"date": "2019-02-28T16:08:46+0100",
|
||||
"actor": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "foo@bar.se",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"old": {
|
||||
"slug": "webhook-test-2",
|
||||
"id": 4,
|
||||
"name": "webhook-test-2",
|
||||
"scmId": "git",
|
||||
"state": "AVAILABLE",
|
||||
"statusMessage": "Available",
|
||||
"forkable": true,
|
||||
"project": {
|
||||
"key": "gopher",
|
||||
"id": 2,
|
||||
"name": "Foo Bar",
|
||||
"type": "PERSONAL",
|
||||
"owner": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "foo@bar.se",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"public": false,
|
||||
"links": {
|
||||
"clone": [
|
||||
{
|
||||
"href": "ssh://git@server.bitbucket.local:7999/~gopher/webhook-test.git",
|
||||
"name": "ssh"
|
||||
},
|
||||
{
|
||||
"href": "https://server.bitbucket.local/scm/~gopher/webhook-test.git",
|
||||
"name": "http"
|
||||
}
|
||||
],
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher/repos/webhook-test-2/browse"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"new": {
|
||||
"slug": "webhook-test",
|
||||
"id": 4,
|
||||
"name": "webhook-test",
|
||||
"scmId": "git",
|
||||
"state": "AVAILABLE",
|
||||
"statusMessage": "Available",
|
||||
"forkable": true,
|
||||
"project": {
|
||||
"key": "gopher",
|
||||
"id": 2,
|
||||
"name": "Foo Bar",
|
||||
"type": "PERSONAL",
|
||||
"owner": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "foo@bar.se",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"public": false,
|
||||
"links": {
|
||||
"clone": [
|
||||
{
|
||||
"href": "ssh://git@server.bitbucket.local:7999/~gopher/webhook-test.git",
|
||||
"name": "ssh"
|
||||
},
|
||||
{
|
||||
"href": "https://server.bitbucket.local/scm/~gopher/webhook-test.git",
|
||||
"name": "http"
|
||||
}
|
||||
],
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher/repos/webhook-test/browse"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,89 @@
|
||||
{
|
||||
"eventKey": "repo:refs_changed",
|
||||
"date": "2019-03-01T10:37:14+0100",
|
||||
"actor": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "foo@bar.com",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"repository": {
|
||||
"slug": "webhook-test",
|
||||
"id": 4,
|
||||
"name": "webhook-test",
|
||||
"scmId": "git",
|
||||
"state": "AVAILABLE",
|
||||
"statusMessage": "Available",
|
||||
"forkable": true,
|
||||
"project": {
|
||||
"key": "~gopher",
|
||||
"id": 2,
|
||||
"name": "Foo Bar",
|
||||
"type": "PERSONAL",
|
||||
"owner": {
|
||||
"name": "gopher",
|
||||
"emailAddress": "foo@bar.com",
|
||||
"id": 3231,
|
||||
"displayName": "Foo Bar",
|
||||
"active": true,
|
||||
"slug": "gopher",
|
||||
"type": "NORMAL",
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"public": false,
|
||||
"links": {
|
||||
"clone": [
|
||||
{
|
||||
"href": "ssh://git@server.bitbucket.local:7999/~gopher/webhook-test.git",
|
||||
"name": "ssh"
|
||||
},
|
||||
{
|
||||
"href": "https://server.bitbucket.local/scm/~gopher/webhook-test.git",
|
||||
"name": "http"
|
||||
}
|
||||
],
|
||||
"self": [
|
||||
{
|
||||
"href": "https://server.bitbucket.local/users/gopher/repos/webhook-test/browse"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"changes": [
|
||||
{
|
||||
"ref": {
|
||||
"id": "refs/heads/feature/wip",
|
||||
"displayId": "feature/wip",
|
||||
"type": "BRANCH"
|
||||
},
|
||||
"refId": "refs/heads/feature/wip",
|
||||
"fromHash": "32a0b8a740c2963c6f56bd8baf3dc05683d299e0",
|
||||
"toHash": "0000000000000000000000000000000000000000",
|
||||
"type": "DELETE"
|
||||
}
|
||||
]
|
||||
}
|
||||
+66
@@ -0,0 +1,66 @@
|
||||
{
|
||||
"actor":{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"comment":{
|
||||
"id":17,
|
||||
"parent":{
|
||||
"id":16
|
||||
},
|
||||
"content":{
|
||||
"raw":"Comment text",
|
||||
"html":"<p>Comment text</p>",
|
||||
"markup":"markdown"
|
||||
},
|
||||
"inline":{
|
||||
"path":"path/to/file",
|
||||
"from":null,
|
||||
"to":10
|
||||
},
|
||||
"created_on":"2015-04-06T16:52:29.982346+00:00",
|
||||
"updated_on":"2015-04-06T16:52:29.983730+00:00",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/comments/comment_id"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/comment_id"
|
||||
}
|
||||
}
|
||||
},
|
||||
"repository":{
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/repositories/bitbucket/bitbucket"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/bitbucket/bitbucket"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://api-staging-assetroot.s3.amazonaws.com/c/photos/2014/Aug/01/bitbucket-logo-2629490769-3_avatar.png"
|
||||
}
|
||||
},
|
||||
"uuid":"{673a6070-3421-46c9-9d48-90745f7bfe8e}",
|
||||
"full_name":"team_name/repo_name",
|
||||
"name":"repo_name",
|
||||
"scm":"git",
|
||||
"is_private":true
|
||||
},
|
||||
"commit":{
|
||||
"hash":"d3022fc0ca3d65c7f6654eea129d6bf0cf0ee08e"
|
||||
}
|
||||
}
|
||||
+92
@@ -0,0 +1,92 @@
|
||||
{
|
||||
"actor":{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"repository":{
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/repositories/bitbucket/bitbucket"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/bitbucket/bitbucket"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://api-staging-assetroot.s3.amazonaws.com/c/photos/2014/Aug/01/bitbucket-logo-2629490769-3_avatar.png"
|
||||
}
|
||||
},
|
||||
"uuid":"{673a6070-3421-46c9-9d48-90745f7bfe8e}",
|
||||
"full_name":"team_name/repo_name",
|
||||
"name":"repo_name",
|
||||
"scm":"git",
|
||||
"is_private":true
|
||||
},
|
||||
"issue":{
|
||||
"id":1,
|
||||
"component":"component",
|
||||
"title":"Issue title",
|
||||
"content":{
|
||||
"raw":"Issue description",
|
||||
"html":"<p>Issue description</p>",
|
||||
"markup":"markdown"
|
||||
},
|
||||
"priority":"trivial|minor|major|critical|blocker",
|
||||
"state":"new|open|on hold|resolved|duplicate|invalid|wontfix|closed",
|
||||
"type":"bug|enhancement|proposal|task",
|
||||
"milestone":{
|
||||
"name":"milestone 1"
|
||||
},
|
||||
"version":{
|
||||
"name":"version 1"
|
||||
},
|
||||
"created_on":"2015-04-06T15:23:38.179678+00:00",
|
||||
"updated_on":"2015-04-06T15:23:38.179678+00:00",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/issues/issue_id"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/issue_id"
|
||||
}
|
||||
}
|
||||
},
|
||||
"comment":{
|
||||
"id":17,
|
||||
"parent":{
|
||||
"id":16
|
||||
},
|
||||
"content":{
|
||||
"raw":"Comment text",
|
||||
"html":"<p>Comment text</p>",
|
||||
"markup":"markdown"
|
||||
},
|
||||
"inline":{
|
||||
"path":"path/to/file",
|
||||
"from":null,
|
||||
"to":10
|
||||
},
|
||||
"created_on":"2015-04-06T16:52:29.982346+00:00",
|
||||
"updated_on":"2015-04-06T16:52:29.983730+00:00",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/comments/comment_id"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/comment_id"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+66
@@ -0,0 +1,66 @@
|
||||
{
|
||||
"actor":{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"issue":{
|
||||
"id":1,
|
||||
"component":"component",
|
||||
"title":"Issue title",
|
||||
"content":{
|
||||
"raw":"Issue description",
|
||||
"html":"<p>Issue description</p>",
|
||||
"markup":"markdown"
|
||||
},
|
||||
"priority":"trivial|minor|major|critical|blocker",
|
||||
"state":"new|open|on hold|resolved|duplicate|invalid|wontfix|closed",
|
||||
"type":"bug|enhancement|proposal|task",
|
||||
"milestone":{
|
||||
"name":"milestone 1"
|
||||
},
|
||||
"version":{
|
||||
"name":"version 1"
|
||||
},
|
||||
"created_on":"2015-04-06T15:23:38.179678+00:00",
|
||||
"updated_on":"2015-04-06T15:23:38.179678+00:00",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/issues/issue_id"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/issue_id"
|
||||
}
|
||||
}
|
||||
},
|
||||
"repository":{
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/repositories/bitbucket/bitbucket"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/bitbucket/bitbucket"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://api-staging-assetroot.s3.amazonaws.com/c/photos/2014/Aug/01/bitbucket-logo-2629490769-3_avatar.png"
|
||||
}
|
||||
},
|
||||
"uuid":"{673a6070-3421-46c9-9d48-90745f7bfe8e}",
|
||||
"full_name":"team_name/repo_name",
|
||||
"name":"repo_name",
|
||||
"scm":"git",
|
||||
"is_private":true
|
||||
}
|
||||
}
|
||||
+98
@@ -0,0 +1,98 @@
|
||||
{
|
||||
"actor":{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"issue":{
|
||||
"id":1,
|
||||
"component":"component",
|
||||
"title":"Issue title",
|
||||
"content":{
|
||||
"raw":"Issue description",
|
||||
"html":"<p>Issue description</p>",
|
||||
"markup":"markdown"
|
||||
},
|
||||
"priority":"trivial|minor|major|critical|blocker",
|
||||
"state":"new|open|on hold|resolved|duplicate|invalid|wontfix|closed",
|
||||
"type":"bug|enhancement|proposal|task",
|
||||
"milestone":{
|
||||
"name":"milestone 1"
|
||||
},
|
||||
"version":{
|
||||
"name":"version 1"
|
||||
},
|
||||
"created_on":"2015-04-06T15:23:38.179678+00:00",
|
||||
"updated_on":"2015-04-06T15:23:38.179678+00:00",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/issues/issue_id"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/issue_id"
|
||||
}
|
||||
}
|
||||
},
|
||||
"repository":{
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/repositories/bitbucket/bitbucket"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/bitbucket/bitbucket"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://api-staging-assetroot.s3.amazonaws.com/c/photos/2014/Aug/01/bitbucket-logo-2629490769-3_avatar.png"
|
||||
}
|
||||
},
|
||||
"uuid":"{673a6070-3421-46c9-9d48-90745f7bfe8e}",
|
||||
"full_name":"team_name/repo_name",
|
||||
"name":"repo_name",
|
||||
"scm":"git",
|
||||
"is_private":true
|
||||
},
|
||||
"comment":{
|
||||
"id":17,
|
||||
"parent":{
|
||||
"id":16
|
||||
},
|
||||
"content":{
|
||||
"raw":"Comment text",
|
||||
"html":"<p>Comment text</p>",
|
||||
"markup":"markdown"
|
||||
},
|
||||
"inline":{
|
||||
"path":"path/to/file",
|
||||
"from":null,
|
||||
"to":10
|
||||
},
|
||||
"created_on":"2015-04-06T16:52:29.982346+00:00",
|
||||
"updated_on":"2015-04-06T16:52:29.983730+00:00",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/comments/comment_id"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/comment_id"
|
||||
}
|
||||
}
|
||||
},
|
||||
"changes":{
|
||||
"status":{
|
||||
"old":"open",
|
||||
"new":"on hold"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,202 @@
|
||||
{
|
||||
"actor":{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"pullrequest":{
|
||||
"id":1,
|
||||
"title":"Title of pull request",
|
||||
"description":"Description of pull request",
|
||||
"state":"OPEN|MERGED|DECLINED",
|
||||
"author":{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"source":{
|
||||
"branch":{
|
||||
"name":"branch2"
|
||||
},
|
||||
"commit":{
|
||||
"hash":"d3022fc0ca3d"
|
||||
},
|
||||
"repository":{
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/repositories/bitbucket/bitbucket"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/bitbucket/bitbucket"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://api-staging-assetroot.s3.amazonaws.com/c/photos/2014/Aug/01/bitbucket-logo-2629490769-3_avatar.png"
|
||||
}
|
||||
},
|
||||
"uuid":"{673a6070-3421-46c9-9d48-90745f7bfe8e}",
|
||||
"full_name":"team_name/repo_name",
|
||||
"name":"repo_name",
|
||||
"scm":"git",
|
||||
"is_private":true
|
||||
}
|
||||
},
|
||||
"destination":{
|
||||
"branch":{
|
||||
"name":"master"
|
||||
},
|
||||
"commit":{
|
||||
"hash":"ce5965ddd289"
|
||||
},
|
||||
"repository":{
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/repositories/bitbucket/bitbucket"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/bitbucket/bitbucket"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://api-staging-assetroot.s3.amazonaws.com/c/photos/2014/Aug/01/bitbucket-logo-2629490769-3_avatar.png"
|
||||
}
|
||||
},
|
||||
"uuid":"{673a6070-3421-46c9-9d48-90745f7bfe8e}",
|
||||
"full_name":"team_name/repo_name",
|
||||
"name":"repo_name",
|
||||
"scm":"git",
|
||||
"is_private":true
|
||||
}
|
||||
},
|
||||
"merge_commit":{
|
||||
"hash":"764413d85e29"
|
||||
},
|
||||
"participants":[
|
||||
{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"reviewers":[
|
||||
{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"close_source_branch":true,
|
||||
"closed_by":{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"reason":"reason for declining the PR (if applicable)",
|
||||
"created_on":"2015-04-06T15:23:38.179678+00:00",
|
||||
"updated_on":"2015-04-06T15:23:38.205705+00:00",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/pullrequests/pullrequest_id"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/pullrequest_id"
|
||||
}
|
||||
}
|
||||
},
|
||||
"repository":{
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/repositories/bitbucket/bitbucket"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/bitbucket/bitbucket"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://api-staging-assetroot.s3.amazonaws.com/c/photos/2014/Aug/01/bitbucket-logo-2629490769-3_avatar.png"
|
||||
}
|
||||
},
|
||||
"uuid":"{673a6070-3421-46c9-9d48-90745f7bfe8e}",
|
||||
"full_name":"team_name/repo_name",
|
||||
"name":"repo_name",
|
||||
"scm":"git",
|
||||
"is_private":true
|
||||
},
|
||||
"approval":{
|
||||
"date":"2015-04-06T16:34:59.195330+00:00",
|
||||
"user":{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+202
@@ -0,0 +1,202 @@
|
||||
{
|
||||
"actor":{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"pullrequest":{
|
||||
"id":1,
|
||||
"title":"Title of pull request",
|
||||
"description":"Description of pull request",
|
||||
"state":"OPEN|MERGED|DECLINED",
|
||||
"author":{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"source":{
|
||||
"branch":{
|
||||
"name":"branch2"
|
||||
},
|
||||
"commit":{
|
||||
"hash":"d3022fc0ca3d"
|
||||
},
|
||||
"repository":{
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/repositories/bitbucket/bitbucket"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/bitbucket/bitbucket"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://api-staging-assetroot.s3.amazonaws.com/c/photos/2014/Aug/01/bitbucket-logo-2629490769-3_avatar.png"
|
||||
}
|
||||
},
|
||||
"uuid":"{673a6070-3421-46c9-9d48-90745f7bfe8e}",
|
||||
"full_name":"team_name/repo_name",
|
||||
"name":"repo_name",
|
||||
"scm":"git",
|
||||
"is_private":true
|
||||
}
|
||||
},
|
||||
"destination":{
|
||||
"branch":{
|
||||
"name":"master"
|
||||
},
|
||||
"commit":{
|
||||
"hash":"ce5965ddd289"
|
||||
},
|
||||
"repository":{
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/repositories/bitbucket/bitbucket"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/bitbucket/bitbucket"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://api-staging-assetroot.s3.amazonaws.com/c/photos/2014/Aug/01/bitbucket-logo-2629490769-3_avatar.png"
|
||||
}
|
||||
},
|
||||
"uuid":"{673a6070-3421-46c9-9d48-90745f7bfe8e}",
|
||||
"full_name":"team_name/repo_name",
|
||||
"name":"repo_name",
|
||||
"scm":"git",
|
||||
"is_private":true
|
||||
}
|
||||
},
|
||||
"merge_commit":{
|
||||
"hash":"764413d85e29"
|
||||
},
|
||||
"participants":[
|
||||
{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"reviewers":[
|
||||
{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"close_source_branch":true,
|
||||
"closed_by":{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"reason":"reason for declining the PR (if applicable)",
|
||||
"created_on":"2015-04-06T15:23:38.179678+00:00",
|
||||
"updated_on":"2015-04-06T15:23:38.205705+00:00",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/pullrequests/pullrequest_id"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/pullrequest_id"
|
||||
}
|
||||
}
|
||||
},
|
||||
"repository":{
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/repositories/bitbucket/bitbucket"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/bitbucket/bitbucket"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://api-staging-assetroot.s3.amazonaws.com/c/photos/2014/Aug/01/bitbucket-logo-2629490769-3_avatar.png"
|
||||
}
|
||||
},
|
||||
"uuid":"{673a6070-3421-46c9-9d48-90745f7bfe8e}",
|
||||
"full_name":"team_name/repo_name",
|
||||
"name":"repo_name",
|
||||
"scm":"git",
|
||||
"is_private":true
|
||||
},
|
||||
"approval":{
|
||||
"date":"2015-04-06T16:34:59.195330+00:00",
|
||||
"user":{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,208 @@
|
||||
{
|
||||
"actor":{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"repository":{
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/repositories/bitbucket/bitbucket"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/bitbucket/bitbucket"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://api-staging-assetroot.s3.amazonaws.com/c/photos/2014/Aug/01/bitbucket-logo-2629490769-3_avatar.png"
|
||||
}
|
||||
},
|
||||
"uuid":"{673a6070-3421-46c9-9d48-90745f7bfe8e}",
|
||||
"full_name":"team_name/repo_name",
|
||||
"name":"repo_name",
|
||||
"scm":"git",
|
||||
"is_private":true
|
||||
},
|
||||
"pullrequest":{
|
||||
"id":1,
|
||||
"title":"Title of pull request",
|
||||
"description":"Description of pull request",
|
||||
"state":"OPEN|MERGED|DECLINED",
|
||||
"author":{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"source":{
|
||||
"branch":{
|
||||
"name":"branch2"
|
||||
},
|
||||
"commit":{
|
||||
"hash":"d3022fc0ca3d"
|
||||
},
|
||||
"repository":{
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/repositories/bitbucket/bitbucket"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/bitbucket/bitbucket"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://api-staging-assetroot.s3.amazonaws.com/c/photos/2014/Aug/01/bitbucket-logo-2629490769-3_avatar.png"
|
||||
}
|
||||
},
|
||||
"uuid":"{673a6070-3421-46c9-9d48-90745f7bfe8e}",
|
||||
"full_name":"team_name/repo_name",
|
||||
"name":"repo_name",
|
||||
"scm":"git",
|
||||
"is_private":true
|
||||
}
|
||||
},
|
||||
"destination":{
|
||||
"branch":{
|
||||
"name":"master"
|
||||
},
|
||||
"commit":{
|
||||
"hash":"ce5965ddd289"
|
||||
},
|
||||
"repository":{
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/repositories/bitbucket/bitbucket"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/bitbucket/bitbucket"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://api-staging-assetroot.s3.amazonaws.com/c/photos/2014/Aug/01/bitbucket-logo-2629490769-3_avatar.png"
|
||||
}
|
||||
},
|
||||
"uuid":"{673a6070-3421-46c9-9d48-90745f7bfe8e}",
|
||||
"full_name":"team_name/repo_name",
|
||||
"name":"repo_name",
|
||||
"scm":"git",
|
||||
"is_private":true
|
||||
}
|
||||
},
|
||||
"merge_commit":{
|
||||
"hash":"764413d85e29"
|
||||
},
|
||||
"participants":[
|
||||
{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"reviewers":[
|
||||
{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"close_source_branch":true,
|
||||
"closed_by":{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"reason":"reason for declining the PR (if applicable)",
|
||||
"created_on":"2015-04-06T15:23:38.179678+00:00",
|
||||
"updated_on":"2015-04-06T15:23:38.205705+00:00",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/pullrequests/pullrequest_id"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/pullrequest_id"
|
||||
}
|
||||
}
|
||||
},
|
||||
"comment":{
|
||||
"id":17,
|
||||
"parent":{
|
||||
"id":16
|
||||
},
|
||||
"content":{
|
||||
"raw":"Comment text",
|
||||
"html":"<p>Comment text</p>",
|
||||
"markup":"markdown"
|
||||
},
|
||||
"inline":{
|
||||
"path":"path/to/file",
|
||||
"from":null,
|
||||
"to":10
|
||||
},
|
||||
"created_on":"2015-04-06T16:52:29.982346+00:00",
|
||||
"updated_on":"2015-04-06T16:52:29.983730+00:00",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/comments/comment_id"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/comment_id"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,208 @@
|
||||
{
|
||||
"actor":{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"repository":{
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/repositories/bitbucket/bitbucket"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/bitbucket/bitbucket"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://api-staging-assetroot.s3.amazonaws.com/c/photos/2014/Aug/01/bitbucket-logo-2629490769-3_avatar.png"
|
||||
}
|
||||
},
|
||||
"uuid":"{673a6070-3421-46c9-9d48-90745f7bfe8e}",
|
||||
"full_name":"team_name/repo_name",
|
||||
"name":"repo_name",
|
||||
"scm":"git",
|
||||
"is_private":true
|
||||
},
|
||||
"pullrequest":{
|
||||
"id":1,
|
||||
"title":"Title of pull request",
|
||||
"description":"Description of pull request",
|
||||
"state":"OPEN|MERGED|DECLINED",
|
||||
"author":{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"source":{
|
||||
"branch":{
|
||||
"name":"branch2"
|
||||
},
|
||||
"commit":{
|
||||
"hash":"d3022fc0ca3d"
|
||||
},
|
||||
"repository":{
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/repositories/bitbucket/bitbucket"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/bitbucket/bitbucket"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://api-staging-assetroot.s3.amazonaws.com/c/photos/2014/Aug/01/bitbucket-logo-2629490769-3_avatar.png"
|
||||
}
|
||||
},
|
||||
"uuid":"{673a6070-3421-46c9-9d48-90745f7bfe8e}",
|
||||
"full_name":"team_name/repo_name",
|
||||
"name":"repo_name",
|
||||
"scm":"git",
|
||||
"is_private":true
|
||||
}
|
||||
},
|
||||
"destination":{
|
||||
"branch":{
|
||||
"name":"master"
|
||||
},
|
||||
"commit":{
|
||||
"hash":"ce5965ddd289"
|
||||
},
|
||||
"repository":{
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/repositories/bitbucket/bitbucket"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/bitbucket/bitbucket"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://api-staging-assetroot.s3.amazonaws.com/c/photos/2014/Aug/01/bitbucket-logo-2629490769-3_avatar.png"
|
||||
}
|
||||
},
|
||||
"uuid":"{673a6070-3421-46c9-9d48-90745f7bfe8e}",
|
||||
"full_name":"team_name/repo_name",
|
||||
"name":"repo_name",
|
||||
"scm":"git",
|
||||
"is_private":true
|
||||
}
|
||||
},
|
||||
"merge_commit":{
|
||||
"hash":"764413d85e29"
|
||||
},
|
||||
"participants":[
|
||||
{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"reviewers":[
|
||||
{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"close_source_branch":true,
|
||||
"closed_by":{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"reason":"reason for declining the PR (if applicable)",
|
||||
"created_on":"2015-04-06T15:23:38.179678+00:00",
|
||||
"updated_on":"2015-04-06T15:23:38.205705+00:00",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/pullrequests/pullrequest_id"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/pullrequest_id"
|
||||
}
|
||||
}
|
||||
},
|
||||
"comment":{
|
||||
"id":17,
|
||||
"parent":{
|
||||
"id":16
|
||||
},
|
||||
"content":{
|
||||
"raw":"Comment text",
|
||||
"html":"<p>Comment text</p>",
|
||||
"markup":"markdown"
|
||||
},
|
||||
"inline":{
|
||||
"path":"path/to/file",
|
||||
"from":null,
|
||||
"to":10
|
||||
},
|
||||
"created_on":"2015-04-06T16:52:29.982346+00:00",
|
||||
"updated_on":"2015-04-06T16:52:29.983730+00:00",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/comments/comment_id"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/comment_id"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,208 @@
|
||||
{
|
||||
"actor":{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"repository":{
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/repositories/bitbucket/bitbucket"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/bitbucket/bitbucket"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://api-staging-assetroot.s3.amazonaws.com/c/photos/2014/Aug/01/bitbucket-logo-2629490769-3_avatar.png"
|
||||
}
|
||||
},
|
||||
"uuid":"{673a6070-3421-46c9-9d48-90745f7bfe8e}",
|
||||
"full_name":"team_name/repo_name",
|
||||
"name":"repo_name",
|
||||
"scm":"git",
|
||||
"is_private":true
|
||||
},
|
||||
"pullrequest":{
|
||||
"id":1,
|
||||
"title":"Title of pull request",
|
||||
"description":"Description of pull request",
|
||||
"state":"OPEN|MERGED|DECLINED",
|
||||
"author":{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"source":{
|
||||
"branch":{
|
||||
"name":"branch2"
|
||||
},
|
||||
"commit":{
|
||||
"hash":"d3022fc0ca3d"
|
||||
},
|
||||
"repository":{
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/repositories/bitbucket/bitbucket"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/bitbucket/bitbucket"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://api-staging-assetroot.s3.amazonaws.com/c/photos/2014/Aug/01/bitbucket-logo-2629490769-3_avatar.png"
|
||||
}
|
||||
},
|
||||
"uuid":"{673a6070-3421-46c9-9d48-90745f7bfe8e}",
|
||||
"full_name":"team_name/repo_name",
|
||||
"name":"repo_name",
|
||||
"scm":"git",
|
||||
"is_private":true
|
||||
}
|
||||
},
|
||||
"destination":{
|
||||
"branch":{
|
||||
"name":"master"
|
||||
},
|
||||
"commit":{
|
||||
"hash":"ce5965ddd289"
|
||||
},
|
||||
"repository":{
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/repositories/bitbucket/bitbucket"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/bitbucket/bitbucket"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://api-staging-assetroot.s3.amazonaws.com/c/photos/2014/Aug/01/bitbucket-logo-2629490769-3_avatar.png"
|
||||
}
|
||||
},
|
||||
"uuid":"{673a6070-3421-46c9-9d48-90745f7bfe8e}",
|
||||
"full_name":"team_name/repo_name",
|
||||
"name":"repo_name",
|
||||
"scm":"git",
|
||||
"is_private":true
|
||||
}
|
||||
},
|
||||
"merge_commit":{
|
||||
"hash":"764413d85e29"
|
||||
},
|
||||
"participants":[
|
||||
{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"reviewers":[
|
||||
{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"close_source_branch":true,
|
||||
"closed_by":{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"reason":"reason for declining the PR (if applicable)",
|
||||
"created_on":"2015-04-06T15:23:38.179678+00:00",
|
||||
"updated_on":"2015-04-06T15:23:38.205705+00:00",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/pullrequests/pullrequest_id"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/pullrequest_id"
|
||||
}
|
||||
}
|
||||
},
|
||||
"comment":{
|
||||
"id":17,
|
||||
"parent":{
|
||||
"id":16
|
||||
},
|
||||
"content":{
|
||||
"raw":"Comment text",
|
||||
"html":"<p>Comment text</p>",
|
||||
"markup":"markdown"
|
||||
},
|
||||
"inline":{
|
||||
"path":"path/to/file",
|
||||
"from":null,
|
||||
"to":10
|
||||
},
|
||||
"created_on":"2015-04-06T16:52:29.982346+00:00",
|
||||
"updated_on":"2015-04-06T16:52:29.983730+00:00",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/comments/comment_id"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/comment_id"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+182
@@ -0,0 +1,182 @@
|
||||
{
|
||||
"actor":{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"pullrequest":{
|
||||
"id":1,
|
||||
"title":"Title of pull request",
|
||||
"description":"Description of pull request",
|
||||
"state":"OPEN|MERGED|DECLINED",
|
||||
"author":{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"source":{
|
||||
"branch":{
|
||||
"name":"branch2"
|
||||
},
|
||||
"commit":{
|
||||
"hash":"d3022fc0ca3d"
|
||||
},
|
||||
"repository":{
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/repositories/bitbucket/bitbucket"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/bitbucket/bitbucket"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://api-staging-assetroot.s3.amazonaws.com/c/photos/2014/Aug/01/bitbucket-logo-2629490769-3_avatar.png"
|
||||
}
|
||||
},
|
||||
"uuid":"{673a6070-3421-46c9-9d48-90745f7bfe8e}",
|
||||
"full_name":"team_name/repo_name",
|
||||
"name":"repo_name",
|
||||
"scm":"git",
|
||||
"is_private":true
|
||||
}
|
||||
},
|
||||
"destination":{
|
||||
"branch":{
|
||||
"name":"master"
|
||||
},
|
||||
"commit":{
|
||||
"hash":"ce5965ddd289"
|
||||
},
|
||||
"repository":{
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/repositories/bitbucket/bitbucket"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/bitbucket/bitbucket"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://api-staging-assetroot.s3.amazonaws.com/c/photos/2014/Aug/01/bitbucket-logo-2629490769-3_avatar.png"
|
||||
}
|
||||
},
|
||||
"uuid":"{673a6070-3421-46c9-9d48-90745f7bfe8e}",
|
||||
"full_name":"team_name/repo_name",
|
||||
"name":"repo_name",
|
||||
"scm":"git",
|
||||
"is_private":true
|
||||
}
|
||||
},
|
||||
"merge_commit":{
|
||||
"hash":"764413d85e29"
|
||||
},
|
||||
"participants":[
|
||||
{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"reviewers":[
|
||||
{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"close_source_branch":true,
|
||||
"closed_by":{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"reason":"reason for declining the PR (if applicable)",
|
||||
"created_on":"2015-04-06T15:23:38.179678+00:00",
|
||||
"updated_on":"2015-04-06T15:23:38.205705+00:00",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/pullrequests/pullrequest_id"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/pullrequest_id"
|
||||
}
|
||||
}
|
||||
},
|
||||
"repository":{
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/repositories/bitbucket/bitbucket"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/bitbucket/bitbucket"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://api-staging-assetroot.s3.amazonaws.com/c/photos/2014/Aug/01/bitbucket-logo-2629490769-3_avatar.png"
|
||||
}
|
||||
},
|
||||
"uuid":"{673a6070-3421-46c9-9d48-90745f7bfe8e}",
|
||||
"full_name":"team_name/repo_name",
|
||||
"name":"repo_name",
|
||||
"scm":"git",
|
||||
"is_private":true
|
||||
}
|
||||
}
|
||||
+182
@@ -0,0 +1,182 @@
|
||||
{
|
||||
"actor":{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"pullrequest":{
|
||||
"id":1,
|
||||
"title":"Title of pull request",
|
||||
"description":"Description of pull request",
|
||||
"state":"OPEN|MERGED|DECLINED",
|
||||
"author":{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"source":{
|
||||
"branch":{
|
||||
"name":"branch2"
|
||||
},
|
||||
"commit":{
|
||||
"hash":"d3022fc0ca3d"
|
||||
},
|
||||
"repository":{
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/repositories/bitbucket/bitbucket"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/bitbucket/bitbucket"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://api-staging-assetroot.s3.amazonaws.com/c/photos/2014/Aug/01/bitbucket-logo-2629490769-3_avatar.png"
|
||||
}
|
||||
},
|
||||
"uuid":"{673a6070-3421-46c9-9d48-90745f7bfe8e}",
|
||||
"full_name":"team_name/repo_name",
|
||||
"name":"repo_name",
|
||||
"scm":"git",
|
||||
"is_private":true
|
||||
}
|
||||
},
|
||||
"destination":{
|
||||
"branch":{
|
||||
"name":"master"
|
||||
},
|
||||
"commit":{
|
||||
"hash":"ce5965ddd289"
|
||||
},
|
||||
"repository":{
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/repositories/bitbucket/bitbucket"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/bitbucket/bitbucket"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://api-staging-assetroot.s3.amazonaws.com/c/photos/2014/Aug/01/bitbucket-logo-2629490769-3_avatar.png"
|
||||
}
|
||||
},
|
||||
"uuid":"{673a6070-3421-46c9-9d48-90745f7bfe8e}",
|
||||
"full_name":"team_name/repo_name",
|
||||
"name":"repo_name",
|
||||
"scm":"git",
|
||||
"is_private":true
|
||||
}
|
||||
},
|
||||
"merge_commit":{
|
||||
"hash":"764413d85e29"
|
||||
},
|
||||
"participants":[
|
||||
{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"reviewers":[
|
||||
{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"close_source_branch":true,
|
||||
"closed_by":{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"reason":"reason for declining the PR (if applicable)",
|
||||
"created_on":"2015-04-06T15:23:38.179678+00:00",
|
||||
"updated_on":"2015-04-06T15:23:38.205705+00:00",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/pullrequests/pullrequest_id"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/pullrequest_id"
|
||||
}
|
||||
}
|
||||
},
|
||||
"repository":{
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/repositories/bitbucket/bitbucket"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/bitbucket/bitbucket"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://api-staging-assetroot.s3.amazonaws.com/c/photos/2014/Aug/01/bitbucket-logo-2629490769-3_avatar.png"
|
||||
}
|
||||
},
|
||||
"uuid":"{673a6070-3421-46c9-9d48-90745f7bfe8e}",
|
||||
"full_name":"team_name/repo_name",
|
||||
"name":"repo_name",
|
||||
"scm":"git",
|
||||
"is_private":true
|
||||
}
|
||||
}
|
||||
+181
@@ -0,0 +1,181 @@
|
||||
{
|
||||
"actor":{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"pullrequest":{
|
||||
"id":1,
|
||||
"title":"Title of pull request",
|
||||
"description":"Description of pull request",
|
||||
"state":"OPEN|MERGED|DECLINED",
|
||||
"author":{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"source":{
|
||||
"branch":{
|
||||
"name":"branch2"
|
||||
},
|
||||
"commit":{
|
||||
"hash":"d3022fc0ca3d"
|
||||
},
|
||||
"repository":{
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/repositories/bitbucket/bitbucket"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/bitbucket/bitbucket"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://api-staging-assetroot.s3.amazonaws.com/c/photos/2014/Aug/01/bitbucket-logo-2629490769-3_avatar.png"
|
||||
}
|
||||
},
|
||||
"uuid":"{673a6070-3421-46c9-9d48-90745f7bfe8e}",
|
||||
"full_name":"team_name/repo_name",
|
||||
"name":"repo_name",
|
||||
"scm":"git",
|
||||
"is_private":true
|
||||
}
|
||||
},
|
||||
"destination":{
|
||||
"branch":{
|
||||
"name":"master"
|
||||
},
|
||||
"commit":{
|
||||
"hash":"ce5965ddd289"
|
||||
},
|
||||
"repository":{
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/repositories/bitbucket/bitbucket"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/bitbucket/bitbucket"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://api-staging-assetroot.s3.amazonaws.com/c/photos/2014/Aug/01/bitbucket-logo-2629490769-3_avatar.png"
|
||||
}
|
||||
},
|
||||
"uuid":"{673a6070-3421-46c9-9d48-90745f7bfe8e}",
|
||||
"full_name":"team_name/repo_name",
|
||||
"name":"repo_name",
|
||||
"scm":"git",
|
||||
"is_private":true
|
||||
}
|
||||
},
|
||||
"merge_commit":{
|
||||
"hash":"764413d85e29"
|
||||
},
|
||||
"participants":[
|
||||
{
|
||||
"username":"emmap1",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"reviewers":[
|
||||
{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"close_source_branch":true,
|
||||
"closed_by":{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"reason":"reason for declining the PR (if applicable)",
|
||||
"created_on":"2015-04-06T15:23:38.179678+00:00",
|
||||
"updated_on":"2015-04-06T15:23:38.205705+00:00",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/pullrequests/pullrequest_id"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/pullrequest_id"
|
||||
}
|
||||
}
|
||||
},
|
||||
"repository":{
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/repositories/bitbucket/bitbucket"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/bitbucket/bitbucket"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://api-staging-assetroot.s3.amazonaws.com/c/photos/2014/Aug/01/bitbucket-logo-2629490769-3_avatar.png"
|
||||
}
|
||||
},
|
||||
"uuid":"{673a6070-3421-46c9-9d48-90745f7bfe8e}",
|
||||
"full_name":"team_name/repo_name",
|
||||
"name":"repo_name",
|
||||
"scm":"git",
|
||||
"is_private":true
|
||||
}
|
||||
}
|
||||
+182
@@ -0,0 +1,182 @@
|
||||
{
|
||||
"actor":{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"pullrequest":{
|
||||
"id":1,
|
||||
"title":"Title of pull request",
|
||||
"description":"Description of pull request",
|
||||
"state":"OPEN|MERGED|DECLINED",
|
||||
"author":{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"source":{
|
||||
"branch":{
|
||||
"name":"branch2"
|
||||
},
|
||||
"commit":{
|
||||
"hash":"d3022fc0ca3d"
|
||||
},
|
||||
"repository":{
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/repositories/bitbucket/bitbucket"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/bitbucket/bitbucket"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://api-staging-assetroot.s3.amazonaws.com/c/photos/2014/Aug/01/bitbucket-logo-2629490769-3_avatar.png"
|
||||
}
|
||||
},
|
||||
"uuid":"{673a6070-3421-46c9-9d48-90745f7bfe8e}",
|
||||
"full_name":"team_name/repo_name",
|
||||
"name":"repo_name",
|
||||
"scm":"git",
|
||||
"is_private":true
|
||||
}
|
||||
},
|
||||
"destination":{
|
||||
"branch":{
|
||||
"name":"master"
|
||||
},
|
||||
"commit":{
|
||||
"hash":"ce5965ddd289"
|
||||
},
|
||||
"repository":{
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/repositories/bitbucket/bitbucket"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/bitbucket/bitbucket"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://api-staging-assetroot.s3.amazonaws.com/c/photos/2014/Aug/01/bitbucket-logo-2629490769-3_avatar.png"
|
||||
}
|
||||
},
|
||||
"uuid":"{673a6070-3421-46c9-9d48-90745f7bfe8e}",
|
||||
"full_name":"team_name/repo_name",
|
||||
"name":"repo_name",
|
||||
"scm":"git",
|
||||
"is_private":true
|
||||
}
|
||||
},
|
||||
"merge_commit":{
|
||||
"hash":"764413d85e29"
|
||||
},
|
||||
"participants":[
|
||||
{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"reviewers":[
|
||||
{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"close_source_branch":true,
|
||||
"closed_by":{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"reason":"reason for declining the PR (if applicable)",
|
||||
"created_on":"2015-04-06T15:23:38.179678+00:00",
|
||||
"updated_on":"2015-04-06T15:23:38.205705+00:00",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/pullrequests/pullrequest_id"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/pullrequest_id"
|
||||
}
|
||||
}
|
||||
},
|
||||
"repository":{
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/repositories/bitbucket/bitbucket"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/bitbucket/bitbucket"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://api-staging-assetroot.s3.amazonaws.com/c/photos/2014/Aug/01/bitbucket-logo-2629490769-3_avatar.png"
|
||||
}
|
||||
},
|
||||
"uuid":"{673a6070-3421-46c9-9d48-90745f7bfe8e}",
|
||||
"full_name":"team_name/repo_name",
|
||||
"name":"repo_name",
|
||||
"scm":"git",
|
||||
"is_private":true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"actor":{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"repository":{
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/repositories/bitbucket/bitbucket"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/bitbucket/bitbucket"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://api-staging-assetroot.s3.amazonaws.com/c/photos/2014/Aug/01/bitbucket-logo-2629490769-3_avatar.png"
|
||||
}
|
||||
},
|
||||
"uuid":"{673a6070-3421-46c9-9d48-90745f7bfe8e}",
|
||||
"full_name":"team_name/repo_name",
|
||||
"name":"repo_name",
|
||||
"scm":"git",
|
||||
"is_private":true
|
||||
},
|
||||
"commit_status":{
|
||||
"name":"Unit Tests (Python)",
|
||||
"description":"Build started",
|
||||
"state":"INPROGRESS",
|
||||
"key":"mybuildtool",
|
||||
"url":"https://my-build-tool.com/builds/MY-PROJECT/BUILD-777",
|
||||
"type":"build",
|
||||
"created_on":"2015-11-19T20:37:35.547563+00:00",
|
||||
"updated_on":"2015-11-19T20:37:35.547563+00:00",
|
||||
"links":{
|
||||
"commit":{
|
||||
"href":"http://api.bitbucket.org/2.0/repositories/tk/test/commit/9fec847784abb10b2fa567ee63b85bd238955d0e"
|
||||
},
|
||||
"self":{
|
||||
"href":"http://api.bitbucket.org/2.0/repositories/tk/test/commit/9fec847784abb10b2fa567ee63b85bd238955d0e/statuses/build/mybuildtool"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"actor":{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"repository":{
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/repositories/bitbucket/bitbucket"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/bitbucket/bitbucket"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://api-staging-assetroot.s3.amazonaws.com/c/photos/2014/Aug/01/bitbucket-logo-2629490769-3_avatar.png"
|
||||
}
|
||||
},
|
||||
"uuid":"{673a6070-3421-46c9-9d48-90745f7bfe8e}",
|
||||
"full_name":"team_name/repo_name",
|
||||
"name":"repo_name",
|
||||
"scm":"git",
|
||||
"is_private":true
|
||||
},
|
||||
"commit_status":{
|
||||
"name":"Unit Tests (Python)",
|
||||
"description":"All tests passed",
|
||||
"state":"SUCCESSFUL",
|
||||
"key":"mybuildtool",
|
||||
"url":"https://my-build-tool.com/builds/MY-PROJECT/BUILD-792",
|
||||
"type":"build",
|
||||
"created_on":"2015-11-19T20:37:35.547563+00:00",
|
||||
"updated_on":"2015-11-20T08:01:16.433108+00:00",
|
||||
"links":{
|
||||
"commit":{
|
||||
"href":"http://api.bitbucket.org/2.0/repositories/tk/test/commit/9fec847784abb10b2fa567ee63b85bd238955d0e"
|
||||
},
|
||||
"self":{
|
||||
"href":"http://api.bitbucket.org/2.0/repositories/tk/test/commit/9fec847784abb10b2fa567ee63b85bd238955d0e/statuses/build/mybuildtool"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Vendored
+55
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"actor":{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"repository":{
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/repositories/bitbucket/bitbucket"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/bitbucket/bitbucket"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://api-staging-assetroot.s3.amazonaws.com/c/photos/2014/Aug/01/bitbucket-logo-2629490769-3_avatar.png"
|
||||
}
|
||||
},
|
||||
"uuid":"{673a6070-3421-46c9-9d48-90745f7bfe8e}",
|
||||
"full_name":"team_name/repo_name",
|
||||
"name":"repo_name",
|
||||
"scm":"git",
|
||||
"is_private":true
|
||||
},
|
||||
"fork":{
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/repositories/bitbucket/bitbucket"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/bitbucket/bitbucket"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://api-staging-assetroot.s3.amazonaws.com/c/photos/2014/Aug/01/bitbucket-logo-2629490769-3_avatar.png"
|
||||
}
|
||||
},
|
||||
"uuid":"{673a6070-3421-46c9-9d48-90745f7bfe8e}",
|
||||
"full_name":"team_name/repo_name",
|
||||
"name":"repo_name",
|
||||
"scm":"git",
|
||||
"is_private":true
|
||||
}
|
||||
}
|
||||
Vendored
+210
@@ -0,0 +1,210 @@
|
||||
{
|
||||
"actor":{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"repository":{
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/repositories/bitbucket/bitbucket"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/bitbucket/bitbucket"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://api-staging-assetroot.s3.amazonaws.com/c/photos/2014/Aug/01/bitbucket-logo-2629490769-3_avatar.png"
|
||||
}
|
||||
},
|
||||
"uuid":"{673a6070-3421-46c9-9d48-90745f7bfe8e}",
|
||||
"full_name":"team_name/repo_name",
|
||||
"name":"repo_name",
|
||||
"scm":"git",
|
||||
"is_private":true
|
||||
},
|
||||
"push":{
|
||||
"changes":[
|
||||
{
|
||||
"new":{
|
||||
"type":"branch",
|
||||
"name":"name-of-branch",
|
||||
"target":{
|
||||
"type":"commit",
|
||||
"hash":"709d658dc5b6d6afcd46049c2f332ee3f515a67d",
|
||||
"author":{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"message":"new commit message\n",
|
||||
"date":"2015-06-09T03:34:49+00:00",
|
||||
"parents":[
|
||||
{
|
||||
"type":"commit",
|
||||
"hash":"1e65c05c1d5171631d92438a13901ca7dae9618c",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/2.0/repositories/user_name/repo_name/commit/8cbbd65829c7ad834a97841e0defc965718036a0"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://bitbucket.org/user_name/repo_name/commits/8cbbd65829c7ad834a97841e0defc965718036a0"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/2.0/repositories/user_name/repo_name/commit/c4b2b7914156a878aa7c9da452a09fb50c2091f2"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://bitbucket.org/user_name/repo_name/commits/c4b2b7914156a878aa7c9da452a09fb50c2091f2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/2.0/repositories/user_name/repo_name/refs/branches/master"
|
||||
},
|
||||
"commits":{
|
||||
"href":"https://api.bitbucket.org/2.0/repositories/user_name/repo_name/commits/master"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://bitbucket.org/user_name/repo_name/branch/master"
|
||||
}
|
||||
}
|
||||
},
|
||||
"old":{
|
||||
"type":"branch",
|
||||
"name":"name-of-branch",
|
||||
"target":{
|
||||
"type":"commit",
|
||||
"hash":"1e65c05c1d5171631d92438a13901ca7dae9618c",
|
||||
"author":{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"message":"old commit message\n",
|
||||
"date":"2015-06-08T21:34:56+00:00",
|
||||
"parents":[
|
||||
{
|
||||
"type":"commit",
|
||||
"hash":"e0d0c2041e09746be5ce4b55067d5a8e3098c843",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/2.0/repositories/user_name/repo_name/commit/9c4a3452da3bc4f37af5a6bb9c784246f44406f7"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://bitbucket.org/user_name/repo_name/commits/9c4a3452da3bc4f37af5a6bb9c784246f44406f7"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/2.0/repositories/user_name/repo_name/commit/b99ea6dad8f416e57c5ca78c1ccef590600d841b"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://bitbucket.org/user_name/repo_name/commits/b99ea6dad8f416e57c5ca78c1ccef590600d841b"
|
||||
}
|
||||
}
|
||||
},
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/2.0/repositories/user_name/repo_name/refs/branches/master"
|
||||
},
|
||||
"commits":{
|
||||
"href":"https://api.bitbucket.org/2.0/repositories/user_name/repo_name/commits/master"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://bitbucket.org/user_name/repo_name/branch/master"
|
||||
}
|
||||
}
|
||||
},
|
||||
"links":{
|
||||
"html":{
|
||||
"href":"https://bitbucket.org/user_name/repo_name/branches/compare/c4b2b7914156a878aa7c9da452a09fb50c2091f2..b99ea6dad8f416e57c5ca78c1ccef590600d841b"
|
||||
},
|
||||
"diff":{
|
||||
"href":"https://api.bitbucket.org/2.0/repositories/user_name/repo_name/diff/c4b2b7914156a878aa7c9da452a09fb50c2091f2..b99ea6dad8f416e57c5ca78c1ccef590600d841b"
|
||||
},
|
||||
"commits":{
|
||||
"href":"https://api.bitbucket.org/2.0/repositories/user_name/repo_name/commits?include=c4b2b7914156a878aa7c9da452a09fb50c2091f2&exclude=b99ea6dad8f416e57c5ca78c1ccef590600d841b"
|
||||
}
|
||||
},
|
||||
"created":false,
|
||||
"forced":false,
|
||||
"closed":false,
|
||||
"commits":[
|
||||
{
|
||||
"hash":"03f4a7270240708834de475bcf21532d6134777e",
|
||||
"type":"commit",
|
||||
"message":"commit message\n",
|
||||
"author":{
|
||||
"nickname":"emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name":"Emma",
|
||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar":{
|
||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"links":{
|
||||
"self":{
|
||||
"href":"https://api.bitbucket.org/2.0/repositories/user/repo/commit/03f4a7270240708834de475bcf21532d6134777e"
|
||||
},
|
||||
"html":{
|
||||
"href":"https://bitbucket.org/user/repo/commits/03f4a7270240708834de475bcf21532d6134777e"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"truncated":false
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Vendored
+118
@@ -0,0 +1,118 @@
|
||||
{
|
||||
"actor": {
|
||||
"type": "user",
|
||||
"nickname": "emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name": "Emma",
|
||||
"uuid": "{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links": {
|
||||
"self": {
|
||||
"href": "https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html": {
|
||||
"href": "https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar": {
|
||||
"href": "https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"repository": {
|
||||
"type": "repository",
|
||||
"links": {
|
||||
"self": {
|
||||
"href": "https://api.bitbucket.org/api/2.0/repositories/bitbucket/bitbucket"
|
||||
},
|
||||
"html": {
|
||||
"href": "https://api.bitbucket.org/bitbucket/bitbucket"
|
||||
},
|
||||
"avatar": {
|
||||
"href": "https://api-staging-assetroot.s3.amazonaws.com/c/photos/2014/Aug/01/bitbucket-logo-2629490769-3_avatar.png"
|
||||
}
|
||||
},
|
||||
"uuid": "{673a6070-3421-46c9-9d48-90745f7bfe8e}",
|
||||
"project": {
|
||||
"type": "project",
|
||||
"project": "Untitled project",
|
||||
"uuid": "{3b7898dc-6891-4225-ae60-24613bb83080}",
|
||||
"links": {
|
||||
"html": {
|
||||
"href": "https://bitbucket.org/account/user/teamawesome/projects/proj"
|
||||
},
|
||||
"avatar": {
|
||||
"href": "https://bitbucket.org/account/user/teamawesome/projects/proj/avatar/32"
|
||||
}
|
||||
},
|
||||
"key": "proj"
|
||||
},
|
||||
"full_name": "team_name/repo_name",
|
||||
"name": "repo_name",
|
||||
"website": "https://mywebsite.com/",
|
||||
"owner": {
|
||||
"type": "user",
|
||||
"nickname": "emmap1",
|
||||
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||
"display_name": "Emma",
|
||||
"uuid": "{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||
"links": {
|
||||
"self": {
|
||||
"href": "https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"html": {
|
||||
"href": "https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||
},
|
||||
"avatar": {
|
||||
"href": "https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"scm": "git",
|
||||
"is_private": true
|
||||
},
|
||||
"changes": {
|
||||
"name": {
|
||||
"new": "repository",
|
||||
"old": "repository_name"
|
||||
},
|
||||
"website": {
|
||||
"new": "http://www.example.com/",
|
||||
"old": ""
|
||||
},
|
||||
"language": {
|
||||
"new": "java",
|
||||
"old": ""
|
||||
},
|
||||
"links": {
|
||||
"new": {
|
||||
"avatar": {
|
||||
"href": "https://bitbucket.org/teamawesome/repository/avatar/32/"
|
||||
},
|
||||
"self": {
|
||||
"href": "https://api.bitbucket.org/2.0/repositories/teamawesome/repository"
|
||||
},
|
||||
"html": {
|
||||
"href": "https://bitbucket.org/teamawesome/repository"
|
||||
}
|
||||
},
|
||||
"old": {
|
||||
"avatar": {
|
||||
"href": "https://bitbucket.org/teamawesome/repository_name/avatar/32/"
|
||||
},
|
||||
"self": {
|
||||
"href": "https://api.bitbucket.org/2.0/repositories/teamawesome/repository_name"
|
||||
},
|
||||
"html": {
|
||||
"href": "https://bitbucket.org/teamawesome/repository_name"
|
||||
}
|
||||
}
|
||||
},
|
||||
"description": {
|
||||
"new": "This is a better description.",
|
||||
"old": "This is a description."
|
||||
},
|
||||
"full_name": {
|
||||
"new": "teamawesome/repository",
|
||||
"old": "teamawesome/repository_name"
|
||||
}
|
||||
}
|
||||
}
|
||||
+30
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"callback_url": "https://registry.hub.docker.com/u/svendowideit/testhook/hook/2141b5bi5i5b02bec211i4eeih0242eg11000a/",
|
||||
"push_data": {
|
||||
"images": [
|
||||
"27d47432a69bca5f2700e4dff7de0388ed65f9d3fb1ec645e2bc24c223dc1cc3",
|
||||
"51a9c7c1f8bb2fa19bcd09789a34e63f35abb80044bc10196e304f6634cc582c",
|
||||
"..."
|
||||
],
|
||||
"pushed_at": 1.417566161e+09,
|
||||
"pusher": "trustedbuilder",
|
||||
"tag": "latest"
|
||||
},
|
||||
"repository": {
|
||||
"comment_count": 0,
|
||||
"date_created": 1.417494799e+09,
|
||||
"description": "",
|
||||
"dockerfile": "#\n# BUILD\u0009\u0009docker build -t svendowideit/apt-cacher .\n# RUN\u0009\u0009docker run -d -p 3142:3142 -name apt-cacher-run apt-cacher\n#\n# and then you can run containers with:\n# \u0009\u0009docker run -t -i -rm -e http_proxy http://192.168.1.2:3142/ debian bash\n#\nFROM\u0009\u0009ubuntu\n\n\nVOLUME\u0009\u0009[/var/cache/apt-cacher-ng]\nRUN\u0009\u0009apt-get update ; apt-get install -yq apt-cacher-ng\n\nEXPOSE \u0009\u00093142\nCMD\u0009\u0009chmod 777 /var/cache/apt-cacher-ng ; /etc/init.d/apt-cacher-ng start ; tail -f /var/log/apt-cacher-ng/*\n",
|
||||
"full_description": "Docker Hub based automated build from a GitHub repo",
|
||||
"is_official": false,
|
||||
"is_private": true,
|
||||
"is_trusted": true,
|
||||
"name": "testhook",
|
||||
"namespace": "svendowideit",
|
||||
"owner": "svendowideit",
|
||||
"repo_name": "svendowideit/testhook",
|
||||
"repo_url": "https://registry.hub.docker.com/u/svendowideit/testhook/",
|
||||
"star_count": 0,
|
||||
"status": "Active"
|
||||
}
|
||||
}
|
||||
Vendored
+230
@@ -0,0 +1,230 @@
|
||||
{
|
||||
"action": "rerequested",
|
||||
"check_run": {
|
||||
"id": 4,
|
||||
"head_sha": "d6fde92930d4715a2b49857d24b940956b26d2d3",
|
||||
"external_id": "",
|
||||
"url": "https://api.github.com/repos/github/hello-world/check-runs/4",
|
||||
"html_url": "http://github.com/github/hello-world/runs/4",
|
||||
"status": "completed",
|
||||
"conclusion": "neutral",
|
||||
"started_at": "2018-05-04T01:14:52Z",
|
||||
"completed_at": "2018-05-04T01:14:52Z",
|
||||
"output": {
|
||||
"title": "Report",
|
||||
"summary": "It's all good.",
|
||||
"text": "Minus odio facilis repudiandae. Soluta odit aut amet magni nobis. Et voluptatibus ex dolorem et eum.",
|
||||
"annotations_count": 2,
|
||||
"annotations_url": "https://api.github.com/repos/github/hello-world/check-runs/4/annotations"
|
||||
},
|
||||
"name": "randscape",
|
||||
"check_suite": {
|
||||
"id": 5,
|
||||
"head_branch": "master",
|
||||
"head_sha": "d6fde92930d4715a2b49857d24b940956b26d2d3",
|
||||
"status": "completed",
|
||||
"conclusion": "neutral",
|
||||
"url": "https://api.github.com/repos/github/hello-world/check-suites/5",
|
||||
"before": "146e867f55c26428e5f9fade55a9bbf5e95a7912",
|
||||
"after": "d6fde92930d4715a2b49857d24b940956b26d2d3",
|
||||
"pull_requests": [
|
||||
|
||||
],
|
||||
"app": {
|
||||
"id": 2,
|
||||
"node_id": "MDExOkludGVncmF0aW9uMQ==",
|
||||
"owner": {
|
||||
"login": "github",
|
||||
"id": 340,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
|
||||
"avatar_url": "http://alambic.github.com/avatars/u/340?",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/github",
|
||||
"html_url": "http://github.com/github",
|
||||
"followers_url": "https://api.github.com/users/github/followers",
|
||||
"following_url": "https://api.github.com/users/github/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/github/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/github/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/github/orgs",
|
||||
"repos_url": "https://api.github.com/users/github/repos",
|
||||
"events_url": "https://api.github.com/users/github/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/github/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"name": "Super Duper",
|
||||
"description": null,
|
||||
"external_url": "http://super-duper.example.com",
|
||||
"html_url": "http://github.com/apps/super-duper",
|
||||
"created_at": "2018-04-25 20:42:10",
|
||||
"updated_at": "2018-04-25 20:42:10"
|
||||
},
|
||||
"created_at": "2018-05-04T01:14:52Z",
|
||||
"updated_at": "2018-05-04T01:14:52Z"
|
||||
},
|
||||
"app": {
|
||||
"id": 2,
|
||||
"node_id": "MDExOkludGVncmF0aW9uMQ==",
|
||||
"owner": {
|
||||
"login": "github",
|
||||
"id": 340,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
|
||||
"avatar_url": "http://alambic.github.com/avatars/u/340?",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/github",
|
||||
"html_url": "http://github.com/github",
|
||||
"followers_url": "https://api.github.com/users/github/followers",
|
||||
"following_url": "https://api.github.com/users/github/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/github/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/github/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/github/orgs",
|
||||
"repos_url": "https://api.github.com/users/github/repos",
|
||||
"events_url": "https://api.github.com/users/github/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/github/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"name": "Super Duper",
|
||||
"description": null,
|
||||
"external_url": "http://super-duper.example.com",
|
||||
"html_url": "http://github.com/apps/super-duper",
|
||||
"created_at": "2018-04-25 20:42:10",
|
||||
"updated_at": "2018-04-25 20:42:10"
|
||||
},
|
||||
"pull_requests": [
|
||||
|
||||
]
|
||||
},
|
||||
"repository": {
|
||||
"id": 526,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkxMzU0OTMyMzM=",
|
||||
"name": "hello-world",
|
||||
"full_name": "github/hello-world",
|
||||
"owner": {
|
||||
"login": "github",
|
||||
"id": 340,
|
||||
"node_id": "MDQ6VXNlcjIxMDMxMDY3",
|
||||
"avatar_url": "http://alambic.github.com/avatars/u/340?",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/github",
|
||||
"html_url": "http://github.com/github",
|
||||
"followers_url": "https://api.github.com/users/github/followers",
|
||||
"following_url": "https://api.github.com/users/github/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/github/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/github/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/github/orgs",
|
||||
"repos_url": "https://api.github.com/users/github/repos",
|
||||
"events_url": "https://api.github.com/users/github/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/github/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"private": false,
|
||||
"html_url": "http://github.com/github/hello-world",
|
||||
"description": null,
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/github/hello-world",
|
||||
"forks_url": "https://api.github.com/repos/github/hello-world/forks",
|
||||
"keys_url": "https://api.github.com/repos/github/hello-world/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/github/hello-world/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/github/hello-world/teams",
|
||||
"hooks_url": "https://api.github.com/repos/github/hello-world/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/github/hello-world/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/github/hello-world/events",
|
||||
"assignees_url": "https://api.github.com/repos/github/hello-world/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/github/hello-world/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/github/hello-world/tags",
|
||||
"blobs_url": "https://api.github.com/repos/github/hello-world/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/github/hello-world/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/github/hello-world/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/github/hello-world/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/github/hello-world/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/github/hello-world/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/github/hello-world/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/github/hello-world/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/github/hello-world/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/github/hello-world/subscription",
|
||||
"commits_url": "https://api.github.com/repos/github/hello-world/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/github/hello-world/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/github/hello-world/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/github/hello-world/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/github/hello-world/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/github/hello-world/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/github/hello-world/merges",
|
||||
"archive_url": "https://api.github.com/repos/github/hello-world/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/github/hello-world/downloads",
|
||||
"issues_url": "https://api.github.com/repos/github/hello-world/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/github/hello-world/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/github/hello-world/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/github/hello-world/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/github/hello-world/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/github/hello-world/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/github/hello-world/deployments",
|
||||
"created_at": "2018-04-25T20:42:10Z",
|
||||
"updated_at": "2018-04-25T20:43:34Z",
|
||||
"pushed_at": "2018-05-04T01:14:47Z",
|
||||
"git_url": "git://github.com/github/hello-world.git",
|
||||
"ssh_url": "ssh://git@localhost:3035/github/hello-world.git",
|
||||
"clone_url": "http://github.com/github/hello-world.git",
|
||||
"svn_url": "http://github.com/github/hello-world",
|
||||
"homepage": null,
|
||||
"size": 0,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": null,
|
||||
"has_issues": true,
|
||||
"has_projects": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": false,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"archived": false,
|
||||
"open_issues_count": 3,
|
||||
"license": null,
|
||||
"forks": 0,
|
||||
"open_issues": 3,
|
||||
"watchers": 0,
|
||||
"default_branch": "master"
|
||||
},
|
||||
"organization": {
|
||||
"login": "github",
|
||||
"id": 340,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjM4MzAyODk5",
|
||||
"url": "https://api.github.com/orgs/github",
|
||||
"repos_url": "https://api.github.com/orgs/github/repos",
|
||||
"events_url": "https://api.github.com/orgs/github/events",
|
||||
"hooks_url": "https://api.github.com/orgs/github/hooks",
|
||||
"issues_url": "https://api.github.com/orgs/github/issues",
|
||||
"members_url": "https://api.github.com/orgs/github/members{/member}",
|
||||
"public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
|
||||
"avatar_url": "http://alambic.github.com/avatars/u/340?",
|
||||
"description": "How people build software."
|
||||
},
|
||||
"sender": {
|
||||
"login": "octocat",
|
||||
"id": 5346,
|
||||
"node_id": "MDQ6VXNlcjIxMDMxMDY3",
|
||||
"avatar_url": "http://alambic.github.com/avatars/u/5346?",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/octocat",
|
||||
"html_url": "http://github.com/octocat",
|
||||
"followers_url": "https://api.github.com/users/octocat/followers",
|
||||
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/octocat/orgs",
|
||||
"repos_url": "https://api.github.com/users/octocat/repos",
|
||||
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/octocat/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"installation": {
|
||||
"id": 1
|
||||
}
|
||||
}
|
||||
Vendored
+194
@@ -0,0 +1,194 @@
|
||||
{
|
||||
"action": "requested",
|
||||
"check_suite": {
|
||||
"id": 5,
|
||||
"head_branch": "master",
|
||||
"head_sha": "d6fde92930d4715a2b49857d24b940956b26d2d3",
|
||||
"status": "completed",
|
||||
"conclusion": "neutral",
|
||||
"url": "https://api.github.com/repos/github/hello-world/check-suites/5",
|
||||
"before": "146e867f55c26428e5f9fade55a9bbf5e95a7912",
|
||||
"after": "d6fde92930d4715a2b49857d24b940956b26d2d3",
|
||||
"pull_requests": [
|
||||
|
||||
],
|
||||
"app": {
|
||||
"id": 2,
|
||||
"node_id": "MDExOkludGVncmF0aW9uMQ==",
|
||||
"owner": {
|
||||
"login": "github",
|
||||
"id": 340,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
|
||||
"avatar_url": "http://alambic.github.com/avatars/u/340?",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/github",
|
||||
"html_url": "http://github.com/github",
|
||||
"followers_url": "https://api.github.com/users/github/followers",
|
||||
"following_url": "https://api.github.com/users/github/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/github/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/github/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/github/orgs",
|
||||
"repos_url": "https://api.github.com/users/github/repos",
|
||||
"events_url": "https://api.github.com/users/github/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/github/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"name": "Super Duper",
|
||||
"description": null,
|
||||
"external_url": "http://super-duper.example.com",
|
||||
"html_url": "http://github.com/apps/super-duper",
|
||||
"created_at": "2018-04-25 20:42:10",
|
||||
"updated_at": "2018-04-25 20:42:10"
|
||||
},
|
||||
"created_at": "2018-05-04T01:14:52Z",
|
||||
"updated_at": "2018-05-04T01:14:52Z",
|
||||
"latest_check_runs_count": 1,
|
||||
"check_runs_url": "https://api.github.com/repos/github/hello-world/check-suites/5/check-runs",
|
||||
"head_commit": {
|
||||
"id": "d6fde92930d4715a2b49857d24b940956b26d2d3",
|
||||
"tree_id": "41a846c7d878d279f11355e23b348e1bb63b89a8",
|
||||
"message": "Say hello (again) to everybody",
|
||||
"timestamp": "2018-05-04T01:14:46Z",
|
||||
"author": {
|
||||
"name": "octocat",
|
||||
"email": "octocat@github.com"
|
||||
},
|
||||
"committer": {
|
||||
"name": "octocat",
|
||||
"email": "octocat@github.com"
|
||||
}
|
||||
}
|
||||
},
|
||||
"repository": {
|
||||
"id": 526,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkxMzU0OTMyMzM=",
|
||||
"name": "hello-world",
|
||||
"full_name": "github/hello-world",
|
||||
"owner": {
|
||||
"login": "github",
|
||||
"id": 340,
|
||||
"node_id": "MDQ6VXNlcjIxMDMxMDY3",
|
||||
"avatar_url": "http://alambic.github.com/avatars/u/340?",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/github",
|
||||
"html_url": "http://github.com/github",
|
||||
"followers_url": "https://api.github.com/users/github/followers",
|
||||
"following_url": "https://api.github.com/users/github/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/github/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/github/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/github/orgs",
|
||||
"repos_url": "https://api.github.com/users/github/repos",
|
||||
"events_url": "https://api.github.com/users/github/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/github/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"private": false,
|
||||
"html_url": "http://github.com/github/hello-world",
|
||||
"description": null,
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/github/hello-world",
|
||||
"forks_url": "https://api.github.com/repos/github/hello-world/forks",
|
||||
"keys_url": "https://api.github.com/repos/github/hello-world/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/github/hello-world/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/github/hello-world/teams",
|
||||
"hooks_url": "https://api.github.com/repos/github/hello-world/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/github/hello-world/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/github/hello-world/events",
|
||||
"assignees_url": "https://api.github.com/repos/github/hello-world/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/github/hello-world/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/github/hello-world/tags",
|
||||
"blobs_url": "https://api.github.com/repos/github/hello-world/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/github/hello-world/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/github/hello-world/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/github/hello-world/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/github/hello-world/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/github/hello-world/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/github/hello-world/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/github/hello-world/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/github/hello-world/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/github/hello-world/subscription",
|
||||
"commits_url": "https://api.github.com/repos/github/hello-world/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/github/hello-world/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/github/hello-world/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/github/hello-world/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/github/hello-world/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/github/hello-world/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/github/hello-world/merges",
|
||||
"archive_url": "https://api.github.com/repos/github/hello-world/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/github/hello-world/downloads",
|
||||
"issues_url": "https://api.github.com/repos/github/hello-world/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/github/hello-world/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/github/hello-world/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/github/hello-world/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/github/hello-world/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/github/hello-world/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/github/hello-world/deployments",
|
||||
"created_at": "2018-04-25T20:42:10Z",
|
||||
"updated_at": "2018-04-25T20:43:34Z",
|
||||
"pushed_at": "2018-05-04T01:14:47Z",
|
||||
"git_url": "git://github.com/github/hello-world.git",
|
||||
"ssh_url": "ssh://git@localhost:3035/github/hello-world.git",
|
||||
"clone_url": "http://github.com/github/hello-world.git",
|
||||
"svn_url": "http://github.com/github/hello-world",
|
||||
"homepage": null,
|
||||
"size": 0,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": null,
|
||||
"has_issues": true,
|
||||
"has_projects": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": false,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"archived": false,
|
||||
"open_issues_count": 3,
|
||||
"license": null,
|
||||
"forks": 0,
|
||||
"open_issues": 3,
|
||||
"watchers": 0,
|
||||
"default_branch": "master"
|
||||
},
|
||||
"organization": {
|
||||
"login": "github",
|
||||
"id": 340,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjM4MzAyODk5",
|
||||
"url": "https://api.github.com/orgs/github",
|
||||
"repos_url": "https://api.github.com/orgs/github/repos",
|
||||
"events_url": "https://api.github.com/orgs/github/events",
|
||||
"hooks_url": "https://api.github.com/orgs/github/hooks",
|
||||
"issues_url": "https://api.github.com/orgs/github/issues",
|
||||
"members_url": "https://api.github.com/orgs/github/members{/member}",
|
||||
"public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
|
||||
"avatar_url": "http://alambic.github.com/avatars/u/340?",
|
||||
"description": "How people build software."
|
||||
},
|
||||
"sender": {
|
||||
"login": "octocat",
|
||||
"id": 5346,
|
||||
"node_id": "MDQ6VXNlcjIxMDMxMDY3",
|
||||
"avatar_url": "http://alambic.github.com/avatars/u/5346?",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/octocat",
|
||||
"html_url": "http://github.com/octocat",
|
||||
"followers_url": "https://api.github.com/users/octocat/followers",
|
||||
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/octocat/orgs",
|
||||
"repos_url": "https://api.github.com/users/octocat/repos",
|
||||
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/octocat/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"installation": {
|
||||
"id": 1
|
||||
}
|
||||
}
|
||||
Vendored
+140
@@ -0,0 +1,140 @@
|
||||
{
|
||||
"action": "created",
|
||||
"comment": {
|
||||
"url": "https://api.github.com/repos/baxterthehacker/public-repo/comments/11056394",
|
||||
"html_url": "https://github.com/baxterthehacker/public-repo/commit/9049f1265b7d61be4a8904a9a27120d2064dab3b#commitcomment-11056394",
|
||||
"id": 11056394,
|
||||
"user": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"position": null,
|
||||
"line": null,
|
||||
"path": null,
|
||||
"commit_id": "9049f1265b7d61be4a8904a9a27120d2064dab3b",
|
||||
"created_at": "2015-05-05T23:40:29Z",
|
||||
"updated_at": "2015-05-05T23:40:29Z",
|
||||
"body": "This is a really good change! :+1:"
|
||||
},
|
||||
"repository": {
|
||||
"id": 35129377,
|
||||
"name": "public-repo",
|
||||
"full_name": "baxterthehacker/public-repo",
|
||||
"owner": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"private": false,
|
||||
"html_url": "https://github.com/baxterthehacker/public-repo",
|
||||
"description": "",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/baxterthehacker/public-repo",
|
||||
"forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",
|
||||
"keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",
|
||||
"hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",
|
||||
"assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",
|
||||
"blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",
|
||||
"commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",
|
||||
"archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",
|
||||
"issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",
|
||||
"created_at": "2015-05-05T23:40:12Z",
|
||||
"updated_at": "2015-05-05T23:40:12Z",
|
||||
"pushed_at": "2015-05-05T23:40:27Z",
|
||||
"git_url": "git://github.com/baxterthehacker/public-repo.git",
|
||||
"ssh_url": "git@github.com:baxterthehacker/public-repo.git",
|
||||
"clone_url": "https://github.com/baxterthehacker/public-repo.git",
|
||||
"svn_url": "https://github.com/baxterthehacker/public-repo",
|
||||
"homepage": null,
|
||||
"size": 0,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": null,
|
||||
"has_issues": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": true,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"open_issues_count": 2,
|
||||
"forks": 0,
|
||||
"open_issues": 2,
|
||||
"watchers": 0,
|
||||
"default_branch": "master"
|
||||
},
|
||||
"sender": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
}
|
||||
}
|
||||
Vendored
+113
@@ -0,0 +1,113 @@
|
||||
{
|
||||
"ref": "0.0.1",
|
||||
"ref_type": "tag",
|
||||
"master_branch": "master",
|
||||
"description": "",
|
||||
"pusher_type": "user",
|
||||
"repository": {
|
||||
"id": 35129377,
|
||||
"name": "public-repo",
|
||||
"full_name": "baxterthehacker/public-repo",
|
||||
"owner": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"private": false,
|
||||
"html_url": "https://github.com/baxterthehacker/public-repo",
|
||||
"description": "",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/baxterthehacker/public-repo",
|
||||
"forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",
|
||||
"keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",
|
||||
"hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",
|
||||
"assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",
|
||||
"blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",
|
||||
"commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",
|
||||
"archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",
|
||||
"issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",
|
||||
"created_at": "2015-05-05T23:40:12Z",
|
||||
"updated_at": "2015-05-05T23:40:30Z",
|
||||
"pushed_at": "2015-05-05T23:40:38Z",
|
||||
"git_url": "git://github.com/baxterthehacker/public-repo.git",
|
||||
"ssh_url": "git@github.com:baxterthehacker/public-repo.git",
|
||||
"clone_url": "https://github.com/baxterthehacker/public-repo.git",
|
||||
"svn_url": "https://github.com/baxterthehacker/public-repo",
|
||||
"homepage": null,
|
||||
"size": 0,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": null,
|
||||
"has_issues": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": true,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"open_issues_count": 2,
|
||||
"forks": 0,
|
||||
"open_issues": 2,
|
||||
"watchers": 0,
|
||||
"default_branch": "master"
|
||||
},
|
||||
"sender": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
}
|
||||
}
|
||||
Vendored
+111
@@ -0,0 +1,111 @@
|
||||
{
|
||||
"ref": "simple-tag",
|
||||
"ref_type": "tag",
|
||||
"pusher_type": "user",
|
||||
"repository": {
|
||||
"id": 35129377,
|
||||
"name": "public-repo",
|
||||
"full_name": "baxterthehacker/public-repo",
|
||||
"owner": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"private": false,
|
||||
"html_url": "https://github.com/baxterthehacker/public-repo",
|
||||
"description": "",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/baxterthehacker/public-repo",
|
||||
"forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",
|
||||
"keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",
|
||||
"hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",
|
||||
"assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",
|
||||
"blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",
|
||||
"commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",
|
||||
"archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",
|
||||
"issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",
|
||||
"created_at": "2015-05-05T23:40:12Z",
|
||||
"updated_at": "2015-05-05T23:40:30Z",
|
||||
"pushed_at": "2015-05-05T23:40:40Z",
|
||||
"git_url": "git://github.com/baxterthehacker/public-repo.git",
|
||||
"ssh_url": "git@github.com:baxterthehacker/public-repo.git",
|
||||
"clone_url": "https://github.com/baxterthehacker/public-repo.git",
|
||||
"svn_url": "https://github.com/baxterthehacker/public-repo",
|
||||
"homepage": null,
|
||||
"size": 0,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": null,
|
||||
"has_issues": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": true,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"open_issues_count": 2,
|
||||
"forks": 0,
|
||||
"open_issues": 2,
|
||||
"watchers": 0,
|
||||
"default_branch": "master"
|
||||
},
|
||||
"sender": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
}
|
||||
}
|
||||
Vendored
+125
@@ -0,0 +1,125 @@
|
||||
{
|
||||
"action": "created",
|
||||
"key": {
|
||||
"id": 100,
|
||||
"key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQConScVc7ouWWgwcjneNnJ4PScDkkwEjuDL5leLIUU5aIg13dH55/f4aqKUSvfcLUOKJ0a8073tFqMbR9rfvLAhLGeStKxmYApJXpzVkphauu7kfNW8kQNi1fI4kmHyOpQ+dKtoonzjZAT4L9AV3FlVTOfRq3U8wJ2RPwU+4EtOpMKUF+wcoDJ5ONlKBOW6uAeBt/guBiu6r3awDClDGRo4Q2YCmMceiAyoiuXcr2mFNSyzTqU1f20fftFwucV/VqnxlJjZvZ/zhlfB+v+UgQN11pJJ5vChZ7bzyRtIRRsjxbTReyWxqVZ5hEle5sm1oAR97abW9zTWfwIABgClKo+z",
|
||||
"url": "https://api.github.com/repos/Codertocat/Hello-World/keys/100",
|
||||
"title": "hey-its-a-deploy-key",
|
||||
"verified": true,
|
||||
"created_at": "2019-04-02T17:37:07Z",
|
||||
"read_only": true
|
||||
},
|
||||
"repository": {
|
||||
"id": 135493233,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkxMzU0OTMyMzM=",
|
||||
"name": "Hello-World",
|
||||
"full_name": "Codertocat/Hello-World",
|
||||
"owner": {
|
||||
"login": "Codertocat",
|
||||
"id": 21031067,
|
||||
"node_id": "MDQ6VXNlcjIxMDMxMDY3",
|
||||
"avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/Codertocat",
|
||||
"html_url": "https://github.com/Codertocat",
|
||||
"followers_url": "https://api.github.com/users/Codertocat/followers",
|
||||
"following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/Codertocat/orgs",
|
||||
"repos_url": "https://api.github.com/users/Codertocat/repos",
|
||||
"events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/Codertocat/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"private": false,
|
||||
"html_url": "https://github.com/Codertocat/Hello-World",
|
||||
"description": null,
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/Codertocat/Hello-World",
|
||||
"forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks",
|
||||
"keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams",
|
||||
"hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/Codertocat/Hello-World/events",
|
||||
"assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags",
|
||||
"blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription",
|
||||
"commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges",
|
||||
"archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads",
|
||||
"issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments",
|
||||
"created_at": "2018-05-30T20:18:04Z",
|
||||
"updated_at": "2018-05-30T20:18:50Z",
|
||||
"pushed_at": "2018-05-30T20:18:48Z",
|
||||
"git_url": "git://github.com/Codertocat/Hello-World.git",
|
||||
"ssh_url": "git@github.com:Codertocat/Hello-World.git",
|
||||
"clone_url": "https://github.com/Codertocat/Hello-World.git",
|
||||
"svn_url": "https://github.com/Codertocat/Hello-World",
|
||||
"homepage": null,
|
||||
"size": 0,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": null,
|
||||
"has_issues": true,
|
||||
"has_projects": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": true,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"archived": false,
|
||||
"open_issues_count": 1,
|
||||
"license": null,
|
||||
"forks": 0,
|
||||
"open_issues": 1,
|
||||
"watchers": 0,
|
||||
"default_branch": "master"
|
||||
},
|
||||
"sender": {
|
||||
"login": "Codertocat",
|
||||
"id": 21031067,
|
||||
"node_id": "MDQ6VXNlcjIxMDMxMDY3",
|
||||
"avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/Codertocat",
|
||||
"html_url": "https://github.com/Codertocat",
|
||||
"followers_url": "https://api.github.com/users/Codertocat/followers",
|
||||
"following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/Codertocat/orgs",
|
||||
"repos_url": "https://api.github.com/users/Codertocat/repos",
|
||||
"events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/Codertocat/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
}
|
||||
}
|
||||
+172
@@ -0,0 +1,172 @@
|
||||
{
|
||||
"deployment_status": {
|
||||
"url": "https://api.github.com/repos/baxterthehacker/public-repo/deployments/710692/statuses/1115122",
|
||||
"id": 1115122,
|
||||
"state": "success",
|
||||
"creator": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"description": null,
|
||||
"target_url": null,
|
||||
"created_at": "2015-05-05T23:40:39Z",
|
||||
"updated_at": "2015-05-05T23:40:39Z",
|
||||
"deployment_url": "https://api.github.com/repos/baxterthehacker/public-repo/deployments/710692",
|
||||
"repository_url": "https://api.github.com/repos/baxterthehacker/public-repo"
|
||||
},
|
||||
"deployment": {
|
||||
"url": "https://api.github.com/repos/baxterthehacker/public-repo/deployments/710692",
|
||||
"id": 710692,
|
||||
"sha": "9049f1265b7d61be4a8904a9a27120d2064dab3b",
|
||||
"ref": "master",
|
||||
"task": "deploy",
|
||||
"payload": {
|
||||
},
|
||||
"environment": "production",
|
||||
"description": null,
|
||||
"creator": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"created_at": "2015-05-05T23:40:38Z",
|
||||
"updated_at": "2015-05-05T23:40:38Z",
|
||||
"statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/deployments/710692/statuses",
|
||||
"repository_url": "https://api.github.com/repos/baxterthehacker/public-repo"
|
||||
},
|
||||
"repository": {
|
||||
"id": 35129377,
|
||||
"name": "public-repo",
|
||||
"full_name": "baxterthehacker/public-repo",
|
||||
"owner": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"private": false,
|
||||
"html_url": "https://github.com/baxterthehacker/public-repo",
|
||||
"description": "",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/baxterthehacker/public-repo",
|
||||
"forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",
|
||||
"keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",
|
||||
"hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",
|
||||
"assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",
|
||||
"blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",
|
||||
"commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",
|
||||
"archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",
|
||||
"issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",
|
||||
"created_at": "2015-05-05T23:40:12Z",
|
||||
"updated_at": "2015-05-05T23:40:30Z",
|
||||
"pushed_at": "2015-05-05T23:40:38Z",
|
||||
"git_url": "git://github.com/baxterthehacker/public-repo.git",
|
||||
"ssh_url": "git@github.com:baxterthehacker/public-repo.git",
|
||||
"clone_url": "https://github.com/baxterthehacker/public-repo.git",
|
||||
"svn_url": "https://github.com/baxterthehacker/public-repo",
|
||||
"homepage": null,
|
||||
"size": 0,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": null,
|
||||
"has_issues": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": true,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"open_issues_count": 2,
|
||||
"forks": 0,
|
||||
"open_issues": 2,
|
||||
"watchers": 0,
|
||||
"default_branch": "master"
|
||||
},
|
||||
"sender": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
}
|
||||
}
|
||||
Vendored
+142
@@ -0,0 +1,142 @@
|
||||
{
|
||||
"deployment": {
|
||||
"url": "https://api.github.com/repos/baxterthehacker/public-repo/deployments/710692",
|
||||
"id": 710692,
|
||||
"sha": "9049f1265b7d61be4a8904a9a27120d2064dab3b",
|
||||
"ref": "master",
|
||||
"task": "deploy",
|
||||
"payload": {
|
||||
},
|
||||
"environment": "production",
|
||||
"description": null,
|
||||
"creator": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"created_at": "2015-05-05T23:40:38Z",
|
||||
"updated_at": "2015-05-05T23:40:38Z",
|
||||
"statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/deployments/710692/statuses",
|
||||
"repository_url": "https://api.github.com/repos/baxterthehacker/public-repo"
|
||||
},
|
||||
"repository": {
|
||||
"id": 35129377,
|
||||
"name": "public-repo",
|
||||
"full_name": "baxterthehacker/public-repo",
|
||||
"owner": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"private": false,
|
||||
"html_url": "https://github.com/baxterthehacker/public-repo",
|
||||
"description": "",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/baxterthehacker/public-repo",
|
||||
"forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",
|
||||
"keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",
|
||||
"hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",
|
||||
"assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",
|
||||
"blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",
|
||||
"commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",
|
||||
"archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",
|
||||
"issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",
|
||||
"created_at": "2015-05-05T23:40:12Z",
|
||||
"updated_at": "2015-05-05T23:40:30Z",
|
||||
"pushed_at": "2015-05-05T23:40:38Z",
|
||||
"git_url": "git://github.com/baxterthehacker/public-repo.git",
|
||||
"ssh_url": "git@github.com:baxterthehacker/public-repo.git",
|
||||
"clone_url": "https://github.com/baxterthehacker/public-repo.git",
|
||||
"svn_url": "https://github.com/baxterthehacker/public-repo",
|
||||
"homepage": null,
|
||||
"size": 0,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": null,
|
||||
"has_issues": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": true,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"open_issues_count": 2,
|
||||
"forks": 0,
|
||||
"open_issues": 2,
|
||||
"watchers": 0,
|
||||
"default_branch": "master"
|
||||
},
|
||||
"sender": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
}
|
||||
}
|
||||
Vendored
+196
@@ -0,0 +1,196 @@
|
||||
{
|
||||
"forkee": {
|
||||
"id": 35129393,
|
||||
"name": "public-repo",
|
||||
"full_name": "baxterandthehackers/public-repo",
|
||||
"owner": {
|
||||
"login": "baxterandthehackers",
|
||||
"id": 7649605,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7649605?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterandthehackers",
|
||||
"html_url": "https://github.com/baxterandthehackers",
|
||||
"followers_url": "https://api.github.com/users/baxterandthehackers/followers",
|
||||
"following_url": "https://api.github.com/users/baxterandthehackers/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterandthehackers/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterandthehackers/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterandthehackers/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterandthehackers/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterandthehackers/repos",
|
||||
"events_url": "https://api.github.com/users/baxterandthehackers/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterandthehackers/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"private": false,
|
||||
"html_url": "https://github.com/baxterandthehackers/public-repo",
|
||||
"description": "",
|
||||
"fork": true,
|
||||
"url": "https://api.github.com/repos/baxterandthehackers/public-repo",
|
||||
"forks_url": "https://api.github.com/repos/baxterandthehackers/public-repo/forks",
|
||||
"keys_url": "https://api.github.com/repos/baxterandthehackers/public-repo/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/baxterandthehackers/public-repo/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/baxterandthehackers/public-repo/teams",
|
||||
"hooks_url": "https://api.github.com/repos/baxterandthehackers/public-repo/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/baxterandthehackers/public-repo/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/baxterandthehackers/public-repo/events",
|
||||
"assignees_url": "https://api.github.com/repos/baxterandthehackers/public-repo/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/baxterandthehackers/public-repo/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/baxterandthehackers/public-repo/tags",
|
||||
"blobs_url": "https://api.github.com/repos/baxterandthehackers/public-repo/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/baxterandthehackers/public-repo/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/baxterandthehackers/public-repo/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/baxterandthehackers/public-repo/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/baxterandthehackers/public-repo/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/baxterandthehackers/public-repo/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/baxterandthehackers/public-repo/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/baxterandthehackers/public-repo/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/baxterandthehackers/public-repo/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/baxterandthehackers/public-repo/subscription",
|
||||
"commits_url": "https://api.github.com/repos/baxterandthehackers/public-repo/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/baxterandthehackers/public-repo/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/baxterandthehackers/public-repo/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/baxterandthehackers/public-repo/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/baxterandthehackers/public-repo/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/baxterandthehackers/public-repo/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/baxterandthehackers/public-repo/merges",
|
||||
"archive_url": "https://api.github.com/repos/baxterandthehackers/public-repo/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/baxterandthehackers/public-repo/downloads",
|
||||
"issues_url": "https://api.github.com/repos/baxterandthehackers/public-repo/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/baxterandthehackers/public-repo/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/baxterandthehackers/public-repo/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/baxterandthehackers/public-repo/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/baxterandthehackers/public-repo/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/baxterandthehackers/public-repo/releases{/id}",
|
||||
"created_at": "2015-05-05T23:40:30Z",
|
||||
"updated_at": "2015-05-05T23:40:30Z",
|
||||
"pushed_at": "2015-05-05T23:40:27Z",
|
||||
"git_url": "git://github.com/baxterandthehackers/public-repo.git",
|
||||
"ssh_url": "git@github.com:baxterandthehackers/public-repo.git",
|
||||
"clone_url": "https://github.com/baxterandthehackers/public-repo.git",
|
||||
"svn_url": "https://github.com/baxterandthehackers/public-repo",
|
||||
"homepage": null,
|
||||
"size": 0,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": null,
|
||||
"has_issues": false,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": true,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"open_issues_count": 0,
|
||||
"forks": 0,
|
||||
"open_issues": 0,
|
||||
"watchers": 0,
|
||||
"default_branch": "master",
|
||||
"public": true
|
||||
},
|
||||
"repository": {
|
||||
"id": 35129377,
|
||||
"name": "public-repo",
|
||||
"full_name": "baxterthehacker/public-repo",
|
||||
"owner": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"private": false,
|
||||
"html_url": "https://github.com/baxterthehacker/public-repo",
|
||||
"description": "",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/baxterthehacker/public-repo",
|
||||
"forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",
|
||||
"keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",
|
||||
"hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",
|
||||
"assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",
|
||||
"blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",
|
||||
"commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",
|
||||
"archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",
|
||||
"issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",
|
||||
"created_at": "2015-05-05T23:40:12Z",
|
||||
"updated_at": "2015-05-05T23:40:30Z",
|
||||
"pushed_at": "2015-05-05T23:40:27Z",
|
||||
"git_url": "git://github.com/baxterthehacker/public-repo.git",
|
||||
"ssh_url": "git@github.com:baxterthehacker/public-repo.git",
|
||||
"clone_url": "https://github.com/baxterthehacker/public-repo.git",
|
||||
"svn_url": "https://github.com/baxterthehacker/public-repo",
|
||||
"homepage": null,
|
||||
"size": 0,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": null,
|
||||
"has_issues": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": true,
|
||||
"forks_count": 1,
|
||||
"mirror_url": null,
|
||||
"open_issues_count": 2,
|
||||
"forks": 1,
|
||||
"open_issues": 2,
|
||||
"watchers": 0,
|
||||
"default_branch": "master"
|
||||
},
|
||||
"sender": {
|
||||
"login": "baxterandthehackers",
|
||||
"id": 7649605,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7649605?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterandthehackers",
|
||||
"html_url": "https://github.com/baxterandthehackers",
|
||||
"followers_url": "https://api.github.com/users/baxterandthehackers/followers",
|
||||
"following_url": "https://api.github.com/users/baxterandthehackers/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterandthehackers/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterandthehackers/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterandthehackers/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterandthehackers/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterandthehackers/repos",
|
||||
"events_url": "https://api.github.com/users/baxterandthehackers/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterandthehackers/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
}
|
||||
}
|
||||
Vendored
+118
@@ -0,0 +1,118 @@
|
||||
{
|
||||
"pages": [
|
||||
{
|
||||
"page_name": "Home",
|
||||
"title": "Home",
|
||||
"summary": null,
|
||||
"action": "created",
|
||||
"sha": "91ea1bd42aa2ba166b86e8aefe049e9837214e67",
|
||||
"html_url": "https://github.com/baxterthehacker/public-repo/wiki/Home"
|
||||
}
|
||||
],
|
||||
"repository": {
|
||||
"id": 35129377,
|
||||
"name": "public-repo",
|
||||
"full_name": "baxterthehacker/public-repo",
|
||||
"owner": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"private": false,
|
||||
"html_url": "https://github.com/baxterthehacker/public-repo",
|
||||
"description": "",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/baxterthehacker/public-repo",
|
||||
"forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",
|
||||
"keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",
|
||||
"hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",
|
||||
"assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",
|
||||
"blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",
|
||||
"commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",
|
||||
"archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",
|
||||
"issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",
|
||||
"created_at": "2015-05-05T23:40:12Z",
|
||||
"updated_at": "2015-05-05T23:40:12Z",
|
||||
"pushed_at": "2015-05-05T23:40:17Z",
|
||||
"git_url": "git://github.com/baxterthehacker/public-repo.git",
|
||||
"ssh_url": "git@github.com:baxterthehacker/public-repo.git",
|
||||
"clone_url": "https://github.com/baxterthehacker/public-repo.git",
|
||||
"svn_url": "https://github.com/baxterthehacker/public-repo",
|
||||
"homepage": null,
|
||||
"size": 0,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": null,
|
||||
"has_issues": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": true,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"open_issues_count": 0,
|
||||
"forks": 0,
|
||||
"open_issues": 0,
|
||||
"watchers": 0,
|
||||
"default_branch": "master"
|
||||
},
|
||||
"sender": {
|
||||
"login": "jasonrudolph",
|
||||
"id": 2988,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/2988?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/jasonrudolph",
|
||||
"html_url": "https://github.com/jasonrudolph",
|
||||
"followers_url": "https://api.github.com/users/jasonrudolph/followers",
|
||||
"following_url": "https://api.github.com/users/jasonrudolph/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/jasonrudolph/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/jasonrudolph/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/jasonrudolph/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/jasonrudolph/orgs",
|
||||
"repos_url": "https://api.github.com/users/jasonrudolph/repos",
|
||||
"events_url": "https://api.github.com/users/jasonrudolph/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/jasonrudolph/received_events",
|
||||
"type": "User",
|
||||
"site_admin": true
|
||||
}
|
||||
}
|
||||
+77
@@ -0,0 +1,77 @@
|
||||
{
|
||||
"action": "removed",
|
||||
"installation": {
|
||||
"id": 2,
|
||||
"account": {
|
||||
"login": "octocat",
|
||||
"id": 1,
|
||||
"node_id": "MDQ6VXNlcjE=",
|
||||
"avatar_url": "https://github.com/images/error/octocat_happy.gif",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/octocat",
|
||||
"html_url": "https://github.com/octocat",
|
||||
"followers_url": "https://api.github.com/users/octocat/followers",
|
||||
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/octocat/orgs",
|
||||
"repos_url": "https://api.github.com/users/octocat/repos",
|
||||
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/octocat/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"repository_selection": "selected",
|
||||
"access_tokens_url": "https://api.github.com/installations/2/access_tokens",
|
||||
"repositories_url": "https://api.github.com/installation/repositories",
|
||||
"html_url": "https://github.com/settings/installations/2",
|
||||
"app_id": 5725,
|
||||
"target_id": 3880403,
|
||||
"target_type": "User",
|
||||
"permissions": {
|
||||
"metadata": "read",
|
||||
"contents": "read",
|
||||
"issues": "write"
|
||||
},
|
||||
"events": [
|
||||
"push",
|
||||
"pull_request"
|
||||
],
|
||||
"created_at": "2022-03-02T18:02:51.000Z",
|
||||
"updated_at": "2022-03-02T18:02:51.000Z",
|
||||
"single_file_name": "config.yml"
|
||||
},
|
||||
"repository_selection": "selected",
|
||||
"repositories_added": [
|
||||
|
||||
],
|
||||
"repositories_removed": [
|
||||
{
|
||||
"id": 1296269,
|
||||
"name": "Hello-World",
|
||||
"full_name": "octocat/Hello-World",
|
||||
"private": false
|
||||
}
|
||||
],
|
||||
"sender": {
|
||||
"login": "octocat",
|
||||
"id": 1,
|
||||
"node_id": "MDQ6VXNlcjE=",
|
||||
"avatar_url": "https://github.com/images/error/octocat_happy.gif",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/octocat",
|
||||
"html_url": "https://github.com/octocat",
|
||||
"followers_url": "https://api.github.com/users/octocat/followers",
|
||||
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/octocat/orgs",
|
||||
"repos_url": "https://api.github.com/users/octocat/repos",
|
||||
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/octocat/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
}
|
||||
}
|
||||
Vendored
+73
@@ -0,0 +1,73 @@
|
||||
{
|
||||
"action": "deleted",
|
||||
"installation": {
|
||||
"id": 2,
|
||||
"account": {
|
||||
"login": "octocat",
|
||||
"id": 1,
|
||||
"node_id": "MDQ6VXNlcjE=",
|
||||
"avatar_url": "https://github.com/images/error/octocat_happy.gif",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/octocat",
|
||||
"html_url": "https://github.com/octocat",
|
||||
"followers_url": "https://api.github.com/users/octocat/followers",
|
||||
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/octocat/orgs",
|
||||
"repos_url": "https://api.github.com/users/octocat/repos",
|
||||
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/octocat/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"repository_selection": "selected",
|
||||
"access_tokens_url": "https://api.github.com/installations/2/access_tokens",
|
||||
"repositories_url": "https://api.github.com/installation/repositories",
|
||||
"html_url": "https://github.com/settings/installations/2",
|
||||
"app_id": 5725,
|
||||
"target_id": 3880403,
|
||||
"target_type": "User",
|
||||
"permissions": {
|
||||
"metadata": "read",
|
||||
"contents": "read",
|
||||
"issues": "write"
|
||||
},
|
||||
"events": [
|
||||
"push",
|
||||
"pull_request"
|
||||
],
|
||||
"created_at": "2022-03-02T18:02:51.000Z",
|
||||
"updated_at": "2022-03-02T18:02:51.000Z",
|
||||
"single_file_name": "config.yml"
|
||||
},
|
||||
"repositories": [
|
||||
{
|
||||
"id": 1296269,
|
||||
"name": "Hello-World",
|
||||
"full_name": "octocat/Hello-World",
|
||||
"private": false
|
||||
}
|
||||
],
|
||||
"sender": {
|
||||
"login": "octocat",
|
||||
"id": 1,
|
||||
"node_id": "MDQ6VXNlcjE=",
|
||||
"avatar_url": "https://github.com/images/error/octocat_happy.gif",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/octocat",
|
||||
"html_url": "https://github.com/octocat",
|
||||
"followers_url": "https://api.github.com/users/octocat/followers",
|
||||
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/octocat/orgs",
|
||||
"repos_url": "https://api.github.com/users/octocat/repos",
|
||||
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/octocat/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
{
|
||||
"action": "removed",
|
||||
"installation": {
|
||||
"id": 2,
|
||||
"account": {
|
||||
"login": "octocat",
|
||||
"id": 1,
|
||||
"node_id": "MDQ6VXNlcjE=",
|
||||
"avatar_url": "https://github.com/images/error/octocat_happy.gif",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/octocat",
|
||||
"html_url": "https://github.com/octocat",
|
||||
"followers_url": "https://api.github.com/users/octocat/followers",
|
||||
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/octocat/orgs",
|
||||
"repos_url": "https://api.github.com/users/octocat/repos",
|
||||
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/octocat/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"repository_selection": "selected",
|
||||
"access_tokens_url": "https://api.github.com/installations/2/access_tokens",
|
||||
"repositories_url": "https://api.github.com/installation/repositories",
|
||||
"html_url": "https://github.com/settings/installations/2",
|
||||
"app_id": 5725,
|
||||
"target_id": 3880403,
|
||||
"target_type": "User",
|
||||
"permissions": {
|
||||
"metadata": "read",
|
||||
"contents": "read",
|
||||
"issues": "write"
|
||||
},
|
||||
"events": [
|
||||
"push",
|
||||
"pull_request"
|
||||
],
|
||||
"created_at": "2022-03-02T18:02:51.000Z",
|
||||
"updated_at": "2022-03-02T18:02:51.000Z",
|
||||
"single_file_name": "config.yml"
|
||||
},
|
||||
"repository_selection": "selected",
|
||||
"repositories_added": [],
|
||||
"repositories_removed": [
|
||||
{
|
||||
"id": 1296269,
|
||||
"name": "Hello-World",
|
||||
"full_name": "octocat/Hello-World",
|
||||
"private": false
|
||||
}
|
||||
],
|
||||
"sender": {
|
||||
"login": "octocat",
|
||||
"id": 1,
|
||||
"node_id": "MDQ6VXNlcjE=",
|
||||
"avatar_url": "https://github.com/images/error/octocat_happy.gif",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/octocat",
|
||||
"html_url": "https://github.com/octocat",
|
||||
"followers_url": "https://api.github.com/users/octocat/followers",
|
||||
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/octocat/orgs",
|
||||
"repos_url": "https://api.github.com/users/octocat/repos",
|
||||
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/octocat/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
}
|
||||
}
|
||||
+70
@@ -0,0 +1,70 @@
|
||||
{
|
||||
"action": "created",
|
||||
"installation": {
|
||||
"id": 80429,
|
||||
"account": {
|
||||
"login": "PombeirP",
|
||||
"id": 138074,
|
||||
"avatar_url": "https://avatars1.githubusercontent.com/u/138074?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/PombeirP",
|
||||
"html_url": "https://github.com/PombeirP",
|
||||
"followers_url": "https://api.github.com/users/PombeirP/followers",
|
||||
"following_url": "https://api.github.com/users/PombeirP/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/PombeirP/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/PombeirP/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/PombeirP/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/PombeirP/orgs",
|
||||
"repos_url": "https://api.github.com/users/PombeirP/repos",
|
||||
"events_url": "https://api.github.com/users/PombeirP/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/PombeirP/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"repository_selection": "selected",
|
||||
"access_tokens_url": "https://api.github.com/installations/80429/access_tokens",
|
||||
"repositories_url": "https://api.github.com/installation/repositories",
|
||||
"html_url": "https://github.com/settings/installations/80429",
|
||||
"app_id": 8157,
|
||||
"target_id": 138074,
|
||||
"target_type": "User",
|
||||
"permissions": {
|
||||
"repository_projects": "write",
|
||||
"issues": "read",
|
||||
"metadata": "read",
|
||||
"pull_requests": "read"
|
||||
},
|
||||
"events": [
|
||||
"pull_request"
|
||||
],
|
||||
"created_at": "2022-03-02T18:02:51.000Z",
|
||||
"updated_at": "2022-03-02T18:02:51.000Z",
|
||||
"single_file_name": null
|
||||
},
|
||||
"repositories": [
|
||||
{
|
||||
"id": 117381220,
|
||||
"name": "status-github-bot",
|
||||
"full_name": "PombeirP/status-github-bot"
|
||||
}
|
||||
],
|
||||
"sender": {
|
||||
"login": "PombeirP",
|
||||
"id": 138074,
|
||||
"avatar_url": "https://avatars1.githubusercontent.com/u/138074?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/PombeirP",
|
||||
"html_url": "https://github.com/PombeirP",
|
||||
"followers_url": "https://api.github.com/users/PombeirP/followers",
|
||||
"following_url": "https://api.github.com/users/PombeirP/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/PombeirP/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/PombeirP/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/PombeirP/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/PombeirP/orgs",
|
||||
"repos_url": "https://api.github.com/users/PombeirP/repos",
|
||||
"events_url": "https://api.github.com/users/PombeirP/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/PombeirP/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
}
|
||||
}
|
||||
Vendored
+182
@@ -0,0 +1,182 @@
|
||||
{
|
||||
"action": "created",
|
||||
"issue": {
|
||||
"url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/2",
|
||||
"labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/2/labels{/name}",
|
||||
"comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/2/comments",
|
||||
"events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/2/events",
|
||||
"html_url": "https://github.com/baxterthehacker/public-repo/issues/2",
|
||||
"id": 73464126,
|
||||
"number": 2,
|
||||
"title": "Spelling error in the README file",
|
||||
"user": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"labels": [
|
||||
{
|
||||
"url": "https://api.github.com/repos/baxterthehacker/public-repo/labels/bug",
|
||||
"name": "bug",
|
||||
"color": "fc2929"
|
||||
}
|
||||
],
|
||||
"state": "open",
|
||||
"locked": false,
|
||||
"assignee": null,
|
||||
"milestone": null,
|
||||
"comments": 1,
|
||||
"created_at": "2015-05-05T23:40:28Z",
|
||||
"updated_at": "2015-05-05T23:40:28Z",
|
||||
"closed_at": null,
|
||||
"body": "It looks like you accidently spelled 'commit' with two 't's."
|
||||
},
|
||||
"comment": {
|
||||
"url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments/99262140",
|
||||
"html_url": "https://github.com/baxterthehacker/public-repo/issues/2#issuecomment-99262140",
|
||||
"issue_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/2",
|
||||
"id": 99262140,
|
||||
"user": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"created_at": "2015-05-05T23:40:28Z",
|
||||
"updated_at": "2015-05-05T23:40:28Z",
|
||||
"body": "You are totally right! I'll get this fixed right away."
|
||||
},
|
||||
"repository": {
|
||||
"id": 35129377,
|
||||
"name": "public-repo",
|
||||
"full_name": "baxterthehacker/public-repo",
|
||||
"owner": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"private": false,
|
||||
"html_url": "https://github.com/baxterthehacker/public-repo",
|
||||
"description": "",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/baxterthehacker/public-repo",
|
||||
"forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",
|
||||
"keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",
|
||||
"hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",
|
||||
"assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",
|
||||
"blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",
|
||||
"commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",
|
||||
"archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",
|
||||
"issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",
|
||||
"created_at": "2015-05-05T23:40:12Z",
|
||||
"updated_at": "2015-05-05T23:40:12Z",
|
||||
"pushed_at": "2015-05-05T23:40:27Z",
|
||||
"git_url": "git://github.com/baxterthehacker/public-repo.git",
|
||||
"ssh_url": "git@github.com:baxterthehacker/public-repo.git",
|
||||
"clone_url": "https://github.com/baxterthehacker/public-repo.git",
|
||||
"svn_url": "https://github.com/baxterthehacker/public-repo",
|
||||
"homepage": null,
|
||||
"size": 0,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": null,
|
||||
"has_issues": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": true,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"open_issues_count": 2,
|
||||
"forks": 0,
|
||||
"open_issues": 2,
|
||||
"watchers": 0,
|
||||
"default_branch": "master"
|
||||
},
|
||||
"sender": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
}
|
||||
}
|
||||
Vendored
+156
@@ -0,0 +1,156 @@
|
||||
{
|
||||
"action": "opened",
|
||||
"issue": {
|
||||
"url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/2",
|
||||
"labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/2/labels{/name}",
|
||||
"comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/2/comments",
|
||||
"events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/2/events",
|
||||
"html_url": "https://github.com/baxterthehacker/public-repo/issues/2",
|
||||
"id": 73464126,
|
||||
"number": 2,
|
||||
"title": "Spelling error in the README file",
|
||||
"user": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"labels": [
|
||||
{
|
||||
"id": 208045946,
|
||||
"url": "https://api.github.com/repos/baxterthehacker/public-repo/labels/bug",
|
||||
"name": "bug",
|
||||
"color": "fc2929",
|
||||
"default": true
|
||||
}
|
||||
],
|
||||
"state": "open",
|
||||
"locked": false,
|
||||
"assignee": null,
|
||||
"milestone": null,
|
||||
"comments": 0,
|
||||
"created_at": "2015-05-05T23:40:28Z",
|
||||
"updated_at": "2015-05-05T23:40:28Z",
|
||||
"closed_at": null,
|
||||
"body": "It looks like you accidently spelled 'commit' with two 't's."
|
||||
},
|
||||
"repository": {
|
||||
"id": 35129377,
|
||||
"name": "public-repo",
|
||||
"full_name": "baxterthehacker/public-repo",
|
||||
"owner": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"private": false,
|
||||
"html_url": "https://github.com/baxterthehacker/public-repo",
|
||||
"description": "",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/baxterthehacker/public-repo",
|
||||
"forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",
|
||||
"keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",
|
||||
"hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",
|
||||
"assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",
|
||||
"blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",
|
||||
"commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",
|
||||
"archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",
|
||||
"issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",
|
||||
"created_at": "2015-05-05T23:40:12Z",
|
||||
"updated_at": "2015-05-05T23:40:12Z",
|
||||
"pushed_at": "2015-05-05T23:40:27Z",
|
||||
"git_url": "git://github.com/baxterthehacker/public-repo.git",
|
||||
"ssh_url": "git@github.com:baxterthehacker/public-repo.git",
|
||||
"clone_url": "https://github.com/baxterthehacker/public-repo.git",
|
||||
"svn_url": "https://github.com/baxterthehacker/public-repo",
|
||||
"homepage": null,
|
||||
"size": 0,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": null,
|
||||
"has_issues": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": true,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"open_issues_count": 2,
|
||||
"forks": 0,
|
||||
"open_issues": 2,
|
||||
"watchers": 0,
|
||||
"default_branch": "master"
|
||||
},
|
||||
"sender": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
}
|
||||
}
|
||||
Vendored
+128
@@ -0,0 +1,128 @@
|
||||
{
|
||||
"action":"created",
|
||||
"label":{
|
||||
"url":"https://api.github.com/repos/baxterandthehackers/public-repo/labels/blocked",
|
||||
"name":"blocked",
|
||||
"color":"ff0000"
|
||||
},
|
||||
"repository":{
|
||||
"id":67075329,
|
||||
"name":"public-repo",
|
||||
"full_name":"baxterandthehackers/public-repo",
|
||||
"owner":{
|
||||
"login":"baxterandthehackers",
|
||||
"id":4312013,
|
||||
"avatar_url":"https://avatars.githubusercontent.com/u/4312013?v=3",
|
||||
"gravatar_id":"",
|
||||
"url":"https://api.github.com/users/baxterandthehackers",
|
||||
"html_url":"https://github.com/baxterandthehackers",
|
||||
"followers_url":"https://api.github.com/users/baxterandthehackers/followers",
|
||||
"following_url":"https://api.github.com/users/baxterandthehackers/following{/other_user}",
|
||||
"gists_url":"https://api.github.com/users/baxterandthehackers/gists{/gist_id}",
|
||||
"starred_url":"https://api.github.com/users/baxterandthehackers/starred{/owner}{/repo}",
|
||||
"subscriptions_url":"https://api.github.com/users/baxterandthehackers/subscriptions",
|
||||
"organizations_url":"https://api.github.com/users/baxterandthehackers/orgs",
|
||||
"repos_url":"https://api.github.com/users/baxterandthehackers/repos",
|
||||
"events_url":"https://api.github.com/users/baxterandthehackers/events{/privacy}",
|
||||
"received_events_url":"https://api.github.com/users/baxterandthehackers/received_events",
|
||||
"type":"Organization",
|
||||
"site_admin":false
|
||||
},
|
||||
"private":true,
|
||||
"html_url":"https://github.com/baxterandthehackers/public-repo",
|
||||
"description":null,
|
||||
"fork":false,
|
||||
"url":"https://api.github.com/repos/baxterandthehackers/public-repo",
|
||||
"forks_url":"https://api.github.com/repos/baxterandthehackers/public-repo/forks",
|
||||
"keys_url":"https://api.github.com/repos/baxterandthehackers/public-repo/keys{/key_id}",
|
||||
"collaborators_url":"https://api.github.com/repos/baxterandthehackers/public-repo/collaborators{/collaborator}",
|
||||
"teams_url":"https://api.github.com/repos/baxterandthehackers/public-repo/teams",
|
||||
"hooks_url":"https://api.github.com/repos/baxterandthehackers/public-repo/hooks",
|
||||
"issue_events_url":"https://api.github.com/repos/baxterandthehackers/public-repo/issues/events{/number}",
|
||||
"events_url":"https://api.github.com/repos/baxterandthehackers/public-repo/events",
|
||||
"assignees_url":"https://api.github.com/repos/baxterandthehackers/public-repo/assignees{/user}",
|
||||
"branches_url":"https://api.github.com/repos/baxterandthehackers/public-repo/branches{/branch}",
|
||||
"tags_url":"https://api.github.com/repos/baxterandthehackers/public-repo/tags",
|
||||
"blobs_url":"https://api.github.com/repos/baxterandthehackers/public-repo/git/blobs{/sha}",
|
||||
"git_tags_url":"https://api.github.com/repos/baxterandthehackers/public-repo/git/tags{/sha}",
|
||||
"git_refs_url":"https://api.github.com/repos/baxterandthehackers/public-repo/git/refs{/sha}",
|
||||
"trees_url":"https://api.github.com/repos/baxterandthehackers/public-repo/git/trees{/sha}",
|
||||
"statuses_url":"https://api.github.com/repos/baxterandthehackers/public-repo/statuses/{sha}",
|
||||
"languages_url":"https://api.github.com/repos/baxterandthehackers/public-repo/languages",
|
||||
"stargazers_url":"https://api.github.com/repos/baxterandthehackers/public-repo/stargazers",
|
||||
"contributors_url":"https://api.github.com/repos/baxterandthehackers/public-repo/contributors",
|
||||
"subscribers_url":"https://api.github.com/repos/baxterandthehackers/public-repo/subscribers",
|
||||
"subscription_url":"https://api.github.com/repos/baxterandthehackers/public-repo/subscription",
|
||||
"commits_url":"https://api.github.com/repos/baxterandthehackers/public-repo/commits{/sha}",
|
||||
"git_commits_url":"https://api.github.com/repos/baxterandthehackers/public-repo/git/commits{/sha}",
|
||||
"comments_url":"https://api.github.com/repos/baxterandthehackers/public-repo/comments{/number}",
|
||||
"issue_comment_url":"https://api.github.com/repos/baxterandthehackers/public-repo/issues/comments{/number}",
|
||||
"contents_url":"https://api.github.com/repos/baxterandthehackers/public-repo/contents/{+path}",
|
||||
"compare_url":"https://api.github.com/repos/baxterandthehackers/public-repo/compare/{base}...{head}",
|
||||
"merges_url":"https://api.github.com/repos/baxterandthehackers/public-repo/merges",
|
||||
"archive_url":"https://api.github.com/repos/baxterandthehackers/public-repo/{archive_format}{/ref}",
|
||||
"downloads_url":"https://api.github.com/repos/baxterandthehackers/public-repo/downloads",
|
||||
"issues_url":"https://api.github.com/repos/baxterandthehackers/public-repo/issues{/number}",
|
||||
"pulls_url":"https://api.github.com/repos/baxterandthehackers/public-repo/pulls{/number}",
|
||||
"milestones_url":"https://api.github.com/repos/baxterandthehackers/public-repo/milestones{/number}",
|
||||
"notifications_url":"https://api.github.com/repos/baxterandthehackers/public-repo/notifications{?since,all,participating}",
|
||||
"labels_url":"https://api.github.com/repos/baxterandthehackers/public-repo/labels{/name}",
|
||||
"releases_url":"https://api.github.com/repos/baxterandthehackers/public-repo/releases{/id}",
|
||||
"deployments_url":"https://api.github.com/repos/baxterandthehackers/public-repo/deployments",
|
||||
"created_at":"2016-08-31T21:38:51Z",
|
||||
"updated_at":"2016-08-31T21:38:51Z",
|
||||
"pushed_at":"2016-08-31T21:38:51Z",
|
||||
"git_url":"git://github.com/baxterandthehackers/public-repo.git",
|
||||
"ssh_url":"git@github.com:baxterandthehackers/public-repo.git",
|
||||
"clone_url":"https://github.com/baxterandthehackers/public-repo.git",
|
||||
"svn_url":"https://github.com/baxterandthehackers/public-repo",
|
||||
"homepage":null,
|
||||
"size":0,
|
||||
"stargazers_count":0,
|
||||
"watchers_count":0,
|
||||
"language":null,
|
||||
"has_issues":true,
|
||||
"has_downloads":true,
|
||||
"has_wiki":true,
|
||||
"has_pages":false,
|
||||
"forks_count":0,
|
||||
"mirror_url":null,
|
||||
"open_issues_count":2,
|
||||
"forks":0,
|
||||
"open_issues":2,
|
||||
"watchers":0,
|
||||
"default_branch":"master"
|
||||
},
|
||||
"organization":{
|
||||
"login":"baxterandthehackers",
|
||||
"id":4312013,
|
||||
"url":"https://api.github.com/orgs/baxterandthehackers",
|
||||
"repos_url":"https://api.github.com/orgs/baxterandthehackers/repos",
|
||||
"events_url":"https://api.github.com/orgs/baxterandthehackers/events",
|
||||
"hooks_url":"https://api.github.com/orgs/baxterandthehackers/hooks",
|
||||
"issues_url":"https://api.github.com/orgs/baxterandthehackers/issues",
|
||||
"members_url":"https://api.github.com/orgs/baxterandthehackers/members{/member}",
|
||||
"public_members_url":"https://api.github.com/orgs/baxterandthehackers/public_members{/member}",
|
||||
"avatar_url":"https://avatars.githubusercontent.com/u/4312013?v=3",
|
||||
"description":""
|
||||
},
|
||||
"sender":{
|
||||
"login":"baxterthehacker",
|
||||
"id":7649605,
|
||||
"avatar_url":"https://avatars.githubusercontent.com/u/7649605?v=3",
|
||||
"gravatar_id":"",
|
||||
"url":"https://api.github.com/users/baxterthehacker",
|
||||
"html_url":"https://github.com/baxterthehacker",
|
||||
"followers_url":"https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url":"https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url":"https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url":"https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url":"https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url":"https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url":"https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url":"https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url":"https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type":"User",
|
||||
"site_admin":true
|
||||
}
|
||||
}
|
||||
Vendored
+128
@@ -0,0 +1,128 @@
|
||||
{
|
||||
"action": "added",
|
||||
"member": {
|
||||
"login": "octocat",
|
||||
"id": 583231,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/583231?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/octocat",
|
||||
"html_url": "https://github.com/octocat",
|
||||
"followers_url": "https://api.github.com/users/octocat/followers",
|
||||
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/octocat/orgs",
|
||||
"repos_url": "https://api.github.com/users/octocat/repos",
|
||||
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/octocat/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"repository": {
|
||||
"id": 35129377,
|
||||
"name": "public-repo",
|
||||
"full_name": "baxterthehacker/public-repo",
|
||||
"owner": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"private": false,
|
||||
"html_url": "https://github.com/baxterthehacker/public-repo",
|
||||
"description": "",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/baxterthehacker/public-repo",
|
||||
"forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",
|
||||
"keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",
|
||||
"hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",
|
||||
"assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",
|
||||
"blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",
|
||||
"commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",
|
||||
"archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",
|
||||
"issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",
|
||||
"created_at": "2015-05-05T23:40:12Z",
|
||||
"updated_at": "2015-05-05T23:40:30Z",
|
||||
"pushed_at": "2015-05-05T23:40:40Z",
|
||||
"git_url": "git://github.com/baxterthehacker/public-repo.git",
|
||||
"ssh_url": "git@github.com:baxterthehacker/public-repo.git",
|
||||
"clone_url": "https://github.com/baxterthehacker/public-repo.git",
|
||||
"svn_url": "https://github.com/baxterthehacker/public-repo",
|
||||
"homepage": null,
|
||||
"size": 0,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": null,
|
||||
"has_issues": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": true,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"open_issues_count": 2,
|
||||
"forks": 0,
|
||||
"open_issues": 2,
|
||||
"watchers": 0,
|
||||
"default_branch": "master"
|
||||
},
|
||||
"sender": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
}
|
||||
}
|
||||
Vendored
+61
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"action": "added",
|
||||
"scope": "team",
|
||||
"member": {
|
||||
"login": "kdaigle",
|
||||
"id": 2501,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/2501?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/kdaigle",
|
||||
"html_url": "https://github.com/kdaigle",
|
||||
"followers_url": "https://api.github.com/users/kdaigle/followers",
|
||||
"following_url": "https://api.github.com/users/kdaigle/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/kdaigle/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/kdaigle/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/kdaigle/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/kdaigle/orgs",
|
||||
"repos_url": "https://api.github.com/users/kdaigle/repos",
|
||||
"events_url": "https://api.github.com/users/kdaigle/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/kdaigle/received_events",
|
||||
"type": "User",
|
||||
"site_admin": true
|
||||
},
|
||||
"sender": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=2",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"team": {
|
||||
"name": "Contractors",
|
||||
"id": 123456,
|
||||
"slug": "contractors",
|
||||
"permission": "admin",
|
||||
"url": "https://api.github.com/teams/123456",
|
||||
"members_url": "https://api.github.com/teams/123456/members{/member}",
|
||||
"repositories_url": "https://api.github.com/teams/123456/repos"
|
||||
},
|
||||
"organization": {
|
||||
"login": "baxterandthehackers",
|
||||
"id": 7649605,
|
||||
"url": "https://api.github.com/orgs/baxterandthehackers",
|
||||
"repos_url": "https://api.github.com/orgs/baxterandthehackers/repos",
|
||||
"events_url": "https://api.github.com/orgs/baxterandthehackers/events",
|
||||
"members_url": "https://api.github.com/orgs/baxterandthehackers/members{/member}",
|
||||
"public_members_url": "https://api.github.com/orgs/baxterandthehackers/public_members{/member}",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7649605?v=2"
|
||||
}
|
||||
}
|
||||
Vendored
+158
@@ -0,0 +1,158 @@
|
||||
{
|
||||
"action":"created",
|
||||
"milestone":{
|
||||
"url":"https://api.github.com/repos/baxterandthehackers/public-repo/milestones/3",
|
||||
"html_url":"https://github.com/baxterandthehackers/public-repo/milestones/Test%20milestone%20creation%20webhook%20from%20command%20line2",
|
||||
"labels_url":"https://api.github.com/repos/baxterandthehackers/public-repo/milestones/3/labels",
|
||||
"id":2055681,
|
||||
"number":3,
|
||||
"title":"I am a milestone",
|
||||
"description":null,
|
||||
"creator":{
|
||||
"login":"baxterthehacker",
|
||||
"id":7649605,
|
||||
"avatar_url":"https://avatars.githubusercontent.com/u/7649605?v=3",
|
||||
"gravatar_id":"",
|
||||
"url":"https://api.github.com/users/baxterthehacker",
|
||||
"html_url":"https://github.com/baxterthehacker",
|
||||
"followers_url":"https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url":"https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url":"https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url":"https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url":"https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url":"https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url":"https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url":"https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url":"https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type":"User",
|
||||
"site_admin":true
|
||||
},
|
||||
"open_issues":0,
|
||||
"closed_issues":0,
|
||||
"state":"open",
|
||||
"created_at":"2016-10-07T19:26:08Z",
|
||||
"updated_at":"2016-10-07T19:26:08Z",
|
||||
"due_on":null,
|
||||
"closed_at":null
|
||||
},
|
||||
"repository":{
|
||||
"id":70275481,
|
||||
"name":"public-repo",
|
||||
"full_name":"baxterandthehackers/public-repo",
|
||||
"owner":{
|
||||
"login":"baxterandthehackers",
|
||||
"id":4312013,
|
||||
"avatar_url":"https://avatars.githubusercontent.com/u/4312013?v=3",
|
||||
"gravatar_id":"",
|
||||
"url":"https://api.github.com/users/baxterandthehackers",
|
||||
"html_url":"https://github.com/baxterandthehackers",
|
||||
"followers_url":"https://api.github.com/users/baxterandthehackers/followers",
|
||||
"following_url":"https://api.github.com/users/baxterandthehackers/following{/other_user}",
|
||||
"gists_url":"https://api.github.com/users/baxterandthehackers/gists{/gist_id}",
|
||||
"starred_url":"https://api.github.com/users/baxterandthehackers/starred{/owner}{/repo}",
|
||||
"subscriptions_url":"https://api.github.com/users/baxterandthehackers/subscriptions",
|
||||
"organizations_url":"https://api.github.com/users/baxterandthehackers/orgs",
|
||||
"repos_url":"https://api.github.com/users/baxterandthehackers/repos",
|
||||
"events_url":"https://api.github.com/users/baxterandthehackers/events{/privacy}",
|
||||
"received_events_url":"https://api.github.com/users/baxterandthehackers/received_events",
|
||||
"type":"Organization",
|
||||
"site_admin":false
|
||||
},
|
||||
"private":true,
|
||||
"html_url":"https://github.com/baxterandthehackers/public-repo",
|
||||
"description":null,
|
||||
"fork":false,
|
||||
"url":"https://api.github.com/repos/baxterandthehackers/public-repo",
|
||||
"forks_url":"https://api.github.com/repos/baxterandthehackers/public-repo/forks",
|
||||
"keys_url":"https://api.github.com/repos/baxterandthehackers/public-repo/keys{/key_id}",
|
||||
"collaborators_url":"https://api.github.com/repos/baxterandthehackers/public-repo/collaborators{/collaborator}",
|
||||
"teams_url":"https://api.github.com/repos/baxterandthehackers/public-repo/teams",
|
||||
"hooks_url":"https://api.github.com/repos/baxterandthehackers/public-repo/hooks",
|
||||
"issue_events_url":"https://api.github.com/repos/baxterandthehackers/public-repo/issues/events{/number}",
|
||||
"events_url":"https://api.github.com/repos/baxterandthehackers/public-repo/events",
|
||||
"assignees_url":"https://api.github.com/repos/baxterandthehackers/public-repo/assignees{/user}",
|
||||
"branches_url":"https://api.github.com/repos/baxterandthehackers/public-repo/branches{/branch}",
|
||||
"tags_url":"https://api.github.com/repos/baxterandthehackers/public-repo/tags",
|
||||
"blobs_url":"https://api.github.com/repos/baxterandthehackers/public-repo/git/blobs{/sha}",
|
||||
"git_tags_url":"https://api.github.com/repos/baxterandthehackers/public-repo/git/tags{/sha}",
|
||||
"git_refs_url":"https://api.github.com/repos/baxterandthehackers/public-repo/git/refs{/sha}",
|
||||
"trees_url":"https://api.github.com/repos/baxterandthehackers/public-repo/git/trees{/sha}",
|
||||
"statuses_url":"https://api.github.com/repos/baxterandthehackers/public-repo/statuses/{sha}",
|
||||
"languages_url":"https://api.github.com/repos/baxterandthehackers/public-repo/languages",
|
||||
"stargazers_url":"https://api.github.com/repos/baxterandthehackers/public-repo/stargazers",
|
||||
"contributors_url":"https://api.github.com/repos/baxterandthehackers/public-repo/contributors",
|
||||
"subscribers_url":"https://api.github.com/repos/baxterandthehackers/public-repo/subscribers",
|
||||
"subscription_url":"https://api.github.com/repos/baxterandthehackers/public-repo/subscription",
|
||||
"commits_url":"https://api.github.com/repos/baxterandthehackers/public-repo/commits{/sha}",
|
||||
"git_commits_url":"https://api.github.com/repos/baxterandthehackers/public-repo/git/commits{/sha}",
|
||||
"comments_url":"https://api.github.com/repos/baxterandthehackers/public-repo/comments{/number}",
|
||||
"issue_comment_url":"https://api.github.com/repos/baxterandthehackers/public-repo/issues/comments{/number}",
|
||||
"contents_url":"https://api.github.com/repos/baxterandthehackers/public-repo/contents/{+path}",
|
||||
"compare_url":"https://api.github.com/repos/baxterandthehackers/public-repo/compare/{base}...{head}",
|
||||
"merges_url":"https://api.github.com/repos/baxterandthehackers/public-repo/merges",
|
||||
"archive_url":"https://api.github.com/repos/baxterandthehackers/public-repo/{archive_format}{/ref}",
|
||||
"downloads_url":"https://api.github.com/repos/baxterandthehackers/public-repo/downloads",
|
||||
"issues_url":"https://api.github.com/repos/baxterandthehackers/public-repo/issues{/number}",
|
||||
"pulls_url":"https://api.github.com/repos/baxterandthehackers/public-repo/pulls{/number}",
|
||||
"milestones_url":"https://api.github.com/repos/baxterandthehackers/public-repo/milestones{/number}",
|
||||
"notifications_url":"https://api.github.com/repos/baxterandthehackers/public-repo/notifications{?since,all,participating}",
|
||||
"labels_url":"https://api.github.com/repos/baxterandthehackers/public-repo/labels{/name}",
|
||||
"releases_url":"https://api.github.com/repos/baxterandthehackers/public-repo/releases{/id}",
|
||||
"deployments_url":"https://api.github.com/repos/baxterandthehackers/public-repo/deployments",
|
||||
"created_at":"2016-10-07T19:10:12Z",
|
||||
"updated_at":"2016-10-07T19:10:12Z",
|
||||
"pushed_at":"2016-10-07T19:10:13Z",
|
||||
"git_url":"git://github.com/baxterandthehackers/public-repo.git",
|
||||
"ssh_url":"git@github.com:baxterandthehackers/public-repo.git",
|
||||
"clone_url":"https://github.com/baxterandthehackers/public-repo.git",
|
||||
"svn_url":"https://github.com/baxterandthehackers/public-repo",
|
||||
"homepage":null,
|
||||
"size":0,
|
||||
"stargazers_count":0,
|
||||
"watchers_count":0,
|
||||
"language":null,
|
||||
"has_issues":true,
|
||||
"has_downloads":true,
|
||||
"has_wiki":true,
|
||||
"has_pages":false,
|
||||
"forks_count":0,
|
||||
"mirror_url":null,
|
||||
"open_issues_count":0,
|
||||
"forks":0,
|
||||
"open_issues":0,
|
||||
"watchers":0,
|
||||
"default_branch":"master"
|
||||
},
|
||||
"organization":{
|
||||
"login":"baxterandthehackers",
|
||||
"id":4312013,
|
||||
"url":"https://api.github.com/orgs/baxterandthehackers",
|
||||
"repos_url":"https://api.github.com/orgs/baxterandthehackers/repos",
|
||||
"events_url":"https://api.github.com/orgs/baxterandthehackers/events",
|
||||
"hooks_url":"https://api.github.com/orgs/baxterandthehackers/hooks",
|
||||
"issues_url":"https://api.github.com/orgs/baxterandthehackers/issues",
|
||||
"members_url":"https://api.github.com/orgs/baxterandthehackers/members{/member}",
|
||||
"public_members_url":"https://api.github.com/orgs/baxterandthehackers/public_members{/member}",
|
||||
"avatar_url":"https://avatars.githubusercontent.com/u/4312013?v=3",
|
||||
"description":""
|
||||
},
|
||||
"sender":{
|
||||
"login":"baxterthehacker",
|
||||
"id":7649605,
|
||||
"avatar_url":"https://avatars.githubusercontent.com/u/7649605?v=3",
|
||||
"gravatar_id":"",
|
||||
"url":"https://api.github.com/users/baxterthehacker",
|
||||
"html_url":"https://github.com/baxterthehacker",
|
||||
"followers_url":"https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url":"https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url":"https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url":"https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url":"https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url":"https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url":"https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url":"https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url":"https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type":"User",
|
||||
"site_admin":true
|
||||
}
|
||||
}
|
||||
Vendored
+54
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"action": "blocked",
|
||||
"blocked_user": {
|
||||
"login": "octocat",
|
||||
"id": 583231,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/583231?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/octocat",
|
||||
"html_url": "https://github.com/octocat",
|
||||
"followers_url": "https://api.github.com/users/octocat/followers",
|
||||
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/octocat/orgs",
|
||||
"repos_url": "https://api.github.com/users/octocat/repos",
|
||||
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/octocat/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"organization": {
|
||||
"login": "github",
|
||||
"id": 4366038,
|
||||
"url": "https://api.github.com/orgs/github",
|
||||
"repos_url": "https://api.github.com/orgs/github/repos",
|
||||
"events_url": "https://api.github.com/orgs/github/events",
|
||||
"hooks_url": "https://api.github.com/orgs/github/hooks",
|
||||
"issues_url": "https://api.github.com/orgs/github/issues",
|
||||
"members_url": "https://api.github.com/orgs/github/members{/member}",
|
||||
"public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/4366038?v=3",
|
||||
"description": ""
|
||||
},
|
||||
"sender": {
|
||||
"login": "octodocs",
|
||||
"id": 25781999,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/25781999?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/octodocs",
|
||||
"html_url": "https://github.com/octodocs",
|
||||
"followers_url": "https://api.github.com/users/octodocs/followers",
|
||||
"following_url": "https://api.github.com/users/octodocs/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/octodocs/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/octodocs/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/octodocs/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/octodocs/orgs",
|
||||
"repos_url": "https://api.github.com/users/octodocs/repos",
|
||||
"events_url": "https://api.github.com/users/octodocs/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/octodocs/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
}
|
||||
}
|
||||
Vendored
+66
@@ -0,0 +1,66 @@
|
||||
{
|
||||
"action": "member_invited",
|
||||
"invitation": {
|
||||
"id": 3294302,
|
||||
"login": "baxterthehacker",
|
||||
"email": null,
|
||||
"role": "direct_member"
|
||||
},
|
||||
"membership": {
|
||||
"url": "https://api.github.com/orgs/baxterandthehackers/memberships/baxterthehacker",
|
||||
"state": "active",
|
||||
"role": "member",
|
||||
"organization_url": "https://api.github.com/orgs/baxterandthehackers",
|
||||
"user": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 7649605,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/17085448?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
}
|
||||
},
|
||||
"organization": {
|
||||
"login": "baxterandthehackers",
|
||||
"id": 4312013,
|
||||
"url": "https://api.github.com/orgs/baxterandthehackers",
|
||||
"repos_url": "https://api.github.com/orgs/baxterandthehackers/repos",
|
||||
"events_url": "https://api.github.com/orgs/baxterandthehackers/events",
|
||||
"hooks_url": "https://api.github.com/orgs/baxterandthehackers/hooks",
|
||||
"issues_url": "https://api.github.com/orgs/baxterandthehackers/issues",
|
||||
"members_url": "https://api.github.com/orgs/baxterandthehackers/members{/member}",
|
||||
"public_members_url": "https://api.github.com/orgs/baxterandthehackers/public_members{/member}",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/4312013?v=3",
|
||||
"description": ""
|
||||
},
|
||||
"sender":{
|
||||
"login":"baxterthehacker",
|
||||
"id":7649605,
|
||||
"avatar_url":"https://avatars.githubusercontent.com/u/7649605?v=3",
|
||||
"gravatar_id":"",
|
||||
"url":"https://api.github.com/users/baxterthehacker",
|
||||
"html_url":"https://github.com/baxterthehacker",
|
||||
"followers_url":"https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url":"https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url":"https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url":"https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url":"https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url":"https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url":"https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url":"https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url":"https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type":"User",
|
||||
"site_admin":true
|
||||
}
|
||||
}
|
||||
Vendored
+139
@@ -0,0 +1,139 @@
|
||||
{
|
||||
"id": 15995382,
|
||||
"build": {
|
||||
"url": "https://api.github.com/repos/baxterthehacker/public-repo/pages/builds/15995382",
|
||||
"status": "built",
|
||||
"error": {
|
||||
"message": null
|
||||
},
|
||||
"pusher": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"commit": "053b99542c83021d6b202d1a1f5ecd5ef7084e55",
|
||||
"duration": 3790,
|
||||
"created_at": "2015-05-05T23:40:13Z",
|
||||
"updated_at": "2015-05-05T23:40:17Z"
|
||||
},
|
||||
"repository": {
|
||||
"id": 35129377,
|
||||
"name": "public-repo",
|
||||
"full_name": "baxterthehacker/public-repo",
|
||||
"owner": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"private": false,
|
||||
"html_url": "https://github.com/baxterthehacker/public-repo",
|
||||
"description": "",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/baxterthehacker/public-repo",
|
||||
"forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",
|
||||
"keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",
|
||||
"hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",
|
||||
"assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",
|
||||
"blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",
|
||||
"commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",
|
||||
"archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",
|
||||
"issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",
|
||||
"created_at": "2015-05-05T23:40:12Z",
|
||||
"updated_at": "2015-05-05T23:40:12Z",
|
||||
"pushed_at": "2015-05-05T23:40:17Z",
|
||||
"git_url": "git://github.com/baxterthehacker/public-repo.git",
|
||||
"ssh_url": "git@github.com:baxterthehacker/public-repo.git",
|
||||
"clone_url": "https://github.com/baxterthehacker/public-repo.git",
|
||||
"svn_url": "https://github.com/baxterthehacker/public-repo",
|
||||
"homepage": null,
|
||||
"size": 0,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": null,
|
||||
"has_issues": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": true,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"open_issues_count": 0,
|
||||
"forks": 0,
|
||||
"open_issues": 0,
|
||||
"watchers": 0,
|
||||
"default_branch": "master"
|
||||
},
|
||||
"sender": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
}
|
||||
}
|
||||
Vendored
+22
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"zen": "Keep it logically awesome.",
|
||||
"hook_id": 20081052,
|
||||
"hook": {
|
||||
"type": "App",
|
||||
"id": 20081052,
|
||||
"name": "web",
|
||||
"active": true,
|
||||
"events": [
|
||||
"pull_request"
|
||||
],
|
||||
"config": {
|
||||
"content_type": "json",
|
||||
"insecure_ssl": "0",
|
||||
"secret": "********",
|
||||
"url": "https://ngrok.io/webhook"
|
||||
},
|
||||
"updated_at": "2018-01-15T10:48:54Z",
|
||||
"created_at": "2018-01-15T10:48:54Z",
|
||||
"app_id": 8157
|
||||
}
|
||||
}
|
||||
Vendored
+149
@@ -0,0 +1,149 @@
|
||||
{
|
||||
"action": "created",
|
||||
"project_card": {
|
||||
"url": "https://api.github.com/projects/columns/cards/1266091",
|
||||
"project_url": "https://api.github.com/projects/6047634",
|
||||
"column_url": "https://api.github.com/projects/columns/515520",
|
||||
"column_id": 515520,
|
||||
"id": 1266091,
|
||||
"note": null,
|
||||
"creator": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=2",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"created_at": 1483569391,
|
||||
"updated_at": 1483569391,
|
||||
"content_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/2"
|
||||
},
|
||||
"repository": {
|
||||
"id": 35129377,
|
||||
"name": "public-repo",
|
||||
"full_name": "baxterthehacker/public-repo",
|
||||
"owner": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"private": false,
|
||||
"html_url": "https://github.com/baxterthehacker/public-repo",
|
||||
"description": "",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/baxterthehacker/public-repo",
|
||||
"forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",
|
||||
"keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",
|
||||
"hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",
|
||||
"assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",
|
||||
"blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",
|
||||
"commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",
|
||||
"archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",
|
||||
"issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",
|
||||
"created_at": "2015-05-05T23:40:12Z",
|
||||
"updated_at": "2015-05-05T23:40:12Z",
|
||||
"pushed_at": "2015-05-05T23:40:27Z",
|
||||
"git_url": "git://github.com/baxterthehacker/public-repo.git",
|
||||
"ssh_url": "git@github.com:baxterthehacker/public-repo.git",
|
||||
"clone_url": "https://github.com/baxterthehacker/public-repo.git",
|
||||
"svn_url": "https://github.com/baxterthehacker/public-repo",
|
||||
"homepage": null,
|
||||
"size": 0,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": null,
|
||||
"has_issues": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": true,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"open_issues_count": 2,
|
||||
"forks": 0,
|
||||
"open_issues": 2,
|
||||
"watchers": 0,
|
||||
"default_branch": "master"
|
||||
},
|
||||
"organization": {
|
||||
"login": "baxterandthehackers",
|
||||
"id": 7649605,
|
||||
"url": "https://api.github.com/orgs/baxterandthehackers",
|
||||
"repos_url": "https://api.github.com/orgs/baxterandthehackers/repos",
|
||||
"events_url": "https://api.github.com/orgs/baxterandthehackers/events",
|
||||
"members_url": "https://api.github.com/orgs/baxterandthehackers/members{/member}",
|
||||
"public_members_url": "https://api.github.com/orgs/baxterandthehackers/public_members{/member}",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7649605?v=2"
|
||||
},
|
||||
"sender": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=2",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
}
|
||||
}
|
||||
Vendored
+128
@@ -0,0 +1,128 @@
|
||||
{
|
||||
"action": "created",
|
||||
"project_column": {
|
||||
"url": "https://api.github.com/projects/columns/515520",
|
||||
"project_url": "https://api.github.com/projects/288065",
|
||||
"cards_url": "https://api.github.com/projects/columns/515520/cards",
|
||||
"id": 515520,
|
||||
"name": "High Priority",
|
||||
"created_at": 1483569138,
|
||||
"updated_at": 1483569138
|
||||
},
|
||||
"repository": {
|
||||
"id": 35129377,
|
||||
"name": "public-repo",
|
||||
"full_name": "baxterthehacker/public-repo",
|
||||
"owner": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"private": false,
|
||||
"html_url": "https://github.com/baxterthehacker/public-repo",
|
||||
"description": "",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/baxterthehacker/public-repo",
|
||||
"forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",
|
||||
"keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",
|
||||
"hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",
|
||||
"assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",
|
||||
"blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",
|
||||
"commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",
|
||||
"archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",
|
||||
"issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",
|
||||
"created_at": "2015-05-05T23:40:12Z",
|
||||
"updated_at": "2015-05-05T23:40:12Z",
|
||||
"pushed_at": "2015-05-05T23:40:27Z",
|
||||
"git_url": "git://github.com/baxterthehacker/public-repo.git",
|
||||
"ssh_url": "git@github.com:baxterthehacker/public-repo.git",
|
||||
"clone_url": "https://github.com/baxterthehacker/public-repo.git",
|
||||
"svn_url": "https://github.com/baxterthehacker/public-repo",
|
||||
"homepage": null,
|
||||
"size": 0,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": null,
|
||||
"has_issues": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": true,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"open_issues_count": 2,
|
||||
"forks": 0,
|
||||
"open_issues": 2,
|
||||
"watchers": 0,
|
||||
"default_branch": "master"
|
||||
},
|
||||
"organization": {
|
||||
"login": "baxterandthehackers",
|
||||
"id": 7649605,
|
||||
"url": "https://api.github.com/orgs/baxterandthehackers",
|
||||
"repos_url": "https://api.github.com/orgs/baxterandthehackers/repos",
|
||||
"events_url": "https://api.github.com/orgs/baxterandthehackers/events",
|
||||
"members_url": "https://api.github.com/orgs/baxterandthehackers/members{/member}",
|
||||
"public_members_url": "https://api.github.com/orgs/baxterandthehackers/public_members{/member}",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7649605?v=2"
|
||||
},
|
||||
"sender": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=2",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
}
|
||||
}
|
||||
Vendored
+150
@@ -0,0 +1,150 @@
|
||||
{
|
||||
"action": "created",
|
||||
"project": {
|
||||
"owner_url": "https://api.github.com/repos/baxterthehacker/public-repo",
|
||||
"url": "https://api.github.com/projects/288065",
|
||||
"columns_url": "https://api.github.com/projects/288065/columns",
|
||||
"id": 288065,
|
||||
"name": "2017",
|
||||
"body": "Roadmap for work to be done in 2017",
|
||||
"number": 10,
|
||||
"state": "open",
|
||||
"creator": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=2",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"created_at": 1483567089,
|
||||
"updated_at": 1483567089
|
||||
},
|
||||
"repository": {
|
||||
"id": 35129377,
|
||||
"name": "public-repo",
|
||||
"full_name": "baxterthehacker/public-repo",
|
||||
"owner": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"private": false,
|
||||
"html_url": "https://github.com/baxterthehacker/public-repo",
|
||||
"description": "",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/baxterthehacker/public-repo",
|
||||
"forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",
|
||||
"keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",
|
||||
"hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",
|
||||
"assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",
|
||||
"blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",
|
||||
"commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",
|
||||
"archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",
|
||||
"issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",
|
||||
"created_at": "2015-05-05T23:40:12Z",
|
||||
"updated_at": "2015-05-05T23:40:12Z",
|
||||
"pushed_at": "2015-05-05T23:40:27Z",
|
||||
"git_url": "git://github.com/baxterthehacker/public-repo.git",
|
||||
"ssh_url": "git@github.com:baxterthehacker/public-repo.git",
|
||||
"clone_url": "https://github.com/baxterthehacker/public-repo.git",
|
||||
"svn_url": "https://github.com/baxterthehacker/public-repo",
|
||||
"homepage": null,
|
||||
"size": 0,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": null,
|
||||
"has_issues": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": true,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"open_issues_count": 2,
|
||||
"forks": 0,
|
||||
"open_issues": 2,
|
||||
"watchers": 0,
|
||||
"default_branch": "master"
|
||||
},
|
||||
"organization": {
|
||||
"login": "baxterandthehackers",
|
||||
"id": 7649605,
|
||||
"url": "https://api.github.com/orgs/baxterandthehackers",
|
||||
"repos_url": "https://api.github.com/orgs/baxterandthehackers/repos",
|
||||
"events_url": "https://api.github.com/orgs/baxterandthehackers/events",
|
||||
"members_url": "https://api.github.com/orgs/baxterandthehackers/members{/member}",
|
||||
"public_members_url": "https://api.github.com/orgs/baxterandthehackers/public_members{/member}",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7649605?v=2"
|
||||
},
|
||||
"sender": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=2",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
}
|
||||
}
|
||||
Vendored
+108
@@ -0,0 +1,108 @@
|
||||
{
|
||||
"repository": {
|
||||
"id": 35129377,
|
||||
"name": "public-repo",
|
||||
"full_name": "baxterthehacker/public-repo",
|
||||
"owner": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"private": false,
|
||||
"html_url": "https://github.com/baxterthehacker/public-repo",
|
||||
"description": "",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/baxterthehacker/public-repo",
|
||||
"forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",
|
||||
"keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",
|
||||
"hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",
|
||||
"assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",
|
||||
"blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",
|
||||
"commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",
|
||||
"archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",
|
||||
"issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",
|
||||
"created_at": "2015-05-05T23:40:12Z",
|
||||
"updated_at": "2015-05-05T23:40:41Z",
|
||||
"pushed_at": "2015-05-05T23:40:40Z",
|
||||
"git_url": "git://github.com/baxterthehacker/public-repo.git",
|
||||
"ssh_url": "git@github.com:baxterthehacker/public-repo.git",
|
||||
"clone_url": "https://github.com/baxterthehacker/public-repo.git",
|
||||
"svn_url": "https://github.com/baxterthehacker/public-repo",
|
||||
"homepage": null,
|
||||
"size": 0,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": null,
|
||||
"has_issues": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": true,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"open_issues_count": 2,
|
||||
"forks": 0,
|
||||
"open_issues": 2,
|
||||
"watchers": 0,
|
||||
"default_branch": "master"
|
||||
},
|
||||
"sender": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
}
|
||||
}
|
||||
+208
@@ -0,0 +1,208 @@
|
||||
{
|
||||
"action": "created",
|
||||
"issue": {
|
||||
"url": "https://api.github.com/repos/chhsia0/knative-route-demo/issues/3",
|
||||
"repository_url": "https://api.github.com/repos/chhsia0/knative-route-demo",
|
||||
"labels_url": "https://api.github.com/repos/chhsia0/knative-route-demo/issues/3/labels{/name}",
|
||||
"comments_url": "https://api.github.com/repos/chhsia0/knative-route-demo/issues/3/comments",
|
||||
"events_url": "https://api.github.com/repos/chhsia0/knative-route-demo/issues/3/events",
|
||||
"html_url": "https://github.com/chhsia0/knative-route-demo/pull/3",
|
||||
"id": 494965988,
|
||||
"node_id": "MDExOlB1bGxSZXF1ZXN0MzE4NjEwOTI3",
|
||||
"number": 3,
|
||||
"title": "Updated to v2.",
|
||||
"user": {
|
||||
"login": "chhsia0",
|
||||
"id": 4643017,
|
||||
"node_id": "MDQ6VXNlcjQ2NDMwMTc=",
|
||||
"avatar_url": "https://avatars0.githubusercontent.com/u/4643017?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/chhsia0",
|
||||
"html_url": "https://github.com/chhsia0",
|
||||
"followers_url": "https://api.github.com/users/chhsia0/followers",
|
||||
"following_url": "https://api.github.com/users/chhsia0/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/chhsia0/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/chhsia0/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/chhsia0/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/chhsia0/orgs",
|
||||
"repos_url": "https://api.github.com/users/chhsia0/repos",
|
||||
"events_url": "https://api.github.com/users/chhsia0/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/chhsia0/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"labels": [
|
||||
|
||||
],
|
||||
"state": "open",
|
||||
"locked": false,
|
||||
"assignee": null,
|
||||
"assignees": [
|
||||
|
||||
],
|
||||
"milestone": null,
|
||||
"comments": 17,
|
||||
"created_at": "2019-09-18T03:28:04Z",
|
||||
"updated_at": "2019-10-26T16:09:23Z",
|
||||
"closed_at": null,
|
||||
"author_association": "OWNER",
|
||||
"pull_request": {
|
||||
"url": "https://api.github.com/repos/chhsia0/knative-route-demo/pulls/3",
|
||||
"html_url": "https://github.com/chhsia0/knative-route-demo/pull/3",
|
||||
"diff_url": "https://github.com/chhsia0/knative-route-demo/pull/3.diff",
|
||||
"patch_url": "https://github.com/chhsia0/knative-route-demo/pull/3.patch"
|
||||
},
|
||||
"body": ""
|
||||
},
|
||||
"comment": {
|
||||
"url": "https://api.github.com/repos/chhsia0/knative-route-demo/issues/comments/546616131",
|
||||
"html_url": "https://github.com/chhsia0/knative-route-demo/pull/3#issuecomment-546616131",
|
||||
"issue_url": "https://api.github.com/repos/chhsia0/knative-route-demo/issues/3",
|
||||
"id": 546616131,
|
||||
"node_id": "MDEyOklzc3VlQ29tbWVudDU0NjYxNjEzMQ==",
|
||||
"user": {
|
||||
"login": "chhsia0",
|
||||
"id": 4643017,
|
||||
"node_id": "MDQ6VXNlcjQ2NDMwMTc=",
|
||||
"avatar_url": "https://avatars0.githubusercontent.com/u/4643017?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/chhsia0",
|
||||
"html_url": "https://github.com/chhsia0",
|
||||
"followers_url": "https://api.github.com/users/chhsia0/followers",
|
||||
"following_url": "https://api.github.com/users/chhsia0/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/chhsia0/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/chhsia0/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/chhsia0/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/chhsia0/orgs",
|
||||
"repos_url": "https://api.github.com/users/chhsia0/repos",
|
||||
"events_url": "https://api.github.com/users/chhsia0/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/chhsia0/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"created_at": "2019-10-26T16:09:23Z",
|
||||
"updated_at": "2019-10-26T16:09:23Z",
|
||||
"author_association": "OWNER",
|
||||
"body": "/build"
|
||||
},
|
||||
"repository": {
|
||||
"id": 199540710,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkxOTk1NDA3MTA=",
|
||||
"name": "knative-route-demo",
|
||||
"full_name": "chhsia0/knative-route-demo",
|
||||
"private": false,
|
||||
"owner": {
|
||||
"login": "chhsia0",
|
||||
"id": 4643017,
|
||||
"node_id": "MDQ6VXNlcjQ2NDMwMTc=",
|
||||
"avatar_url": "https://avatars0.githubusercontent.com/u/4643017?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/chhsia0",
|
||||
"html_url": "https://github.com/chhsia0",
|
||||
"followers_url": "https://api.github.com/users/chhsia0/followers",
|
||||
"following_url": "https://api.github.com/users/chhsia0/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/chhsia0/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/chhsia0/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/chhsia0/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/chhsia0/orgs",
|
||||
"repos_url": "https://api.github.com/users/chhsia0/repos",
|
||||
"events_url": "https://api.github.com/users/chhsia0/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/chhsia0/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/chhsia0/knative-route-demo",
|
||||
"description": "Simple knative route demo",
|
||||
"fork": true,
|
||||
"url": "https://api.github.com/repos/chhsia0/knative-route-demo",
|
||||
"forks_url": "https://api.github.com/repos/chhsia0/knative-route-demo/forks",
|
||||
"keys_url": "https://api.github.com/repos/chhsia0/knative-route-demo/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/chhsia0/knative-route-demo/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/chhsia0/knative-route-demo/teams",
|
||||
"hooks_url": "https://api.github.com/repos/chhsia0/knative-route-demo/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/chhsia0/knative-route-demo/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/chhsia0/knative-route-demo/events",
|
||||
"assignees_url": "https://api.github.com/repos/chhsia0/knative-route-demo/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/chhsia0/knative-route-demo/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/chhsia0/knative-route-demo/tags",
|
||||
"blobs_url": "https://api.github.com/repos/chhsia0/knative-route-demo/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/chhsia0/knative-route-demo/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/chhsia0/knative-route-demo/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/chhsia0/knative-route-demo/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/chhsia0/knative-route-demo/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/chhsia0/knative-route-demo/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/chhsia0/knative-route-demo/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/chhsia0/knative-route-demo/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/chhsia0/knative-route-demo/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/chhsia0/knative-route-demo/subscription",
|
||||
"commits_url": "https://api.github.com/repos/chhsia0/knative-route-demo/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/chhsia0/knative-route-demo/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/chhsia0/knative-route-demo/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/chhsia0/knative-route-demo/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/chhsia0/knative-route-demo/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/chhsia0/knative-route-demo/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/chhsia0/knative-route-demo/merges",
|
||||
"archive_url": "https://api.github.com/repos/chhsia0/knative-route-demo/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/chhsia0/knative-route-demo/downloads",
|
||||
"issues_url": "https://api.github.com/repos/chhsia0/knative-route-demo/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/chhsia0/knative-route-demo/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/chhsia0/knative-route-demo/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/chhsia0/knative-route-demo/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/chhsia0/knative-route-demo/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/chhsia0/knative-route-demo/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/chhsia0/knative-route-demo/deployments",
|
||||
"created_at": "2019-07-29T23:38:07Z",
|
||||
"updated_at": "2019-10-01T18:07:59Z",
|
||||
"pushed_at": "2019-10-23T23:49:38Z",
|
||||
"git_url": "git://github.com/chhsia0/knative-route-demo.git",
|
||||
"ssh_url": "git@github.com:chhsia0/knative-route-demo.git",
|
||||
"clone_url": "https://github.com/chhsia0/knative-route-demo.git",
|
||||
"svn_url": "https://github.com/chhsia0/knative-route-demo",
|
||||
"homepage": "",
|
||||
"size": 59,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": "Go",
|
||||
"has_issues": true,
|
||||
"has_projects": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": false,
|
||||
"has_pages": true,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"archived": false,
|
||||
"disabled": false,
|
||||
"open_issues_count": 3,
|
||||
"license": {
|
||||
"key": "apache-2.0",
|
||||
"name": "Apache License 2.0",
|
||||
"spdx_id": "Apache-2.0",
|
||||
"url": "https://api.github.com/licenses/apache-2.0",
|
||||
"node_id": "MDc6TGljZW5zZTI="
|
||||
},
|
||||
"forks": 0,
|
||||
"open_issues": 3,
|
||||
"watchers": 0,
|
||||
"default_branch": "master"
|
||||
},
|
||||
"sender": {
|
||||
"login": "chhsia0",
|
||||
"id": 4643017,
|
||||
"node_id": "MDQ6VXNlcjQ2NDMwMTc=",
|
||||
"avatar_url": "https://avatars0.githubusercontent.com/u/4643017?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/chhsia0",
|
||||
"html_url": "https://github.com/chhsia0",
|
||||
"followers_url": "https://api.github.com/users/chhsia0/followers",
|
||||
"following_url": "https://api.github.com/users/chhsia0/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/chhsia0/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/chhsia0/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/chhsia0/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/chhsia0/orgs",
|
||||
"repos_url": "https://api.github.com/users/chhsia0/repos",
|
||||
"events_url": "https://api.github.com/users/chhsia0/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/chhsia0/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
}
|
||||
}
|
||||
+446
@@ -0,0 +1,446 @@
|
||||
{
|
||||
"action": "created",
|
||||
"comment": {
|
||||
"url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/comments/29724692",
|
||||
"id": 29724692,
|
||||
"diff_hunk": "@@ -1 +1 @@\n-# public-repo",
|
||||
"path": "README.md",
|
||||
"position": 1,
|
||||
"original_position": 1,
|
||||
"commit_id": "0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c",
|
||||
"original_commit_id": "0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c",
|
||||
"user": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"body": "Maybe you should use more emojji on this line.",
|
||||
"created_at": "2015-05-05T23:40:27Z",
|
||||
"updated_at": "2015-05-05T23:40:27Z",
|
||||
"html_url": "https://github.com/baxterthehacker/public-repo/pull/1#discussion_r29724692",
|
||||
"pull_request_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1",
|
||||
"_links": {
|
||||
"self": {
|
||||
"href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/comments/29724692"
|
||||
},
|
||||
"html": {
|
||||
"href": "https://github.com/baxterthehacker/public-repo/pull/1#discussion_r29724692"
|
||||
},
|
||||
"pull_request": {
|
||||
"href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1"
|
||||
}
|
||||
}
|
||||
},
|
||||
"pull_request": {
|
||||
"url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1",
|
||||
"id": 34778301,
|
||||
"html_url": "https://github.com/baxterthehacker/public-repo/pull/1",
|
||||
"diff_url": "https://github.com/baxterthehacker/public-repo/pull/1.diff",
|
||||
"patch_url": "https://github.com/baxterthehacker/public-repo/pull/1.patch",
|
||||
"issue_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/1",
|
||||
"number": 1,
|
||||
"state": "open",
|
||||
"locked": false,
|
||||
"title": "Update the README with new information",
|
||||
"user": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"body": "This is a pretty simple change that we need to pull into master.",
|
||||
"created_at": "2015-05-05T23:40:27Z",
|
||||
"updated_at": "2015-05-05T23:40:27Z",
|
||||
"closed_at": null,
|
||||
"merged_at": null,
|
||||
"merge_commit_sha": "18721552ba489fb84e12958c1b5694b5475f7991",
|
||||
"assignee": null,
|
||||
"milestone": null,
|
||||
"commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1/commits",
|
||||
"review_comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1/comments",
|
||||
"review_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/comments{/number}",
|
||||
"comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/1/comments",
|
||||
"statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c",
|
||||
"head": {
|
||||
"label": "baxterthehacker:changes",
|
||||
"ref": "changes",
|
||||
"sha": "0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c",
|
||||
"user": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"repo": {
|
||||
"id": 35129377,
|
||||
"name": "public-repo",
|
||||
"full_name": "baxterthehacker/public-repo",
|
||||
"owner": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"private": false,
|
||||
"html_url": "https://github.com/baxterthehacker/public-repo",
|
||||
"description": "",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/baxterthehacker/public-repo",
|
||||
"forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",
|
||||
"keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",
|
||||
"hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",
|
||||
"assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",
|
||||
"blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",
|
||||
"commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",
|
||||
"archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",
|
||||
"issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",
|
||||
"created_at": "2015-05-05T23:40:12Z",
|
||||
"updated_at": "2015-05-05T23:40:12Z",
|
||||
"pushed_at": "2015-05-05T23:40:27Z",
|
||||
"git_url": "git://github.com/baxterthehacker/public-repo.git",
|
||||
"ssh_url": "git@github.com:baxterthehacker/public-repo.git",
|
||||
"clone_url": "https://github.com/baxterthehacker/public-repo.git",
|
||||
"svn_url": "https://github.com/baxterthehacker/public-repo",
|
||||
"homepage": null,
|
||||
"size": 0,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": null,
|
||||
"has_issues": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": true,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"open_issues_count": 1,
|
||||
"forks": 0,
|
||||
"open_issues": 1,
|
||||
"watchers": 0,
|
||||
"default_branch": "master"
|
||||
}
|
||||
},
|
||||
"base": {
|
||||
"label": "baxterthehacker:master",
|
||||
"ref": "master",
|
||||
"sha": "9049f1265b7d61be4a8904a9a27120d2064dab3b",
|
||||
"user": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"repo": {
|
||||
"id": 35129377,
|
||||
"name": "public-repo",
|
||||
"full_name": "baxterthehacker/public-repo",
|
||||
"owner": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"private": false,
|
||||
"html_url": "https://github.com/baxterthehacker/public-repo",
|
||||
"description": "",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/baxterthehacker/public-repo",
|
||||
"forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",
|
||||
"keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",
|
||||
"hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",
|
||||
"assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",
|
||||
"blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",
|
||||
"commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",
|
||||
"archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",
|
||||
"issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",
|
||||
"created_at": "2015-05-05T23:40:12Z",
|
||||
"updated_at": "2015-05-05T23:40:12Z",
|
||||
"pushed_at": "2015-05-05T23:40:27Z",
|
||||
"git_url": "git://github.com/baxterthehacker/public-repo.git",
|
||||
"ssh_url": "git@github.com:baxterthehacker/public-repo.git",
|
||||
"clone_url": "https://github.com/baxterthehacker/public-repo.git",
|
||||
"svn_url": "https://github.com/baxterthehacker/public-repo",
|
||||
"homepage": null,
|
||||
"size": 0,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": null,
|
||||
"has_issues": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": true,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"open_issues_count": 1,
|
||||
"forks": 0,
|
||||
"open_issues": 1,
|
||||
"watchers": 0,
|
||||
"default_branch": "master"
|
||||
}
|
||||
},
|
||||
"_links": {
|
||||
"self": {
|
||||
"href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1"
|
||||
},
|
||||
"html": {
|
||||
"href": "https://github.com/baxterthehacker/public-repo/pull/1"
|
||||
},
|
||||
"issue": {
|
||||
"href": "https://api.github.com/repos/baxterthehacker/public-repo/issues/1"
|
||||
},
|
||||
"comments": {
|
||||
"href": "https://api.github.com/repos/baxterthehacker/public-repo/issues/1/comments"
|
||||
},
|
||||
"review_comments": {
|
||||
"href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1/comments"
|
||||
},
|
||||
"review_comment": {
|
||||
"href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/comments{/number}"
|
||||
},
|
||||
"commits": {
|
||||
"href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1/commits"
|
||||
},
|
||||
"statuses": {
|
||||
"href": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c"
|
||||
}
|
||||
}
|
||||
},
|
||||
"repository": {
|
||||
"id": 35129377,
|
||||
"name": "public-repo",
|
||||
"full_name": "baxterthehacker/public-repo",
|
||||
"owner": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"private": false,
|
||||
"html_url": "https://github.com/baxterthehacker/public-repo",
|
||||
"description": "",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/baxterthehacker/public-repo",
|
||||
"forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",
|
||||
"keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",
|
||||
"hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",
|
||||
"assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",
|
||||
"blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",
|
||||
"commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",
|
||||
"archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",
|
||||
"issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",
|
||||
"created_at": "2015-05-05T23:40:12Z",
|
||||
"updated_at": "2015-05-05T23:40:12Z",
|
||||
"pushed_at": "2015-05-05T23:40:27Z",
|
||||
"git_url": "git://github.com/baxterthehacker/public-repo.git",
|
||||
"ssh_url": "git@github.com:baxterthehacker/public-repo.git",
|
||||
"clone_url": "https://github.com/baxterthehacker/public-repo.git",
|
||||
"svn_url": "https://github.com/baxterthehacker/public-repo",
|
||||
"homepage": null,
|
||||
"size": 0,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": null,
|
||||
"has_issues": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": true,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"open_issues_count": 1,
|
||||
"forks": 0,
|
||||
"open_issues": 1,
|
||||
"watchers": 0,
|
||||
"default_branch": "master"
|
||||
},
|
||||
"sender": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
}
|
||||
}
|
||||
+440
@@ -0,0 +1,440 @@
|
||||
{
|
||||
"action": "submitted",
|
||||
"review": {
|
||||
"id": 2626884,
|
||||
"user": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"body": "Looks great!",
|
||||
"submitted_at": "2016-10-03T23:39:09Z",
|
||||
"state": "approved",
|
||||
"html_url": "https://github.com/baxterthehacker/public-repo/pull/8#pullrequestreview-2626884",
|
||||
"pull_request_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/8",
|
||||
"_links": {
|
||||
"html": {
|
||||
"href": "https://github.com/baxterthehacker/public-repo/pull/8#pullrequestreview-2626884"
|
||||
},
|
||||
"pull_request": {
|
||||
"href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/8"
|
||||
}
|
||||
}
|
||||
},
|
||||
"pull_request": {
|
||||
"url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/8",
|
||||
"id": 87811438,
|
||||
"html_url": "https://github.com/baxterthehacker/public-repo/pull/8",
|
||||
"diff_url": "https://github.com/baxterthehacker/public-repo/pull/8.diff",
|
||||
"patch_url": "https://github.com/baxterthehacker/public-repo/pull/8.patch",
|
||||
"issue_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/8",
|
||||
"number": 8,
|
||||
"state": "open",
|
||||
"locked": false,
|
||||
"title": "Add a README description",
|
||||
"user": {
|
||||
"login": "skalnik",
|
||||
"id": 2546,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/2546?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/skalnik",
|
||||
"html_url": "https://github.com/skalnik",
|
||||
"followers_url": "https://api.github.com/users/skalnik/followers",
|
||||
"following_url": "https://api.github.com/users/skalnik/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/skalnik/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/skalnik/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/skalnik/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/skalnik/orgs",
|
||||
"repos_url": "https://api.github.com/users/skalnik/repos",
|
||||
"events_url": "https://api.github.com/users/skalnik/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/skalnik/received_events",
|
||||
"type": "User",
|
||||
"site_admin": true
|
||||
},
|
||||
"body": "Just a few more details",
|
||||
"created_at": "2016-10-03T23:37:43Z",
|
||||
"updated_at": "2016-10-03T23:39:09Z",
|
||||
"closed_at": null,
|
||||
"merged_at": null,
|
||||
"merge_commit_sha": "faea154a7decef6819754aab0f8c0e232e6c8b4f",
|
||||
"assignee": null,
|
||||
"assignees": [],
|
||||
"milestone": null,
|
||||
"commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/8/commits",
|
||||
"review_comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/8/comments",
|
||||
"review_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/comments{/number}",
|
||||
"comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/8/comments",
|
||||
"statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/b7a1f9c27caa4e03c14a88feb56e2d4f7500aa63",
|
||||
"head": {
|
||||
"label": "skalnik:patch-2",
|
||||
"ref": "patch-2",
|
||||
"sha": "b7a1f9c27caa4e03c14a88feb56e2d4f7500aa63",
|
||||
"user": {
|
||||
"login": "skalnik",
|
||||
"id": 2546,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/2546?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/skalnik",
|
||||
"html_url": "https://github.com/skalnik",
|
||||
"followers_url": "https://api.github.com/users/skalnik/followers",
|
||||
"following_url": "https://api.github.com/users/skalnik/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/skalnik/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/skalnik/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/skalnik/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/skalnik/orgs",
|
||||
"repos_url": "https://api.github.com/users/skalnik/repos",
|
||||
"events_url": "https://api.github.com/users/skalnik/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/skalnik/received_events",
|
||||
"type": "User",
|
||||
"site_admin": true
|
||||
},
|
||||
"repo": {
|
||||
"id": 69919152,
|
||||
"name": "public-repo",
|
||||
"full_name": "skalnik/public-repo",
|
||||
"owner": {
|
||||
"login": "skalnik",
|
||||
"id": 2546,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/2546?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/skalnik",
|
||||
"html_url": "https://github.com/skalnik",
|
||||
"followers_url": "https://api.github.com/users/skalnik/followers",
|
||||
"following_url": "https://api.github.com/users/skalnik/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/skalnik/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/skalnik/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/skalnik/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/skalnik/orgs",
|
||||
"repos_url": "https://api.github.com/users/skalnik/repos",
|
||||
"events_url": "https://api.github.com/users/skalnik/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/skalnik/received_events",
|
||||
"type": "User",
|
||||
"site_admin": true
|
||||
},
|
||||
"private": false,
|
||||
"html_url": "https://github.com/skalnik/public-repo",
|
||||
"description": null,
|
||||
"fork": true,
|
||||
"url": "https://api.github.com/repos/skalnik/public-repo",
|
||||
"forks_url": "https://api.github.com/repos/skalnik/public-repo/forks",
|
||||
"keys_url": "https://api.github.com/repos/skalnik/public-repo/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/skalnik/public-repo/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/skalnik/public-repo/teams",
|
||||
"hooks_url": "https://api.github.com/repos/skalnik/public-repo/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/skalnik/public-repo/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/skalnik/public-repo/events",
|
||||
"assignees_url": "https://api.github.com/repos/skalnik/public-repo/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/skalnik/public-repo/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/skalnik/public-repo/tags",
|
||||
"blobs_url": "https://api.github.com/repos/skalnik/public-repo/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/skalnik/public-repo/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/skalnik/public-repo/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/skalnik/public-repo/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/skalnik/public-repo/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/skalnik/public-repo/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/skalnik/public-repo/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/skalnik/public-repo/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/skalnik/public-repo/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/skalnik/public-repo/subscription",
|
||||
"commits_url": "https://api.github.com/repos/skalnik/public-repo/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/skalnik/public-repo/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/skalnik/public-repo/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/skalnik/public-repo/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/skalnik/public-repo/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/skalnik/public-repo/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/skalnik/public-repo/merges",
|
||||
"archive_url": "https://api.github.com/repos/skalnik/public-repo/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/skalnik/public-repo/downloads",
|
||||
"issues_url": "https://api.github.com/repos/skalnik/public-repo/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/skalnik/public-repo/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/skalnik/public-repo/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/skalnik/public-repo/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/skalnik/public-repo/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/skalnik/public-repo/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/skalnik/public-repo/deployments",
|
||||
"created_at": "2016-10-03T23:23:31Z",
|
||||
"updated_at": "2016-08-15T17:19:01Z",
|
||||
"pushed_at": "2016-10-03T23:36:52Z",
|
||||
"git_url": "git://github.com/skalnik/public-repo.git",
|
||||
"ssh_url": "git@github.com:skalnik/public-repo.git",
|
||||
"clone_url": "https://github.com/skalnik/public-repo.git",
|
||||
"svn_url": "https://github.com/skalnik/public-repo",
|
||||
"homepage": null,
|
||||
"size": 233,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": null,
|
||||
"has_issues": false,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": false,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"open_issues_count": 0,
|
||||
"forks": 0,
|
||||
"open_issues": 0,
|
||||
"watchers": 0,
|
||||
"default_branch": "master"
|
||||
}
|
||||
},
|
||||
"base": {
|
||||
"label": "baxterthehacker:master",
|
||||
"ref": "master",
|
||||
"sha": "9049f1265b7d61be4a8904a9a27120d2064dab3b",
|
||||
"user": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"repo": {
|
||||
"id": 35129377,
|
||||
"name": "public-repo",
|
||||
"full_name": "baxterthehacker/public-repo",
|
||||
"owner": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"private": false,
|
||||
"html_url": "https://github.com/baxterthehacker/public-repo",
|
||||
"description": "",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/baxterthehacker/public-repo",
|
||||
"forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",
|
||||
"keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",
|
||||
"hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",
|
||||
"assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",
|
||||
"blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",
|
||||
"commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",
|
||||
"archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",
|
||||
"issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/baxterthehacker/public-repo/deployments",
|
||||
"created_at": "2015-05-05T23:40:12Z",
|
||||
"updated_at": "2016-08-15T17:19:01Z",
|
||||
"pushed_at": "2016-10-03T23:37:43Z",
|
||||
"git_url": "git://github.com/baxterthehacker/public-repo.git",
|
||||
"ssh_url": "git@github.com:baxterthehacker/public-repo.git",
|
||||
"clone_url": "https://github.com/baxterthehacker/public-repo.git",
|
||||
"svn_url": "https://github.com/baxterthehacker/public-repo",
|
||||
"homepage": null,
|
||||
"size": 233,
|
||||
"stargazers_count": 2,
|
||||
"watchers_count": 2,
|
||||
"language": null,
|
||||
"has_issues": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": true,
|
||||
"forks_count": 2,
|
||||
"mirror_url": null,
|
||||
"open_issues_count": 5,
|
||||
"forks": 2,
|
||||
"open_issues": 5,
|
||||
"watchers": 2,
|
||||
"default_branch": "master"
|
||||
}
|
||||
},
|
||||
"_links": {
|
||||
"self": {
|
||||
"href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/8"
|
||||
},
|
||||
"html": {
|
||||
"href": "https://github.com/baxterthehacker/public-repo/pull/8"
|
||||
},
|
||||
"issue": {
|
||||
"href": "https://api.github.com/repos/baxterthehacker/public-repo/issues/8"
|
||||
},
|
||||
"comments": {
|
||||
"href": "https://api.github.com/repos/baxterthehacker/public-repo/issues/8/comments"
|
||||
},
|
||||
"review_comments": {
|
||||
"href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/8/comments"
|
||||
},
|
||||
"review_comment": {
|
||||
"href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/comments{/number}"
|
||||
},
|
||||
"commits": {
|
||||
"href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/8/commits"
|
||||
},
|
||||
"statuses": {
|
||||
"href": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/b7a1f9c27caa4e03c14a88feb56e2d4f7500aa63"
|
||||
}
|
||||
}
|
||||
},
|
||||
"repository": {
|
||||
"id": 35129377,
|
||||
"name": "public-repo",
|
||||
"full_name": "baxterthehacker/public-repo",
|
||||
"owner": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"private": false,
|
||||
"html_url": "https://github.com/baxterthehacker/public-repo",
|
||||
"description": "",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/baxterthehacker/public-repo",
|
||||
"forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",
|
||||
"keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",
|
||||
"hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",
|
||||
"assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",
|
||||
"blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",
|
||||
"commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",
|
||||
"archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",
|
||||
"issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/baxterthehacker/public-repo/deployments",
|
||||
"created_at": "2015-05-05T23:40:12Z",
|
||||
"updated_at": "2016-08-15T17:19:01Z",
|
||||
"pushed_at": "2016-10-03T23:37:43Z",
|
||||
"git_url": "git://github.com/baxterthehacker/public-repo.git",
|
||||
"ssh_url": "git@github.com:baxterthehacker/public-repo.git",
|
||||
"clone_url": "https://github.com/baxterthehacker/public-repo.git",
|
||||
"svn_url": "https://github.com/baxterthehacker/public-repo",
|
||||
"homepage": null,
|
||||
"size": 233,
|
||||
"stargazers_count": 2,
|
||||
"watchers_count": 2,
|
||||
"language": null,
|
||||
"has_issues": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": true,
|
||||
"forks_count": 2,
|
||||
"mirror_url": null,
|
||||
"open_issues_count": 5,
|
||||
"forks": 2,
|
||||
"open_issues": 5,
|
||||
"watchers": 2,
|
||||
"default_branch": "master"
|
||||
},
|
||||
"sender": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
}
|
||||
}
|
||||
Vendored
+416
@@ -0,0 +1,416 @@
|
||||
{
|
||||
"action": "opened",
|
||||
"number": 1,
|
||||
"pull_request": {
|
||||
"url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1",
|
||||
"id": 34778301,
|
||||
"html_url": "https://github.com/baxterthehacker/public-repo/pull/1",
|
||||
"diff_url": "https://github.com/baxterthehacker/public-repo/pull/1.diff",
|
||||
"patch_url": "https://github.com/baxterthehacker/public-repo/pull/1.patch",
|
||||
"issue_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/1",
|
||||
"number": 1,
|
||||
"state": "open",
|
||||
"locked": false,
|
||||
"title": "Update the README with new information",
|
||||
"user": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"body": "This is a pretty simple change that we need to pull into master.",
|
||||
"created_at": "2015-05-05T23:40:27Z",
|
||||
"updated_at": "2015-05-05T23:40:27Z",
|
||||
"closed_at": null,
|
||||
"merged_at": null,
|
||||
"merge_commit_sha": null,
|
||||
"assignee": null,
|
||||
"milestone": null,
|
||||
"draft": false,
|
||||
"commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1/commits",
|
||||
"review_comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1/comments",
|
||||
"review_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/comments{/number}",
|
||||
"comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/1/comments",
|
||||
"statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c",
|
||||
"head": {
|
||||
"label": "baxterthehacker:changes",
|
||||
"ref": "changes",
|
||||
"sha": "0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c",
|
||||
"user": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"repo": {
|
||||
"id": 35129377,
|
||||
"name": "public-repo",
|
||||
"full_name": "baxterthehacker/public-repo",
|
||||
"owner": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"private": false,
|
||||
"html_url": "https://github.com/baxterthehacker/public-repo",
|
||||
"description": "",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/baxterthehacker/public-repo",
|
||||
"forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",
|
||||
"keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",
|
||||
"hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",
|
||||
"assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",
|
||||
"blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",
|
||||
"commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",
|
||||
"archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",
|
||||
"issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",
|
||||
"created_at": "2015-05-05T23:40:12Z",
|
||||
"updated_at": "2015-05-05T23:40:12Z",
|
||||
"pushed_at": "2015-05-05T23:40:26Z",
|
||||
"git_url": "git://github.com/baxterthehacker/public-repo.git",
|
||||
"ssh_url": "git@github.com:baxterthehacker/public-repo.git",
|
||||
"clone_url": "https://github.com/baxterthehacker/public-repo.git",
|
||||
"svn_url": "https://github.com/baxterthehacker/public-repo",
|
||||
"homepage": null,
|
||||
"size": 0,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": null,
|
||||
"has_issues": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": true,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"open_issues_count": 1,
|
||||
"forks": 0,
|
||||
"open_issues": 1,
|
||||
"watchers": 0,
|
||||
"default_branch": "master"
|
||||
}
|
||||
},
|
||||
"base": {
|
||||
"label": "baxterthehacker:master",
|
||||
"ref": "master",
|
||||
"sha": "9049f1265b7d61be4a8904a9a27120d2064dab3b",
|
||||
"user": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"repo": {
|
||||
"id": 35129377,
|
||||
"name": "public-repo",
|
||||
"full_name": "baxterthehacker/public-repo",
|
||||
"owner": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"private": false,
|
||||
"html_url": "https://github.com/baxterthehacker/public-repo",
|
||||
"description": "",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/baxterthehacker/public-repo",
|
||||
"forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",
|
||||
"keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",
|
||||
"hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",
|
||||
"assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",
|
||||
"blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",
|
||||
"commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",
|
||||
"archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",
|
||||
"issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",
|
||||
"created_at": "2015-05-05T23:40:12Z",
|
||||
"updated_at": "2015-05-05T23:40:12Z",
|
||||
"pushed_at": "2015-05-05T23:40:26Z",
|
||||
"git_url": "git://github.com/baxterthehacker/public-repo.git",
|
||||
"ssh_url": "git@github.com:baxterthehacker/public-repo.git",
|
||||
"clone_url": "https://github.com/baxterthehacker/public-repo.git",
|
||||
"svn_url": "https://github.com/baxterthehacker/public-repo",
|
||||
"homepage": null,
|
||||
"size": 0,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": null,
|
||||
"has_issues": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": true,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"open_issues_count": 1,
|
||||
"forks": 0,
|
||||
"open_issues": 1,
|
||||
"watchers": 0,
|
||||
"default_branch": "master"
|
||||
}
|
||||
},
|
||||
"_links": {
|
||||
"self": {
|
||||
"href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1"
|
||||
},
|
||||
"html": {
|
||||
"href": "https://github.com/baxterthehacker/public-repo/pull/1"
|
||||
},
|
||||
"issue": {
|
||||
"href": "https://api.github.com/repos/baxterthehacker/public-repo/issues/1"
|
||||
},
|
||||
"comments": {
|
||||
"href": "https://api.github.com/repos/baxterthehacker/public-repo/issues/1/comments"
|
||||
},
|
||||
"review_comments": {
|
||||
"href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1/comments"
|
||||
},
|
||||
"review_comment": {
|
||||
"href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/comments{/number}"
|
||||
},
|
||||
"commits": {
|
||||
"href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1/commits"
|
||||
},
|
||||
"statuses": {
|
||||
"href": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c"
|
||||
}
|
||||
},
|
||||
"merged": false,
|
||||
"mergeable": null,
|
||||
"mergeable_state": "unknown",
|
||||
"merged_by": null,
|
||||
"comments": 0,
|
||||
"review_comments": 0,
|
||||
"commits": 1,
|
||||
"additions": 1,
|
||||
"deletions": 1,
|
||||
"changed_files": 1
|
||||
},
|
||||
"repository": {
|
||||
"id": 35129377,
|
||||
"name": "public-repo",
|
||||
"full_name": "baxterthehacker/public-repo",
|
||||
"owner": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"private": false,
|
||||
"html_url": "https://github.com/baxterthehacker/public-repo",
|
||||
"description": "",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/baxterthehacker/public-repo",
|
||||
"forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",
|
||||
"keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",
|
||||
"hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",
|
||||
"assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",
|
||||
"blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",
|
||||
"commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",
|
||||
"archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",
|
||||
"issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",
|
||||
"created_at": "2015-05-05T23:40:12Z",
|
||||
"updated_at": "2015-05-05T23:40:12Z",
|
||||
"pushed_at": "2015-05-05T23:40:26Z",
|
||||
"git_url": "git://github.com/baxterthehacker/public-repo.git",
|
||||
"ssh_url": "git@github.com:baxterthehacker/public-repo.git",
|
||||
"clone_url": "https://github.com/baxterthehacker/public-repo.git",
|
||||
"svn_url": "https://github.com/baxterthehacker/public-repo",
|
||||
"homepage": null,
|
||||
"size": 0,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": null,
|
||||
"has_issues": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": true,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"open_issues_count": 1,
|
||||
"forks": 0,
|
||||
"open_issues": 1,
|
||||
"watchers": 0,
|
||||
"default_branch": "master"
|
||||
},
|
||||
"sender": {
|
||||
"login": "baxterthehacker",
|
||||
"id": 6752317,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/baxterthehacker",
|
||||
"html_url": "https://github.com/baxterthehacker",
|
||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"installation": {
|
||||
"id": 234
|
||||
}
|
||||
}
|
||||
Vendored
+187
@@ -0,0 +1,187 @@
|
||||
{
|
||||
"ref": "refs/heads/master",
|
||||
"before": "737d38c599c1b2991664dfc6155d6bf516fcce36",
|
||||
"after": "fd489864e7642b48eaad6e3f155c10e46810ec72",
|
||||
"created": false,
|
||||
"deleted": false,
|
||||
"forced": false,
|
||||
"base_ref": null,
|
||||
"compare": "https://github.com/binkkatal/sample_app/compare/737d38c599c1...fd489864e764",
|
||||
"commits": [
|
||||
{
|
||||
"id": "fd489864e7642b48eaad6e3f155c10e46810ec72",
|
||||
"tree_id": "55e08136e14d5168b699038f88c73e175ddffd3b",
|
||||
"distinct": true,
|
||||
"message": "test a push event",
|
||||
"timestamp": "2018-06-29T19:34:13+05:30",
|
||||
"url": "https://github.com/binkkatal/sample_app/commit/fd489864e7642b48eaad6e3f155c10e46810ec72",
|
||||
"author": {
|
||||
"name": "binkkatal",
|
||||
"email": "binkkatal.r@gmail.com",
|
||||
"username": "binkkatal"
|
||||
},
|
||||
"committer": {
|
||||
"name": "binkkatal",
|
||||
"email": "binkkatal.r@gmail.com",
|
||||
"username": "binkkatal"
|
||||
},
|
||||
"added": [
|
||||
".razorops.yaml"
|
||||
],
|
||||
"removed": [
|
||||
|
||||
],
|
||||
"modified": [
|
||||
"app/controllers/application_controller.rb"
|
||||
]
|
||||
}
|
||||
],
|
||||
"head_commit": {
|
||||
"id": "fd489864e7642b48eaad6e3f155c10e46810ec72",
|
||||
"tree_id": "55e08136e14d5168b699038f88c73e175ddffd3b",
|
||||
"distinct": true,
|
||||
"message": "test a push event",
|
||||
"timestamp": "2018-06-29T19:34:13+05:30",
|
||||
"url": "https://github.com/binkkatal/sample_app/commit/fd489864e7642b48eaad6e3f155c10e46810ec72",
|
||||
"author": {
|
||||
"name": "binkkatal",
|
||||
"email": "binkkatal.r@gmail.com",
|
||||
"username": "binkkatal"
|
||||
},
|
||||
"committer": {
|
||||
"name": "binkkatal",
|
||||
"email": "binkkatal.r@gmail.com",
|
||||
"username": "binkkatal"
|
||||
},
|
||||
"added": [
|
||||
".razorops.yaml"
|
||||
],
|
||||
"removed": [
|
||||
|
||||
],
|
||||
"modified": [
|
||||
"app/controllers/application_controller.rb"
|
||||
]
|
||||
},
|
||||
"repository": {
|
||||
"id": 63933911,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnk2MzkzMzkxMQ==",
|
||||
"name": "sample_app",
|
||||
"full_name": "binkkatal/sample_app",
|
||||
"owner": {
|
||||
"name": "binkkatal",
|
||||
"email": "binkkatal.r@gmail.com",
|
||||
"login": "binkkatal",
|
||||
"id": 13351472,
|
||||
"node_id": "MDQ6VXNlcjEzMzUxNDcy",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/13351472?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/binkkatal",
|
||||
"html_url": "https://github.com/binkkatal",
|
||||
"followers_url": "https://api.github.com/users/binkkatal/followers",
|
||||
"following_url": "https://api.github.com/users/binkkatal/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/binkkatal/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/binkkatal/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/binkkatal/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/binkkatal/orgs",
|
||||
"repos_url": "https://api.github.com/users/binkkatal/repos",
|
||||
"events_url": "https://api.github.com/users/binkkatal/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/binkkatal/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"private": false,
|
||||
"html_url": "https://github.com/binkkatal/sample_app",
|
||||
"description": null,
|
||||
"fork": false,
|
||||
"url": "https://github.com/binkkatal/sample_app",
|
||||
"forks_url": "https://api.github.com/repos/binkkatal/sample_app/forks",
|
||||
"keys_url": "https://api.github.com/repos/binkkatal/sample_app/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/binkkatal/sample_app/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/binkkatal/sample_app/teams",
|
||||
"hooks_url": "https://api.github.com/repos/binkkatal/sample_app/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/binkkatal/sample_app/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/binkkatal/sample_app/events",
|
||||
"assignees_url": "https://api.github.com/repos/binkkatal/sample_app/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/binkkatal/sample_app/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/binkkatal/sample_app/tags",
|
||||
"blobs_url": "https://api.github.com/repos/binkkatal/sample_app/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/binkkatal/sample_app/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/binkkatal/sample_app/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/binkkatal/sample_app/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/binkkatal/sample_app/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/binkkatal/sample_app/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/binkkatal/sample_app/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/binkkatal/sample_app/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/binkkatal/sample_app/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/binkkatal/sample_app/subscription",
|
||||
"commits_url": "https://api.github.com/repos/binkkatal/sample_app/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/binkkatal/sample_app/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/binkkatal/sample_app/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/binkkatal/sample_app/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/binkkatal/sample_app/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/binkkatal/sample_app/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/binkkatal/sample_app/merges",
|
||||
"archive_url": "https://api.github.com/repos/binkkatal/sample_app/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/binkkatal/sample_app/downloads",
|
||||
"issues_url": "https://api.github.com/repos/binkkatal/sample_app/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/binkkatal/sample_app/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/binkkatal/sample_app/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/binkkatal/sample_app/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/binkkatal/sample_app/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/binkkatal/sample_app/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/binkkatal/sample_app/deployments",
|
||||
"created_at": 1469173225,
|
||||
"updated_at": "2016-07-22T07:48:39Z",
|
||||
"pushed_at": 1530281075,
|
||||
"git_url": "git://github.com/binkkatal/sample_app.git",
|
||||
"ssh_url": "git@github.com:binkkatal/sample_app.git",
|
||||
"clone_url": "https://github.com/binkkatal/sample_app.git",
|
||||
"svn_url": "https://github.com/binkkatal/sample_app",
|
||||
"homepage": null,
|
||||
"size": 23,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": "Ruby",
|
||||
"has_issues": true,
|
||||
"has_projects": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": false,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"archived": false,
|
||||
"open_issues_count": 0,
|
||||
"license": null,
|
||||
"forks": 0,
|
||||
"open_issues": 0,
|
||||
"watchers": 0,
|
||||
"default_branch": "master",
|
||||
"stargazers": 0,
|
||||
"master_branch": "master"
|
||||
},
|
||||
"pusher": {
|
||||
"name": "binkkatal",
|
||||
"email": "binkkatal.r@gmail.com"
|
||||
},
|
||||
"sender": {
|
||||
"login": "binkkatal",
|
||||
"id": 13351472,
|
||||
"node_id": "MDQ6VXNlcjEzMzUxNDcy",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/13351472?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/binkkatal",
|
||||
"html_url": "https://github.com/binkkatal",
|
||||
"followers_url": "https://api.github.com/users/binkkatal/followers",
|
||||
"following_url": "https://api.github.com/users/binkkatal/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/binkkatal/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/binkkatal/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/binkkatal/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/binkkatal/orgs",
|
||||
"repos_url": "https://api.github.com/users/binkkatal/repos",
|
||||
"events_url": "https://api.github.com/users/binkkatal/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/binkkatal/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user