Compare commits
106 Commits
v5.9.0
...
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 |
@@ -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
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
run:
|
||||||
|
tests: false
|
||||||
|
skip-dirs:
|
||||||
|
- _examples
|
||||||
|
|
||||||
|
linters:
|
||||||
|
enable:
|
||||||
|
- vet
|
||||||
|
- vetshadow
|
||||||
|
- golint
|
||||||
|
- megacheck
|
||||||
|
- ineffassign
|
||||||
|
- misspell
|
||||||
|
- errcheck
|
||||||
|
- goconst
|
||||||
|
- gofmt
|
||||||
-34
@@ -1,34 +0,0 @@
|
|||||||
language: go
|
|
||||||
go:
|
|
||||||
- 1.12.1
|
|
||||||
- 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
|
|
||||||
- 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
|
|
||||||
- ln -s $GOPATH/src/github.com/$TRAVIS_REPO_SLUG $GOPATH/src/gopkg.in/webhooks.v4
|
|
||||||
- ln -s $GOPATH/src/github.com/$TRAVIS_REPO_SLUG $GOPATH/src/gopkg.in/webhooks.v5
|
|
||||||
|
|
||||||
before_script:
|
|
||||||
- go get -t ./...
|
|
||||||
|
|
||||||
script:
|
|
||||||
- make test
|
|
||||||
|
|
||||||
after_success: |
|
|
||||||
[ $TRAVIS_GO_VERSION = 1.11.2 ] &&
|
|
||||||
overalls -project="github.com/go-playground/webhooks" -covermode=count -ignore=.git,_examples,testdata -debug &&
|
|
||||||
goveralls -coverprofile=overalls.coverprofile -service travis-ci -repotoken $COVERALLS_TOKEN
|
|
||||||
@@ -1,17 +1,21 @@
|
|||||||
GOCMD=go
|
GOPATH=$(shell go env GOPATH)
|
||||||
|
|
||||||
|
all: lint test
|
||||||
|
|
||||||
linters-install:
|
linters-install:
|
||||||
@gometalinter --version >/dev/null 2>&1 || { \
|
@echo "+ $@"
|
||||||
echo "installing linting tools..."; \
|
@$(GOPATH)/bin/golangci-lint --version >/dev/null 2>&1 || { \
|
||||||
$(GOCMD) get github.com/alecthomas/gometalinter; \
|
echo "Install golangci-lint..."; \
|
||||||
gometalinter --install; \
|
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(GOPATH)/bin; \
|
||||||
}
|
}
|
||||||
|
|
||||||
lint: linters-install
|
lint: linters-install
|
||||||
@gofmt -l . >gofmt.test 2>&1 && if [ -s gofmt.test ]; then echo "Fix formatting using 'gofmt -s -w .' for:"; cat gofmt.test; exit 1; fi && rm gofmt.test
|
@echo "+ $@"
|
||||||
gometalinter --vendor --disable-all --enable=vet --enable=vetshadow --enable=golint --enable=megacheck --enable=ineffassign --enable=misspell --enable=errcheck --enable=goconst ./...
|
$(GOPATH)/bin/golangci-lint run ./...
|
||||||
|
|
||||||
test:
|
test:
|
||||||
$(GOCMD) test -cover -race ./...
|
@echo "+ $@"
|
||||||
|
GO111MODULE=on go test -covermode=atomic -race ./...
|
||||||
|
|
||||||
.PHONY: test lint linters-install
|
.PHONY: test lint linters-install
|
||||||
|
.DEFAULT_GOAL := all
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
Library webhooks
|
Library webhooks
|
||||||
================
|
================
|
||||||
<img align="right" src="https://raw.githubusercontent.com/go-playground/webhooks/v5/logo.png">
|
<img align="right" src="https://raw.githubusercontent.com/go-playground/webhooks/v6/logo.png">
|
||||||
[](https://travis-ci.org/go-playground/webhooks)
|
[](https://github.com/go-playground/webhooks/actions)
|
||||||
[](https://coveralls.io/github/go-playground/webhooks?branch=v5)
|
[](https://coveralls.io/github/go-playground/webhooks?branch=master)
|
||||||
[](https://goreportcard.com/report/go-playground/webhooks)
|
[](https://goreportcard.com/report/go-playground/webhooks)
|
||||||
[](https://godoc.org/gopkg.in/go-playground/webhooks.v5)
|
[](https://godoc.org/github.com/go-playground/webhooks/v6)
|
||||||

|

|
||||||
|
|
||||||
Library webhooks allows for easy receiving and parsing of GitHub, Bitbucket and GitLab Webhook Events
|
Library webhooks allows for easy receiving and parsing of GitHub, Bitbucket and GitLab Webhook Events
|
||||||
@@ -24,17 +24,17 @@ Installation
|
|||||||
Use go get.
|
Use go get.
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
go get -u gopkg.in/go-playground/webhooks.v5
|
go get -u github.com/go-playground/webhooks/v6
|
||||||
```
|
```
|
||||||
|
|
||||||
Then import the package into your own code.
|
Then import the package into your own code.
|
||||||
|
|
||||||
import "gopkg.in/go-playground/webhooks.v5"
|
import "github.com/go-playground/webhooks/v6"
|
||||||
|
|
||||||
Usage and Documentation
|
Usage and Documentation
|
||||||
------
|
------
|
||||||
|
|
||||||
Please see http://godoc.org/gopkg.in/go-playground/webhooks.v5 for detailed usage docs.
|
Please see http://godoc.org/github.com/go-playground/webhooks/v6 for detailed usage docs.
|
||||||
|
|
||||||
##### Examples:
|
##### Examples:
|
||||||
```go
|
```go
|
||||||
@@ -45,7 +45,7 @@ import (
|
|||||||
|
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"gopkg.in/go-playground/webhooks.v5/github"
|
"github.com/go-playground/webhooks/v6/github"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import (
|
|||||||
|
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"gopkg.in/go-playground/webhooks.v5/github"
|
"github.com/go-playground/webhooks/v6/github"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import (
|
|||||||
|
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"gopkg.in/go-playground/webhooks.v5/github"
|
"github.com/go-playground/webhooks/v6/github"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|||||||
@@ -33,6 +33,7 @@ const (
|
|||||||
RepositoryCommentDeletedEvent Event = "repo:comment:deleted"
|
RepositoryCommentDeletedEvent Event = "repo:comment:deleted"
|
||||||
|
|
||||||
PullRequestOpenedEvent Event = "pr:opened"
|
PullRequestOpenedEvent Event = "pr:opened"
|
||||||
|
PullRequestFromReferenceUpdatedEvent Event = "pr:from_ref_updated"
|
||||||
PullRequestModifiedEvent Event = "pr:modified"
|
PullRequestModifiedEvent Event = "pr:modified"
|
||||||
PullRequestMergedEvent Event = "pr:merged"
|
PullRequestMergedEvent Event = "pr:merged"
|
||||||
PullRequestDeclinedEvent Event = "pr:declined"
|
PullRequestDeclinedEvent Event = "pr:declined"
|
||||||
@@ -168,6 +169,10 @@ func (hook *Webhook) Parse(r *http.Request, events ...Event) (interface{}, error
|
|||||||
var pl PullRequestOpenedPayload
|
var pl PullRequestOpenedPayload
|
||||||
err = json.Unmarshal([]byte(payload), &pl)
|
err = json.Unmarshal([]byte(payload), &pl)
|
||||||
return pl, err
|
return pl, err
|
||||||
|
case PullRequestFromReferenceUpdatedEvent:
|
||||||
|
var pl PullRequestFromReferenceUpdatedPayload
|
||||||
|
err = json.Unmarshal([]byte(payload), &pl)
|
||||||
|
return pl, err
|
||||||
case PullRequestModifiedEvent:
|
case PullRequestModifiedEvent:
|
||||||
var pl PullRequestModifiedPayload
|
var pl PullRequestModifiedPayload
|
||||||
err = json.Unmarshal([]byte(payload), &pl)
|
err = json.Unmarshal([]byte(payload), &pl)
|
||||||
|
|||||||
@@ -66,6 +66,14 @@ type PullRequestOpenedPayload struct {
|
|||||||
PullRequest PullRequest `json:"pullRequest"`
|
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 {
|
type PullRequestModifiedPayload struct {
|
||||||
Date Date `json:"date"`
|
Date Date `json:"date"`
|
||||||
EventKey Event `json:"eventKey"`
|
EventKey Event `json:"eventKey"`
|
||||||
@@ -139,7 +147,7 @@ type PullRequestCommentAddedPayload struct {
|
|||||||
Actor User `json:"actor"`
|
Actor User `json:"actor"`
|
||||||
PullRequest PullRequest `json:"pullRequest"`
|
PullRequest PullRequest `json:"pullRequest"`
|
||||||
Comment Comment `json:"comment"`
|
Comment Comment `json:"comment"`
|
||||||
CommentParentId uint64 `json:"commentParentId,omitempty"`
|
CommentParentID uint64 `json:"commentParentId,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type PullRequestCommentEditedPayload struct {
|
type PullRequestCommentEditedPayload struct {
|
||||||
@@ -148,7 +156,7 @@ type PullRequestCommentEditedPayload struct {
|
|||||||
Actor User `json:"actor"`
|
Actor User `json:"actor"`
|
||||||
PullRequest PullRequest `json:"pullRequest"`
|
PullRequest PullRequest `json:"pullRequest"`
|
||||||
Comment Comment `json:"comment"`
|
Comment Comment `json:"comment"`
|
||||||
CommentParentId string `json:"commentParentId,omitempty"`
|
CommentParentID string `json:"commentParentId,omitempty"`
|
||||||
PreviousComment string `json:"previousComment"`
|
PreviousComment string `json:"previousComment"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -158,7 +166,7 @@ type PullRequestCommentDeletedPayload struct {
|
|||||||
Actor User `json:"actor"`
|
Actor User `json:"actor"`
|
||||||
PullRequest PullRequest `json:"pullRequest"`
|
PullRequest PullRequest `json:"pullRequest"`
|
||||||
Comment Comment `json:"comment"`
|
Comment Comment `json:"comment"`
|
||||||
CommentParentId uint64 `json:"commentParentId,omitempty"`
|
CommentParentID uint64 `json:"commentParentId,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// -----------------------
|
// -----------------------
|
||||||
@@ -178,7 +186,7 @@ type Repository struct {
|
|||||||
ID uint64 `json:"id"`
|
ID uint64 `json:"id"`
|
||||||
Slug string `json:"slug"`
|
Slug string `json:"slug"`
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
ScmId string `json:"scmId"`
|
ScmID string `json:"scmId"`
|
||||||
State string `json:"state"`
|
State string `json:"state"`
|
||||||
StatusMessage string `json:"statusMessage"`
|
StatusMessage string `json:"statusMessage"`
|
||||||
Forkable bool `json:"forkable"`
|
Forkable bool `json:"forkable"`
|
||||||
@@ -221,7 +229,7 @@ type PullRequest struct {
|
|||||||
|
|
||||||
type RepositoryChange struct {
|
type RepositoryChange struct {
|
||||||
Reference RepositoryReference `json:"ref"`
|
Reference RepositoryReference `json:"ref"`
|
||||||
ReferenceId string `json:"refId"`
|
ReferenceID string `json:"refId"`
|
||||||
FromHash string `json:"fromHash"`
|
FromHash string `json:"fromHash"`
|
||||||
ToHash string `json:"toHash"`
|
ToHash string `json:"toHash"`
|
||||||
Type string `json:"type"`
|
Type string `json:"type"`
|
||||||
@@ -229,7 +237,7 @@ type RepositoryChange struct {
|
|||||||
|
|
||||||
type RepositoryReference struct {
|
type RepositoryReference struct {
|
||||||
ID string `json:"id"`
|
ID string `json:"id"`
|
||||||
DisplayId string `json:"displayId"`
|
DisplayID string `json:"displayId"`
|
||||||
Type string `json:"type,omitempty"`
|
Type string `json:"type,omitempty"`
|
||||||
LatestCommit string `json:"latestCommit,omitempty"`
|
LatestCommit string `json:"latestCommit,omitempty"`
|
||||||
Repository Repository `json:"repository,omitempty"`
|
Repository Repository `json:"repository,omitempty"`
|
||||||
|
|||||||
@@ -348,8 +348,9 @@ type PullRequestCommentDeletedPayload struct {
|
|||||||
// Owner is the common Bitbucket Owner Sub Entity
|
// Owner is the common Bitbucket Owner Sub Entity
|
||||||
type Owner struct {
|
type Owner struct {
|
||||||
Type string `json:"type"`
|
Type string `json:"type"`
|
||||||
Username string `json:"username"`
|
NickName string `json:"nickname"`
|
||||||
DisplayName string `json:"display_name"`
|
DisplayName string `json:"display_name"`
|
||||||
|
AccountID string `json:"account_id"`
|
||||||
UUID string `json:"uuid"`
|
UUID string `json:"uuid"`
|
||||||
Links struct {
|
Links struct {
|
||||||
Self struct {
|
Self struct {
|
||||||
|
|||||||
+1
-2
@@ -1,6 +1,6 @@
|
|||||||
package docker
|
package docker
|
||||||
|
|
||||||
// this package recieves the Docker Hub Automated Build webhook
|
// this package receives the Docker Hub Automated Build webhook
|
||||||
// https://docs.docker.com/docker-hub/webhooks/
|
// https://docs.docker.com/docker-hub/webhooks/
|
||||||
// NOT the Docker Trusted Registry webhook
|
// NOT the Docker Trusted Registry webhook
|
||||||
// https://docs.docker.com/ee/dtr/user/create-and-manage-webhooks/
|
// https://docs.docker.com/ee/dtr/user/create-and-manage-webhooks/
|
||||||
@@ -58,7 +58,6 @@ type BuildPayload struct {
|
|||||||
|
|
||||||
// Webhook instance contains all methods needed to process events
|
// Webhook instance contains all methods needed to process events
|
||||||
type Webhook struct {
|
type Webhook struct {
|
||||||
secret string
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// New creates and returns a WebHook instance
|
// New creates and returns a WebHook instance
|
||||||
|
|||||||
+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)
|
||||||
|
}
|
||||||
|
}
|
||||||
+32
-1
@@ -33,6 +33,7 @@ const (
|
|||||||
CommitCommentEvent Event = "commit_comment"
|
CommitCommentEvent Event = "commit_comment"
|
||||||
CreateEvent Event = "create"
|
CreateEvent Event = "create"
|
||||||
DeleteEvent Event = "delete"
|
DeleteEvent Event = "delete"
|
||||||
|
DeployKeyEvent Event = "deploy_key"
|
||||||
DeploymentEvent Event = "deployment"
|
DeploymentEvent Event = "deployment"
|
||||||
DeploymentStatusEvent Event = "deployment_status"
|
DeploymentStatusEvent Event = "deployment_status"
|
||||||
ForkEvent Event = "fork"
|
ForkEvent Event = "fork"
|
||||||
@@ -40,12 +41,14 @@ const (
|
|||||||
InstallationEvent Event = "installation"
|
InstallationEvent Event = "installation"
|
||||||
InstallationRepositoriesEvent Event = "installation_repositories"
|
InstallationRepositoriesEvent Event = "installation_repositories"
|
||||||
IntegrationInstallationEvent Event = "integration_installation"
|
IntegrationInstallationEvent Event = "integration_installation"
|
||||||
|
IntegrationInstallationRepositoriesEvent Event = "integration_installation_repositories"
|
||||||
IssueCommentEvent Event = "issue_comment"
|
IssueCommentEvent Event = "issue_comment"
|
||||||
IssuesEvent Event = "issues"
|
IssuesEvent Event = "issues"
|
||||||
LabelEvent Event = "label"
|
LabelEvent Event = "label"
|
||||||
MemberEvent Event = "member"
|
MemberEvent Event = "member"
|
||||||
MembershipEvent Event = "membership"
|
MembershipEvent Event = "membership"
|
||||||
MilestoneEvent Event = "milestone"
|
MilestoneEvent Event = "milestone"
|
||||||
|
MetaEvent Event = "meta"
|
||||||
OrganizationEvent Event = "organization"
|
OrganizationEvent Event = "organization"
|
||||||
OrgBlockEvent Event = "org_block"
|
OrgBlockEvent Event = "org_block"
|
||||||
PageBuildEvent Event = "page_build"
|
PageBuildEvent Event = "page_build"
|
||||||
@@ -60,11 +63,15 @@ const (
|
|||||||
PushEvent Event = "push"
|
PushEvent Event = "push"
|
||||||
ReleaseEvent Event = "release"
|
ReleaseEvent Event = "release"
|
||||||
RepositoryEvent Event = "repository"
|
RepositoryEvent Event = "repository"
|
||||||
|
RepositoryVulnerabilityAlertEvent Event = "repository_vulnerability_alert"
|
||||||
SecurityAdvisoryEvent Event = "security_advisory"
|
SecurityAdvisoryEvent Event = "security_advisory"
|
||||||
StatusEvent Event = "status"
|
StatusEvent Event = "status"
|
||||||
TeamEvent Event = "team"
|
TeamEvent Event = "team"
|
||||||
TeamAddEvent Event = "team_add"
|
TeamAddEvent Event = "team_add"
|
||||||
WatchEvent Event = "watch"
|
WatchEvent Event = "watch"
|
||||||
|
WorkflowDispatchEvent Event = "workflow_dispatch"
|
||||||
|
WorkflowJobEvent Event = "workflow_job"
|
||||||
|
WorkflowRunEvent Event = "workflow_run"
|
||||||
)
|
)
|
||||||
|
|
||||||
// EventSubtype defines a GitHub Hook Event subtype
|
// EventSubtype defines a GitHub Hook Event subtype
|
||||||
@@ -181,6 +188,10 @@ func (hook Webhook) Parse(r *http.Request, events ...Event) (interface{}, error)
|
|||||||
var pl CreatePayload
|
var pl CreatePayload
|
||||||
err = json.Unmarshal([]byte(payload), &pl)
|
err = json.Unmarshal([]byte(payload), &pl)
|
||||||
return pl, err
|
return pl, err
|
||||||
|
case DeployKeyEvent:
|
||||||
|
var pl DeployKeyPayload
|
||||||
|
err = json.Unmarshal([]byte(payload), &pl)
|
||||||
|
return pl, err
|
||||||
case DeleteEvent:
|
case DeleteEvent:
|
||||||
var pl DeletePayload
|
var pl DeletePayload
|
||||||
err = json.Unmarshal([]byte(payload), &pl)
|
err = json.Unmarshal([]byte(payload), &pl)
|
||||||
@@ -205,7 +216,7 @@ func (hook Webhook) Parse(r *http.Request, events ...Event) (interface{}, error)
|
|||||||
var pl InstallationPayload
|
var pl InstallationPayload
|
||||||
err = json.Unmarshal([]byte(payload), &pl)
|
err = json.Unmarshal([]byte(payload), &pl)
|
||||||
return pl, err
|
return pl, err
|
||||||
case InstallationRepositoriesEvent:
|
case InstallationRepositoriesEvent, IntegrationInstallationRepositoriesEvent:
|
||||||
var pl InstallationRepositoriesPayload
|
var pl InstallationRepositoriesPayload
|
||||||
err = json.Unmarshal([]byte(payload), &pl)
|
err = json.Unmarshal([]byte(payload), &pl)
|
||||||
return pl, err
|
return pl, err
|
||||||
@@ -229,6 +240,10 @@ func (hook Webhook) Parse(r *http.Request, events ...Event) (interface{}, error)
|
|||||||
var pl MembershipPayload
|
var pl MembershipPayload
|
||||||
err = json.Unmarshal([]byte(payload), &pl)
|
err = json.Unmarshal([]byte(payload), &pl)
|
||||||
return pl, err
|
return pl, err
|
||||||
|
case MetaEvent:
|
||||||
|
var pl MetaPayload
|
||||||
|
err = json.Unmarshal([]byte(payload), &pl)
|
||||||
|
return pl, err
|
||||||
case MilestoneEvent:
|
case MilestoneEvent:
|
||||||
var pl MilestonePayload
|
var pl MilestonePayload
|
||||||
err = json.Unmarshal([]byte(payload), &pl)
|
err = json.Unmarshal([]byte(payload), &pl)
|
||||||
@@ -289,6 +304,10 @@ func (hook Webhook) Parse(r *http.Request, events ...Event) (interface{}, error)
|
|||||||
var pl RepositoryPayload
|
var pl RepositoryPayload
|
||||||
err = json.Unmarshal([]byte(payload), &pl)
|
err = json.Unmarshal([]byte(payload), &pl)
|
||||||
return pl, err
|
return pl, err
|
||||||
|
case RepositoryVulnerabilityAlertEvent:
|
||||||
|
var pl RepositoryVulnerabilityAlertPayload
|
||||||
|
err = json.Unmarshal([]byte(payload), &pl)
|
||||||
|
return pl, err
|
||||||
case SecurityAdvisoryEvent:
|
case SecurityAdvisoryEvent:
|
||||||
var pl SecurityAdvisoryPayload
|
var pl SecurityAdvisoryPayload
|
||||||
err = json.Unmarshal([]byte(payload), &pl)
|
err = json.Unmarshal([]byte(payload), &pl)
|
||||||
@@ -309,6 +328,18 @@ func (hook Webhook) Parse(r *http.Request, events ...Event) (interface{}, error)
|
|||||||
var pl WatchPayload
|
var pl WatchPayload
|
||||||
err = json.Unmarshal([]byte(payload), &pl)
|
err = json.Unmarshal([]byte(payload), &pl)
|
||||||
return pl, err
|
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:
|
default:
|
||||||
return nil, fmt.Errorf("unknown event %s", gitHubEvent)
|
return nil, fmt.Errorf("unknown event %s", gitHubEvent)
|
||||||
}
|
}
|
||||||
|
|||||||
+75
-5
@@ -183,6 +183,16 @@ func TestWebhooks(t *testing.T) {
|
|||||||
"X-Hub-Signature": []string{"sha1=4ddef04fd05b504c7041e294fca3ad1804bc7be1"},
|
"X-Hub-Signature": []string{"sha1=4ddef04fd05b504c7041e294fca3ad1804bc7be1"},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "DeployKeyEvent",
|
||||||
|
event: DeployKeyEvent,
|
||||||
|
typ: DeployKeyPayload{},
|
||||||
|
filename: "../testdata/github/deploy_key.json",
|
||||||
|
headers: http.Header{
|
||||||
|
"X-Github-Event": []string{"deploy_key"},
|
||||||
|
"X-Hub-Signature": []string{"sha1=dc9eea5621f5942542c94443cd2b71c8d7526168"},
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: "DeploymentEvent",
|
name: "DeploymentEvent",
|
||||||
event: DeploymentEvent,
|
event: DeploymentEvent,
|
||||||
@@ -230,7 +240,7 @@ func TestWebhooks(t *testing.T) {
|
|||||||
filename: "../testdata/github/installation.json",
|
filename: "../testdata/github/installation.json",
|
||||||
headers: http.Header{
|
headers: http.Header{
|
||||||
"X-Github-Event": []string{"installation"},
|
"X-Github-Event": []string{"installation"},
|
||||||
"X-Hub-Signature": []string{"sha1=2058cf6cc28570710afbc638e669f5c67305a2db"},
|
"X-Hub-Signature": []string{"sha1=2bcb4ad96133ce2dd6d140fad7a80a2b14407f7f"},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -240,7 +250,7 @@ func TestWebhooks(t *testing.T) {
|
|||||||
filename: "../testdata/github/installation-repositories.json",
|
filename: "../testdata/github/installation-repositories.json",
|
||||||
headers: http.Header{
|
headers: http.Header{
|
||||||
"X-Github-Event": []string{"installation_repositories"},
|
"X-Github-Event": []string{"installation_repositories"},
|
||||||
"X-Hub-Signature": []string{"sha1=c587fbd9dd169db8ae592b3bcc80b08e2e6f4f45"},
|
"X-Hub-Signature": []string{"sha1=997680ef1e6f4a6b6595f5fa70b82989f505137f"},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -250,7 +260,17 @@ func TestWebhooks(t *testing.T) {
|
|||||||
filename: "../testdata/github/integration-installation.json",
|
filename: "../testdata/github/integration-installation.json",
|
||||||
headers: http.Header{
|
headers: http.Header{
|
||||||
"X-Github-Event": []string{"integration_installation"},
|
"X-Github-Event": []string{"integration_installation"},
|
||||||
"X-Hub-Signature": []string{"sha1=bb2769f05f1a11af3a1edf8f9fac11bae7402a1e"},
|
"X-Hub-Signature": []string{"sha1=1172601d35bdebac5f3aa7618c9e58eafb404c6f"},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "IntegrationInstallationRepositoriesEvent",
|
||||||
|
event: IntegrationInstallationRepositoriesEvent,
|
||||||
|
typ: InstallationRepositoriesPayload{},
|
||||||
|
filename: "../testdata/github/integration-installation-repositories.json",
|
||||||
|
headers: http.Header{
|
||||||
|
"X-Github-Event": []string{"integration_installation_repositories"},
|
||||||
|
"X-Hub-Signature": []string{"sha1=7c38ba703a3c89d00823920a47cd8863df8121d2"},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -263,6 +283,16 @@ func TestWebhooks(t *testing.T) {
|
|||||||
"X-Hub-Signature": []string{"sha1=e724c9f811fcf5f511aac32e4251b08ab1a0fd87"},
|
"X-Hub-Signature": []string{"sha1=e724c9f811fcf5f511aac32e4251b08ab1a0fd87"},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "PullRequestIssueCommentEvent",
|
||||||
|
event: IssueCommentEvent,
|
||||||
|
typ: IssueCommentPayload{},
|
||||||
|
filename: "../testdata/github/pull-request-issue-comment.json",
|
||||||
|
headers: http.Header{
|
||||||
|
"X-Github-Event": []string{"issue_comment"},
|
||||||
|
"X-Hub-Signature": []string{"sha1=6c969b99ef881b5c98b2dbfc66a34465fcf0e7d4"},
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: "IssuesEvent",
|
name: "IssuesEvent",
|
||||||
event: IssuesEvent,
|
event: IssuesEvent,
|
||||||
@@ -360,7 +390,7 @@ func TestWebhooks(t *testing.T) {
|
|||||||
filename: "../testdata/github/project-card.json",
|
filename: "../testdata/github/project-card.json",
|
||||||
headers: http.Header{
|
headers: http.Header{
|
||||||
"X-Github-Event": []string{"project_card"},
|
"X-Github-Event": []string{"project_card"},
|
||||||
"X-Hub-Signature": []string{"sha1=495dec0d6449d16b71f2ddcd37d595cb9b04b1d8"},
|
"X-Hub-Signature": []string{"sha1=f5ed1572b04f0e03c8d5f5e3f7fa63737bef76d7"},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -400,7 +430,7 @@ func TestWebhooks(t *testing.T) {
|
|||||||
filename: "../testdata/github/pull-request.json",
|
filename: "../testdata/github/pull-request.json",
|
||||||
headers: http.Header{
|
headers: http.Header{
|
||||||
"X-Github-Event": []string{"pull_request"},
|
"X-Github-Event": []string{"pull_request"},
|
||||||
"X-Hub-Signature": []string{"sha1=35712c8d2bc197b7d07621dcf20d2fb44620508f"},
|
"X-Hub-Signature": []string{"sha1=88972f972db301178aa13dafaf112d26416a15e6"},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -453,6 +483,16 @@ func TestWebhooks(t *testing.T) {
|
|||||||
"X-Hub-Signature": []string{"sha1=df442a8af41edd2d42ccdd997938d1d111b0f94e"},
|
"X-Hub-Signature": []string{"sha1=df442a8af41edd2d42ccdd997938d1d111b0f94e"},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "RepositoryVulnerabilityAlertEvent",
|
||||||
|
event: RepositoryVulnerabilityAlertEvent,
|
||||||
|
typ: RepositoryVulnerabilityAlertPayload{},
|
||||||
|
filename: "../testdata/github/repository-vulnerability-alert.json",
|
||||||
|
headers: http.Header{
|
||||||
|
"X-Github-Event": []string{"repository_vulnerability_alert"},
|
||||||
|
"X-Hub-Signature": []string{"sha1=c42c0649e7e06413bcd756763edbab48dff400db"},
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: "SecurityAdvisoryEvent",
|
name: "SecurityAdvisoryEvent",
|
||||||
event: SecurityAdvisoryEvent,
|
event: SecurityAdvisoryEvent,
|
||||||
@@ -503,6 +543,36 @@ func TestWebhooks(t *testing.T) {
|
|||||||
"X-Hub-Signature": []string{"sha1=a317bcfe69ccb8bece74c20c7378e5413c4772f1"},
|
"X-Hub-Signature": []string{"sha1=a317bcfe69ccb8bece74c20c7378e5413c4772f1"},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "WorkflowDispatchEvent",
|
||||||
|
event: WorkflowDispatchEvent,
|
||||||
|
typ: WorkflowDispatchPayload{},
|
||||||
|
filename: "../testdata/github/workflow_dispatch.json",
|
||||||
|
headers: http.Header{
|
||||||
|
"X-Github-Event": []string{"workflow_dispatch"},
|
||||||
|
"X-Hub-Signature": []string{"sha1=58db5b3c7e2391b34275d42256e0eda67e4997b9"},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "WorkflowJobEvent",
|
||||||
|
event: WorkflowJobEvent,
|
||||||
|
typ: WorkflowJobPayload{},
|
||||||
|
filename: "../testdata/github/workflow_job.json",
|
||||||
|
headers: http.Header{
|
||||||
|
"X-Github-Event": []string{"workflow_job"},
|
||||||
|
"X-Hub-Signature": []string{"sha1=2f22091ecf169313c9991f5f98ef3dffb069841b"},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "WorkflowRunEvent",
|
||||||
|
event: WorkflowRunEvent,
|
||||||
|
typ: WorkflowRunPayload{},
|
||||||
|
filename: "../testdata/github/workflow_run.json",
|
||||||
|
headers: http.Header{
|
||||||
|
"X-Github-Event": []string{"workflow_run"},
|
||||||
|
"X-Hub-Signature": []string{"sha1=c54d046b1ce440bc3434c8de5ad73e0a630d7cbe"},
|
||||||
|
},
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, tt := range tests {
|
for _, tt := range tests {
|
||||||
|
|||||||
+1235
-38
File diff suppressed because it is too large
Load Diff
@@ -32,11 +32,13 @@ const (
|
|||||||
WikiPageEvents Event = "Wiki Page Hook"
|
WikiPageEvents Event = "Wiki Page Hook"
|
||||||
PipelineEvents Event = "Pipeline Hook"
|
PipelineEvents Event = "Pipeline Hook"
|
||||||
BuildEvents Event = "Build Hook"
|
BuildEvents Event = "Build Hook"
|
||||||
|
JobEvents Event = "Job Hook"
|
||||||
SystemHookEvents Event = "System Hook"
|
SystemHookEvents Event = "System Hook"
|
||||||
|
|
||||||
objectPush string = "push"
|
objectPush string = "push"
|
||||||
objectTag string = "tag_push"
|
objectTag string = "tag_push"
|
||||||
objectMergeRequest string = "merge_request"
|
objectMergeRequest string = "merge_request"
|
||||||
|
objectBuild string = "build"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Option is a configuration option for the webhook
|
// Option is a configuration option for the webhook
|
||||||
@@ -171,6 +173,16 @@ func eventParsing(gitLabEvent Event, events []Event, payload []byte) (interface{
|
|||||||
var pl BuildEventPayload
|
var pl BuildEventPayload
|
||||||
err := json.Unmarshal([]byte(payload), &pl)
|
err := json.Unmarshal([]byte(payload), &pl)
|
||||||
return pl, err
|
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:
|
case SystemHookEvents:
|
||||||
var pl SystemHookPayload
|
var pl SystemHookPayload
|
||||||
@@ -179,6 +191,14 @@ func eventParsing(gitLabEvent Event, events []Event, payload []byte) (interface{
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
switch pl.ObjectKind {
|
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:
|
case objectPush:
|
||||||
return eventParsing(PushEvents, events, payload)
|
return eventParsing(PushEvents, events, payload)
|
||||||
case objectTag:
|
case objectTag:
|
||||||
@@ -188,6 +208,7 @@ func eventParsing(gitLabEvent Event, events []Event, payload []byte) (interface{
|
|||||||
default:
|
default:
|
||||||
return nil, fmt.Errorf("unknown system hook event %s", gitLabEvent)
|
return nil, fmt.Errorf("unknown system hook event %s", gitLabEvent)
|
||||||
}
|
}
|
||||||
|
}
|
||||||
default:
|
default:
|
||||||
return nil, fmt.Errorf("unknown event %s", gitLabEvent)
|
return nil, fmt.Errorf("unknown event %s", gitLabEvent)
|
||||||
}
|
}
|
||||||
|
|||||||
+55
-3
@@ -265,6 +265,58 @@ func TestWebhooks(t *testing.T) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func TestJobHooks(t *testing.T) {
|
||||||
|
assert := require.New(t)
|
||||||
|
tests := []struct {
|
||||||
|
name string
|
||||||
|
events []Event
|
||||||
|
typ interface{}
|
||||||
|
filename string
|
||||||
|
headers http.Header
|
||||||
|
}{
|
||||||
|
{
|
||||||
|
name: "JobEvent",
|
||||||
|
events: []Event{JobEvents, BuildEvents},
|
||||||
|
typ: BuildEventPayload{},
|
||||||
|
filename: "../testdata/gitlab/build-event.json",
|
||||||
|
headers: http.Header{
|
||||||
|
"X-Gitlab-Event": []string{"Job Hook"},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
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.events...)
|
||||||
|
})
|
||||||
|
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")
|
||||||
|
req.Header.Set("X-Gitlab-Token", "sampleToken!")
|
||||||
|
|
||||||
|
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))
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
func TestSystemHooks(t *testing.T) {
|
func TestSystemHooks(t *testing.T) {
|
||||||
assert := require.New(t)
|
assert := require.New(t)
|
||||||
tests := []struct {
|
tests := []struct {
|
||||||
@@ -277,19 +329,19 @@ func TestSystemHooks(t *testing.T) {
|
|||||||
name: "PushEvent",
|
name: "PushEvent",
|
||||||
event: PushEvents,
|
event: PushEvents,
|
||||||
typ: PushEventPayload{},
|
typ: PushEventPayload{},
|
||||||
filename: "../testdata/gitlab/push-event.json",
|
filename: "../testdata/gitlab/system-push-event.json",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "TagEvent",
|
name: "TagEvent",
|
||||||
event: TagEvents,
|
event: TagEvents,
|
||||||
typ: TagEventPayload{},
|
typ: TagEventPayload{},
|
||||||
filename: "../testdata/gitlab/tag-event.json",
|
filename: "../testdata/gitlab/system-tag-event.json",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "MergeRequestEvent",
|
name: "MergeRequestEvent",
|
||||||
event: MergeRequestEvents,
|
event: MergeRequestEvents,
|
||||||
typ: MergeRequestEventPayload{},
|
typ: MergeRequestEventPayload{},
|
||||||
filename: "../testdata/gitlab/merge-request-event.json",
|
filename: "../testdata/gitlab/system-merge-request-event.json",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
for _, tt := range tests {
|
for _, tt := range tests {
|
||||||
|
|||||||
+105
-9
@@ -56,6 +56,8 @@ type MergeRequestEventPayload struct {
|
|||||||
Changes Changes `json:"changes"`
|
Changes Changes `json:"changes"`
|
||||||
Project Project `json:"project"`
|
Project Project `json:"project"`
|
||||||
Repository Repository `json:"repository"`
|
Repository Repository `json:"repository"`
|
||||||
|
Labels []Label `json:"labels"`
|
||||||
|
Assignees []Assignee `json:"assignees"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// PushEventPayload contains the information for GitLab's push event
|
// PushEventPayload contains the information for GitLab's push event
|
||||||
@@ -67,6 +69,7 @@ type PushEventPayload struct {
|
|||||||
CheckoutSHA string `json:"checkout_sha"`
|
CheckoutSHA string `json:"checkout_sha"`
|
||||||
UserID int64 `json:"user_id"`
|
UserID int64 `json:"user_id"`
|
||||||
UserName string `json:"user_name"`
|
UserName string `json:"user_name"`
|
||||||
|
UserUsername string `json:"user_username"`
|
||||||
UserEmail string `json:"user_email"`
|
UserEmail string `json:"user_email"`
|
||||||
UserAvatar string `json:"user_avatar"`
|
UserAvatar string `json:"user_avatar"`
|
||||||
ProjectID int64 `json:"project_id"`
|
ProjectID int64 `json:"project_id"`
|
||||||
@@ -85,6 +88,7 @@ type TagEventPayload struct {
|
|||||||
CheckoutSHA string `json:"checkout_sha"`
|
CheckoutSHA string `json:"checkout_sha"`
|
||||||
UserID int64 `json:"user_id"`
|
UserID int64 `json:"user_id"`
|
||||||
UserName string `json:"user_name"`
|
UserName string `json:"user_name"`
|
||||||
|
UserUsername string `json:"user_username"`
|
||||||
UserAvatar string `json:"user_avatar"`
|
UserAvatar string `json:"user_avatar"`
|
||||||
ProjectID int64 `json:"project_id"`
|
ProjectID int64 `json:"project_id"`
|
||||||
Project Project `json:"Project"`
|
Project Project `json:"Project"`
|
||||||
@@ -108,7 +112,8 @@ type PipelineEventPayload struct {
|
|||||||
User User `json:"user"`
|
User User `json:"user"`
|
||||||
Project Project `json:"project"`
|
Project Project `json:"project"`
|
||||||
Commit Commit `json:"commit"`
|
Commit Commit `json:"commit"`
|
||||||
ObjectAttributes ObjectAttributes `json:"object_attributes"`
|
ObjectAttributes PipelineObjectAttributes `json:"object_attributes"`
|
||||||
|
MergeRequest MergeRequest `json:"merge_request"`
|
||||||
Builds []Build `json:"builds"`
|
Builds []Build `json:"builds"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -139,18 +144,45 @@ type BuildEventPayload struct {
|
|||||||
BuildStatus string `json:"build_status"`
|
BuildStatus string `json:"build_status"`
|
||||||
BuildStartedAt customTime `json:"build_started_at"`
|
BuildStartedAt customTime `json:"build_started_at"`
|
||||||
BuildFinishedAt customTime `json:"build_finished_at"`
|
BuildFinishedAt customTime `json:"build_finished_at"`
|
||||||
BuildDuration int64 `json:"build_duration"`
|
BuildDuration float64 `json:"build_duration"`
|
||||||
BuildAllowFailure bool `json:"build_allow_failure"`
|
BuildAllowFailure bool `json:"build_allow_failure"`
|
||||||
ProjectID int64 `json:"project_id"`
|
ProjectID int64 `json:"project_id"`
|
||||||
ProjectName string `json:"project_name"`
|
ProjectName string `json:"project_name"`
|
||||||
User User `json:"user"`
|
User User `json:"user"`
|
||||||
Commit BuildCommit `json:"commit"`
|
Commit BuildCommit `json:"commit"`
|
||||||
Repository Repository `json:"repository"`
|
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
|
// SystemHookPayload contains the ObjectKind to match with real hook events
|
||||||
type SystemHookPayload struct {
|
type SystemHookPayload struct {
|
||||||
ObjectKind string `json:"object_kind"`
|
ObjectKind string `json:"object_kind"`
|
||||||
|
EventName string `json:"event_name"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Issue contains all of the GitLab issue information
|
// Issue contains all of the GitLab issue information
|
||||||
@@ -170,7 +202,7 @@ type Issue struct {
|
|||||||
IID int64 `json:"iid"`
|
IID int64 `json:"iid"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Build contains all of the GitLab build information
|
// Build contains all of the GitLab Build information
|
||||||
type Build struct {
|
type Build struct {
|
||||||
ID int64 `json:"id"`
|
ID int64 `json:"id"`
|
||||||
Stage string `json:"stage"`
|
Stage string `json:"stage"`
|
||||||
@@ -213,6 +245,7 @@ type Wiki struct {
|
|||||||
type Commit struct {
|
type Commit struct {
|
||||||
ID string `json:"id"`
|
ID string `json:"id"`
|
||||||
Message string `json:"message"`
|
Message string `json:"message"`
|
||||||
|
Title string `json:"title"`
|
||||||
Timestamp customTime `json:"timestamp"`
|
Timestamp customTime `json:"timestamp"`
|
||||||
URL string `json:"url"`
|
URL string `json:"url"`
|
||||||
Author Author `json:"author"`
|
Author Author `json:"author"`
|
||||||
@@ -226,10 +259,10 @@ type BuildCommit struct {
|
|||||||
ID int64 `json:"id"`
|
ID int64 `json:"id"`
|
||||||
SHA string `json:"sha"`
|
SHA string `json:"sha"`
|
||||||
Message string `json:"message"`
|
Message string `json:"message"`
|
||||||
AuthorName string `json:"auuthor_name"`
|
AuthorName string `json:"author_name"`
|
||||||
AuthorEmail string `json:"author_email"`
|
AuthorEmail string `json:"author_email"`
|
||||||
Status string `json:"status"`
|
Status string `json:"status"`
|
||||||
Duration int64 `json:"duration"`
|
Duration float64 `json:"duration"`
|
||||||
StartedAt customTime `json:"started_at"`
|
StartedAt customTime `json:"started_at"`
|
||||||
FinishedAt customTime `json:"finished_at"`
|
FinishedAt customTime `json:"finished_at"`
|
||||||
}
|
}
|
||||||
@@ -251,18 +284,21 @@ type Snippet struct {
|
|||||||
|
|
||||||
// User contains all of the GitLab user information
|
// User contains all of the GitLab user information
|
||||||
type User struct {
|
type User struct {
|
||||||
|
ID int64 `json:"id"`
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
UserName string `json:"username"`
|
UserName string `json:"username"`
|
||||||
AvatarURL string `json:"avatar_url"`
|
AvatarURL string `json:"avatar_url"`
|
||||||
|
Email string `json:"email"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Project contains all of the GitLab project information
|
// Project contains all of the GitLab project information
|
||||||
type Project struct {
|
type Project struct {
|
||||||
|
ID int64 `json:"id"`
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
Description string `json:"description"`
|
Description string `json:"description"`
|
||||||
WebURL string `json:"web_url"`
|
WebURL string `json:"web_url"`
|
||||||
AvatarURL string `json:"avatar_url"`
|
AvatarURL string `json:"avatar_url"`
|
||||||
GitSSSHURL string `json:"git_ssh_url"`
|
GitSSHURL string `json:"git_ssh_url"`
|
||||||
GitHTTPURL string `json:"git_http_url"`
|
GitHTTPURL string `json:"git_http_url"`
|
||||||
Namespace string `json:"namespace"`
|
Namespace string `json:"namespace"`
|
||||||
VisibilityLevel int64 `json:"visibility_level"`
|
VisibilityLevel int64 `json:"visibility_level"`
|
||||||
@@ -280,22 +316,36 @@ type Repository struct {
|
|||||||
URL string `json:"url"`
|
URL string `json:"url"`
|
||||||
Description string `json:"description"`
|
Description string `json:"description"`
|
||||||
Homepage string `json:"homepage"`
|
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
|
// ObjectAttributes contains all of the GitLab object attributes information
|
||||||
type ObjectAttributes struct {
|
type ObjectAttributes struct {
|
||||||
ID int64 `json:"id"`
|
ID int64 `json:"id"`
|
||||||
Title string `json:"title"`
|
Title string `json:"title"`
|
||||||
|
AssigneeIDS []int64 `json:"assignee_ids"`
|
||||||
AssigneeID int64 `json:"assignee_id"`
|
AssigneeID int64 `json:"assignee_id"`
|
||||||
AuthorID int64 `json:"author_id"`
|
AuthorID int64 `json:"author_id"`
|
||||||
ProjectID int64 `json:"project_id"`
|
ProjectID int64 `json:"project_id"`
|
||||||
CreatedAt customTime `json:"created_at"`
|
CreatedAt customTime `json:"created_at"`
|
||||||
UpdatedAt customTime `json:"updated_at"`
|
UpdatedAt customTime `json:"updated_at"`
|
||||||
Position int64 `json:"position"`
|
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"`
|
BranchName string `json:"branch_name"`
|
||||||
Description string `json:"description"`
|
Description string `json:"description"`
|
||||||
MilestoneID int64 `json:"milestone_id"`
|
MilestoneID int64 `json:"milestone_id"`
|
||||||
State string `json:"state"`
|
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"`
|
IID int64 `json:"iid"`
|
||||||
URL string `json:"url"`
|
URL string `json:"url"`
|
||||||
Action string `json:"action"`
|
Action string `json:"action"`
|
||||||
@@ -317,11 +367,11 @@ type ObjectAttributes struct {
|
|||||||
Stages []string `json:"stages"`
|
Stages []string `json:"stages"`
|
||||||
Duration int64 `json:"duration"`
|
Duration int64 `json:"duration"`
|
||||||
Note string `json:"note"`
|
Note string `json:"note"`
|
||||||
NotebookType string `json:"noteable_type"`
|
NotebookType string `json:"noteable_type"` // nolint:misspell
|
||||||
At customTime `json:"attachment"`
|
At customTime `json:"attachment"`
|
||||||
LineCode string `json:"line_code"`
|
LineCode string `json:"line_code"`
|
||||||
CommitID string `json:"commit_id"`
|
CommitID string `json:"commit_id"`
|
||||||
NoteableID int64 `json:"noteable_id"`
|
NoteableID int64 `json:"noteable_id"` // nolint: misspell
|
||||||
System bool `json:"system"`
|
System bool `json:"system"`
|
||||||
WorkInProgress bool `json:"work_in_progress"`
|
WorkInProgress bool `json:"work_in_progress"`
|
||||||
StDiffs []StDiff `json:"st_diffs"`
|
StDiffs []StDiff `json:"st_diffs"`
|
||||||
@@ -331,6 +381,49 @@ type ObjectAttributes struct {
|
|||||||
Assignee Assignee `json:"assignee"`
|
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
|
// MergeRequest contains all of the GitLab merge request information
|
||||||
type MergeRequest struct {
|
type MergeRequest struct {
|
||||||
ID int64 `json:"id"`
|
ID int64 `json:"id"`
|
||||||
@@ -355,13 +448,16 @@ type MergeRequest struct {
|
|||||||
LastCommit LastCommit `json:"last_commit"`
|
LastCommit LastCommit `json:"last_commit"`
|
||||||
WorkInProgress bool `json:"work_in_progress"`
|
WorkInProgress bool `json:"work_in_progress"`
|
||||||
Assignee Assignee `json:"assignee"`
|
Assignee Assignee `json:"assignee"`
|
||||||
|
URL string `json:"url"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Assignee contains all of the GitLab assignee information
|
// Assignee contains all of the GitLab assignee information
|
||||||
type Assignee struct {
|
type Assignee struct {
|
||||||
|
ID int64 `json:"id"`
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
Username string `json:"username"`
|
Username string `json:"username"`
|
||||||
AvatarURL string `json:"avatar_url"`
|
AvatarURL string `json:"avatar_url"`
|
||||||
|
Email string `json:"email"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// StDiff contains all of the GitLab diff information
|
// StDiff contains all of the GitLab diff information
|
||||||
|
|||||||
@@ -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
|
||||||
|
)
|
||||||
+4
-3
@@ -1,14 +1,15 @@
|
|||||||
{
|
{
|
||||||
"actor":{
|
"actor":{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
|
|||||||
+4
-3
@@ -1,14 +1,15 @@
|
|||||||
{
|
{
|
||||||
"actor":{
|
"actor":{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
|
|||||||
+4
-3
@@ -1,14 +1,15 @@
|
|||||||
{
|
{
|
||||||
"actor":{
|
"actor":{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
|
|||||||
+4
-3
@@ -1,14 +1,15 @@
|
|||||||
{
|
{
|
||||||
"actor":{
|
"actor":{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
|
|||||||
+24
-18
@@ -1,14 +1,15 @@
|
|||||||
{
|
{
|
||||||
"actor":{
|
"actor":{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
@@ -21,15 +22,16 @@
|
|||||||
"description":"Description of pull request",
|
"description":"Description of pull request",
|
||||||
"state":"OPEN|MERGED|DECLINED",
|
"state":"OPEN|MERGED|DECLINED",
|
||||||
"author":{
|
"author":{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
@@ -93,15 +95,16 @@
|
|||||||
},
|
},
|
||||||
"participants":[
|
"participants":[
|
||||||
{
|
{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
@@ -111,15 +114,16 @@
|
|||||||
],
|
],
|
||||||
"reviewers":[
|
"reviewers":[
|
||||||
{
|
{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
@@ -129,15 +133,16 @@
|
|||||||
],
|
],
|
||||||
"close_source_branch":true,
|
"close_source_branch":true,
|
||||||
"closed_by":{
|
"closed_by":{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
@@ -177,15 +182,16 @@
|
|||||||
"approval":{
|
"approval":{
|
||||||
"date":"2015-04-06T16:34:59.195330+00:00",
|
"date":"2015-04-06T16:34:59.195330+00:00",
|
||||||
"user":{
|
"user":{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
|
|||||||
+24
-18
@@ -1,14 +1,15 @@
|
|||||||
{
|
{
|
||||||
"actor":{
|
"actor":{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
@@ -21,15 +22,16 @@
|
|||||||
"description":"Description of pull request",
|
"description":"Description of pull request",
|
||||||
"state":"OPEN|MERGED|DECLINED",
|
"state":"OPEN|MERGED|DECLINED",
|
||||||
"author":{
|
"author":{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
@@ -93,15 +95,16 @@
|
|||||||
},
|
},
|
||||||
"participants":[
|
"participants":[
|
||||||
{
|
{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
@@ -111,15 +114,16 @@
|
|||||||
],
|
],
|
||||||
"reviewers":[
|
"reviewers":[
|
||||||
{
|
{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
@@ -129,15 +133,16 @@
|
|||||||
],
|
],
|
||||||
"close_source_branch":true,
|
"close_source_branch":true,
|
||||||
"closed_by":{
|
"closed_by":{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
@@ -177,15 +182,16 @@
|
|||||||
"approval":{
|
"approval":{
|
||||||
"date":"2015-04-06T16:34:59.195330+00:00",
|
"date":"2015-04-06T16:34:59.195330+00:00",
|
||||||
"user":{
|
"user":{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
|
|||||||
+20
-15
@@ -1,14 +1,15 @@
|
|||||||
{
|
{
|
||||||
"actor":{
|
"actor":{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
@@ -39,15 +40,16 @@
|
|||||||
"description":"Description of pull request",
|
"description":"Description of pull request",
|
||||||
"state":"OPEN|MERGED|DECLINED",
|
"state":"OPEN|MERGED|DECLINED",
|
||||||
"author":{
|
"author":{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
@@ -111,15 +113,16 @@
|
|||||||
},
|
},
|
||||||
"participants":[
|
"participants":[
|
||||||
{
|
{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
@@ -129,15 +132,16 @@
|
|||||||
],
|
],
|
||||||
"reviewers":[
|
"reviewers":[
|
||||||
{
|
{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
@@ -147,15 +151,16 @@
|
|||||||
],
|
],
|
||||||
"close_source_branch":true,
|
"close_source_branch":true,
|
||||||
"closed_by":{
|
"closed_by":{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
|
|||||||
+20
-15
@@ -1,14 +1,15 @@
|
|||||||
{
|
{
|
||||||
"actor":{
|
"actor":{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
@@ -39,15 +40,16 @@
|
|||||||
"description":"Description of pull request",
|
"description":"Description of pull request",
|
||||||
"state":"OPEN|MERGED|DECLINED",
|
"state":"OPEN|MERGED|DECLINED",
|
||||||
"author":{
|
"author":{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
@@ -111,15 +113,16 @@
|
|||||||
},
|
},
|
||||||
"participants":[
|
"participants":[
|
||||||
{
|
{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
@@ -129,15 +132,16 @@
|
|||||||
],
|
],
|
||||||
"reviewers":[
|
"reviewers":[
|
||||||
{
|
{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
@@ -147,15 +151,16 @@
|
|||||||
],
|
],
|
||||||
"close_source_branch":true,
|
"close_source_branch":true,
|
||||||
"closed_by":{
|
"closed_by":{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
|
|||||||
+20
-15
@@ -1,14 +1,15 @@
|
|||||||
{
|
{
|
||||||
"actor":{
|
"actor":{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
@@ -39,15 +40,16 @@
|
|||||||
"description":"Description of pull request",
|
"description":"Description of pull request",
|
||||||
"state":"OPEN|MERGED|DECLINED",
|
"state":"OPEN|MERGED|DECLINED",
|
||||||
"author":{
|
"author":{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
@@ -111,15 +113,16 @@
|
|||||||
},
|
},
|
||||||
"participants":[
|
"participants":[
|
||||||
{
|
{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
@@ -129,15 +132,16 @@
|
|||||||
],
|
],
|
||||||
"reviewers":[
|
"reviewers":[
|
||||||
{
|
{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
@@ -147,15 +151,16 @@
|
|||||||
],
|
],
|
||||||
"close_source_branch":true,
|
"close_source_branch":true,
|
||||||
"closed_by":{
|
"closed_by":{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
|
|||||||
+20
-15
@@ -1,14 +1,15 @@
|
|||||||
{
|
{
|
||||||
"actor":{
|
"actor":{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
@@ -21,15 +22,16 @@
|
|||||||
"description":"Description of pull request",
|
"description":"Description of pull request",
|
||||||
"state":"OPEN|MERGED|DECLINED",
|
"state":"OPEN|MERGED|DECLINED",
|
||||||
"author":{
|
"author":{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
@@ -93,15 +95,16 @@
|
|||||||
},
|
},
|
||||||
"participants":[
|
"participants":[
|
||||||
{
|
{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
@@ -111,15 +114,16 @@
|
|||||||
],
|
],
|
||||||
"reviewers":[
|
"reviewers":[
|
||||||
{
|
{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
@@ -129,15 +133,16 @@
|
|||||||
],
|
],
|
||||||
"close_source_branch":true,
|
"close_source_branch":true,
|
||||||
"closed_by":{
|
"closed_by":{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
|
|||||||
+20
-15
@@ -1,14 +1,15 @@
|
|||||||
{
|
{
|
||||||
"actor":{
|
"actor":{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
@@ -21,15 +22,16 @@
|
|||||||
"description":"Description of pull request",
|
"description":"Description of pull request",
|
||||||
"state":"OPEN|MERGED|DECLINED",
|
"state":"OPEN|MERGED|DECLINED",
|
||||||
"author":{
|
"author":{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
@@ -93,15 +95,16 @@
|
|||||||
},
|
},
|
||||||
"participants":[
|
"participants":[
|
||||||
{
|
{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
@@ -111,15 +114,16 @@
|
|||||||
],
|
],
|
||||||
"reviewers":[
|
"reviewers":[
|
||||||
{
|
{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
@@ -129,15 +133,16 @@
|
|||||||
],
|
],
|
||||||
"close_source_branch":true,
|
"close_source_branch":true,
|
||||||
"closed_by":{
|
"closed_by":{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
|
|||||||
+18
-14
@@ -1,14 +1,15 @@
|
|||||||
{
|
{
|
||||||
"actor":{
|
"actor":{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
@@ -21,15 +22,16 @@
|
|||||||
"description":"Description of pull request",
|
"description":"Description of pull request",
|
||||||
"state":"OPEN|MERGED|DECLINED",
|
"state":"OPEN|MERGED|DECLINED",
|
||||||
"author":{
|
"author":{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
@@ -98,10 +100,10 @@
|
|||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
@@ -111,15 +113,16 @@
|
|||||||
],
|
],
|
||||||
"reviewers":[
|
"reviewers":[
|
||||||
{
|
{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
@@ -129,15 +132,16 @@
|
|||||||
],
|
],
|
||||||
"close_source_branch":true,
|
"close_source_branch":true,
|
||||||
"closed_by":{
|
"closed_by":{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
|
|||||||
+20
-15
@@ -1,14 +1,15 @@
|
|||||||
{
|
{
|
||||||
"actor":{
|
"actor":{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
@@ -21,15 +22,16 @@
|
|||||||
"description":"Description of pull request",
|
"description":"Description of pull request",
|
||||||
"state":"OPEN|MERGED|DECLINED",
|
"state":"OPEN|MERGED|DECLINED",
|
||||||
"author":{
|
"author":{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
@@ -93,15 +95,16 @@
|
|||||||
},
|
},
|
||||||
"participants":[
|
"participants":[
|
||||||
{
|
{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
@@ -111,15 +114,16 @@
|
|||||||
],
|
],
|
||||||
"reviewers":[
|
"reviewers":[
|
||||||
{
|
{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
@@ -129,15 +133,16 @@
|
|||||||
],
|
],
|
||||||
"close_source_branch":true,
|
"close_source_branch":true,
|
||||||
"closed_by":{
|
"closed_by":{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
|
|||||||
+4
-3
@@ -1,14 +1,15 @@
|
|||||||
{
|
{
|
||||||
"actor":{
|
"actor":{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
|
|||||||
+4
-3
@@ -1,14 +1,15 @@
|
|||||||
{
|
{
|
||||||
"actor":{
|
"actor":{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
|
|||||||
Vendored
+4
-3
@@ -1,14 +1,15 @@
|
|||||||
{
|
{
|
||||||
"actor":{
|
"actor":{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
|
|||||||
Vendored
+16
-12
@@ -1,14 +1,15 @@
|
|||||||
{
|
{
|
||||||
"actor":{
|
"actor":{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
@@ -43,15 +44,16 @@
|
|||||||
"type":"commit",
|
"type":"commit",
|
||||||
"hash":"709d658dc5b6d6afcd46049c2f332ee3f515a67d",
|
"hash":"709d658dc5b6d6afcd46049c2f332ee3f515a67d",
|
||||||
"author":{
|
"author":{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
@@ -102,15 +104,16 @@
|
|||||||
"type":"commit",
|
"type":"commit",
|
||||||
"hash":"1e65c05c1d5171631d92438a13901ca7dae9618c",
|
"hash":"1e65c05c1d5171631d92438a13901ca7dae9618c",
|
||||||
"author":{
|
"author":{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
@@ -174,15 +177,16 @@
|
|||||||
"type":"commit",
|
"type":"commit",
|
||||||
"message":"commit message\n",
|
"message":"commit message\n",
|
||||||
"author":{
|
"author":{
|
||||||
"username":"emmap1",
|
"nickname":"emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name":"Emma",
|
"display_name":"Emma",
|
||||||
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links":{
|
"links":{
|
||||||
"self":{
|
"self":{
|
||||||
"href":"https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html":{
|
"html":{
|
||||||
"href":"https://api.bitbucket.org/emmap1"
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar":{
|
"avatar":{
|
||||||
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
|
|||||||
Vendored
+8
-6
@@ -1,15 +1,16 @@
|
|||||||
{
|
{
|
||||||
"actor": {
|
"actor": {
|
||||||
"type": "user",
|
"type": "user",
|
||||||
"username": "emmap1",
|
"nickname": "emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name": "Emma",
|
"display_name": "Emma",
|
||||||
"uuid": "{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid": "{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links": {
|
"links": {
|
||||||
"self": {
|
"self": {
|
||||||
"href": "https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href": "https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html": {
|
"html": {
|
||||||
"href": "https://api.bitbucket.org/emmap1"
|
"href": "https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar": {
|
"avatar": {
|
||||||
"href": "https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href": "https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
@@ -49,15 +50,16 @@
|
|||||||
"website": "https://mywebsite.com/",
|
"website": "https://mywebsite.com/",
|
||||||
"owner": {
|
"owner": {
|
||||||
"type": "user",
|
"type": "user",
|
||||||
"username": "emmap1",
|
"nickname": "emmap1",
|
||||||
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
||||||
"display_name": "Emma",
|
"display_name": "Emma",
|
||||||
"uuid": "{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
"uuid": "{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
||||||
"links": {
|
"links": {
|
||||||
"self": {
|
"self": {
|
||||||
"href": "https://api.bitbucket.org/api/2.0/users/emmap1"
|
"href": "https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"html": {
|
"html": {
|
||||||
"href": "https://api.bitbucket.org/emmap1"
|
"href": "https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
||||||
},
|
},
|
||||||
"avatar": {
|
"avatar": {
|
||||||
"href": "https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
"href": "https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
||||||
|
|||||||
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
|
||||||
|
}
|
||||||
|
}
|
||||||
+2
-2
@@ -38,8 +38,8 @@
|
|||||||
"push",
|
"push",
|
||||||
"pull_request"
|
"pull_request"
|
||||||
],
|
],
|
||||||
"created_at": 1525109898,
|
"created_at": "2022-03-02T18:02:51.000Z",
|
||||||
"updated_at": 1525109899,
|
"updated_at": "2022-03-02T18:02:51.000Z",
|
||||||
"single_file_name": "config.yml"
|
"single_file_name": "config.yml"
|
||||||
},
|
},
|
||||||
"repository_selection": "selected",
|
"repository_selection": "selected",
|
||||||
|
|||||||
Vendored
+2
-2
@@ -38,8 +38,8 @@
|
|||||||
"push",
|
"push",
|
||||||
"pull_request"
|
"pull_request"
|
||||||
],
|
],
|
||||||
"created_at": 1525109898,
|
"created_at": "2022-03-02T18:02:51.000Z",
|
||||||
"updated_at": 1525109899,
|
"updated_at": "2022-03-02T18:02:51.000Z",
|
||||||
"single_file_name": "config.yml"
|
"single_file_name": "config.yml"
|
||||||
},
|
},
|
||||||
"repositories": [
|
"repositories": [
|
||||||
|
|||||||
@@ -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
|
||||||
|
}
|
||||||
|
}
|
||||||
+2
-2
@@ -37,8 +37,8 @@
|
|||||||
"events": [
|
"events": [
|
||||||
"pull_request"
|
"pull_request"
|
||||||
],
|
],
|
||||||
"created_at": 1516025475,
|
"created_at": "2022-03-02T18:02:51.000Z",
|
||||||
"updated_at": 1516025475,
|
"updated_at": "2022-03-02T18:02:51.000Z",
|
||||||
"single_file_name": null
|
"single_file_name": null
|
||||||
},
|
},
|
||||||
"repositories": [
|
"repositories": [
|
||||||
|
|||||||
Vendored
+1
@@ -2,6 +2,7 @@
|
|||||||
"action": "created",
|
"action": "created",
|
||||||
"project_card": {
|
"project_card": {
|
||||||
"url": "https://api.github.com/projects/columns/cards/1266091",
|
"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_url": "https://api.github.com/projects/columns/515520",
|
||||||
"column_id": 515520,
|
"column_id": 515520,
|
||||||
"id": 1266091,
|
"id": 1266091,
|
||||||
|
|||||||
+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
|
||||||
|
}
|
||||||
|
}
|
||||||
Vendored
+1
@@ -39,6 +39,7 @@
|
|||||||
"merge_commit_sha": null,
|
"merge_commit_sha": null,
|
||||||
"assignee": null,
|
"assignee": null,
|
||||||
"milestone": null,
|
"milestone": null,
|
||||||
|
"draft": false,
|
||||||
"commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1/commits",
|
"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_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}",
|
"review_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/comments{/number}",
|
||||||
|
|||||||
@@ -0,0 +1,33 @@
|
|||||||
|
{
|
||||||
|
"action": "dismiss",
|
||||||
|
"alert": {
|
||||||
|
"id": 7649605,
|
||||||
|
"affected_range": "0.2.0",
|
||||||
|
"affected_package_name": "many_versioned_gem",
|
||||||
|
"external_reference": "https://nvd.nist.gov/vuln/detail/CVE-2018-3728",
|
||||||
|
"external_identifier": "CVE-2018-3728",
|
||||||
|
"fixed_in": "0.2.5",
|
||||||
|
"dismisser": {
|
||||||
|
"login":"octocat",
|
||||||
|
"id":1,
|
||||||
|
"node_id": "MDQ6VXNlcjIxMDMxMDY3",
|
||||||
|
"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":true
|
||||||
|
},
|
||||||
|
"dismiss_reason": "No bandwidth to fix this",
|
||||||
|
"dismissed_at": "2017-10-25T00:00:00+00:00"
|
||||||
|
}
|
||||||
|
}
|
||||||
+124
@@ -0,0 +1,124 @@
|
|||||||
|
{
|
||||||
|
"inputs": {
|
||||||
|
"name": "workflow_dispatch"
|
||||||
|
},
|
||||||
|
"ref": "started",
|
||||||
|
"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": 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=3",
|
||||||
|
"description": null
|
||||||
|
},
|
||||||
|
"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
|
||||||
|
},
|
||||||
|
"workflow": "my_workflow_dispatch"
|
||||||
|
}
|
||||||
Vendored
+149
@@ -0,0 +1,149 @@
|
|||||||
|
{
|
||||||
|
"action": "My workflow_job",
|
||||||
|
"workflow_job": {
|
||||||
|
"id": 565676767,
|
||||||
|
"run_id": 128,
|
||||||
|
"run_url": "https://api.github.com/users/baxterthehacker/run",
|
||||||
|
"run_attempt": 1,
|
||||||
|
"node_id": "d6b80f8411bdc1a44407ff20619a74068b03ea5a",
|
||||||
|
"head_sha": "d6b80f8411bdc1a44407ff20619a74068b03ea5a",
|
||||||
|
"url": "https://api.github.com/users/baxterthehacker/",
|
||||||
|
"html_url": "https://api.github.com/users/baxterthehacker/html_url",
|
||||||
|
"status": "completed",
|
||||||
|
"conclusion": "finished",
|
||||||
|
"started_at": "2015-05-05T23:40:12Z",
|
||||||
|
"completed_at": "2015-05-05T23:40:30Z",
|
||||||
|
"name": "My Workflow",
|
||||||
|
"check_run_url": "https://api.github.com/users/baxterthehacker/check_run_url",
|
||||||
|
"runner_id": 1,
|
||||||
|
"runner_name": "my runner",
|
||||||
|
"runner_group_id": 1,
|
||||||
|
"runner_group_name": "my runner group"
|
||||||
|
},
|
||||||
|
"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": 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=3",
|
||||||
|
"description": null
|
||||||
|
},
|
||||||
|
"enterprise": {
|
||||||
|
"id": 6576867,
|
||||||
|
"name": "my enterprise",
|
||||||
|
"node_id": "d6b80f8411bdc1a44407ff20619a74068b03ea5a",
|
||||||
|
"html_url": "https://api.github.com/users/baxterthehacker/html_url",
|
||||||
|
"created_at": "2015-05-05T23:40:12Z",
|
||||||
|
"updated_at": "2015-05-05T23:40:30Z"
|
||||||
|
},
|
||||||
|
"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
|
||||||
|
},
|
||||||
|
"workflow": "my_workflow_dispatch"
|
||||||
|
}
|
||||||
Vendored
+357
@@ -0,0 +1,357 @@
|
|||||||
|
{
|
||||||
|
"action": "My workflow_run",
|
||||||
|
"workflow_run": {
|
||||||
|
"id": 565676767,
|
||||||
|
"name": "My Workflow",
|
||||||
|
"node_id": "d6b80f8411bdc1a44407ff20619a74068b03ea5a",
|
||||||
|
"head_branch": "master",
|
||||||
|
"head_sha": "d6b80f8411bdc1a44407ff20619a74068b03ea5a",
|
||||||
|
"run_number": 1,
|
||||||
|
"event": "my workflow",
|
||||||
|
"status": "completed",
|
||||||
|
"conclusion": "finished",
|
||||||
|
"workflow_id": 128,
|
||||||
|
"check_suite_id": 1,
|
||||||
|
"check_suite_node_id": "1",
|
||||||
|
"url": "https://api.github.com/users/baxterthehacker/",
|
||||||
|
"html_url": "https://api.github.com/users/baxterthehacker/html_url",
|
||||||
|
"created_at": "2015-05-05T23:40:12Z",
|
||||||
|
"updated_at": "2015-05-05T23:40:30Z",
|
||||||
|
"run_attempt": 1,
|
||||||
|
"run_started_at": "2015-05-05T23:40:30Z",
|
||||||
|
"jobs_url": "https://api.github.com/users/baxterthehacker/jobs",
|
||||||
|
"logs_url": "https://api.github.com/users/baxterthehacker/logs",
|
||||||
|
"check_suite_url": "https://api.github.com/users/baxterthehacker/check_suite_url",
|
||||||
|
"artifacts_url": "https://api.github.com/users/baxterthehacker/artifacts_url",
|
||||||
|
"cancel_url": "https://api.github.com/users/baxterthehacker/cancel_url",
|
||||||
|
"rerun_url": "https://api.github.com/users/baxterthehacker/rerun_url",
|
||||||
|
"workflow_url": "https://api.github.com/users/baxterthehacker/workflow_url",
|
||||||
|
"head_commit": {
|
||||||
|
"id": "12345",
|
||||||
|
"tree_id": "54321",
|
||||||
|
"message": "my message",
|
||||||
|
"timestamp": "2015-05-05T23:40:30Z",
|
||||||
|
"author": {
|
||||||
|
"name": "author",
|
||||||
|
"email": "my@email.com"
|
||||||
|
},
|
||||||
|
"committer": {
|
||||||
|
"name": "author",
|
||||||
|
"email": "my@email.com"
|
||||||
|
},
|
||||||
|
"head_commit": "master"
|
||||||
|
},
|
||||||
|
"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": 0,
|
||||||
|
"mirror_url": null,
|
||||||
|
"open_issues_count": 2,
|
||||||
|
"forks": 0,
|
||||||
|
"open_issues": 2,
|
||||||
|
"watchers": 0,
|
||||||
|
"default_branch": "master"
|
||||||
|
},
|
||||||
|
"head_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": 0,
|
||||||
|
"mirror_url": null,
|
||||||
|
"open_issues_count": 2,
|
||||||
|
"forks": 0,
|
||||||
|
"open_issues": 2,
|
||||||
|
"watchers": 0,
|
||||||
|
"default_branch": "master"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"workflow": {
|
||||||
|
"id": 565676767,
|
||||||
|
"node_id": "d6b80f8411bdc1a44407ff20619a74068b03ea5a",
|
||||||
|
"name": "My Workflow",
|
||||||
|
"path": "/users/baxterthehacker",
|
||||||
|
"state": "completed",
|
||||||
|
"conclusion": "finished",
|
||||||
|
"created_at": "2015-05-05T23:40:12Z",
|
||||||
|
"updated_at": "2015-05-05T23:40:30Z",
|
||||||
|
"url": "https://api.github.com/users/baxterthehacker",
|
||||||
|
"html_url": "https://api.github.com/users/baxterthehacker/html_url",
|
||||||
|
"badge_url": "https://api.github.com/users/baxterthehacker/badge_url"
|
||||||
|
},
|
||||||
|
"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": 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=3",
|
||||||
|
"description": null
|
||||||
|
},
|
||||||
|
"enterprise": {
|
||||||
|
"id": 6576867,
|
||||||
|
"name": "my enterprise",
|
||||||
|
"node_id": "d6b80f8411bdc1a44407ff20619a74068b03ea5a",
|
||||||
|
"html_url": "https://api.github.com/users/baxterthehacker/html_url",
|
||||||
|
"created_at": "2015-05-05T23:40:12Z",
|
||||||
|
"updated_at": "2015-05-05T23:40:30Z"
|
||||||
|
},
|
||||||
|
"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
|
||||||
|
}
|
||||||
|
}
|
||||||
+30
-1
@@ -35,7 +35,36 @@
|
|||||||
"project_id": 14,
|
"project_id": 14,
|
||||||
"created_at": "2013-12-03T17:15:43Z",
|
"created_at": "2013-12-03T17:15:43Z",
|
||||||
"updated_at": "2013-12-03T17:15:43Z",
|
"updated_at": "2013-12-03T17:15:43Z",
|
||||||
"position": 0,
|
"change_position": {
|
||||||
|
"base_sha": null,
|
||||||
|
"start_sha": null,
|
||||||
|
"head_sha": null,
|
||||||
|
"old_path": null,
|
||||||
|
"new_path": null,
|
||||||
|
"position_type": "text",
|
||||||
|
"old_line": null,
|
||||||
|
"new_line": null
|
||||||
|
},
|
||||||
|
"original_position": {
|
||||||
|
"base_sha": "0a87d409a2d5ffbf586ed3e7ff36396ca59c3c14",
|
||||||
|
"start_sha": "5f7519856cb2a7c05427a8c1e83f941828567923",
|
||||||
|
"head_sha": "562e173be03b8ff2efb05345d12df18815438a4b",
|
||||||
|
"old_path": "core/src/main/java/com/example/server/CorbaServer.java",
|
||||||
|
"new_path": "core/src/main/java/com/example/server/CorbaServer.java",
|
||||||
|
"position_type": "text",
|
||||||
|
"old_line": null,
|
||||||
|
"new_line": 74
|
||||||
|
},
|
||||||
|
"position": {
|
||||||
|
"base_sha": "0a87d409a2d5ffbf586ed3e7ff36396ca59c3c14",
|
||||||
|
"start_sha": "5f7519856cb2a7c05427a8c1e83f941828567923",
|
||||||
|
"head_sha": "562e173be03b8ff2efb05345d12df18815438a4b",
|
||||||
|
"old_path": "core/src/main/java/com/example/server/CorbaServer.java",
|
||||||
|
"new_path": "core/src/main/java/com/example/server/CorbaServer.java",
|
||||||
|
"position_type": "text",
|
||||||
|
"old_line": null,
|
||||||
|
"new_line": 74
|
||||||
|
},
|
||||||
"branch_name": null,
|
"branch_name": null,
|
||||||
"description": "Create new API for manipulations with repository",
|
"description": "Create new API for manipulations with repository",
|
||||||
"milestone_id": null,
|
"milestone_id": null,
|
||||||
|
|||||||
Vendored
+30
-1
@@ -35,7 +35,36 @@
|
|||||||
"project_id": 14,
|
"project_id": 14,
|
||||||
"created_at": "2013-12-03T17:15:43Z",
|
"created_at": "2013-12-03T17:15:43Z",
|
||||||
"updated_at": "2013-12-03T17:15:43Z",
|
"updated_at": "2013-12-03T17:15:43Z",
|
||||||
"position": 0,
|
"change_position": {
|
||||||
|
"base_sha": null,
|
||||||
|
"start_sha": null,
|
||||||
|
"head_sha": null,
|
||||||
|
"old_path": null,
|
||||||
|
"new_path": null,
|
||||||
|
"position_type": "text",
|
||||||
|
"old_line": null,
|
||||||
|
"new_line": null
|
||||||
|
},
|
||||||
|
"original_position": {
|
||||||
|
"base_sha": "0a87d409a2d5ffbf586ed3e7ff36396ca59c3c14",
|
||||||
|
"start_sha": "5f7519856cb2a7c05427a8c1e83f941828567923",
|
||||||
|
"head_sha": "562e173be03b8ff2efb05345d12df18815438a4b",
|
||||||
|
"old_path": "core/src/main/java/com/example/server/CorbaServer.java",
|
||||||
|
"new_path": "core/src/main/java/com/example/server/CorbaServer.java",
|
||||||
|
"position_type": "text",
|
||||||
|
"old_line": null,
|
||||||
|
"new_line": 74
|
||||||
|
},
|
||||||
|
"position": {
|
||||||
|
"base_sha": "0a87d409a2d5ffbf586ed3e7ff36396ca59c3c14",
|
||||||
|
"start_sha": "5f7519856cb2a7c05427a8c1e83f941828567923",
|
||||||
|
"head_sha": "562e173be03b8ff2efb05345d12df18815438a4b",
|
||||||
|
"old_path": "core/src/main/java/com/example/server/CorbaServer.java",
|
||||||
|
"new_path": "core/src/main/java/com/example/server/CorbaServer.java",
|
||||||
|
"position_type": "text",
|
||||||
|
"old_line": null,
|
||||||
|
"new_line": 74
|
||||||
|
},
|
||||||
"branch_name": null,
|
"branch_name": null,
|
||||||
"description": "Create new API for manipulations with repository",
|
"description": "Create new API for manipulations with repository",
|
||||||
"milestone_id": null,
|
"milestone_id": null,
|
||||||
|
|||||||
Vendored
+50
@@ -0,0 +1,50 @@
|
|||||||
|
{
|
||||||
|
"object_kind": "build",
|
||||||
|
"ref": "gitlab-script-trigger",
|
||||||
|
"tag": false,
|
||||||
|
"before_sha": "2293ada6b400935a1378653304eaf6221e0fdb8f",
|
||||||
|
"sha": "2293ada6b400935a1378653304eaf6221e0fdb8f",
|
||||||
|
"build_id": 1977,
|
||||||
|
"build_name": "test",
|
||||||
|
"build_stage": "test",
|
||||||
|
"build_status": "created",
|
||||||
|
"build_started_at": null,
|
||||||
|
"build_finished_at": null,
|
||||||
|
"build_duration": null,
|
||||||
|
"build_allow_failure": false,
|
||||||
|
"build_failure_reason": "script_failure",
|
||||||
|
"pipeline_id": 2366,
|
||||||
|
"project_id": 380,
|
||||||
|
"project_name": "gitlab-org/gitlab-test",
|
||||||
|
"user": {
|
||||||
|
"id": 3,
|
||||||
|
"name": "User",
|
||||||
|
"email": "user@gitlab.com",
|
||||||
|
"avatar_url": "http://www.gravatar.com/avatar/e32bd13e2add097461cb96824b7a829c?s=80\u0026d=identicon"
|
||||||
|
},
|
||||||
|
"commit": {
|
||||||
|
"id": 2366,
|
||||||
|
"sha": "2293ada6b400935a1378653304eaf6221e0fdb8f",
|
||||||
|
"message": "test\n",
|
||||||
|
"author_name": "User",
|
||||||
|
"author_email": "user@gitlab.com",
|
||||||
|
"status": "created",
|
||||||
|
"duration": null,
|
||||||
|
"started_at": null,
|
||||||
|
"finished_at": null
|
||||||
|
},
|
||||||
|
"repository": {
|
||||||
|
"name": "gitlab_test",
|
||||||
|
"description": "Atque in sunt eos similique dolores voluptatem.",
|
||||||
|
"homepage": "http://192.168.64.1:3005/gitlab-org/gitlab-test",
|
||||||
|
"git_ssh_url": "git@192.168.64.1:gitlab-org/gitlab-test.git",
|
||||||
|
"git_http_url": "http://192.168.64.1:3005/gitlab-org/gitlab-test.git",
|
||||||
|
"visibility_level": 20
|
||||||
|
},
|
||||||
|
"runner": {
|
||||||
|
"active": true,
|
||||||
|
"is_shared": false,
|
||||||
|
"id": 380987,
|
||||||
|
"description": "shared-runners-manager-6.gitlab.com"
|
||||||
|
}
|
||||||
|
}
|
||||||
+9
@@ -136,5 +136,14 @@
|
|||||||
"group_id": 41
|
"group_id": 41
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"assignees": [
|
||||||
|
{
|
||||||
|
"id": 6,
|
||||||
|
"name": "User1",
|
||||||
|
"username": "user1",
|
||||||
|
"avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=40\u0026d=identicon",
|
||||||
|
"email": "user1@gmail.com"
|
||||||
}
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
Vendored
+46
-5
@@ -6,6 +6,7 @@
|
|||||||
"tag": false,
|
"tag": false,
|
||||||
"sha": "bcbb5ec396a2c0f828686f14fac9b80b780504f2",
|
"sha": "bcbb5ec396a2c0f828686f14fac9b80b780504f2",
|
||||||
"before_sha": "bcbb5ec396a2c0f828686f14fac9b80b780504f2",
|
"before_sha": "bcbb5ec396a2c0f828686f14fac9b80b780504f2",
|
||||||
|
"source": "merge_request_event",
|
||||||
"status": "success",
|
"status": "success",
|
||||||
"stages":[
|
"stages":[
|
||||||
"build",
|
"build",
|
||||||
@@ -14,14 +15,34 @@
|
|||||||
],
|
],
|
||||||
"created_at": "2016-08-12 15:23:28 UTC",
|
"created_at": "2016-08-12 15:23:28 UTC",
|
||||||
"finished_at": "2016-08-12 15:26:29 UTC",
|
"finished_at": "2016-08-12 15:26:29 UTC",
|
||||||
"duration": 63
|
"duration": 63,
|
||||||
|
"variables": [
|
||||||
|
{
|
||||||
|
"key": "NESTOR_PROD_ENVIRONMENT",
|
||||||
|
"value": "us-west-1"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"merge_request": {
|
||||||
|
"id": 1,
|
||||||
|
"iid": 1,
|
||||||
|
"title": "Test",
|
||||||
|
"source_branch": "test",
|
||||||
|
"source_project_id": 1,
|
||||||
|
"target_branch": "master",
|
||||||
|
"target_project_id": 1,
|
||||||
|
"state": "opened",
|
||||||
|
"merge_status": "can_be_merged",
|
||||||
|
"url": "http://192.168.64.1:3005/gitlab-org/gitlab-test/merge_requests/1"
|
||||||
},
|
},
|
||||||
"user":{
|
"user":{
|
||||||
"name": "Administrator",
|
"name": "Administrator",
|
||||||
"username": "root",
|
"username": "root",
|
||||||
"avatar_url": "http://www.gravatar.com/avatar/e32bd13e2add097461cb96824b7a829c?s=80\u0026d=identicon"
|
"avatar_url": "http://www.gravatar.com/avatar/e32bd13e2add097461cb96824b7a829c?s=80\u0026d=identicon",
|
||||||
|
"email": "user_email@gitlab.com"
|
||||||
},
|
},
|
||||||
"project":{
|
"project":{
|
||||||
|
"id": 1,
|
||||||
"name": "Gitlab Test",
|
"name": "Gitlab Test",
|
||||||
"description": "Atque in sunt eos similique dolores voluptatem.",
|
"description": "Atque in sunt eos similique dolores voluptatem.",
|
||||||
"web_url": "http://192.168.64.1:3005/gitlab-org/gitlab-test",
|
"web_url": "http://192.168.64.1:3005/gitlab-org/gitlab-test",
|
||||||
@@ -54,6 +75,7 @@
|
|||||||
"finished_at": null,
|
"finished_at": null,
|
||||||
"when": "manual",
|
"when": "manual",
|
||||||
"manual": true,
|
"manual": true,
|
||||||
|
"allow_failure": false,
|
||||||
"user":{
|
"user":{
|
||||||
"name": "Administrator",
|
"name": "Administrator",
|
||||||
"username": "root",
|
"username": "root",
|
||||||
@@ -75,12 +97,18 @@
|
|||||||
"finished_at": null,
|
"finished_at": null,
|
||||||
"when": "on_success",
|
"when": "on_success",
|
||||||
"manual": false,
|
"manual": false,
|
||||||
|
"allow_failure": false,
|
||||||
"user":{
|
"user":{
|
||||||
"name": "Administrator",
|
"name": "Administrator",
|
||||||
"username": "root",
|
"username": "root",
|
||||||
"avatar_url": "http://www.gravatar.com/avatar/e32bd13e2add097461cb96824b7a829c?s=80\u0026d=identicon"
|
"avatar_url": "http://www.gravatar.com/avatar/e32bd13e2add097461cb96824b7a829c?s=80\u0026d=identicon"
|
||||||
},
|
},
|
||||||
"runner": null,
|
"runner": {
|
||||||
|
"id":380987,
|
||||||
|
"description":"shared-runners-manager-6.gitlab.com",
|
||||||
|
"active":true,
|
||||||
|
"is_shared":true
|
||||||
|
},
|
||||||
"artifacts_file":{
|
"artifacts_file":{
|
||||||
"filename": null,
|
"filename": null,
|
||||||
"size": null
|
"size": null
|
||||||
@@ -96,12 +124,18 @@
|
|||||||
"finished_at": "2016-08-12 15:26:29 UTC",
|
"finished_at": "2016-08-12 15:26:29 UTC",
|
||||||
"when": "on_success",
|
"when": "on_success",
|
||||||
"manual": false,
|
"manual": false,
|
||||||
|
"allow_failure": false,
|
||||||
"user":{
|
"user":{
|
||||||
"name": "Administrator",
|
"name": "Administrator",
|
||||||
"username": "root",
|
"username": "root",
|
||||||
"avatar_url": "http://www.gravatar.com/avatar/e32bd13e2add097461cb96824b7a829c?s=80\u0026d=identicon"
|
"avatar_url": "http://www.gravatar.com/avatar/e32bd13e2add097461cb96824b7a829c?s=80\u0026d=identicon"
|
||||||
},
|
},
|
||||||
"runner": null,
|
"runner": {
|
||||||
|
"id":380987,
|
||||||
|
"description":"shared-runners-manager-6.gitlab.com",
|
||||||
|
"active":true,
|
||||||
|
"is_shared":true
|
||||||
|
},
|
||||||
"artifacts_file":{
|
"artifacts_file":{
|
||||||
"filename": null,
|
"filename": null,
|
||||||
"size": null
|
"size": null
|
||||||
@@ -117,12 +151,18 @@
|
|||||||
"finished_at": "2016-08-12 15:25:26 UTC",
|
"finished_at": "2016-08-12 15:25:26 UTC",
|
||||||
"when": "on_success",
|
"when": "on_success",
|
||||||
"manual": false,
|
"manual": false,
|
||||||
|
"allow_failure": false,
|
||||||
"user":{
|
"user":{
|
||||||
"name": "Administrator",
|
"name": "Administrator",
|
||||||
"username": "root",
|
"username": "root",
|
||||||
"avatar_url": "http://www.gravatar.com/avatar/e32bd13e2add097461cb96824b7a829c?s=80\u0026d=identicon"
|
"avatar_url": "http://www.gravatar.com/avatar/e32bd13e2add097461cb96824b7a829c?s=80\u0026d=identicon"
|
||||||
},
|
},
|
||||||
"runner": null,
|
"runner": {
|
||||||
|
"id":380987,
|
||||||
|
"description":"shared-runners-manager-6.gitlab.com",
|
||||||
|
"active":true,
|
||||||
|
"is_shared":true
|
||||||
|
},
|
||||||
"artifacts_file":{
|
"artifacts_file":{
|
||||||
"filename": null,
|
"filename": null,
|
||||||
"size": null
|
"size": null
|
||||||
@@ -138,6 +178,7 @@
|
|||||||
"finished_at": null,
|
"finished_at": null,
|
||||||
"when": "on_success",
|
"when": "on_success",
|
||||||
"manual": false,
|
"manual": false,
|
||||||
|
"allow_failure": false,
|
||||||
"user":{
|
"user":{
|
||||||
"name": "Administrator",
|
"name": "Administrator",
|
||||||
"username": "root",
|
"username": "root",
|
||||||
|
|||||||
+114
@@ -0,0 +1,114 @@
|
|||||||
|
{
|
||||||
|
"object_kind": "merge_request",
|
||||||
|
"user": {
|
||||||
|
"name": "Administrator",
|
||||||
|
"username": "root",
|
||||||
|
"avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon"
|
||||||
|
},
|
||||||
|
"project": {
|
||||||
|
"name": "Example",
|
||||||
|
"description": "",
|
||||||
|
"web_url": "http://example.com/jsmith/example",
|
||||||
|
"avatar_url": null,
|
||||||
|
"git_ssh_url": "git@example.com:jsmith/example.git",
|
||||||
|
"git_http_url": "http://example.com/jsmith/example.git",
|
||||||
|
"namespace": "Jsmith",
|
||||||
|
"visibility_level": 0,
|
||||||
|
"path_with_namespace": "jsmith/example",
|
||||||
|
"default_branch": "master",
|
||||||
|
"ci_config_path": "",
|
||||||
|
"homepage": "http://example.com/jsmith/example",
|
||||||
|
"url": "git@example.com:jsmith/example.git",
|
||||||
|
"ssh_url": "git@example.com:jsmith/example.git",
|
||||||
|
"http_url": "http://example.com/jsmith/example.git"
|
||||||
|
},
|
||||||
|
"object_attributes": {
|
||||||
|
"id": 90,
|
||||||
|
"target_branch": "master",
|
||||||
|
"source_branch": "ms-viewport",
|
||||||
|
"source_project_id": 14,
|
||||||
|
"author_id": 51,
|
||||||
|
"assignee_id": 6,
|
||||||
|
"title": "MS-Viewport",
|
||||||
|
"created_at": "2017-09-20T08:31:45.944Z",
|
||||||
|
"updated_at": "2017-09-28T12:23:42.365Z",
|
||||||
|
"milestone_id": null,
|
||||||
|
"state": "opened",
|
||||||
|
"merge_status": "unchecked",
|
||||||
|
"target_project_id": 14,
|
||||||
|
"iid": 1,
|
||||||
|
"description": "",
|
||||||
|
"updated_by_id": 1,
|
||||||
|
"merge_error": null,
|
||||||
|
"merge_params": {
|
||||||
|
"force_remove_source_branch": "0"
|
||||||
|
},
|
||||||
|
"merge_when_pipeline_succeeds": false,
|
||||||
|
"merge_user_id": null,
|
||||||
|
"merge_commit_sha": null,
|
||||||
|
"deleted_at": null,
|
||||||
|
"in_progress_merge_commit_sha": null,
|
||||||
|
"lock_version": 5,
|
||||||
|
"time_estimate": 0,
|
||||||
|
"last_edited_at": "2017-09-27T12:43:37.558Z",
|
||||||
|
"last_edited_by_id": 1,
|
||||||
|
"head_pipeline_id": 61,
|
||||||
|
"ref_fetched": true,
|
||||||
|
"merge_jid": null,
|
||||||
|
"source": {
|
||||||
|
"name": "Awesome Project",
|
||||||
|
"description": "",
|
||||||
|
"web_url": "http://example.com/awesome_space/awesome_project",
|
||||||
|
"avatar_url": null,
|
||||||
|
"git_ssh_url": "git@example.com:awesome_space/awesome_project.git",
|
||||||
|
"git_http_url": "http://example.com/awesome_space/awesome_project.git",
|
||||||
|
"namespace": "root",
|
||||||
|
"visibility_level": 0,
|
||||||
|
"path_with_namespace": "awesome_space/awesome_project",
|
||||||
|
"default_branch": "master",
|
||||||
|
"ci_config_path": "",
|
||||||
|
"homepage": "http://example.com/awesome_space/awesome_project",
|
||||||
|
"url": "http://example.com/awesome_space/awesome_project.git",
|
||||||
|
"ssh_url": "git@example.com:awesome_space/awesome_project.git",
|
||||||
|
"http_url": "http://example.com/awesome_space/awesome_project.git"
|
||||||
|
},
|
||||||
|
"target": {
|
||||||
|
"name": "Awesome Project",
|
||||||
|
"description": "Aut reprehenderit ut est.",
|
||||||
|
"web_url": "http://example.com/awesome_space/awesome_project",
|
||||||
|
"avatar_url": null,
|
||||||
|
"git_ssh_url": "git@example.com:awesome_space/awesome_project.git",
|
||||||
|
"git_http_url": "http://example.com/awesome_space/awesome_project.git",
|
||||||
|
"namespace": "Awesome Space",
|
||||||
|
"visibility_level": 0,
|
||||||
|
"path_with_namespace": "awesome_space/awesome_project",
|
||||||
|
"default_branch": "master",
|
||||||
|
"ci_config_path": "",
|
||||||
|
"homepage": "http://example.com/awesome_space/awesome_project",
|
||||||
|
"url": "http://example.com/awesome_space/awesome_project.git",
|
||||||
|
"ssh_url": "git@example.com:awesome_space/awesome_project.git",
|
||||||
|
"http_url": "http://example.com/awesome_space/awesome_project.git"
|
||||||
|
},
|
||||||
|
"last_commit": {
|
||||||
|
"id": "ba3e0d8ff79c80d5b0bbb4f3e2e343e0aaa662b7",
|
||||||
|
"message": "fixed readme",
|
||||||
|
"timestamp": "2017-09-26T16:12:57Z",
|
||||||
|
"url": "http://example.com/awesome_space/awesome_project/commits/da1560886d4f094c3e6c9ef40349f7d38b5d27d7",
|
||||||
|
"author": {
|
||||||
|
"name": "GitLab dev user",
|
||||||
|
"email": "gitlabdev@dv6700.(none)"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"work_in_progress": false,
|
||||||
|
"total_time_spent": 0,
|
||||||
|
"human_total_time_spent": null,
|
||||||
|
"human_time_estimate": null
|
||||||
|
},
|
||||||
|
"labels": null,
|
||||||
|
"repository": {
|
||||||
|
"name": "git-gpg-test",
|
||||||
|
"url": "git@example.com:awesome_space/awesome_project.git",
|
||||||
|
"description": "",
|
||||||
|
"homepage": "http://example.com/awesome_space/awesome_project"
|
||||||
|
}
|
||||||
|
}
|
||||||
+50
@@ -0,0 +1,50 @@
|
|||||||
|
{
|
||||||
|
"event_name": "push",
|
||||||
|
"before": "95790bf891e76fee5e1747ab589903a6a1f80f22",
|
||||||
|
"after": "da1560886d4f094c3e6c9ef40349f7d38b5d27d7",
|
||||||
|
"ref": "refs/heads/master",
|
||||||
|
"checkout_sha": "da1560886d4f094c3e6c9ef40349f7d38b5d27d7",
|
||||||
|
"user_id": 4,
|
||||||
|
"user_name": "John Smith",
|
||||||
|
"user_email": "john@example.com",
|
||||||
|
"user_avatar": "https://s.gravatar.com/avatar/d4c74594d841139328695756648b6bd6?s=8://s.gravatar.com/avatar/d4c74594d841139328695756648b6bd6?s=80",
|
||||||
|
"project_id": 15,
|
||||||
|
"project":{
|
||||||
|
"name":"Diaspora",
|
||||||
|
"description":"",
|
||||||
|
"web_url":"http://example.com/mike/diaspora",
|
||||||
|
"avatar_url":null,
|
||||||
|
"git_ssh_url":"git@example.com:mike/diaspora.git",
|
||||||
|
"git_http_url":"http://example.com/mike/diaspora.git",
|
||||||
|
"namespace":"Mike",
|
||||||
|
"visibility_level":0,
|
||||||
|
"path_with_namespace":"mike/diaspora",
|
||||||
|
"default_branch":"master",
|
||||||
|
"homepage":"http://example.com/mike/diaspora",
|
||||||
|
"url":"git@example.com:mike/diaspora.git",
|
||||||
|
"ssh_url":"git@example.com:mike/diaspora.git",
|
||||||
|
"http_url":"http://example.com/mike/diaspora.git"
|
||||||
|
},
|
||||||
|
"repository":{
|
||||||
|
"name": "Diaspora",
|
||||||
|
"url": "git@example.com:mike/diaspora.git",
|
||||||
|
"description": "",
|
||||||
|
"homepage": "http://example.com/mike/diaspora",
|
||||||
|
"git_http_url":"http://example.com/mike/diaspora.git",
|
||||||
|
"git_ssh_url":"git@example.com:mike/diaspora.git",
|
||||||
|
"visibility_level":0
|
||||||
|
},
|
||||||
|
"commits": [
|
||||||
|
{
|
||||||
|
"id": "c5feabde2d8cd023215af4d2ceeb7a64839fc428",
|
||||||
|
"message": "Add simple search to projects in public area",
|
||||||
|
"timestamp": "2013-05-13T18:18:08+00:00",
|
||||||
|
"url": "https://dev.gitlab.org/gitlab/gitlabhq/commit/c5feabde2d8cd023215af4d2ceeb7a64839fc428",
|
||||||
|
"author": {
|
||||||
|
"name": "Example User",
|
||||||
|
"email": "user@example.com"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"total_commits_count": 1
|
||||||
|
}
|
||||||
+38
@@ -0,0 +1,38 @@
|
|||||||
|
{
|
||||||
|
"event_name": "tag_push",
|
||||||
|
"before": "0000000000000000000000000000000000000000",
|
||||||
|
"after": "82b3d5ae55f7080f1e6022629cdb57bfae7cccc7",
|
||||||
|
"ref": "refs/tags/v1.0.0",
|
||||||
|
"checkout_sha": "5937ac0a7beb003549fc5fd26fc247adbce4a52e",
|
||||||
|
"user_id": 1,
|
||||||
|
"user_name": "John Smith",
|
||||||
|
"user_avatar": "https://s.gravatar.com/avatar/d4c74594d841139328695756648b6bd6?s=8://s.gravatar.com/avatar/d4c74594d841139328695756648b6bd6?s=80",
|
||||||
|
"project_id": 1,
|
||||||
|
"project":{
|
||||||
|
"name":"Example",
|
||||||
|
"description":"",
|
||||||
|
"web_url":"http://example.com/jsmith/example",
|
||||||
|
"avatar_url":null,
|
||||||
|
"git_ssh_url":"git@example.com:jsmith/example.git",
|
||||||
|
"git_http_url":"http://example.com/jsmith/example.git",
|
||||||
|
"namespace":"Jsmith",
|
||||||
|
"visibility_level":0,
|
||||||
|
"path_with_namespace":"jsmith/example",
|
||||||
|
"default_branch":"master",
|
||||||
|
"homepage":"http://example.com/jsmith/example",
|
||||||
|
"url":"git@example.com:jsmith/example.git",
|
||||||
|
"ssh_url":"git@example.com:jsmith/example.git",
|
||||||
|
"http_url":"http://example.com/jsmith/example.git"
|
||||||
|
},
|
||||||
|
"repository":{
|
||||||
|
"name": "Example",
|
||||||
|
"url": "ssh://git@example.com/jsmith/example.git",
|
||||||
|
"description": "",
|
||||||
|
"homepage": "http://example.com/jsmith/example",
|
||||||
|
"git_http_url":"http://example.com/jsmith/example.git",
|
||||||
|
"git_ssh_url":"git@example.com:jsmith/example.git",
|
||||||
|
"visibility_level":0
|
||||||
|
},
|
||||||
|
"commits": [],
|
||||||
|
"total_commits_count": 0
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user