github.com/go-playground/webhooks/v6@v6.3.0/testdata/github/installation.json (about)

     1  {
     2    "action": "deleted",
     3    "installation": {
     4      "id": 2,
     5      "account": {
     6        "login": "octocat",
     7        "id": 1,
     8        "node_id": "MDQ6VXNlcjE=",
     9        "avatar_url": "https://github.com/images/error/octocat_happy.gif",
    10        "gravatar_id": "",
    11        "url": "https://api.github.com/users/octocat",
    12        "html_url": "https://github.com/octocat",
    13        "followers_url": "https://api.github.com/users/octocat/followers",
    14        "following_url": "https://api.github.com/users/octocat/following{/other_user}",
    15        "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
    16        "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
    17        "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
    18        "organizations_url": "https://api.github.com/users/octocat/orgs",
    19        "repos_url": "https://api.github.com/users/octocat/repos",
    20        "events_url": "https://api.github.com/users/octocat/events{/privacy}",
    21        "received_events_url": "https://api.github.com/users/octocat/received_events",
    22        "type": "User",
    23        "site_admin": false
    24      },
    25      "repository_selection": "selected",
    26      "access_tokens_url": "https://api.github.com/installations/2/access_tokens",
    27      "repositories_url": "https://api.github.com/installation/repositories",
    28      "html_url": "https://github.com/settings/installations/2",
    29      "app_id": 5725,
    30      "target_id": 3880403,
    31      "target_type": "User",
    32      "permissions": {
    33        "metadata": "read",
    34        "contents": "read",
    35        "issues": "write"
    36      },
    37      "events": [
    38        "push",
    39        "pull_request"
    40      ],
    41      "created_at": "2022-03-02T18:02:51.000Z",
    42      "updated_at": "2022-03-02T18:02:51.000Z",
    43      "single_file_name": "config.yml"
    44    },
    45    "repositories": [
    46      {
    47        "id": 1296269,
    48        "name": "Hello-World",
    49        "full_name": "octocat/Hello-World",
    50        "private": false
    51      }
    52    ],
    53    "sender": {
    54      "login": "octocat",
    55      "id": 1,
    56      "node_id": "MDQ6VXNlcjE=",
    57      "avatar_url": "https://github.com/images/error/octocat_happy.gif",
    58      "gravatar_id": "",
    59      "url": "https://api.github.com/users/octocat",
    60      "html_url": "https://github.com/octocat",
    61      "followers_url": "https://api.github.com/users/octocat/followers",
    62      "following_url": "https://api.github.com/users/octocat/following{/other_user}",
    63      "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
    64      "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
    65      "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
    66      "organizations_url": "https://api.github.com/users/octocat/orgs",
    67      "repos_url": "https://api.github.com/users/octocat/repos",
    68      "events_url": "https://api.github.com/users/octocat/events{/privacy}",
    69      "received_events_url": "https://api.github.com/users/octocat/received_events",
    70      "type": "User",
    71      "site_admin": false
    72    }
    73  }