Files
webhooks/testdata/bitbucket-server/pr-modified.json
T
2019-03-31 04:49:55 -07:00

216 lines
5.4 KiB
JSON

{
"eventKey": "pr:modified",
"date": "2019-03-01T10:19:48+0100",
"actor": {
"name": "gopher",
"emailAddress": "gopher@foo.bar",
"id": 3231,
"displayName": "Foo Bar",
"active": true,
"slug": "gopher",
"type": "NORMAL",
"links": {
"self": [
{
"href": "https://server.bibucket.local/users/gopher"
}
]
}
},
"pullRequest": {
"id": 3,
"version": 1,
"title": "Feature/wip",
"description": "Update README",
"state": "OPEN",
"open": true,
"closed": false,
"createdDate": 1551431949625,
"updatedDate": 1551431988769,
"fromRef": {
"id": "refs/heads/feature/wip",
"displayId": "feature/wip",
"latestCommit": "591f702354b3abf1faaca4d23811620d1b2ac984",
"repository": {
"slug": "webhook-test",
"id": 4,
"name": "webhook-test",
"scmId": "git",
"state": "AVAILABLE",
"statusMessage": "Available",
"forkable": true,
"project": {
"key": "~gopher",
"id": 2,
"name": "Foo Bar",
"type": "PERSONAL",
"owner": {
"name": "gopher",
"emailAddress": "gopher@foo.bar",
"id": 3231,
"displayName": "Foo Bar",
"active": true,
"slug": "gopher",
"type": "NORMAL",
"links": {
"self": [
{
"href": "https://server.bibucket.local/users/gopher"
}
]
}
},
"links": {
"self": [
{
"href": "https://server.bibucket.local/users/gopher"
}
]
}
},
"public": false,
"links": {
"clone": [
{
"href": "ssh://git@server.bibucket.local:7999/~gopher/webhook-test.git",
"name": "ssh"
},
{
"href": "https://server.bibucket.local/scm/~gopher/webhook-test.git",
"name": "http"
}
],
"self": [
{
"href": "https://server.bibucket.local/users/gopher/repos/webhook-test/browse"
}
]
}
}
},
"toRef": {
"id": "refs/heads/master",
"displayId": "master",
"latestCommit": "038e7b67735e54f6de8f1c5d533c6751df524f6c",
"repository": {
"slug": "webhook-test",
"id": 4,
"name": "webhook-test",
"scmId": "git",
"state": "AVAILABLE",
"statusMessage": "Available",
"forkable": true,
"project": {
"key": "~gopher",
"id": 2,
"name": "Foo Bar",
"type": "PERSONAL",
"owner": {
"name": "gopher",
"emailAddress": "gopher@foo.bar",
"id": 3231,
"displayName": "Foo Bar",
"active": true,
"slug": "gopher",
"type": "NORMAL",
"links": {
"self": [
{
"href": "https://server.bibucket.local/users/gopher"
}
]
}
},
"links": {
"self": [
{
"href": "https://server.bibucket.local/users/gopher"
}
]
}
},
"public": false,
"links": {
"clone": [
{
"href": "ssh://git@server.bibucket.local:7999/~gopher/webhook-test.git",
"name": "ssh"
},
{
"href": "https://server.bibucket.local/scm/~gopher/webhook-test.git",
"name": "http"
}
],
"self": [
{
"href": "https://server.bibucket.local/users/gopher/repos/webhook-test/browse"
}
]
}
}
},
"locked": false,
"author": {
"user": {
"name": "gopher",
"emailAddress": "gopher@foo.bar",
"id": 3231,
"displayName": "Foo Bar",
"active": true,
"slug": "gopher",
"type": "NORMAL",
"links": {
"self": [
{
"href": "https://server.bibucket.local/users/gopher"
}
]
}
},
"role": "AUTHOR",
"approved": false,
"status": "UNAPPROVED"
},
"reviewers": [
{
"user": {
"name": "tux",
"emailAddress": "cain.piper@foo.bar",
"id": 2125,
"displayName": "Cain Piper",
"active": true,
"slug": "tux",
"type": "NORMAL",
"links": {
"self": [
{
"href": "https://server.bibucket.local/users/tux"
}
]
}
},
"role": "REVIEWER",
"approved": false,
"status": "UNAPPROVED"
}
],
"participants": [],
"links": {
"self": [
{
"href": "https://server.bibucket.local/users/gopher/repos/webhook-test/pull-requests/3"
}
]
}
},
"previousTitle": "Feature/wip",
"previousDescription": "wip",
"previousTarget": {
"id": "refs/heads/master",
"displayId": "master",
"type": "BRANCH",
"latestCommit": "038e7b67735e54f6de8f1c5d533c6751df524f6c",
"latestChangeset": "038e7b67735e54f6de8f1c5d533c6751df524f6c"
}
}