github.com/go-playground/webhooks/v6@v6.3.0/testdata/bitbucket/issue-comment-created.json (about)

     1  {
     2    "actor":{
     3      "nickname":"emmap1",
     4      "account_id":"udfy9suggmzpswxc7n200y3c",
     5      "display_name":"Emma",
     6      "uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
     7      "links":{
     8        "self":{
     9          "href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
    10        },
    11        "html":{
    12          "href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
    13        },
    14        "avatar":{
    15          "href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
    16        }
    17      }
    18    },
    19    "repository":{
    20      "links":{
    21        "self":{
    22          "href":"https://api.bitbucket.org/api/2.0/repositories/bitbucket/bitbucket"
    23        },
    24        "html":{
    25          "href":"https://api.bitbucket.org/bitbucket/bitbucket"
    26        },
    27        "avatar":{
    28          "href":"https://api-staging-assetroot.s3.amazonaws.com/c/photos/2014/Aug/01/bitbucket-logo-2629490769-3_avatar.png"
    29        }
    30      },
    31      "uuid":"{673a6070-3421-46c9-9d48-90745f7bfe8e}",
    32      "full_name":"team_name/repo_name",
    33      "name":"repo_name",
    34      "scm":"git",
    35      "is_private":true
    36    },
    37    "issue":{
    38      "id":1,
    39      "component":"component",
    40      "title":"Issue title",
    41      "content":{
    42        "raw":"Issue description",
    43        "html":"<p>Issue description</p>",
    44        "markup":"markdown"
    45      },
    46      "priority":"trivial|minor|major|critical|blocker",
    47      "state":"new|open|on hold|resolved|duplicate|invalid|wontfix|closed",
    48      "type":"bug|enhancement|proposal|task",
    49      "milestone":{
    50        "name":"milestone 1"
    51      },
    52      "version":{
    53        "name":"version 1"
    54      },
    55      "created_on":"2015-04-06T15:23:38.179678+00:00",
    56      "updated_on":"2015-04-06T15:23:38.179678+00:00",
    57      "links":{
    58        "self":{
    59          "href":"https://api.bitbucket.org/api/2.0/issues/issue_id"
    60        },
    61        "html":{
    62          "href":"https://api.bitbucket.org/issue_id"
    63        }
    64      }
    65    },
    66    "comment":{
    67      "id":17,
    68      "parent":{
    69        "id":16
    70      },
    71      "content":{
    72        "raw":"Comment text",
    73        "html":"<p>Comment text</p>",
    74        "markup":"markdown"
    75      },
    76      "inline":{
    77        "path":"path/to/file",
    78        "from":null,
    79        "to":10
    80      },
    81      "created_on":"2015-04-06T16:52:29.982346+00:00",
    82      "updated_on":"2015-04-06T16:52:29.983730+00:00",
    83      "links":{
    84        "self":{
    85          "href":"https://api.bitbucket.org/api/2.0/comments/comment_id"
    86        },
    87        "html":{
    88          "href":"https://api.bitbucket.org/comment_id"
    89        }
    90      }
    91    }
    92  }