Files
webhooks/testdata/bitbucket-server/repo-comment-added.json
2019-03-31 04:49:55 -07:00

106 lines
2.3 KiB
JSON

{
"eventKey": "repo:comment:added",
"date": "2019-02-28T16:17:06+0100",
"actor": {
"name": "gopher",
"emailAddress": "gopher@foo.bar",
"id": 3231,
"displayName": "Foo Bar",
"active": true,
"slug": "gopher",
"type": "NORMAL",
"links": {
"self": [
{
"href": "https://server.bitbucket.local/users/gopher"
}
]
}
},
"comment": {
"properties": {
"repositoryId": 4
},
"id": 146,
"version": 0,
"text": "test",
"author": {
"name": "gopher",
"emailAddress": "gopher@foo.bar",
"id": 3231,
"displayName": "Foo Bar",
"active": true,
"slug": "gopher",
"type": "NORMAL",
"links": {
"self": [
{
"href": "https://server.bitbucket.local/users/gopher"
}
]
}
},
"createdDate": 1551367026162,
"updatedDate": 1551367026162,
"comments": [],
"tasks": []
},
"repository": {
"slug": "webhook-test",
"id": 4,
"name": "webhook-test",
"scmId": "git",
"state": "AVAILABLE",
"statusMessage": "Available",
"forkable": true,
"project": {
"key": "~gopher",
"id": 2,
"name": "Foo Bar",
"type": "PERSONAL",
"owner": {
"name": "gopher",
"emailAddress": "gopher@foo.bar",
"id": 3231,
"displayName": "Foo Bar",
"active": true,
"slug": "gopher",
"type": "NORMAL",
"links": {
"self": [
{
"href": "https://server.bitbucket.local/users/gopher"
}
]
}
},
"links": {
"self": [
{
"href": "https://server.bitbucket.local/users/gopher"
}
]
}
},
"public": false,
"links": {
"clone": [
{
"href": "ssh://git@server.bitbucket.local:7999/~gopher/webhook-test.git",
"name": "ssh"
},
{
"href": "https://server.bitbucket.local/scm/~gopher/webhook-test.git",
"name": "http"
}
],
"self": [
{
"href": "https://server.bitbucket.local/users/gopher/repos/webhook-test/browse"
}
]
}
},
"commit": "038e7b67735e54f6de8f1c5d533c6751df524f6c"
}