github.com/go-playground/webhooks/v6@v6.3.0/testdata/gitlab/confidential-issue-event.json (about)

     1  {
     2    "object_kind": "issue",
     3    "user": {
     4      "name": "Administrator",
     5      "username": "root",
     6      "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=40\u0026d=identicon"
     7    },
     8    "project":{
     9      "name":"Gitlab Test",
    10      "description":"Aut reprehenderit ut est.",
    11      "web_url":"http://example.com/gitlabhq/gitlab-test",
    12      "avatar_url":null,
    13      "git_ssh_url":"git@example.com:gitlabhq/gitlab-test.git",
    14      "git_http_url":"http://example.com/gitlabhq/gitlab-test.git",
    15      "namespace":"GitlabHQ",
    16      "visibility_level":20,
    17      "path_with_namespace":"gitlabhq/gitlab-test",
    18      "default_branch":"master",
    19      "homepage":"http://example.com/gitlabhq/gitlab-test",
    20      "url":"http://example.com/gitlabhq/gitlab-test.git",
    21      "ssh_url":"git@example.com:gitlabhq/gitlab-test.git",
    22      "http_url":"http://example.com/gitlabhq/gitlab-test.git"
    23    },
    24    "repository":{
    25      "name": "Gitlab Test",
    26      "url": "http://example.com/gitlabhq/gitlab-test.git",
    27      "description": "Aut reprehenderit ut est.",
    28      "homepage": "http://example.com/gitlabhq/gitlab-test"
    29    },
    30    "object_attributes": {
    31      "id": 301,
    32      "title": "New API: create/update/delete file",
    33      "assignee_id": 51,
    34      "author_id": 51,
    35      "project_id": 14,
    36      "created_at": "2013-12-03T17:15:43Z",
    37      "updated_at": "2013-12-03T17:15:43Z",
    38      "change_position": {
    39        "base_sha": null,
    40        "start_sha": null,
    41        "head_sha": null,
    42        "old_path": null,
    43        "new_path": null,
    44        "position_type": "text",
    45        "old_line": null,
    46        "new_line": null
    47      },
    48      "original_position": {
    49        "base_sha": "0a87d409a2d5ffbf586ed3e7ff36396ca59c3c14",
    50        "start_sha": "5f7519856cb2a7c05427a8c1e83f941828567923",
    51        "head_sha": "562e173be03b8ff2efb05345d12df18815438a4b",
    52        "old_path": "core/src/main/java/com/example/server/CorbaServer.java",
    53        "new_path": "core/src/main/java/com/example/server/CorbaServer.java",
    54        "position_type": "text",
    55        "old_line": null,
    56        "new_line": 74
    57      },
    58      "position": {
    59        "base_sha": "0a87d409a2d5ffbf586ed3e7ff36396ca59c3c14",
    60        "start_sha": "5f7519856cb2a7c05427a8c1e83f941828567923",
    61        "head_sha": "562e173be03b8ff2efb05345d12df18815438a4b",
    62        "old_path": "core/src/main/java/com/example/server/CorbaServer.java",
    63        "new_path": "core/src/main/java/com/example/server/CorbaServer.java",
    64        "position_type": "text",
    65        "old_line": null,
    66        "new_line": 74
    67      },
    68      "branch_name": null,
    69      "description": "Create new API for manipulations with repository",
    70      "milestone_id": null,
    71      "state": "opened",
    72      "iid": 23,
    73      "url": "http://example.com/diaspora/issues/23",
    74      "action": "open"
    75    },
    76    "assignee": {
    77      "name": "User1",
    78      "username": "user1",
    79      "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=40\u0026d=identicon"
    80    }
    81  }